Enlevé variable GNOME2_PREFIX, car on installe gnome dans /usr
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Thu, 18 Aug 2011 02:47:57 +0000 (02:47 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Thu, 18 Aug 2011 02:47:57 +0000 (02:47 +0000)
config/packages-list
config/sysinfos.amd64
stage5/hv-install-1
stage5/pkg/gnome
stage5/pkg/gnome-nobuild
stage6/pkg/gal
stage6/pkg/gdm
stage6/pkg/gnome-applets
stage6/pkg/gnome-audio
stage6/pkg/nautilus

index 61f380e..0473354 100644 (file)
@@ -122,7 +122,6 @@ GPERF="gperf-3.0.4"
 
 # GNOME2 core packages
 GNOME2_VER="gnome-2.28.1"
-GNOME2_PREFIX="/opt/${GNOME2_VER}"
 ORBIT2="ORBit2-2.14.19"
 LIBBONOBO="libbonobo-2.24.2"
 GCONF="GConf-2.32.3"
index 5b9a621..2ba0774 100644 (file)
@@ -37,4 +37,4 @@ BOOTPROTO[0]="dhcp"
 USE_SAMBA="no"
 
 # Override some packages
-#KERNEL="${NOUVEAU_NVIDIA_KERNEL}"
+KERNEL="${NOUVEAU_NVIDIA_KERNEL}"
index 8e4f869..0a3a94d 100755 (executable)
@@ -49,6 +49,9 @@ if [ "x${INST_TYPE}" = "xworkstation" -o \
     rscr mult "Configuring ${GNOME2_VER}" gnome-config
     source /etc/profile
 
+    echo "Test"
+    exit 0
+
     ipkg_gnome ${ORBIT2}
     ipkg ${GCONF}
     ipkg ${LIBPROXY} "--with-gnome"
index a5c103e..b45fe94 100644 (file)
@@ -3,9 +3,9 @@
 hvconfig_pre()
 {
     CONFIGURE_OPTS=" \
-        --prefix=${GNOME2_PREFIX} \
-        --libexecdir=${GNOME2_PREFIX}/sbin \
-        --sysconfdir=/etc/gnome/${GNOME2_VER} \
+        --prefix=/usr \
+        --libexecdir=/usr/sbin \
+        --infodir=/usr/share/info \
         --localstatedir=/var/lib \
-        --infodir=${GNOME2_PREFIX}/share/info"
+        --sysconfdir=/etc/gnome/${GNOME2_VER}"
 }
index 9a9d293..b45fe94 100644 (file)
@@ -3,9 +3,9 @@
 hvconfig_pre()
 {
     CONFIGURE_OPTS=" \
-        --prefix=${GNOME2_PREFIX} \
-        --libexecdir=${GNOME2_PREFIX}/sbin \
-        --infodir=${GNOME2_PREFIX}/share/info \
+        --prefix=/usr \
+        --libexecdir=/usr/sbin \
+        --infodir=/usr/share/info \
         --localstatedir=/var/lib \
         --sysconfdir=/etc/gnome/${GNOME2_VER}"
 }
index 83b0f5a..9b84b19 100644 (file)
@@ -18,10 +18,10 @@ sed -i -e "s/gal-decl/gal-2.4-decl/" \
 
 cd ${LFS_TMP}/${1}-build &&
 ../${1}/configure \
-    --prefix=${GNOME2_PREFIX} \
-    --libexecdir=${GNOME2_PREFIX}/sbin \
+    --prefix=/usr \
+    --libexecdir=/usr/sbin \
     --localstatedir=/var/lib \
-    --infodir=${GNOME2_PREFIX}/share/info \
+    --infodir=/usr/share/info \
     --sysconfdir=/etc/gnome/${GNOME2_VER} &&
 make &&
 make install &&
index 804dba8..087c241 100644 (file)
@@ -15,10 +15,10 @@ hv_useradd -c "GDM_Daemon_Owner" -d /dev/null -g gdm -s /bin/bash -u 21 gdm &&
 CFLAGS="${CFLAGS} -ldl"
 cd ${LFS_TMP}/${1}-build &&
 ../${1}/configure \
-    --prefix=${GNOME2_PREFIX} \
-    --libexecdir=${GNOME2_PREFIX}/sbin \
+    --prefix=/usr \
+    --libexecdir=/usr/sbin \
     --localstatedir=/var/lib \
-    --infodir=${GNOME2_PREFIX}/share/info \
+    --infodir=/usr/share/info \
     --with-pam-prefix=/etc \
     --sysconfdir=/etc/gnome/${GNOME2_VER} &&
 make &&
index f473faf..50b7913 100644 (file)
@@ -11,9 +11,9 @@ apply_patches ${1} &&
 
 cd ${LFS_TMP}/${1}-build &&
 ../${1}/configure \
-    --prefix=${GNOME2_PREFIX} \
-    --libexecdir=${GNOME2_PREFIX}/sbin \
-    --infodir=${GNOME2_PREFIX}/share/info \
+    --prefix=/usr \
+    --libexecdir=/usr/sbin \
+    --infodir=/usr/share/info \
     --localstatedir=/var/lib \
     --sysconfdir=/etc/gnome/${GNOME2_VER} &&
 make &&
index ff667e3..a1db19f 100644 (file)
@@ -10,7 +10,7 @@ source ../packages-list
 apply_patches ${1} &&
 
 cd ${LFS_TMP}/${1} &&
-make prefix=${GNOME2_PREFIX} install
+make prefix=/usr install
 
 # Return last error
 exit $?
index 59c3c34..953da1c 100644 (file)
@@ -11,16 +11,16 @@ apply_patches ${1} &&
 
 cd ${LFS_TMP}/${1}-build &&
 ../${1}/configure \
-    --prefix=${GNOME2_PREFIX} \
-    --libexecdir=${GNOME2_PREFIX}/sbin \
+    --prefix=/usr \
+    --libexecdir=/usr/sbin \
     --localstatedir=/var/lib \
-    --infodir=${GNOME2_PREFIX}/share/info \
+    --infodir=/usr/share/info \
     --sysconfdir=/etc/gnome/${GNOME2_VER} &&
 make &&
 make install &&
-install -v -m755 -d ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
+install -v -m755 -d /usr/share/doc/${NAUTILUS} &&
 install -v -m644 ${LFS_TMP}/${1}/docs/*.{txt,dia,pdf,sxw,faq,html} \
-    ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
+    /usr/share/doc/${NAUTILUS} &&
 ldconfig
 
 # Return last error