You are not logged in.

#1 2005-06-28 18:06:19

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Xfce4 SVN

Yes I know there's a Xfce4 CVS PKGBUILD but since it's so outdated I desided to update it so it's again usable. I'm not entirely sure about the deps so if you find any missing ones please post it here.

Please note that this package is not designed to be installed with other versions of Xfce. It may work and may not, most likely it won't so please remove any previous installations of Xfce.

# $Id$
# Contributor: Christian Lundgren <zeflunk@gmail.com>
# Heavily based on Aurelien Foret's <orelien@chez.com> PKGBUILD for XFCE4 CVS
pkgname=xfce4-svn
pkgver=20050628
pkgrel=2
pkgdesc="XFce4 SVN"
url="http://www.xfce.org/"
conflicts=('gtk-xfce-engine' 'libxfce4mcs' 'libxfce4util' 'libxfcegui4' 'xfcalendar' 
'xfce-mcs-manager' 'xfce-mcs-plugins' 'xfce-utils' 'xfce4-appfinder' 
'xfce4-icon-theme' 'xfce4-iconbox' 'xfce4-mixer' 'xfce4-panel' 'xfce4-session' 
'xfce4-systray' 'xfce4-toys' 'xfce4-trigger-launcher' 'xfdesktop' 'xfprint' 
'xfwm4' 'xfwm4-themes')
depends=('gtk2' 'startup-notification' 'libxml2' 'dbh' 'bash' 'gtk-doc' 'intltool' 'a2ps')
makedepends=('subversion')

build() {
  if [ ! -d $startdir/src/trunk ]; then
    echo "Fetching sources..."
    svn checkout http://svn.xfce.org/svn/xfce/modules/trunk
  else
    echo "Updating sources..."
    svn up $startdir/src/trunk
  fi

  PKG_CONFIG_PATH=$startdir/pkg/opt/xfce4-svn/lib/pkgconfig:$PKG_CONFIG_PATH
  PATH=$startdir/pkg/opt/xfce4-svn/bin:$PATH
  XDG_DATA_DIRS=$startdir/pkg/opt/xfce4-svn/share:$XDG_DATA_DIRS
  CFLAGS="-I$startdir/pkg/opt/xfce4-svn/include/xfce4 
          -L$startdir/pkg/opt/xfce4-svn/lib 
          $CFLAGS"
  export PKG_CONFIG_PATH CFLAGS
  export PATH
  export XDG_DATA_DIRS

  cd $startdir/src/trunk
  for i in xfce4-dev-tools libxfce4util libxfcegui4 libxfce4mcs; do
    (cd $i
    ./autogen.sh --prefix=/opt/xfce4-svn
    make || return 1
    make DESTDIR=$startdir/pkg install) || return 1
  done
  sed -i "s|(/opt/xfce4-svn/lib/libxfce4util.la)|$startdir/pkg1|" 
      $startdir/pkg/opt/xfce4-svn/lib/*.la

  modules="xfce-mcs-manager 
           xfce-mcs-plugins 
           xfce-utils 
           xfce4-panel 
           xfdesktop 
           xfcalendar 
           xfce4-mixer 
           xfce4-appfinder 
           xfce4-session 
           xfce4-toys 
           xfce4-trigger-launcher 
           xfce4-icon-theme 
           xfprint 
           xffm 
           xfwm4 
           xfwm4-themes"

  for i in $modules; do
    (cd $i
    ./autogen.sh --prefix=/opt/xfce4-svn
    make || return 1
    make DESTDIR=$startdir/pkg install) || return 1
  done

  (cd gtk-xfce-engine-2
  ./autogen.sh --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install) || return 1

  sed -i "s|$startdir/pkg||g" $startdir/pkg/opt/xfce4-svn/lib/*.la
  rm -rf $startdir/pkg/opt/xfce4-svn/share/gtk-doc
  rm -rf $startdir/pkg/opt/xfce4-svn/share/xfce4/{AUTHORS,COPYING,BSD,GPL,LGPL,INFO}*

}

You will also need this

#
# /etc/profile.d/xfce4.sh
#

XFCE4DIR=/opt/xfce4-svn

PATH=$PATH:$XFCE4DIR/bin
MANPATH=$MANPATH:$XFCE4DIR/man
export PATH MANPATH 

if [ -z $PKG_CONFIG_PATH ]; then
    PKG_CONFIG_PATH=$XFCE4DIR/lib/pkgconfig
else
    PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$XFCE4DIR/lib/pkgconfig
fi
export PKG_CONFIG_PATH

[ -z $XDG_DATA_DIRS ] && XDG_DATA_DIRS=/usr/share
XDG_DATA_DIRS=$XDG_DATA_DIRS:$XFCE4DIR/share
[ -z $XDG_CONFIG_DIRS ] && XDG_CONFIG_DIRS=/etc/xdg
XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$XFCE4DIR/etc/xdg
export XDG_DATA_DIRS XDG_CONFIG_DIRS

And perhaps you want this file (/etc/X11/sessions/xfce4.desktop)

[Desktop Entry]
Encoding=UTF-8
Name=Xfce4
Comment=Xfce4 SVN
Exec=/opt/xfce4-svn/bin/xfce4-session
Type=Application

EDIT: Fixed svn up on TomE's request
EDIT2: Added a2ps as dependecy, thanks to CyberTron
EDIT3: Changed svn adress

Offline

#2 2005-06-28 18:28:41

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

what are the advantages to use xfce4-cvs over ordinary xfce4?

is this the next xfce4 that might gonna support icons on the desktop and some other nice news?


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#3 2005-06-28 18:37:26

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Xfce4 SVN

Acctually there isn't much difference, yet. Some nice inprovments on the panel though. So it's still Xfce4.2 only slightly better wink

Offline

#4 2005-06-28 18:56:03

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

ok big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#5 2005-06-28 19:46:01

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Xfce4 SVN

look, one more swede!!!!

hmm, this could be the well known lunke from swec, in either case you must have sweden listed in your profile, smile


arch + gentoo + initng + python = enlisy

Offline

#6 2005-06-28 21:28:01

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Xfce4 SVN

I think they are basing the icons on the desktop for xfce on the new thunar file manager they will have in the next release. They have some mock ups here http://thunar.xfce.org/wiki/ and the developers blog has more info here http://xfce-diary.blogspot.com/ I've been keeping my eye on it the last couple weeks and it looks pretty cool so far.

Offline

#7 2005-06-29 03:04:16

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Xfce4 SVN

xerxes2: Yep det är Lunke från swec wink

droog: Thunar looks awsome. I love it, except the name. It sucks.
However, there SVN snapshots here http://thunar.xfce.org/download/snapshots/devel/ which might be interesting.

Offline

#8 2005-06-29 05:11:37

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Xfce4 SVN

lunke wrote:

SVN snapshots here http://thunar.xfce.org/download/snapshots/devel/ which might be interesting.

ya ive been downloading those, and the 3 view one and different toolbars and crap for it. but havent been able to test anything. im temporarily stuck on a windows laptop..

Offline

#9 2005-09-08 12:42:58

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: Xfce4 SVN

lunke you shoude change svn update http://svn.foo-projects.org/svn/xfce/modules/trunk to svn up $startdir/src/trunk

hers a PKGBULID for thunar

pkgname=thunar
pkgver=0.0.2.r17470
pkgdesc="Thunar is a file manager designed for Xfce. It is currently under development."
url="http://thunar.xfce.org/wiki/"
depends=('exo-svn')
makedepends=('subversion')
source=()
md5sums=()

build() {
  if [ ! -d $startdir/src/thunar ]; then
    echo "Fetching sources..."
    svn checkout http://svn.foo-projects.org/svn/xfce/thunar/trunk/ /thunar
  else
    echo "Updating sources..."
    svn up $startdir/src/thunar/
  fi

  cd $startdir/src/thunar
  ./autogen.sh --prefix=/opt/xfce4-svn
  make || return 1
  make DESTDIR=$startdir/pkg install
  find $startdir/pkg -name '*.la' -exec rm {} ;
}

you will need exo from svn as well

pkgname=exo-svn
pkgver=r17470
pkgdesc="Extensions to Xfce by os-cillation"
url="http://libexo.os-cillation.com/"
conflicts=(exo)
provides=(exo)
depends=('xfce4-svn')
makedepends=('subversion')
source=()
md5sums=()

build() {
  if [ ! -d $startdir/src/trunk ]; then
    echo "Fetching sources..."
    svn checkout http://svn.foo-projects.org/svn/xfce/libexo/trunk/
  else
    echo "Updating sources..."
    svn up $startdir/src/trunk
  fi

  cd $startdir/src/trunk
  ./autogen.sh --prefix=/opt/xfce4-svn
  make || return 1
  make DESTDIR=$startdir/pkg install
  find $startdir/pkg -name '*.la' -exec rm {} ;
}

"Operation libtool-slay" compliant big_smile

Offline

#10 2005-09-08 15:29:14

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Xfce4 SVN

you should probably add this to the AUR - it's much easier for users to search for packages there....

Offline

#11 2005-09-12 03:04:33

andrewski
Member
Registered: 2005-06-08
Posts: 21

Re: Xfce4 SVN

I'm getting an error when it starts to build:

Running /var/abs/local/xfce4/src/trunk/libxfce4util/configure --enable-maintainer-mode --prefix=/opt/xfce4-svn...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.

Searching on Google turns up some general errors, but I'm not getting this error from any other compiles, so it seems to be specific to this PKGBUILD.


[img]http://www.archlinux.org/logos/button.png[/img] [img]http://mandrivausers.org/style_emoticons/default/2thumbsup.gif[/img]

Offline

#12 2005-09-18 17:27:15

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

that means that your c compiler cannot build binary files, probably related to gcc4 (perhaps?) or am I totally wrong here?


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#13 2005-09-18 18:36:59

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

Lunke: It seems that one of the programs/modules need a2ps

you need to add it to depends


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#14 2005-09-18 20:30:37

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

Just wanted to tell everyone that Xfce4.3 (soon 4.4) rocks !!

It is almost perfect (now when it handles icons on the desktop..)

I will now try using those icons in e17 and see how that goes big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#15 2005-10-09 01:51:52

LudoTheGreat
Member
From: Wisconsin
Registered: 2005-04-27
Posts: 40
Website

Re: Xfce4 SVN

Hey guys,

Been trying to build xfc4-svn for a while now with the pkgbuilds from this post. I keep running into this error no matter what i try.

xfce-mixer-prefbox.h:61: error: syntax error before 'CommandOptions'
xfce-mixer-prefbox.h:61: warning: no semicolon at end of struct or union
xfce-mixer-prefbox.h:64: error: syntax error before '}' token
plugin.c: In function 'mixer_save':
plugin.c:71: warning: assignment makes pointer from integer without a cast
plugin.c: In function 'mixer_construct':
plugin.c:165: warning: assignment makes pointer from integer without a cast
plugin.c:170: warning: assignment makes pointer from integer without a cast
make[2]: *** [xfce4_mixer_plugin-plugin.o] Error 1
make[2]: Leaving directory `/var/abs/local/xfce-svn/src/trunk/xfce4-mixer/panel-plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/xfce-svn/src/trunk/xfce4-mixer'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Any ideas?

Offline

#16 2005-10-09 04:17:21

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

have the same problem asthe one above

I think that cvs is broken, or xfce4 doesn't  like gcc4 ?!


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#17 2005-10-09 04:24:41

LudoTheGreat
Member
From: Wisconsin
Registered: 2005-04-27
Posts: 40
Website

Re: Xfce4 SVN

Thouse where my guesses too. Iv been trying for a couple weeks now with no luck. Anyone know of a work around?

Offline

#18 2005-10-09 23:17:33

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: Xfce4 SVN

there's a new panel framework and the plugin for the mixer is not ported to it yet. this goes  for the xfce4-trigger-launcher and (i think) xfcalendar but some work may hve been done with that.

you can wait for the plugin to be ported or (like me) remove it from the PKGBULID.

Offline

#19 2005-10-10 01:15:13

LudoTheGreat
Member
From: Wisconsin
Registered: 2005-04-27
Posts: 40
Website

Re: Xfce4 SVN

sweet thanks TomE that was the answer i was looking for. I can't wait so Im going to try and build it without them for now.

Offline

#20 2005-10-21 19:08:38

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Xfce4 SVN

CyberTron wrote:

Lunke: It seems that one of the programs/modules need a2ps

you need to add it to depends

Thanks, fixed. Sorry for the late reply.
Anyho, has anyone been able to build the latest version of xffm? I can't seem to find a working release of libxffm =/

As for everyone else who's haveing problems building a certain module, try removing it from the PKGBUILD and build the package without it. (unless it's a needed module, i.e libxfce4util etc.)

Offline

#21 2005-10-21 19:18:18

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

i have recently spoken to TomE, and he sent me a pkgbuild that is working (no xffm yet though, there is, apperently, a makefile.a missiing or something like that...)

so expect a new pkgbuild here soon , although, the new xfce takes forever to start...


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#22 2005-10-22 06:27:24

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: Xfce4 SVN

xffm is in the proccess of being modularized, so /xffm/trunk will not build. I've made seperate packages (though I would not dare to share my pkgbuilds as they are now):

$ pacman -Qg xfce4-xffm
xfce4-xffm fgr-svn
xfce4-xffm libtubo-svn
xfce4-xffm libxffm-svn
xfce4-xffm scramble-svn
xfce4-xffm xfdiff-svn
xfce4-xffm xffm-gui-svn

Offline

#23 2005-10-22 06:37:56

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Xfce4 SVN

Ah, thanks for the update and such, ok, so it is being modularized, that is good to know big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#24 2005-10-22 10:39:24

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Xfce4 SVN

Btw, I have Xfce-svn binaries available in my repo: http://archpkg.wgilk.com

I used your pkgbuild as a basis for it stavrosg. smile

Oooh thanks for the info about xffm, I was wondering why it didn't work...


·¬»· i am shadowhand, powered by webfaction

Offline

#25 2005-10-24 19:27:25

LudoTheGreat
Member
From: Wisconsin
Registered: 2005-04-27
Posts: 40
Website

Re: Xfce4 SVN

shadowhand wrote:

Btw, I have Xfce-svn binaries available in my repo: http://archpkg.wgilk.com

I used your pkgbuild as a basis for it stavrosg. smile

Oooh thanks for the info about xffm, I was wondering why it didn't work...

You rule shadowhand! Thanks for the pkgs. Xfce-svn installed and runs awsome. Thanks again.

Offline

Board footer

Powered by FluxBB