X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fhv-install-1;h=e68890be158f52a0e133e69eba7203359cb2d524;hb=c0c88f1f0e4f7f706dddf143f54c4a5745d4248f;hp=0a3a94d0b8db07b794ffd3f8ec6b82aa36015a67;hpb=9c23f087819d8e17cd248a3e2543d59b4c32d26d;p=hvlinux.git diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 0a3a94d..e68890b 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -3,20 +3,22 @@ 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 +ipkg ${HELP2MAN} +ipkg ${GSL} +ipkg -m acnb ${CUPS} +ipkg -m noac ${CUPS_PDF} +ipkg -m noac ${SPLIX} + if [ "x${INST_TYPE}" = "xworkstation" -o \ "x${INST_TYPE}" = "xltsp-server" ]; then # Gtk 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 +37,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 +46,19 @@ 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 ${LIBPROXY} "--with-gnome" - ipkg_gnome ${GNOME_KEYRING} - ipkg ${LIBSOUP} + ipkg ${ORBIT2} + ipkg -m acnb ${GCONF} + 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 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,36 +66,24 @@ 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 ${XSANE} + ipkg -m acnb ${SANE_BACKENDS} + ipkg -m acnb ${XSANE} fi ipkg -m pm ${PERL_MOD_XML_SIMPLE} @@ -113,32 +91,66 @@ 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 ${VTE} "--libexecdir=/usr/lib/vte --disable-gtk-doc" + 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" + + # ChordPro utils + ipkg -m noac ${CHORDPACK} + ipkg -m noac -s guitartex ${GUITARTEX} + + ipkg ${FFMPEG} + + ipkg ${GSTREAMER} "--disable-tests" + ipkg ${GST_PLUGINS_BASE} + ipkg ${GST_PLUGINS_GOOD} + ipkg ${GST_PLUGINS_BAD} + ipkg ${GST_PLUGINS_UGLY} + ipkg -m acnb ${GST_FFMPEG} "--with-ffmpeg-extra-configure=--disable-yasm" + ipkg ${GNOME_MEDIA} # Pour gstreamer-properties et gnome-volume-control fi ipkg ${SYLPHEED} "--enable-ssl --enable-ldap" - ipkg ${NSS} - ipkg ${FIREFOX} + ipkg ${LIBNOTIFY} + ipkg ${YASM} + + ipkg -m noac -l "${FIREFOX}-xulrunner" ${FIREFOX} + ipkg -m noac -l "${FIREFOX}-browser" ${FIREFOX} - # Plugins for Firefox - ipkg ${AGG} + ipkg -s qt ${QT} + source /etc/profile + ipkg -m noac ${LUA} + ipkg -m acnb ${VLC} "--enable-mozilla --enable-qt4 --enable-ncurses" + ipkg ${SDL} + ipkg -m noac ${AGG} ipkg ${GNASH} fi ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin" +ipkg ${MENU_CACHE} +ipkg ${GVFS} +ipkg ${XARCHIVER} +ipkg -m acnb ${LIBFM} ipkg ${PCMANFM} if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then @@ -171,6 +183,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 +203,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