X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fhv-install-1;h=aa8818525ceb94e1eeb74c41126bddbf82b88968;hb=7332a6d7565d29c48fc7dacdc87aa32fcc55992d;hp=0a3a94d0b8db07b794ffd3f8ec6b82aa36015a67;hpb=9c23f087819d8e17cd248a3e2543d59b4c32d26d;p=hvlinux.git diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 0a3a94d..aa88185 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -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} @@ -35,7 +31,7 @@ if [ "x${INST_TYPE}" = "xworkstation" -o \ ipkg ${HVCLOCK} ipkg ${WMNOTIFY} - # Needed by GNOME-2 + # Needed by Gnome ipkg ${DESKTOP_FILE_UTILS} ipkg -m acnb ${SHARED_MIME_INFO} ipkg ${STARTUP_NOTIFICATION} @@ -44,31 +40,25 @@ if [ "x${INST_TYPE}" = "xworkstation" -o \ ipkg ${LIBXKLAVIER} ipkg ${LIBGLADE} ipkg ${LIBIDL} # Dépendence de quoi?? - - # GNOME-2.X configuration - rscr mult "Configuring ${GNOME2_VER}" gnome-config - source /etc/profile - - echo "Test" - exit 0 - - ipkg_gnome ${ORBIT2} - ipkg ${GCONF} + ipkg ${ORBIT2} + ipkg -m acnb ${GCONF} ipkg ${LIBPROXY} "--with-gnome" - ipkg_gnome ${GNOME_KEYRING} - ipkg ${LIBSOUP} + ipkg ${GNOME_KEYRING} + ipkg ${LIBSOUP} "--without-gnome" fi ipkg ${HELP2MAN} ipkg ${GSL} ipkg -m acnb ${CUPS} ipkg -m noac ${CUPS_PDF} -ipkg ${SPLIX} -ipkg ${GHOSTSCRIPT} +ipkg -m noac ${SPLIX} +ipkg -m acnb ${GHOSTSCRIPT} +ipkg ${LIBSPECTRE} if [ "x${INST_TYPE}" = "xworkstation" -o \ "x${INST_TYPE}" = "xltsp-server" ]; then ipkg ${IMAGE_MAGICK} "--with-modules --with-gslib=/usr/lib" + ipkg ${VIEWNIOR} # xpdf headers needed by inkscape ipkg ${POPPLER} "--enable-xpdf-headers --enable-zlib" ipkg ${LIBRSVG} "--disable-gtk-doc --disable-mozilla-plugin" @@ -76,35 +66,23 @@ if [ "x${INST_TYPE}" = "xworkstation" -o \ ipkg ${GEGL} ipkg ${GIMP} "--disable-print" ipkg -m acnb ${GUTENPRINT} - ipkg -m noac ${BOOST} - # inkscape-0.47 has a problem with poppler >= 0.12.2 - # Try 0.48.1 + ipkg -s boost -m noac ${BOOST} ipkg ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\"" fi -ipkg ${CDRTOOLS} -ipkg ${DVDRWTOOLS} +ipkg -m noac ${CDRTOOLS} +ipkg -m noac ${DVDRWTOOLS} 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 @@ -113,29 +91,51 @@ ipkg -m pm ${PERL_MOD_PARSE_REDESCENT} ipkg ${ICON_NAMING_UTILS} ipkg ${TANGO_ICON_THEME} ipkg ${TANGO_ICON_THEME_EXTRAS} +ipkg ${GNOME_ICON_THEME} if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg ${EVINCE} "\ + --without-keyring \ + --disable-nautilus \ + --disable-help \ + --enable-pixbuf \ + --enable-dvi \ + --enable-t1lib" + # Audio if [ "x${SOUND_CARD}" = "xyes" ]; then # Needed by some packages, mostly audio applications. 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 ${FFMPEG} + ipkg -m acnb ${EASYTAG} + ipkg -m acnb ${FONTFORGE} + ipkg ${LILYPOND} "--disable-documentation --disable-debugging" + + ipkg ${FFMPEG} + + ipkg ${GSTREAMER} + ipkg ${GST_PLUGINS_BASE} + ipkg ${GST_PLUGINS_GOOD} + ipkg ${GST_PLUGINS_BAD} + ipkg ${GST_PLUGINS_UGLY} + ipkg -m acnb ${GST_FFMPEG} fi ipkg ${SYLPHEED} "--enable-ssl --enable-ldap" - ipkg ${NSS} - ipkg ${FIREFOX} + ipkg ${LIBNOTIFY} + ipkg ${YASM} + ipkg -m noac ${FIREFOX} + + ipkg -s qt ${QT} + ipkg -m noac ${LUA} + ##ipkg ${VLC} "--enable-mozilla" + ipkg -m acnb ${VLC} "--disable-mozilla" - # Plugins for Firefox - ipkg ${AGG} - ipkg ${GNASH} + ####ipkg ${GNASH} + # GtkGLExt gstreamer SDL xulrunner fi ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin" @@ -171,6 +171,15 @@ if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then ipkg ${SUBVERSION} fi +if [ "x${INST_TYPE}" = "xworkstation" -o \ + "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg ${LIBGSF} + ipkg -m acnb ${GOFFICE} + ipkg ${GNUMERIC} "--localstatedir=/var/lib --disable-pdfdocs" + ipkg ${WV} + ipkg ${ABIWORD} "--disable-spellcheck" +fi + ipkg ${INDENT} if [ "x${USE_SAMBA}" = "xyes" ]; then @@ -182,21 +191,22 @@ 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 ${LIBEVENT} 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