Mise à jour plusieurs versions. Firefox-3.6.13 s'installe et roule correctement
[hvlinux.git] / stage5 / hv-install-1
index d68fbb9..cd4b8be 100755 (executable)
@@ -3,11 +3,7 @@
 source ../functions/main
 source /etc/profile
 
-if [ "x${USER}" != "xroot" ]; then
-    echo "You must be the superuser to install hvlinux."
-    exit 1
-fi
-
+check_for_root_user
 init_log_file
 
 if [ "x${INST_TYPE}" = "xworkstation" -o \
@@ -16,7 +12,7 @@ if [ "x${INST_TYPE}" = "xworkstation" -o \
     ipkg ${LIBSIGCPP}
     ipkg ${JASPER} "--enable-shared"
     ipkg -m acnb ${GLIBMM}
-    ipkg ${CAIRO}
+    ipkg ${CAIRO} "--enable-tee"
     ipkg ${CAIROMM}
     ipkg -m acnb ${PANGO}
     ipkg ${PANGOMM}
@@ -55,7 +51,7 @@ ipkg ${HELP2MAN}
 ipkg ${GSL}
 ipkg -m acnb ${CUPS}
 ipkg -m noac ${CUPS_PDF}
-###################ipkg -m noac ${SPLIX}
+ipkg -m noac ${SPLIX}
 ipkg -m acnb ${GHOSTSCRIPT}
 
 if [ "x${INST_TYPE}" = "xworkstation" -o \
@@ -69,8 +65,6 @@ if [ "x${INST_TYPE}" = "xworkstation" -o \
     ipkg ${GIMP} "--disable-print"
     ipkg -m acnb ${GUTENPRINT}
     ipkg -s boost -m noac ${BOOST}
-    # inkscape-0.47 has a problem with poppler >= 0.12.2
-    # Try 0.48.1
     ipkg ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\""
 fi
 
@@ -80,21 +74,13 @@ ipkg ${LIBDVDCSS}
 ipkg ${LIBDVDREAD} "--with-libdvdcss"
 ipkg -m noac ${DVDFS}
 
-
-exit 1
-
-
 if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
-    ipkg ${TETEX_SRC} cis-tetex
-
-    # 'Five years old' bug --> Change the date to something in 2004 before
-    # installing.
-    # jadetex is installed automatically by TeX-Live
-    ipkg ${JADETEX}
+    rscr once "Installing TexLive texmf" install-texlive-texmf
+    ipkg -s texlive ${TEXLIVE}
 fi
 
 if [ "x${SANE_SUPPORT}" = "xyes" ]; then
-    ipkg ${SANE_BACKENDS}
+    ipkg -m acnb ${SANE_BACKENDS}
     ipkg ${XSANE}
 fi
 
@@ -111,21 +97,24 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the
         ipkg ${LIBOIL}
 
         # Audio applications
-       ipkg -m acnb ${GRIP} "--disable-id3"
+       ###ipkg -m acnb ${GRIP} "--disable-id3"
         ipkg -m acnb ${CDRDAO}
-        ipkg ${EASYTAG}
-        ipkg -m acnb ${LILYPOND}
+        ipkg -m acnb ${EASYTAG}
+        ipkg -m acnb ${FONTFORGE}
+        ipkg ${LILYPOND} "--disable-documentation --disable-debugging"
 
-        ipkg -m acnb ${FFMPEG}
+        ipkg ${FFMPEG}
     fi
 
     ipkg ${SYLPHEED} "--enable-ssl --enable-ldap"
-    ipkg ${NSS}
-    ipkg ${FIREFOX}
+    ipkg ${LIBNOTIFY}
+    ipkg ${YASM}
+    ipkg -m noac ${FIREFOX}
 
-    # Plugins for Firefox
-    ipkg ${AGG}
+    # VLC
+    #./configure --prefix=/usr --sysconfdir=/etc  --disable-lua --disable-qt4 --disable-skins2 --enable-mozilla
     ipkg ${GNASH}
+    # GtkGLExt gstreamer SDL xulrunner
 fi
 
 ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin"
@@ -172,21 +161,21 @@ if [ "x${INST_TYPE}" = "xltsp-server" ]; then
     ipkg ${LTSP_UTILS}
 fi
 
-ipkg -m acnb ${KVM}
-ipkg -m acnb ${BRIDGE_UTILS}
-ipkg ${UML_UTILITIES}
+#ipkg -m acnb ${KVM}
+#ipkg -m acnb ${BRIDGE_UTILS}
+#ipkg ${UML_UTILITIES}
 
 ipkg ${TRANSMISSION} "--disable-daemon"
 
 # Électronique
-ipkg ${LIBGEDA}
-ipkg ${GEDA_SYMBOLS}
-ipkg ${GEDA_GSCHEM}
-ipkg ${GEDA_GNETLIST}
-ipkg ${GEDA_SYMCHECK}
-ipkg ${GEDA_GATTRIB}
-
-rscr mult  "Performing post-install" cis-post-install
+#ipkg ${LIBGEDA}
+#ipkg ${GEDA_SYMBOLS}
+#ipkg ${GEDA_GSCHEM}
+#ipkg ${GEDA_GNETLIST}
+#ipkg ${GEDA_SYMCHECK}
+#ipkg ${GEDA_GATTRIB}
+
+#rscr mult  "Performing post-install" post-install
 
 write_completed_stage
 display_stage_build_stats