Xfce 4.0.0 (final) is now available

roger rstmp at hotmail.com
Tue Sep 30 07:51:13 CEST 2003


Hi,

Sorry for not having answered earlier... but my PC has been down since 25/09 
due to hardware failure (disk).
Having bought a new disk and just finished re-installing the system, I hope 
the answer doesn't come too late.

Here is what I did for building xfce4 from source:

- Download a single tarball including all source in a directory (e.g. 
/usr/src)
  (After extraction of the tarball you should have /usr/src/xfce-4.0.0/)

- Put the following script, Extract, in /usr/src/xfce-4.0.0/src/
	#!/bin/bash
	cd `dirname $0`
	for f in *.gz; do
		[ -f "$f" ] || continue
		gunzip $f
	done
	for t in *.tar; do
		d=`basename $t .tar`
		printf "$d...\n"
		tar xf $t
		[ ! -d $d ] && printf "\tNot found\n"
	done
- Run the script Extract in order to unzip and untar each xfce component

- Put the following script, BuildXfce4, in /usr/src/
	#!/bin/bash

	topdir=`dirname $0`
	topdir=`(cd $topdir && pwd)`

	Vers=4.0.0
	engineVers=2.1.6

	mainComponent="xfce-$Vers"

	components="\
		libxfce4util-$Vers		\
		libxfcegui4-$Vers		\
		libxfce4mcs-$Vers		\
		gtk-xfce-engine-$engineVers	\
		xfce-mcs-manager-$Vers	\
		xfce-mcs-plugins-$Vers	\
		xfce-utils-$Vers			\
		xfce4-panel-$Vers		\
		xfce4-iconbox-$Vers		\
		xfce4-mixer-$Vers		\
		xfce4-systray-$Vers		\
		xfce4-themes-$Vers		\
		xfce4-toys-$Vers		\
		xfce4-trigger-launcher-$Vers	\
		xfdesktop-$Vers		\
		xffm-$Vers			\
		xffm-icons-$Vers		\
		xfprint-$Vers			\
		xfwm4-3.99.3			\
		xfwm4-themes-$Vers		\
	"

	installDir=/usr/local

	export CFLAGS='-mcpu=pentium4 -march=pentium4'
	export CXXFLAGS="$CFLAGS"
	export PKG_CONFIG_PATH=$installDir/lib/pkgconfig:/usr/lib/pkgconfig

	RebuildComponent() {
		./configure	--prefix=$installDir	\
			--datadir=$installDir/share	\
			--sysconfdir=$installDir/etc/X11
		status=$?
		[ $status -eq 0 ] || exit $status

		make
		status=$?
		[ $status -eq 0 ] || exit $status
	
		make check
		status=$?
		[ $status -eq 0 ] || exit $status
	
		make install-strip
		status=$?
		[ $status -eq 0 ] || exit $status

		make clean
	}

	for d in $components; do
		printf "Making $d...\n"
		cd $topdir/$mainComponent/src/$d
		RebuildComponent
	done
	exit $?

- Running this script (BuildXfce4) as it is will compile for Pentium4 and 
install in /usr/local. So modify it to suit your needs.

- "make install" requires to be root. So, either run this script as root or 
split it into 2 parts, one compiling and the other one for installation as 
root.

Cheers,
Roger.
 
On Fri, 26 Sep 2003 12:05 pm, Luigidigi wrote:
> roger wrote:
> > Hi Stephen,
> >
> > If you wish, I can provide you with the scripts I wrote to extract and
> > compile the source.
> >
> > Cheers,
> > Roger.
>
> I, for one, would be grateful for that, or at least point me to a HOWTO.
>
> Luigi
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://moongroup.com/mailman/listinfo/xfce




More information about the Xfce mailing list