Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce4-svn help required
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
swatson
n00b
n00b


Joined: 17 Jul 2006
Posts: 11

PostPosted: Tue Nov 21, 2006 1:45 pm    Post subject: xfce4-svn help required Reply with quote

I have just moved over to Gentoo from Arch....and am looking for a way of getting XFCE4-SVN up and working using ebuilds. I've had a look at the various overlays but these seem to be out of date. Whats the best way of getting a SVN version thats up to date, and that can be updated via Portage, much in the same way as arch where you add in the repositories for package and then sync and update against them as required....

Thanks,
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Nov 22, 2006 4:54 am    Post subject: Reply with quote

I am using http://overlays.gentoo.org/proj/xfce/ just fine as a way of managing Xfce from SVN.

To update my packages, I just run "emerge -av1 xfce4-dev-tools gtk-engines-xfce libxfce4util \
libxfcegui4 libxfce4mcs xfce-mcs-manager xfce4-panel xfce4-mixer \
xfce4-icon-theme xfce-mcs-plugins xfwm4 xfce-utils exo xfce-extra/terminal \
xfdesktop orage xfce4-session xfwm4-themes xfce4-appfinder xfprint xfce4 \
thunar xfmedia xarchiver"
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
ralvy
n00b
n00b


Joined: 26 Sep 2004
Posts: 74

PostPosted: Thu Nov 23, 2006 5:42 am    Post subject: Reply with quote

I followed the directions on the overlay web page, and then attempted something like this to see what would happen:

Code:
emerge -av1 gtk-engines-xfce


It appears to be grabbing that package from the stable tree. Not sure how to make emerge grab from the svn stuff.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Thu Nov 23, 2006 6:25 am    Post subject: Reply with quote

You will need to add all the xfce packages to /etc/portage/package.unmask and /etc/portage/package.keywords.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Thu Nov 23, 2006 6:32 am    Post subject: Reply with quote

mark_alec wrote:
You will need to add all the xfce packages to /etc/portage/package.unmask and /etc/portage/package.keywords.

See here: https://forums.gentoo.org/viewtopic-p-3705657.html#3705657
_________________
I am /root and if you see me laughing you better have a backup.
Back to top
View user's profile Send private message
pal_gene
n00b
n00b


Joined: 15 Nov 2005
Posts: 54

PostPosted: Tue Dec 05, 2006 8:28 pm    Post subject: Reply with quote

Current xfce-svn gentoo overlay (http://overlays.gentoo.org/proj/xfce/) includes eclass/subversion.eclass.

portage uses this eclass for other svn-packages when overlaying. :cry:
this eclass is old, thus conflict with other svn-package.
for example, i got error with beryl-core-9999 in xeffects.

i think xfce4-svn.eclass should fix to use subversion.elass in portage tree.
or rename alternative name eg, xfce-subversion.eclass

little patch for using subversion.eclass in current portage tree.
i checked with subversion.eclass (v 1.38 2006/09/27).
but not test with all ebuild.

Code:

--- xfce4-svn.eclass.orig   2006-12-06 04:54:16.000000000 +0900
+++ xfce4-svn.eclass   2006-12-06 05:13:47.000000000 +0900
@@ -22,15 +22,12 @@
 ## plugin function adds the -plugin string to $P
 plugin() {
    [[ -z ${MY_P} ]] && MY_P="${PN}-plugin-${PV}"
-   ESVN_MODULE="${PN}-plugin"
+   XFCE_SVN_MODULE="${PN}-plugin"
    S=${WORKDIR}/${MY_P}
 }
 
 goodies() {
-   ESVN_PROJECT="goodies"
-   ESVN_REPO_URI="http://svn.xfce.org/svn/${ESVN_PROJECT}/${ESVN_MODULE}/trunk"
-   ESVN_CO_DIR="${ESVN_PROJECT}/${ESVN_MODULE}"
-   ESVN_DONT_REMOVE_DOTSVN="yes"
+   XFCE_SVN_PROJECT="goodies"
 }
 
 panel_plugin() {
@@ -58,11 +55,10 @@
    INSTALLER="einstall"
 }
 
-[[ -z ${ESVN_MODULE} ]] && ESVN_MODULE="${PN}"
-ESVN_PROJECT="xfce"
-ESVN_REPO_URI="http://svn.xfce.org/svn/${ESVN_PROJECT}/${ESVN_MODULE}/trunk"
-ESVN_CO_DIR="${ESVN_PROJECT}/${ESVN_MODULE}"
-ESVN_DONT_REMOVE_DOTSVN="yes"
+[[ -z ${XFCE_SVN_PROJECT} ]] && XFCE_SVN_PROJECT="xfce"
+[[ -z ${XFCE_SVN_MODULE} ]] && XFCE_SVN_MODULE="${PN}"
+ESVN_PROJECT="${XFCE_SVN_PROJECT}/${XFCE_SVN_MODULE}"
+ESVN_REPO_URI="http://svn.xfce.org/svn/${ESVN_PROJECT}/trunk"
 
 [[ -z ${LICENSE} ]] && LICENSE="GPL-2"
 
@@ -74,7 +70,7 @@
    dev-util/pkgconfig
    >=xfce-base/xfce4-dev-tools-${XFCE_VERSION}"
 
-[[ -z ${S} ]] && S="${WORKDIR}/${ESVN_MODULE}"
+[[ -z ${S} ]] && S="${WORKDIR}/${XFCE_SVN_MODULE}"
 
 xfce4-svn_src_compile() {
    ./autogen.sh \
@@ -86,7 +82,6 @@
       --sysconfdir=/etc \
       --localstatedir=/var/lib \
       ${XFCE_CONFIG} || die
-   find "${S}" -name .svn -print0 | xargs -0 rm -rf {} \;
    emake ${JOBS} || die
 }
Back to top
View user's profile Send private message
ralvy
n00b
n00b


Joined: 26 Sep 2004
Posts: 74

PostPosted: Wed Dec 13, 2006 5:46 pm    Post subject: Reply with quote

mark_alec wrote:
I am using http://overlays.gentoo.org/proj/xfce/ just fine as a way of managing Xfce from SVN.

To update my packages, I just run "emerge -av1 xfce4-dev-tools gtk-engines-xfce libxfce4util \
libxfcegui4 libxfce4mcs xfce-mcs-manager xfce4-panel xfce4-mixer \
xfce4-icon-theme xfce-mcs-plugins xfwm4 xfce-utils exo xfce-extra/terminal \
xfdesktop orage xfce4-session xfwm4-themes xfce4-appfinder xfprint xfce4 \
thunar xfmedia xarchiver"


When I follow these instructions, I get a fully installed xfce4-svn. However, windows have no borders or buttons. When I choose to configure the window manager in Settings, I'm told the window manager is unknown. I must be missing something here.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Dec 13, 2006 11:13 pm    Post subject: Reply with quote

ralvy wrote:
When I follow these instructions, I get a fully installed xfce4-svn. However, windows have no borders or buttons. When I choose to configure the window manager in Settings, I'm told the window manager is unknown. I must be missing something here.

Can you run xfwm4 manually?
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
ralvy
n00b
n00b


Joined: 26 Sep 2004
Posts: 74

PostPosted: Wed Dec 13, 2006 11:36 pm    Post subject: Reply with quote

mark_alec wrote:
ralvy wrote:
When I follow these instructions, I get a fully installed xfce4-svn. However, windows have no borders or buttons. When I choose to configure the window manager in Settings, I'm told the window manager is unknown. I must be missing something here.

Can you run xfwm4 manually?


Yes. I can load it manually and then the window frames appear. But it never starts when xfce4-svn starts, even if I save my settings on exit.
Back to top
View user's profile Send private message
ralvy
n00b
n00b


Joined: 26 Sep 2004
Posts: 74

PostPosted: Wed Dec 13, 2006 11:41 pm    Post subject: Reply with quote

I also notice that xfce4-svn doesn't provide me with an Xfce Menu to place in my panel.
Back to top
View user's profile Send private message
RMX
n00b
n00b


Joined: 22 Aug 2004
Posts: 66

PostPosted: Fri Dec 21, 2007 11:20 pm    Post subject: Reply with quote

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libxfcegui4.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-9999/work/libxfcegui4-9999/libxfcegui4'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-9999/work/libxfcegui4-9999/libxfcegui4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-9999/work/libxfcegui4-9999'
make: *** [all] Error 2
 *
 * ERROR: xfce-base/libxfcegui4-9999 failed.
 * Call stack:
 *          ebuild.sh, line 1701:  Called dyn_compile
 *          ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *          ebuild.sh, line   44:  Called src_compile
 *          ebuild.sh, line 1383:  Called xfce4-svn_src_compile
 *   xfce4-svn.eclass, line   92:  Called die
 * The specific snippet of code:
 *      emake ${JOBS} || die
 *  The die message:
 *   (no error message)

Can you help me?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Dec 22, 2007 10:02 am    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
Overlay stuff, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Thu Jan 03, 2008 8:43 am    Post subject: Reply with quote

libxfcegui4 doesn't build, I use layman's xfce overlay:

Code:
mv -f ".libs/libxfcegui4.expT" ".libs/libxfcegui4.exp"
echo "{ global:" > .libs/libxfcegui4.ver
 cat .libs/libxfcegui4.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libxfcegui4.ver
 echo "local: *; };" >> .libs/libxfcegui4.ver
 x86_64-pc-linux-gnu-gcc -shared  .libs/libxfcegui4_la-netk-enum-types.o .libs/libxfcegui4_la-netk-marshal.o .libs/libxfcegui4_la-xfce_marshal.o .libs/libxfcegui4_la-gui-enum-types.o .libs/libxfcegui4_la-dialogs.o .libs/libxfcegui4_la-icons.o .libs/libxfcegui4_la-xfce_aboutdialog.o .libs/libxfcegui4_la-xfce_clock.o .libs/libxfcegui4_la-xfce_movehandler.o .libs/libxfcegui4_la-xfce_decorbutton.o .libs/libxfcegui4_la-xfce_decortoggle.o .libs/libxfcegui4_la-xfce_framebox.o .libs/libxfcegui4_la-xfce_scaled_image.o .libs/libxfcegui4_la-xfce_iconbutton.o .libs/libxfcegui4_la-xfce-internals.o .libs/libxfcegui4_la-xfce_togglebutton.o .libs/libxfcegui4_la-xfce_menubutton.o .libs/libxfcegui4_la-xfce_systemtray.o .libs/libxfcegui4_la-gtk_style.o .libs/libxfcegui4_la-gtktoxevent.o .libs/libxfcegui4_la-netk-application.o .libs/libxfcegui4_la-netk-class-group.o .libs/libxfcegui4_la-netk-pager.o .libs/libxfcegui4_la-netk-screen.o .libs/libxfcegui4_la-netk-tasklist.o .libs/libxfcegui4_la-netk-trayicon.o .libs/libxfcegui4_la-netk-util.o .libs/libxfcegui4_la-netk-window.o .libs/libxfcegui4_la-netk-window-menu.o .libs/libxfcegui4_la-netk-window-action-menu.o .libs/libxfcegui4_la-netk-workspace.o .libs/libxfcegui4_la-netk-xutils.o .libs/libxfcegui4_la-session-client.o .libs/libxfcegui4_la-preview_filesel.o .libs/libxfcegui4_la-xfce-appmenuitem.o .libs/libxfcegui4_la-xfce-colorbutton.o .libs/libxfcegui4_la-xfce-widget-helpers.o .libs/libxfcegui4_la-xfce-exec.o .libs/libxfcegui4_la-xfce-filechooser.o .libs/libxfcegui4_la-xfce-gdk-extensions.o .libs/libxfcegui4_la-xfce-gtk-extensions.o .libs/libxfcegui4_la-xfce-heading.o .libs/libxfcegui4_la-xfce-icontheme.o .libs/libxfcegui4_la-xfce-startup-notification.o .libs/libxfcegui4_la-xfce-titled-dialog.o .libs/libxfcegui4_la-xinerama.o  -L/usr/lib64 /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libxfce4util.so /usr/lib64/libglib-2.0.so /usr/lib64/libstartup-notification-1.so  -march=athlon64 -Wl,-O1 -Wl,-s -Wl,--hash-style=gnu -Wl,-soname -Wl,libxfcegui4.so.4 -Wl,-version-script -Wl,.libs/libxfcegui4.ver -o .libs/libxfcegui4.so.4.2.4
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libxfcegui4_la-xfce_movehandler.o: relocation R_X86_64_PC32 against `p_xfce_marshal_VOID__INT_INT' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libxfcegui4.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-9999/work/libxfcegui4-9999/libxfcegui4'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-9999/work/libxfcegui4-9999/libxfcegui4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/libxfcegui4-9999/work/libxfcegui4-9999'
make: *** [all] Error 2
 *
 * ERROR: xfce-base/libxfcegui4-9999 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2309:  Called xfce4-svn_src_compile
 *             environment, line 3035:  Called die
 * The specific snippet of code:
 *       emake ${JOBS} || diefunc "$FUNCNAME" "$LINENO" "$?"
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/xfce-base/libxfcegui4-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/xfce-base/libxfcegui4-9999/temp/environment'.
 *


Code:
Portage 2.1.4_rc14 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-kamikaze5 x86_64)
=================================================================
System uname: 2.6.23-kamikaze5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Thu, 03 Jan 2008 08:00:03 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18.50.0.3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.po.opole.pl"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,-s -Wl,--hash-style=gnu"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/xfce /usr/portage/local/layman/gechi /usr/portage/local/layman/custom-kernels /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 async atm binary-drivers bitmap-fonts bzip2 cairo cdparanoia cdr cgi cli cpudetection cpufreq cracklib crosscompile crypt dbus dhcp dri dts dvd dvdr dvdread emerald evo fam fbcon fftw firefox flac foomaticdb ftp fuse gd geoip gif glibc-omitfp glitz gpm graphlcd gtk gtk2 hal hashstyle hddtemp iconv isdnlog ithreads jpeg livecd lm_sensors mad madwifi midi mmx moznopango mp2 mp3 mpeg musepack ncurses newspr nls nptl nptlonly offensive opengl pam pcre pdf perl php pic png ppds pppd pppoa python qt3support readline reflection sdl server session slang snmp sockets spell spl sse sse2 ssl startup-notification svg symlink tcl tcpd threads tiff tk transparent-proxy truetype truetype-fonts type1-fonts udev unicode unsupported usb userlocales vorbis wavpack wifi x264 xml xml2 xorg xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="vesa radeon fbdev i810 mach64 nv nvidia s3 s3virge savage sis trident via fglrx vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum