From: root Date: Tue, 2 Mar 2010 02:09:58 +0000 (+0000) Subject: Started work on stage5 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=532a0d1a77242192d6809b03ec7c14e271e29e82;p=hvlinux.git Started work on stage5 --- diff --git a/dependencies b/dependencies index c16b5d3..45c102b 100644 --- a/dependencies +++ b/dependencies @@ -1,7 +1,7 @@ #!/bin/sh ${INTLTOOL}: ${PERL_MOD_XML_PARSER} -${INKSCAPE}: ${LIBBOOST} ${INTLTOOL} +${INKSCAPE}: ${BOOST} ${INTLTOOL} ${TETEX_SRC}: ${ED} ${PHP}: ${CURL} @@ -31,7 +31,11 @@ ${FETCHMAIL}: ${OPENSSL} ${PROCMAIL} ${FUSE}: ${UDEV} -${EVINCE}: ${POPPLER} ${LIBGNOMEUI} ${GNOME_ICON_THEME} ${GNOME_DOC_UTILS} ${TETEX_SRC} ${ESPGS} ${T1LIB} +${JASPER}: ${LIBJPEG} ${XORG} ${MESALIB} +${GHOSTSCRIPT}: ${LIBJPEG} ${LIBPNG} ${JASPER} ${GTK} ${XORG} + +${POPPLER}: ${FONTCONFIG} ${LIBJPEG} ${CAIRO} ${GLIB} ${LIBOPENJPEG} +${EVINCE}: ${POPPLER} ${LIBGNOMEUI} ${GNOME_ICON_THEME} ${GNOME_DOC_UTILS} ${TETEX_SRC} ${GHOSTSCRIPT} ${T1LIB} ${DBUS}: ${EXPAT} ${LIBXML2} ${XORG_LIBS} ${GLIB}: ${PCRE} @@ -60,7 +64,8 @@ ${GTK_ENGINES}: ${PERL_MOD_XML_PARSER} ${IMLIB2}: ${FREETYPE} ${LIBJPEG} ${LIBPNG} ${LIBTIFF} ${XORG} ${GIFLIB} ${LIBID3TAG} -${POPPLER}: ${FONTCONFIG} ${LIBJPEG} ${CAIRO} ${GLIB} ${LIBOPENJPEG} +${CAIRO}: ${LIBPNG} ${PIXMAN} +${CAIROMM}: ${CAIRO} ${LIBDVDREAD}: ${LIBDVDCSS} ${DVDFS}: ${FUSE} ${LIBDVDREAD} @@ -93,3 +98,5 @@ ${EMACS}: ${GTK} webalizer: gd-2.0.33 ${LILYPOND}: fontforge mftrace t1utils autotrace + +${TANGO}: ${PERL_MOD_XML_SIMPLE} ${PERL_MOD_PARSE_REDESCENT} diff --git a/functions-update b/functions-update index 90ba606..d886f24 100644 --- a/functions-update +++ b/functions-update @@ -262,7 +262,7 @@ static_getpkg() # Options: # -e File extension (default is tar.bz2) # -d Fetch directory (default is LFS_PKG_DIR) -# -f Filename (default is PACKAGE) +# -f Filename on server (default is PACKAGE) # -h Display this help and returns # -s Subdirectory on server fpkg() diff --git a/packages-list b/packages-list index bf9d264..0f76ace 100644 --- a/packages-list +++ b/packages-list @@ -15,12 +15,12 @@ APR="apr-1.3.9" APR_UTIL="apr-util-1.3.9" AVR_GDB="gdb-6.4" AVRDUDE="avrdude-5.1" -ATK="atk-1.18.0" +ATK="atk-1.28.0" AUDIOFILE="audiofile-0.2.6" AUTOCONF="autoconf-2.65" AUTOMAKE="automake-1.11.1" -BABL="babl-0.0.22" +BABL="babl-0.1.2" BASH="bash-4.0" BC="bc-1.06" BISON="bison-2.4.1" @@ -31,8 +31,8 @@ AVR_BINUTILS=${BINUTILS} BRIDGE_UTILS="bridge-utils-1.4" BZIP2="bzip2-1.0.5" -CAIRO="cairo-1.8.8" -CAIROMM="cairomm-1.6.0" +CAIRO="cairo-1.8.10" +CAIROMM="cairomm-1.8.4" CDRTOOLS="cdrtools-2.01" CDRDAO="cdrdao-1.2.2" CKERMIT="ckermit-8.0.211" @@ -41,7 +41,7 @@ CLOOG_PPL="cloog-ppl-0.15.7" CONSOLEKIT="ConsoleKit-0.4.1" COREUTILS="coreutils-7.6" CPIO="cpio-2.9" -CUPS="cups-1.1.23" +CUPS="cups-1.4.2" CURL="curl-7.19.7" CVS="cvs-1.11.23" @@ -71,7 +71,6 @@ EGGDBUS="eggdbus-0.6" EGLIBC="eglibc-2.10.1" EMACS="emacs-23.1" ESOUND="esound-0.2.37" -ESPGS="espgs-8.15.4" EXPAT="expat-2.0.1" FCRON="fcron-3.0.0" @@ -88,7 +87,7 @@ FRIBIDI="fribidi-0.10.9" FUSE="fuse-2.8.3" GAWK="gawk-3.1.7" -GC="gc6.5" +GC="gc6.8" GCC_CORE="gcc-4.4.2" ARM_GCC_CORE=${GCC_CORE} AVR_GCC_CORE=${GCC_CORE} @@ -101,18 +100,18 @@ GEDA_GSCHEM="geda-gschem-1.2.0" GEDA_GNETLIST="geda-gnetlist-1.2.0" GEDA_SYMCHECK="geda-gsymcheck-1.2.0" GEDA_GATTRIB="geda-gattrib-1.2.0" -GEGL="gegl-0.0.22" +GEGL="gegl-0.1.2" GETDATE="getdate_rfc868-1.2" GETTEXT="gettext-0.17" +GHOSTSCRIPT="ghostscript-8.70" GHOSTSCRIPT_FONTS_STD="ghostscript-fonts-std-8.11" GHOSTSCRIPT_FONTS_OTHER="ghostscript-fonts-other-6.0" GNASH=" gnash-0.8.5" -GIMP="gimp-2.6.6" -GUTENPRINT="gutenprint-5.2.3" +GIMP="gimp-2.6.8" +GUTENPRINT="gutenprint-5.2.5" GLIB="glib-2.22.4" -GTK="gtk+-2.14.7" -GTK_ENGINES="gtk-engines-2.18.4" -GLITZ="glitz-0.5.6" +GLIBMM="glibmm-2.22.1" +#####GLITZ="glitz-0.5.6" #DEPRECATED # GNOME2 core packages GNOME2_VER="gnome-2.28.1" @@ -182,6 +181,7 @@ GNOME_VOLUME_MANAGER="gnome-volume-manager-2.17.0" GNOME_SOUND_JUICER="sound-juicer-2.16.4" GNOME_TOTEM="totem-2.28.1" GDM="gdm-2.28.1" +GMP="gmp-4.3.1" GNOME_MOUNT="gnome-mount-0.6" GNUTLS="gnutls-1.6.3" GOBJECT_INSTROSPECTION="gobject-introspection-0.6.5" @@ -192,33 +192,33 @@ GREP="grep-2.5.4" GRIP="grip-3.3.1" GROFF="groff-1.20.1" GRUB="grub-0.97" -GSL="gsl-1.11" +GSL="gsl-1.13" GSTREAMER="gstreamer-0.10.20" GST_PLUGINS_BASE="gst-plugins-base-0.10.20" GST_PLUGINS_GOOD="gst-plugins-good-0.10.10" GST_PLUGINS_BAD="gst-plugins-bad-0.10.8" GST_PLUGINS_UGLY="gst-plugins-ugly-0.10.10" GST_FFMPEG="gst-ffmpeg-0.10.6" -GTK_DOC="gtk-doc-1.4" -GLIBMM="glibmm-2.16.2" -GTKMM="gtkmm-2.12.7" -GMP="gmp-4.3.1" +GTK="gtk+-2.18.7" +GTK_DOC="gtk-doc-1.12" +GTK_ENGINES="gtk-engines-2.18.5" +GTKMM="gtkmm-2.18.2" GUILE="guile-1.8.7" GZIP="gzip-1.3.12" HAL="hal-0.5.14" HAL_INFO="hal-info-20091130" -HELP2MAN="help2man-1.36.4" +HELP2MAN="help2man-1.37.1" HICOLOR_ICON_THEME="hicolor-icon-theme-0.11" HTTPD="httpd-2.2.8" # Apache -HVCLOCK="hvclock-0.2.0" +HVCLOCK="hvclock-1.0.0" IANA="iana-etc-2.30" -IMAGE_MAGICK="ImageMagick-6.5.0-8" +IMAGE_MAGICK="ImageMagick-6.6.0-0" IMLIB2="imlib-1.4.2" INDENT="indent-2.2.10" INETUTILS="inetutils-1.7" -INKSCAPE="inkscape-r19727" +INKSCAPE="inkscape-0.47" INTLTOOL="intltool-0.40.6" IPROUTE2="iproute2-2.6.29-1" IPTABLES="iptables-1.3.8" @@ -226,6 +226,7 @@ ISO_CODES="iso-codes-1.2" JACK="jack-audio-connection-kit-0.103.0" JADETEX="jadetex-3.13" +JASPER="jasper-1.900.1" JAVA="jre-1.6.0_05" KBD="kbd-1.15" @@ -240,7 +241,7 @@ LESSTIF="lesstif-0.95.2" LFS_BOOTSCRIPTS="lfs-bootscripts-20070813" LIBA52="a52dec-0.7.4" LIBART="libart_lgpl-2.3.20" -LIBBOOST="boost_1_35_0" +BOOST="boost_1_42_0" LIBCROCO="libcroco-0.6.2" LIBDVDCSS="libdvdcss-1.2.10" LIBDVDREAD="libdvdread-0.9.7" @@ -250,11 +251,10 @@ LIBFAAC="faac-1.28" LIBFFI="libffi-3.0.8" LIBGAMIN="gamin-0.1.9" LIBGEDA="libgeda-1.2.0" -LIBGLADE="libglade-2.6.0" -LIBGPHOTO2="libgphoto2-2.1.99" +LIBGLADE="libglade-2.6.4" LIBGSF="libgsf-1.14.7" LIBID3TAG="libid3tag-0.15.1b" -LIBIDL="libIDL-0.8.6" +LIBIDL="libIDL-0.8.13" LIBJPEG="libjpeg-7" LIBMAD="libmad-0.15.1b" LIBMNG="libmng-1.0.10" @@ -268,9 +268,9 @@ LIBPNG="libpng-1.2.39" LIBPTHREAD_STUBS="libpthread-stubs-0.1" LIBRSVG="librsvg-2.26.0" LIBSAMPLERATE="libsamplerate-0.1.2" -LIBSIGCPP="libsigc++-2.0.17" +LIBSIGCPP="libsigc++-2.2.4.2" LIBSNDFILE="libsndfile-1.0.18pre18" -LIBSOUP="libsoup-2.4.1" +LIBSOUP="libsoup-2.28.2" LIBSPF2="libspf2-1.2.5" LIBTASN1="libtasn1-2.2" LIBTHEORA="libtheora-1.0" @@ -279,8 +279,8 @@ LIBVORBIS="libvorbis-1.2.3" VORBIS_TOOLS="vorbis-tools-1.2.0" LIBUSB="libusb-1.0.2" LIBUSB_COMPAT="libusb-compat-0.1.3" -LIBWNCK="libwnck-2.16.1" -LIBXKLAVIER="libxklavier-2.91" +LIBWNCK="libwnck-2.28.0" +LIBXKLAVIER="libxklavier-5.0" LIBXML2="libxml2-2.7.6" LIBXSLT="libxslt-1.1.26" LILYPOND="lilypond-2.12.2" @@ -316,7 +316,7 @@ OPENSSL="openssl-0.9.8l" OPENSSL_ROOT_CERTS="BLFS-ca-bundle-20090409" PAM="Linux-PAM-1.1.0" -PANGO="pango-1.20.5" +PANGO="pango-1.26.2" PARTED="parted-1.9.0" PATCH_PACKAGE="patch-2.5.9" PCIUTILS="pciutils-3.1.4" @@ -339,7 +339,7 @@ PHP="php-5.2.6" PIXMAN="pixman-0.17.8" POLKIT="polkit-0.96" POLICYKIT="PolicyKit-0.9" -POPPLER="poppler-0.12.3" +POPPLER="poppler-0.12.4" PKG_CONFIG="pkg-config-0.23" POPT="popt-1.15" PORTAUDIO="portaudio-v19_061121" @@ -350,8 +350,8 @@ PROCPS="procps-3.2.8" PSMISC="psmisc-22.9" PULSEAUDIO="pulseaudio-0.9.12" PYTHON="Python-2.6.4" -PYGOBJECT="pygobject-2.16.1" -PYGTK="pygtk-2.14.1" +PYGOBJECT="pygobject-2.20.0" +PYGTK="pygtk-2.16.0" READLINE="readline-6.1" REISERFSPROGS="reiserfsprogs-3.6.21" @@ -379,7 +379,7 @@ SPLINT="splint-3.1.1" SPLIX="splix-2.0.0" SQLITE="sqlite-3.6.22" SQUIRRELMAIL="squirrelmail-1.5.1" -STARTUP_NOTIFICATION="startup-notification-0.8" +STARTUP_NOTIFICATION="startup-notification-0.9" STRACE="strace-4.5.19" SUBVERSION="subversion-1.6.6" SWEEP="sweep-svn-r586" diff --git a/stage3/cis-espgs b/stage3/cis-espgs deleted file mode 100755 index 2ae788b..0000000 --- a/stage3/cis-espgs +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -set -o errexit - -# First argument of this script is the package name. - -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../packages-list - -# Applying patches (if any) -apply_patches ${1} - -GS_FONTS_PATH="${HV_FONTS_PATH}/ghostscript" - -# Unpack all the fonts to ${GS_FONTS_PATH} -install -v -m755 -d ${GS_FONTS_PATH} -decompress_package ${GHOSTSCRIPT_FONTS_STD} -decompress_package ${GHOSTSCRIPT_FONTS_OTHER} -mv ${LFS_TMP}/fonts/* ${GS_FONTS_PATH} -rmdir ${LFS_TMP}/fonts -chown -v -R root:root ${GS_FONTS_PATH} - -cd ${LFS_TMP}/${1} -sed -i "s/bbox.dev$/x11.dev/" Makefile.in -./configure \ - --prefix=/usr \ - --enable-threads \ - --without-omni \ - --with-fontpath=${GS_FONTS_PATH} -make -make install - -#rmdir -v /usr/lib/ghostscript/$(get_pkg_ver_base ${1}) /usr/lib/ghostscript -ln -v -s ../ghostscript/$(get_pkg_ver_base ${1})/doc /usr/share/doc/${1} -for INSTFILE in `ls doc`; do - if [ ! -f /usr/share/doc/${1}/${INSTFILE} ]; then - install -v -m644 doc/${INSTFILE} /usr/share/doc/${1}/ - fi -done - -if ! grep "${GS_FONTS_PATH}" /etc/fonts/local.conf 1> /dev/null 2>&1; then - # Adding Ghostscript fonts directory to local configuration file - sed -i -e "s!\(\)! ${GS_FONTS_PATH}\n\1!" /etc/fonts/local.conf -fi - -# Updating cache database. -fc-cache -f - -ldconfig - -exit $? diff --git a/stage5/INSTALL b/stage5/INSTALL new file mode 100644 index 0000000..52383c5 --- /dev/null +++ b/stage5/INSTALL @@ -0,0 +1,5 @@ + +Installation instructions +------------------------- + +1. ./stage4-install diff --git a/stage5/TODO b/stage5/TODO new file mode 100644 index 0000000..9799439 --- /dev/null +++ b/stage5/TODO @@ -0,0 +1,3 @@ + + TODO + diff --git a/stage5/cis-ac b/stage5/cis-ac new file mode 120000 index 0000000..9214a69 --- /dev/null +++ b/stage5/cis-ac @@ -0,0 +1 @@ +../stage2/cis-ac \ No newline at end of file diff --git a/stage5/cis-ac-nobuild b/stage5/cis-ac-nobuild new file mode 120000 index 0000000..06c3fe7 --- /dev/null +++ b/stage5/cis-ac-nobuild @@ -0,0 +1 @@ +../stage2/cis-ac-nobuild \ No newline at end of file diff --git a/stage5/cis-ghostscript b/stage5/cis-ghostscript new file mode 100755 index 0000000..2ae788b --- /dev/null +++ b/stage5/cis-ghostscript @@ -0,0 +1,52 @@ +#!/bin/sh +set -o errexit + +# First argument of this script is the package name. + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list + +# Applying patches (if any) +apply_patches ${1} + +GS_FONTS_PATH="${HV_FONTS_PATH}/ghostscript" + +# Unpack all the fonts to ${GS_FONTS_PATH} +install -v -m755 -d ${GS_FONTS_PATH} +decompress_package ${GHOSTSCRIPT_FONTS_STD} +decompress_package ${GHOSTSCRIPT_FONTS_OTHER} +mv ${LFS_TMP}/fonts/* ${GS_FONTS_PATH} +rmdir ${LFS_TMP}/fonts +chown -v -R root:root ${GS_FONTS_PATH} + +cd ${LFS_TMP}/${1} +sed -i "s/bbox.dev$/x11.dev/" Makefile.in +./configure \ + --prefix=/usr \ + --enable-threads \ + --without-omni \ + --with-fontpath=${GS_FONTS_PATH} +make +make install + +#rmdir -v /usr/lib/ghostscript/$(get_pkg_ver_base ${1}) /usr/lib/ghostscript +ln -v -s ../ghostscript/$(get_pkg_ver_base ${1})/doc /usr/share/doc/${1} +for INSTFILE in `ls doc`; do + if [ ! -f /usr/share/doc/${1}/${INSTFILE} ]; then + install -v -m644 doc/${INSTFILE} /usr/share/doc/${1}/ + fi +done + +if ! grep "${GS_FONTS_PATH}" /etc/fonts/local.conf 1> /dev/null 2>&1; then + # Adding Ghostscript fonts directory to local configuration file + sed -i -e "s!\(\)! ${GS_FONTS_PATH}\n\1!" /etc/fonts/local.conf +fi + +# Updating cache database. +fc-cache -f + +ldconfig + +exit $? diff --git a/stage5/packages-update b/stage5/packages-update new file mode 100755 index 0000000..54344bc --- /dev/null +++ b/stage5/packages-update @@ -0,0 +1,219 @@ +#!/bin/sh + +LFS_STAGE="stage5" +USE_LFS_PATCHES=1 +USE_BLFS_PATCHES=1 +USE_HV_PATCHES=1 + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../functions-update +source ../packages-list + +# Execute a return statement instead of exit, to be able to continue with +# downloading other packages +export RCMD_NO_EXIT=1 + +update_packages_init + +if [ ${#} -eq 1 -a "x${1}" = "xtest" ]; then + export TEST_INTEGRITY=1 +fi + +# Gtk +fpkg_gnome ${GTK_DOC} +######fpkg ${GLITZ} "http://cairographics.org/snapshots" +fpkg ${CAIRO} "http://cairographics.org/releases" +fpkg ${CAIROMM} "http://cairographics.org/releases" +fpkg_gnome ${PANGO} +fpkg_gnome ${ATK} +fpkg_gnome ${GTK} +fpkg_gnome ${GTK_ENGINES} +fpkg_gnome ${PYGOBJECT} +fpkg_gnome ${PYGTK} +fpkg_gnome ${LIBSIGCPP} +fpkg ${GC} " http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source" +fpkg_gnome ${GLIBMM} +fpkg_gnome ${GTKMM} + +fpkg_gnu ${EMACS} +fpkg_hv ${HVCLOCK} +fpkg_hv ${WMNOTIFY} + +fpkg ${DESKTOP_FILE_UTILS} "http://freedesktop.org/software/desktop-file-utils/releases" +fpkg ${SHARED_MIME_INFO} "http://people.freedesktop.org/~hadess" +fpkg_gnome ${STARTUP_NOTIFICATION} +fpkg_gnome ${LIBWNCK} +fpkg_sf ${LIBXKLAVIER} gswitchit +fpkg_gnome ${LIBGLADE} +fpkg_gnome ${LIBSOUP} +fpkg_gnome ${LIBIDL} + +fpkg_gnu ${HELP2MAN} +fpkg_gnu ${GSL} +fpkg -s "$(get_pkg_ver ${CUPS})" -f "${CUPS}-source" ${CUPS} "http://ftp.easysw.com/pub/cups" +fpkg_sf ${SPLIX} +fpkg -e zip ${JASPER} "http://www.ece.uvic.ca/~mdadams/jasper/software" +fpkg_sf ${GHOSTSCRIPT} +fpkg_sf ${GHOSTSCRIPT_FONTS_STD} "ghostscript" +fpkg_sf ${GHOSTSCRIPT_FONTS_OTHER} "ghostscript" + +fpkg_sf ${IMAGE_MAGICK} "imagemagick" +fpkg ${POPPLER} "http://poppler.freedesktop.org" +fpkg_gnome ${LIBRSVG} +fpkg ${BABL} "ftp://ftp.gtk.org/pub/babl/$(get_pkg_ver_base ${BABL})" +fpkg ${GEGL} "ftp://ftp.gimp.org/pub/gegl/$(get_pkg_ver_base ${BABL})" +fpkg ${GIMP} "ftp://ftp.gimp.org/pub/gimp/v$(get_pkg_ver_base ${GIMP})" +fpkg_sf ${GUTENPRINT} "gimp-print" +fpkg_sf ${BOOST} "boost" +fpkg_sf ${INKSCAPE} + +exit 1 +exit 1 + + + +fpkg ${CDRTOOLS} "ftp://ftp.berlios.de/pub/cdrecord" +fpkg ${DVDRWTOOLS} "http://fy.chalmers.se/~appro/linux/DVD+RW/tools" +fpkg ${LIBDVDCSS} "ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles" +fpkg ${LIBDVDREAD} "ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles" +fpkg ${DVDFS} "http://jspenguin.org:81/dvdfs" + +fpkg ${TETEX_SRC} "${TETEX_URL}/$(get_pkg_ver ${TETEX_SRC})/distrib" +fpkg ${TETEX_TEXMF} "${TETEX_URL}/$(get_pkg_ver ${TETEX_TEXMF})/distrib" +fpkg ${TETEX_TEXMFSRC} "${TETEX_URL}/$(get_pkg_ver ${TETEX_TEXMFSRC})/distrib" +fpkg ${TETEX_CM_SUPER} "http://anduin.linuxfromscratch.org/sources/BLFS/svn/t" +# For re-generating fontconfig documentation. +fpkg_sf ${JADETEX} + +fpkg ${SANE_BACKENDS} "ftp://ftp.sane-project.org/pub/sane/${SANE_BACKENDS}" +fpkg ${XSANE} "ftp://ftp.sane-project.org/pub/sane/xsane" + +fpkg ${PERL_MOD_XML_SIMPLE} "http://www.cpan.org/modules/by-module/XML" +fpkg ${PERL_MOD_PARSE_REDESCENT} "http://www.cpan.org/modules/by-module/Parse" +fpkg ${ICON_NAMING_UTILS} "http://tango.freedesktop.org/releases" +fpkg ${TANGO_ICON_THEME} "http://tango-project.org/releases" +fpkg ${TANGO_ICON_THEME_EXTRAS} "http://tango-project.org/releases" + + + + + +fpkg_sf ${JACK} "jackit" +fpkg ${ALSA_LIB} "ftp://ftp.alsa-project.org/pub/lib" +fpkg ${ALSA_PLUGINS} "ftp://ftp.alsa-project.org/pub/plugins" +fpkg ${ALSA_UTILS} "ftp://ftp.alsa-project.org/pub/utils" +fpkg ${ALSA_OSS} "ftp://ftp.alsa-project.org/pub/oss-lib" + +# Multimedia libraries and drivers. +fpkg ${AUDIOFILE} "http://www.68k.org/~michael/audiofile" +fpkg_gnome ${ESOUND} + +fpkg ${LIBSAMPLERATE} "http://www.mega-nerd.com/SRC" +fpkg ${LIBOIL} "http://liboil.freedesktop.org/download" +fpkg ${SPEEX} "http://downloads.xiph.org/releases/speex" +fpkg ${PULSEAUDIO} "http://0pointer.de/lennart/projects/pulseaudio" + +# Temporaire, version beta +fpkg ${LIBSNDFILE} "http://www.mega-nerd.com/tmp" +#fpkg ${LIBSNDFILE} "http://www.mega-nerd.com/libsndfile" + +fpkg ${LIBOGG} "http://downloads.xiph.org/releases/ogg" +fpkg ${LIBVORBIS} "http://downloads.xiph.org/releases/vorbis" +fpkg ${LIBTHEORA} "http://downloads.xiph.org/releases/theora" + +fpkg_hv ${FLAC} +fpkg_hv ${FFMPEG} +fpkg ${XVIDCORE} "http://downloads.xvid.org/downloads" + +# Audio utilities +fpkg_sf ${LAME} +fpkg ${VORBIS_TOOLS} "http://downloads.xiph.org/releases/vorbis" +fpkg_hv ${LIBA52} +fpkg_hv ${LIBID3TAG} +fpkg ${LIBMAD} "ftp://ftp.mars.org/pub/mpeg" +fpkg_sf ${LIBFAAC} +fpkg ${LIBFAAD2} "http://downloads.sourceforge.net/faac" +fpkg_sf ${GRIP} +fpkg_sf ${CDRDAO} +fpkg_hv ${PORTAUDIO} +fpkg_hv ${SWEEP} +fpkg ${LILYPOND} "http://lilypond.org/download/sources/v$(get_pkg_ver_base ${LILYPOND})" +fpkg ${SYLPHEED} "http://sylpheed.good-day.net/sylpheed/v$(get_pkg_ver_base ${SYLPHEED})" + +fpkg_hv ${NSS} +fpkg ${FIREFOX} "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(get_pkg_ver ${FIREFOX})/source" + +fpkg_hv ${JAVA} +fpkg_hv ${AGG} +fpkg ${GNASH} "http://ftp.gnu.org/pub/gnu/gnash/$(get_pkg_ver ${GNASH})" + +fpkg ${SASL2} "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail" +fpkg -f "openldap-stable-20070831" ${OPENLDAP} "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable" +fpkg_hv ${KERBEROS5} + +fpkg -f "sendmail.$(get_pkg_ver ${SENDMAIL})" ${SENDMAIL} "ftp://ftp.sendmail.org/pub/sendmail" +fpkg ${LIBSPF2} "http://libspf2.org/spf" +fpkg ${MILTER_GREYLIST} "ftp://ftp.espci.fr/pub/milter-greylist" +fpkg_hv ${MILTER_SPF} +fpkg ${PROCMAIL} "http://www.procmail.org" +fpkg ${FETCHMAIL} "http://download.berlios.de/fetchmail" +fpkg_sf ${MUTT} + +fpkg -f "${FCRON}.src" ${FCRON} "ftp://ftp.seul.org/pub/fcron" +fpkg_hv ${GETDATE} + +fpkg_sf ${CLAMAV} + +fpkg ${PERL_MOD_HTML_TAGSET} "http://anduin.linuxfromscratch.org/sources/BLFS/svn/perl-modules" +fpkg ${PERL_MOD_HTML_PARSER} "http://anduin.linuxfromscratch.org/sources/BLFS/svn/perl-modules" +fpkg ${PERL_MOD_APACHE_LOGGED_AUTH_DBI} "http://search.cpan.org/CPAN/authors/id/S/SI/SIMKIN" +fpkg ${PERL_MOD_DB_FILE} "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS" +fpkg ${PERL_MOD_DIGEST_SHA1} "http://anduin.linuxfromscratch.org/sources/BLFS/svn/perl-modules" +# URI is needed by LWP +fpkg ${PERL_MOD_URI} "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS" +# LWP is Needed by LTSP +fpkg ${PERL_MOD_LWP} "http://www.linpro.no/lwp" + +# ZIP is Needed by OO +fpkg ${PERL_MOD_ARCHIVE_ZIP} "http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK" +fpkg ${PERL_MOD_COMPRESS_ZLIB} "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS" +fpkg ${PERL_MOD_IO_COMPRESS_BASE} "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS" +fpkg ${PERL_MOD_IO_COMPRESS_ZLIB} "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS" +fpkg ${PERL_MOD_COMPRESS_RAW_ZLIB} "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS" +fpkg ${PERL_MOD_NET_DNS} "http://search.cpan.org/CPAN/authors/id/O/OL/OLAF" + +fpkg ${SPAMASSASSIN} "http://apache.sunsite.ualberta.ca/spamassassin/source" +fpkg ${UW_IMAP} "ftp://ftp.cac.washington.edu/imap" + +fpkg ${HTTPD} "http://www.apache.org/dist/httpd" + +fpkg_sf ${MAILMAN} + +fpkg ${SAMBA} "ftp://ftp.samba.org/pub/samba/old-versions" + +fpkg ${PHP} "http://us2.php.net/distributions" + +lpkg 2 ${SUBVERSION} +fpkg_gnu ${INDENT} + +fpkg ${LTSP_UTILS} "http://ltsp.mirrors.tds.net/pub/ltsp/utils" +fpkg ${TFTP_HPA} "http://www.kernel.org/pub/software/network/tftp" + +fpkg_sf ${KVM} +fpkg_hv ${BRIDGE_UTILS} +fpkg_hv ${UML_UTILITIES} + +fpkg_gnu ${GUILE} + +fpkg ${TRANSMISSION} "http://mirrors.m0k.org/transmission/files" + +fpkg_hv ${CKERMIT} + +fpkg ${LIBGAMIN} "ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles" +fpkg_sf ${PCMANFM} + +fpkg ${GNUPG} "ftp://ftp.gnupg.org/gcrypt/gnupg" + +exit $? diff --git a/stage5/stage5-additions b/stage5/stage5-additions new file mode 100755 index 0000000..73591b1 --- /dev/null +++ b/stage5/stage5-additions @@ -0,0 +1,26 @@ +#!/bin/sh + +LFS_STAGE=stage4 + +export LFS_PKG_DIR="$(dirname $(pwd))/packages/${LFS_STAGE}" +export LFS_LOG_DIR=/var/log/hvlinux-install/${LFS_STAGE} +export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log +export LFS_TMP=/tmp + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list +source /etc/profile + +if [ "x${USER}" != "xroot" ]; then + echo "You must be the superuser to install hvlinux." + exit 1 +fi + +init_log_file + +# Scripts directory +export SCRDIR=$(pwd) + +exit $? diff --git a/stage5/stage5-install b/stage5/stage5-install new file mode 100755 index 0000000..61ef340 --- /dev/null +++ b/stage5/stage5-install @@ -0,0 +1,261 @@ +#!/bin/sh + +LFS_STAGE=stage5 + +export LFS_PKG_DIR="$(dirname $(pwd))/packages/${LFS_STAGE}" +export LFS_LOG_DIR=/var/log/hvlinux-install/${LFS_STAGE} +export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log +export LFS_TMP=/tmp + +# Reading system configuration informations, functions and package versions. +source ../sysinfos +source ../functions +source ../packages-list +source /etc/profile + +if [ "x${USER}" != "xroot" ]; then + echo "You must be the superuser to install hvlinux." + exit 1 +fi + +init_log_file + +# Scripts directory +export SCRDIR=$(pwd) + +# X-Window +if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then + # Gtk + ipkg_ac ${GTK_DOC} +##### ipkg_ac ${GLITZ} DEPRECATED + ipkg_ac ${CAIRO} "--enable-glitz" + ipkg_ac ${CAIROMM} + ipkg_ac ${PANGO} + ipkg_ac ${ATK} + ipkg_ac ${GTK} "--without-libjasper" + ipkg_ac ${GTK_ENGINES} + ipkg_ac ${PYGOBJECT} + ipkg_ac ${PYGTK} + ipkg_ac ${LIBSIGCPP} + ipkg_ac ${GC} + ipkg_ac ${GLIBMM} + ipkg_ac ${GTKMM} + + ipkg_cust ${EMACS} cis-emacs + ipkg_ac ${HVCLOCK} + ipkg_ac ${WMNOTIFY} + + # Needed by GNOME-2 + ipkg_ac ${DESKTOP_FILE_UTILS} + ipkg_ac ${SHARED_MIME_INFO} + ipkg_ac ${STARTUP_NOTIFICATION} + ipkg_ac ${LIBWNCK} + ipkg_ac ${LIBXKLAVIER} + ipkg_ac ${LIBGLADE} + ipkg_ac ${LIBSOUP} + ipkg_ac ${LIBIDL} +fi + +ipkg_ac ${HELP2MAN} +ipkg_ac ${GSL} +ipkg_cust ${CUPS} cis-cups +ipkg_cust ${SPLIX} cis-splix # Drivers Samsung pour CUPS +ipkg_ac ${JASPER} "--enable-shared" +ipkg_cust ${GHOSTSCRIPT} cis-ghostscript + +if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg_ac ${IMAGE_MAGICK} "--with-modules" + ipkg_ac ${POPPLER} "--enable-xpdf-headers --enable-zlib" + ipkg_ac ${LIBRSVG} "--disable-gtk-doc --disable-mozilla-plugin" + ipkg_ac ${BABL} + ipkg_ac ${GEGL} + ipkg_ac ${GIMP} "--disable-print" + ipkg_ac_nb ${GUTENPRINT} + ipkg_cust ${BOOST} cis-boost + ipkg_ac ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\"" +fi + +exit 1 +exit 1 + + + +ipkg_cust ${CDRTOOLS} cis-cdrtools +ipkg_cust ${DVDRWTOOLS} cis-dvd-rw-tools +ipkg_ac ${LIBDVDCSS} +ipkg_ac ${LIBDVDREAD} "--with-libdvdcss" +ipkg_cust ${DVDFS} cis-dvdfs + +if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg_cust ${TETEX_SRC} cis-tetex + ipkg_cust ${JADETEX} cis-jadetex +fi + +if [ "x${SANE_SUPPORT}" = "xyes" ]; then + ipkg_cust ${SANE_BACKENDS} cis-sane-backends + ipkg_cust ${XSANE} cis-xsane +fi + +ipkg_pm ${PERL_MOD_XML_SIMPLE} +ipkg_pm ${PERL_MOD_PARSE_REDESCENT} +ipkg_ac ${ICON_NAMING_UTILS} +ipkg_ac ${TANGO_ICON_THEME} +ipkg_ac ${TANGO_ICON_THEME_EXTRAS} + +if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then + # Audio + if [ "x${SOUND_CARD}" = "xyes" ]; then + # Needed by some packages, mostly audio applications. + ipkg_ac ${LIBOIL} + + # ALSA + ipkg_cust ${ALSA_LIB} cis-alsa-lib + ipkg_cust ${ALSA_UTILS} cis-alsa-utils + ipkg_ac ${ALSA_OSS} + + # Audio raw utilities + ipkg_ac ${LIBSAMPLERATE} + + # Audio file formats + ipkg_ac ${LIBOGG} + ipkg_ac ${LIBVORBIS} + ipkg_ac_nb ${FLAC} + ipkg_ac ${LAME} + ipkg_ac ${LIBA52} "--enable-shared" + ipkg_cust ${LIBID3TAG} cis-libid3tag + ipkg_cust ${LIBMAD} cis-libmad + + ipkg_ac_nb ${LIBFAAC} + ipkg_ac_nb ${LIBFAAD2} + ipkg_ac ${LIBTHEORA} + ipkg_cust ${XVIDCORE} cis-xvidcore + + # Audio libraries + ipkg_ac_nb ${AUDIOFILE} + ipkg_ac ${PORTAUDIO} + ipkg_ac ${LIBSNDFILE} + + # Audio servers + ipkg_ac ${ESOUND} + ipkg_ac ${SPEEX} + ipkg_cust ${PULSEAUDIO} cis-pulseaudio + ipkg_ac ${JACK} "--disable-portaudio" + + ipkg_ac ${ALSA_PLUGINS} # Depends on pulseaudio + ipkg_ac ${VORBIS_TOOLS} + + # Audio applications + ipkg_ac_nb ${GRIP} "--disable-id3" + ipkg_ac_nb ${CDRDAO} + ipkg_ac ${SWEEP} "--enable-pulseaudio" + ipkg_ac ${EASYTAG} + ipkg_ac_nb ${LILYPOND} + + ipkg_ac_nb ${FFMPEG} "--enable-shared --enable-pthreads --enable-gpl --enable-nonfree --disable-ffplay \ + --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora \ + --enable-libvorbis --enable-libxvid" + fi + + ipkg_ac ${SYLPHEED} "--enable-ssl --enable-ldap" + ipkg_cust ${NSS} cis-nss + ipkg_cust ${FIREFOX} cis-firefox + + # Plugins for Firefox + ipkg_cust ${JAVA} cis-java + ipkg_cust ${AGG} cis-agg + ipkg_cust ${GNASH} cis-gnash +fi + +ipkg_ac ${LIBGAMIN} "--libexecdir=/usr/sbin" +ipkg_ac ${PCMANFM} + +# Mail +ipkg_cust ${SASL2} cis-sasl2 +ipkg_cust ${OPENLDAP} cis-openldap +ipkg_cust ${KERBEROS5} cis-krb5 +ipkg_cust ${SENDMAIL} cis-sendmail + +if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg_cust ${PROCMAIL} cis-procmail + ipkg_ac ${LIBSPF2} + ipkg_cust ${MILTER_SPF} cis-milter-spf + ipkg_cust ${MILTER_GREYLIST} cis-milter-greylist +fi + +# fcron needs sendmail installed. +ipkg_cust ${FCRON} cis-fcron +ipkg_cust ${GETDATE} cis-getdate + +if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg_cust ${CLAMAV} cis-clamav + + # Required PERL modules for SpamAssassin + ipkg_pm ${PERL_MOD_HTML_TAGSET} + ipkg_pm ${PERL_MOD_HTML_PARSER} + ipkg_pm ${PERL_MOD_APACHE_LOGGED_AUTH_DBI} + ############ipkg_pm ${PERL_MOD_DB_FILE} +# Berkeley DB n'est plus installé... +########PERL_MOD_DB_FILE="DB_File-1.814" + ipkg_pm ${PERL_MOD_DIGEST_SHA1} + ipkg_pm ${PERL_MOD_URI} + ipkg_pm ${PERL_MOD_LWP} + ipkg_pm ${PERL_MOD_NET_DNS} --no-online-tests + + # Needed by OpenOffice ??? + #ipkg_pm ${PERL_MOD_ARCHIVE_ZIP} + #ipkg_pm ${PERL_MOD_COMPRESS_ZLIB} + #ipkg_pm ${PERL_MOD_IO_COMPRESS_BASE} + #ipkg_pm ${PERL_MOD_COMPRESS_RAW_ZLIB} + #ipkg_pm ${PERL_MOD_IO_COMPRESS_ZLIB} +PERL_MOD_ARCHIVE_ZIP="Archive-Zip-1.30" +PERL_MOD_COMPRESS_ZLIB="Compress-Zlib-2.015" +PERL_MOD_IO_COMPRESS_BASE="IO-Compress-Base-2.024" +PERL_MOD_IO_COMPRESS_ZLIB="IO-Compress-Zlib-2.024" +PERL_MOD_COMPRESS_RAW_ZLIB="Compress-Raw-Zlib-2.024" + + ipkg_cust ${SPAMASSASSIN} cis-spamassassin + ipkg_cust ${UW_IMAP} cis-uw-imap + + # Apache + ipkg_cust ${HTTPD} cis-apache + ipkg_cust ${PHP} cis-php + + ipkg_cust ${SQUIRRELMAIL} cis-squirrelmail + ipkg_cust ${MAILMAN} cis-mailman + ipkg_ac ${FETCHMAIL} "--with-ssl" + ipkg_ac ${MUTT} "--enable-imap --with-ssl" + + # Subversion server (client was already installed in stage2) + ipkg_cust ${SUBVERSION} cis-subversion + ipkg_ac ${INDENT} +fi + +if [ "x${USE_SAMBA}" = "xyes" ]; then + ipkg_cust ${SAMBA} cis-samba +fi + +if [ "x${INST_TYPE}" = "xltsp-server" ]; then + ipkg_cust ${TFTP_HPA} cis-tftp-hpa + ipkg_cust ${LTSP_UTILS} cis-ltsp-utils +fi + +ipkg_ac_nb ${KVM} +ipkg_ac_nb ${BRIDGE_UTILS} +ipkg_cust ${UML_UTILITIES} cis-uml-utilities + +ipkg_ac ${GUILE} \ + --enable-posix \ + --disable-static \ + --enable-networking \ + --enable-regex + +ipkg_cust ${CKERMIT} cis-ckermit + +# BitTorrent client +ipkg_ac ${TRANSMISSION} "--disable-daemon" + +ipkg_ac ${GNUPG} "--libexecdir=/usr/lib" + +rscr mult "Performing post-install" cis-post-install + +exit $?