X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fhv-install-1;h=63029d843afdb31c1989f3b53315aaa53617a152;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=8e4f869d8bb3ffebafac6cfc54a00cd47da7d60c;hpb=cd68b17a1d099da4165c6502f3c37a99ddbe306c;p=hvlinux.git diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 8e4f869..63029d8 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -3,106 +3,133 @@ 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 acnb ${GHOSTSCRIPT} +ipkg ${LIBSPECTRE} +ipkg ${IJS} " \ + --mandir=/usr/share/man \ + --enable-shared \ + --disable-static" + +ipkg ${ITSTOOL} + +ipkg ${GLIB_NETWORKING} "\ + --libexecdir=/usr/lib/glib-networking \ + --with-ca-certificates=/etc/ssl/ca-bundle.crt \ + --disable-static" + 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 ${HARFBUZZ} + + # Freetype was installed in stage3, but needs to be reinstalled after harfbuzz + ipkg ${FREETYPE} "--disable-static" + ipkg -m acnb ${PANGO} ipkg ${PANGOMM} + ipkg ${GDK_PIXBUF} "--with-x11" + ipkg ${LIBCROCO} "--disable-static" + ipkg ${LIBRSVG} "--disable-gtk-doc --disable-static --disable-mozilla-plugin" ipkg ${ATK} - ipkg ${GDK_PIXBUF} - ipkg ${GTK} "--disable-gtk-doc-html" ipkg ${ATKMM} + ipkg ${AT_SPI2_CORE} + ipkg ${AT_SPI2_ATK} + ipkg ${GTK} "--disable-gtk-doc" ipkg ${GTKMM} "--disable-documentation" + ipkg ${ADWAITA_ICON_THEME} ipkg ${GTK_ENGINES} ipkg -m acnb ${PYCAIRO} - ipkg ${PYGOBJECT} + ipkg ${PYGOBJECT} "--disable-introspection" ipkg ${PYGTK} - ipkg ${GC} ipkg ${EMACS} + ipkg ${MMM_MODE} ipkg ${HVCLOCK} ipkg ${WMNOTIFY} - # Needed by GNOME-2 ipkg ${DESKTOP_FILE_UTILS} - ipkg -m acnb ${SHARED_MIME_INFO} + ipkg -m acnb -j ${SHARED_MIME_INFO} ipkg ${STARTUP_NOTIFICATION} ipkg ${LIBWNCK} ipkg ${ISO_CODES} ipkg ${LIBXKLAVIER} ipkg ${LIBGLADE} - ipkg ${LIBIDL} # Dépendence de quoi?? - - # GNOME-2.X configuration - rscr mult "Configuring ${GNOME2_VER}" gnome-config - source /etc/profile - - ipkg_gnome ${ORBIT2} - ipkg ${GCONF} - ipkg ${LIBPROXY} "--with-gnome" - ipkg_gnome ${GNOME_KEYRING} - ipkg ${LIBSOUP} + ipkg -m acnb ${GCONF} "\ + --disable-orbit \ + --disable-static" + ipkg -c -m noac ${CERTDATA} + ipkg ${P11KIT} + ipkg ${GCR} "--without-gtk" # Needs Gtk3 + ipkg ${GNOME_KEYRING} "--with-pam-dir=/lib/security --disable-debug" + ipkg ${LIBSOUP} "--disable-static --without-gnome" + + ipkg ${XSCREENSAVER} "--libexecdir=/usr/lib" + + ipkg -m noac ${DBUS_PYTHON} + ipkg -m acnb ${WICD} fi -ipkg ${HELP2MAN} -ipkg ${GSL} -ipkg -m acnb ${CUPS} -ipkg -m noac ${CUPS_PDF} -ipkg ${SPLIX} -ipkg ${GHOSTSCRIPT} +ipkg ${GPARTED} "--disable-doc" if [ "x${INST_TYPE}" = "xworkstation" -o \ "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg -m acnb ${EVIV2} ipkg ${IMAGE_MAGICK} "--with-modules --with-gslib=/usr/lib" - # xpdf headers needed by inkscape + ipkg ${VIEWNIOR} + # xpdf headers are needed by inkscape ipkg ${POPPLER} "--enable-xpdf-headers --enable-zlib" - ipkg ${LIBRSVG} "--disable-gtk-doc --disable-mozilla-plugin" ipkg ${BABL} ipkg ${GEGL} - ipkg ${GIMP} "--disable-print" + ipkg -m acnb ${DIA} + ipkg ${GIMP} 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 acnb ${QPDF} +ipkg ${CUPS_FILTERS} " \ + --localstatedir=/var \ + --without-rcdir \ + --with-gs-path=/usr/bin/gs \ + --with-pdftops-path=/usr/bin/gs \ + --disable-static" +ipkg -m noac ${SPLIX} +ipkg ${FOOMATIC_FILTERS} +ipkg -m noac ${FOO2ZJS} + +ipkg -m noac ${CDRTOOLS} +ipkg -m noac ${DVDRWTOOLS} ipkg ${LIBDVDCSS} -ipkg ${LIBDVDREAD} "--with-libdvdcss" +ipkg -m acnb ${LIBDVDREAD} ipkg -m noac ${DVDFS} - - - -exit 1 - - +ipkg -m acnb ${VOBCOPY} 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 -m acnb ${TEXLIVE} fi if [ "x${SANE_SUPPORT}" = "xyes" ]; then - ipkg ${SANE_BACKENDS} - ipkg ${XSANE} + ipkg -m acnb ${SANE_BACKENDS} + ipkg -m acnb ${XSANE} + + # Epson scanners + ipkg -m noac ${ISCAN_PLUGIN} + ipkg ${ISCAN_DATA} + ipkg -m acnb ${ISCAN} "--localstatedir=/var" fi ipkg -m pm ${PERL_MOD_XML_SIMPLE} @@ -110,34 +137,128 @@ 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 ${GSETTINGS_DESKTOP_SCHEMAS} + ipkg ${EVINCE} "\ + --without-keyring \ + --disable-nautilus \ + --disable-help \ + --enable-introspection \ + --enable-pixbuf \ + --enable-dvi \ + --enable-t1lib" + + ipkg ${VALA} + # 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} "--disable-static --enable-introspection --disable-gtk-doc" + ipkg -m acnb ${GRIP} "--disable-id3" ipkg -m acnb ${CDRDAO} - ipkg ${EASYTAG} - ipkg -m acnb ${LILYPOND} - - ipkg -m acnb ${FFMPEG} + ipkg ${ID3LIB} + ipkg -m acnb ${EASYTAG} + ipkg -m acnb ${FONTFORGE} "--enable-double" + + # -Wno-error=unused-but-set-variable: Fix for newer GCC. + CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable" \ + ipkg -s guile1 ${GUILE1} + + # Lilypond 2.17 ne fonctionne pas encore avec guile2 + PATH="/opt/guile1/bin/:$PATH" \ + ipkg ${LILYPOND} "--disable-documentation --disable-debugging" + + # ChordPro utils + ipkg -m noac ${CHORDPACK} + ipkg -m noac -s guitartex ${GUITARTEX} + + ipkg ${FFMPEG} " \ + --enable-shared \ + --enable-pthreads \ + --enable-gpl \ + --enable-nonfree \ + --disable-ffplay \ + --enable-libfaac \ + --enable-libmp3lame \ + --enable-libtheora \ + --enable-libvorbis \ + --enable-libxvid \ + --enable-libfreetype \ + --enable-libx264" + + 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} + + ipkg ${GNOME_MEDIA} # Pour gstreamer-properties et gnome-volume-control + + ipkg ${WXGTK} "--enable-unicode --disable-compat26" + # Bug with system-installed portaudio and ffmpeg + ipkg -m acnb ${AUDACITY} "--with-libsamplerate --with-portaudio=local --with-ffmpeg=local" fi ipkg ${SYLPHEED} "--enable-ssl --enable-ldap" - ipkg ${NSS} - ipkg ${FIREFOX} + ipkg ${LIBNOTIFY} + ipkg ${LIBVPX} "--enable-shared" + + if [ "x${USE_WEBKIT}" = "xyes" ]; then + ipkg -m acnb -t -j ${WEBKIT} "\ + --libexecdir=/usr/lib/WebKitGTK \ + --with-gstreamer=0.10 \ + --enable-introspection \ + --with-gtk=2.0 \ + --disable-geolocation \ + --disable-gtk-doc" + NOCOLOR=1 ipkg ${MIDORI} + fi + + ipkg ${LIBEVENT} + ipkg -d "nspr" ${NSPR} "--with-mozilla --with-pthreads \ + $([ $(uname -m) = x86_64 ] && echo --enable-64bit)" + ipkg -m noac ${NSS} + ipkg -m noac ${FIREFOX} + + ipkg -m noac ${KEYUTILS} + ipkg -s ecryptfs-utils ${ECRYPTFS_UTILS} - # Plugins for Firefox - ipkg ${AGG} - ipkg ${GNASH} + ipkg -s qt ${QT} + source /etc/profile + ipkg -m noac ${LUA} + ipkg -m acnb ${VLC} "--enable-mozilla --enable-qt4 --enable-ncurses" + ipkg ${SDL} + ipkg ${AGG} " \ + --disable-static \ + --enable-ctrl \ + --enable-gpc" + if [ "x${USE_GNASH}" = "xyes" ]; then + ipkg ${GNASH} + fi fi ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin" +ipkg ${MENU_CACHE} +ipkg ${GVFS} +ipkg -m acnb ${XARCHIVER} +ipkg ${GNOME_MENUS} +ipkg -m acnb ${LIBFM} ipkg ${PCMANFM} +if [ "x${USE_HTTPD}" = "xyes" ]; then + ipkg -s apache ${HTTPD} +fi +if [ "x${USE_LIGHTTPD}" = "xyes" ]; then + ipkg ${LIGHTTPD} +fi +ipkg ${PHP} + if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then ipkg -m noac ${PROCMAIL} ipkg -m noac ${LIBSPF2} @@ -158,20 +279,31 @@ if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then ipkg ${UW_IMAP} - ipkg ${HTTPD} # Apache - ipkg ${PHP} - ipkg -m noac ${SQUIRRELMAIL} ipkg ${FETCHMAIL} "--with-ssl" - # Subversion server (client was already installed in stage2) - ipkg ${SUBVERSION} + if [ x"${SVN_SERVER}" == xyes ]; then + # Subversion server (client was already installed in stage3) + ipkg ${SUBVERSION} + fi fi +ipkg ${LIBGSF} +ipkg -m acnb ${GOFFICE} +ipkg ${GNUMERIC} "--localstatedir=/var/lib --disable-pdfdocs" +ipkg ${WV} +ipkg ${ABIWORD} "--disable-spellcheck" + +ipkg -m noac ${MERCURIAL} + ipkg ${INDENT} if [ "x${USE_SAMBA}" = "xyes" ]; then - ipkg ${SAMBA} + ipkg -d source ${SAMBA} "\ + --localstatedir=/var \ + --with-piddir=/var/run \ + --with-fhs \ + --with-smbmount" fi if [ "x${INST_TYPE}" = "xltsp-server" ]; then @@ -179,21 +311,27 @@ if [ "x${INST_TYPE}" = "xltsp-server" ]; then ipkg ${LTSP_UTILS} fi -ipkg -m acnb ${KVM} +ipkg -j ${QEMU} "--libexecdir=/usr/lib/qemu \ + --docdir=/usr/share/doc/qemu-1.7.0 \ + --target-list=x86_64-softmmu" ipkg -m acnb ${BRIDGE_UTILS} -ipkg ${UML_UTILITIES} +ipkg -m noac ${TUNCTL} 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 ${GEDA_GAF} +ipkg ${AVRDUDE} "--disable-parport" + +# Astronomie +ipkg -m noac ${STELLARIUM} +##ipkg ${GTKGLEXT} +##ipkg -m acnb ${CELESTIA} "--with-gtk" + +ipkg -m noac ${I2C_TOOLS} +ipkg -m noac ${HDPARM} + +rscr mult "Performing post-install" post-install write_completed_stage display_stage_build_stats