Hello,

After a month trying and learning - mainly from GNUstep discussion list - I am 
able to get a working Etoile upon GNUstep and I am able to use it with a good 
stability. But I feel some things are not set correctly and I would make things 
cleaner to go further.

My OS is Ubuntu Hardy 8.4 and I built all the core and Etoile from SVN.

The first thing is that I can't use the binary or script "etoile" or 
"etoile-system" to load Etoile desktop because the attended path is wrong :
Mine is : /us/local/share/GNUstep/Makefiles/GNUstep.sh
But I did not choose it. It was the result of the building process. See below.

 So I must use a xsession to source my GNUstep.sh to correct the path and then 
to load the AZ* programs. But maybe this is not the better way to do things and 
maybe I forget some program to be loaded then X session starts.

To explain more precisely things, I attach with this mail :
1°) The scripts I used to build GNUstep and then Etoile :

<install_from_svn.sh>

<make_EtoileOS.sh>


2°) My xsession :

<xsession>

Cheers,
Patrick


#!/bin/bash

### GNUstep CORE
if [ ! -d "SOURCE" ];then mkdir SOURCE;fi

CORE=OUI

if [ "$CORE" = "OUI" ];then
    # Dependances Ubuntu Hardy Heron 8.4
    VERSION_UBUNTU=8.4

    . dep_GNUstep_Ubuntu_$VERSION_UBUNTU.sh

    # Installation de GNUstep : système de base en version svn
    cd SOURCE
	svn co http://svn.gna.org/svn/gnustep/modules/core
	# Make :
	cd core/make
	./configure --with-layout=fhs
	make 
	su - -p -c "make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install"
	cd ../..

	# Environnement de développement
	# Chemin des Makefiles ?
	if [ -f /usr/GNUstep/System/Library/Makefiles/GNUstep.sh ];then
		GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
		. $GNUSTEP_MAKEFILES/GNUstep.sh
	else
		if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then
		GNUSTEP_MAKEFILES=/usr/local/share/GNUstep/Makefiles
		. $GNUSTEP_MAKEFILES/GNUstep.sh
		else
			echo "Erreur : pas de GNUstep.sh !"
			exit 1
		fi
	fi

	# Base (FoundationKit) :
	cd core/base
	./configure
	make
	su - -p -c "make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install"
	cd ../..
	
	# Gui (AppKit)
	cd core/gui
	./configure
	make
	su - -p -c "make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install"
	cd ../..


	# Backend
	cd core/back
	./configure ### --enable-graphics=cairo ### Cairo casse l'affichage de GW...
	make
	su - -p -c "make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install"
	su - -c "/sbin/ldconfig -v"
	cd ../..
echo "**************************************************"
echo "Fin de l'installation de gnustep-core version svn."
fi
#!/bin/bash

# Dependances Ubuntu Hardy Heron 8.4
VERSION_UBUNTU=8.4

. dep_GNUstep_Ubuntu_$VERSION_UBUNTU.sh

# Environnement de développement
# Chemin des Makefiles ?
if [ -f /usr/GNUstep/System/Library/Makefiles/GNUstep.sh ];then
	GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
	. $GNUSTEP_MAKEFILES/GNUstep.sh
else
	if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then
		GNUSTEP_MAKEFILES=/usr/local/share/GNUstep/Makefiles
		. $GNUSTEP_MAKEFILES/GNUstep.sh
	else
		echo "Erreur : pas de GNUstep.sh !"
		exit 1
	fi
fi

# Installation de Etoile à partir des sources svn

cd SOURCE

svn co http://svn.gna.org/svn/etoile/trunk/Etoile Etoile

cd Etoile
make

su - -p -c "make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install"
su - -p -c "./setup.sh"
 
cd ../../..
exit






Attachment: xsession
Description: Binary data

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à