${GNASH}: ${AGG}
-${FIREFOX}: ${SQLITE}
+${FIREFOX}: ${SQLITE} ${LIBNOTIFY} ${YASM}
${FUSE}: ${UDEV}
ABIWORD="abiword-2.8.6"
ACPID="acpid-2.0.9"
-AGG="agg-2.5"
ALSA_LIB="alsa-lib-1.0.21"
ALSA_PLUGINS="alsa-plugins-1.0.21"
ALSA_UTILS="alsa-utils-1.0.21"
DVDRWTOOLS="dvd+rw-tools-7.1"
E2FSPROGS="e2fsprogs-1.41.14"
-EASYTAG="easytag-2.1"
+EASYTAG="easytag-2.1.6"
ED="ed-1.4"
EGGDBUS="eggdbus-0.6"
EGLIBC="eglibc-2.12-r12509"
FCRON="fcron-3.0.6"
FETCHMAIL="fetchmail-6.3.12"
-FFMPEG="ffmpeg-git-20110310"
+FFMPEG="ffmpeg-0.8.2"
FIREFOX="firefox-3.6.13"
FILE_PKG="file-5.05"
FINDUTILS="findutils-4.4.2"
FLAC="flac-1.2.1"
FLEX="flex-2.5.35"
FONTCONFIG="fontconfig-2.7.3"
+FONTFORGE="fontforge_full-20110222"
FREETYPE="freetype-2.3.11"
FRIBIDI="fribidi-0.10.9"
FUSE="fuse-2.8.3"
GHOSTSCRIPT="ghostscript-9.00"
GHOSTSCRIPT_FONTS_STD="ghostscript-fonts-std-8.11"
GHOSTSCRIPT_FONTS_OTHER="ghostscript-fonts-other-6.0"
-GNASH=" gnash-0.8.5"
+GNASH=" gnash-0.8.9"
GIMP="gimp-2.6.11"
GUTENPRINT="gutenprint-5.2.5"
GLIB="glib-2.28.7"
ISO_CODES="iso-codes-3.23"
JACK="jack-audio-connection-kit-0.120.1"
-JADETEX="jadetex-3.13"
JASPER="jasper-1.900.1"
KBD="kbd-1.15.2"
LIBXKLAVIER="libxklavier-5.0"
LIBXML2="libxml2-2.7.7"
LIBXSLT="libxslt-1.1.26"
-LILYPOND="lilypond-2.12.3"
+LILYPOND="lilypond-2.14.2"
LTSP_UTILS="ltsp-utils-0.25-0"
LYNX="lynx2.8.7rel.2"
NEWLIB="newlib-1.16.0"
NFS_UTILS="nfs-utils-1.2.3"
NMAP="nmap-4.20"
-NSS="nss-3.12-with-nspr-4.7"
OPENJADE="openjade-1.3.2"
OPENLDAP="openldap-2.4.23"
SPEEX="speex-1.2rc1"
SPLINT="splint-3.1.1"
SPLIX="splix-2.0.0"
-SQLITE="sqlite-3.6.22"
+SQLITE="sqlite-autoconf-3070700"
SQUIRRELMAIL="squirrelmail-1.5.1"
SSMTP="ssmtp-2.64"
STARTUP_NOTIFICATION="startup-notification-0.9"
STRACE="strace-4.5.20"
SUBVERSION="subversion-1.6.6"
-SYLPHEED="sylpheed-3.1.0"
+SYLPHEED="sylpheed-3.1.1"
SUDO="sudo-1.7.2p2"
SYSKLOGD="sysklogd-1.5"
SYSVINIT="sysvinit-2.88dsf"
TCPDUMP="tcpdump-4.0.0"
TCL="tcl8.5.8-src"
TCPWRAPPERS="tcp_wrappers_7.6"
-TETEX_SRC="tetex-src-3.0"
-TETEX_TEXMF="tetex-texmf-3.0"
-TETEX_TEXMFSRC="tetex-texmfsrc-3.0"
-TETEX_CM_SUPER="tetex-cm-super"
+TEXLIVE="texlive-20100722-source"
+TEXLIVE_TEXMF="texlive-20100722-texmf"
TEXINFO="texinfo-4.13a"
TFTP_HPA="tftp-hpa-0.49"
TIFF="tiff-3.9.4"
XVIDCORE="xvidcore-1.2.2"
XZ_UTILS="xz-5.0.0"
+YASM="yasm-1.1.0"
YELP="yelp-2.28.0"
ZIP="zip-3.0"
#WIFI_SUPPORT="no"
#B43_LPPHY="yes"
-# Keyboard mapping (example: us, cf)
+# Terminal Keyboard mapping (example: us, cf)
KEYBOARD="us-acentos"
+# X.org Keyboard mapping (example: us, cf)
+XORG_KEYBOARD_LAYOUT="us"
+XORG_KEYBOARD_VARIANT="intl"
+
# General network settings
#INTERFACES="eth0 eth1 wlan0" # Complex example
#INTERFACES="eth0" # Simple example
source ../functions/main
+check_for_root_user
init_log_file
# This function will exit if the stage is already completed
source ../functions/main
-# Making sure that this script was executed by the root user
-if [ "x${USER}" != "xroot" ]; then
- echo "You must be the superuser to install hvlinux."
- exit 1
-fi
-
# Making sure that the LFS directory is accessible
if [ ! -d ${LFS} ]; then
echo "LFS destination directory not found."
source ../functions/main
+check_for_root_user
init_log_file
# This function will exit if the stage is already completed
source ../functions/main
-# Making sure that this script was executed by the root user
-if [ "x${USER}" != "xroot" ]; then
- echo "You must be the superuser to install hvlinux."
- exit 1
-fi
-
# Making sure that the LFS directory is accessible
if [ ! -d ${LFS} ]; then
echo "LFS destination directory not found."
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 ${WHICH}
ipkg ${APR_UTIL} "--with-apr=/usr/bin/apr-1-config"
ipkg ${NEON} "--with-ssl"
ipkg -s tcl ${TCL}
-ipkg ${SQLITE}
+CFLAGS="${CFLAGS} -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" \
+ ipkg ${SQLITE} "--enable-threadsafe --enable-readline --enable-dynamic-extensions"
ipkg -j ${SUBVERSION} "--without-berkeley-db"
ipkg ${SUDO}
ipkg ${STRACE}
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 \
ipkg ${LIBSIGCPP}
ipkg ${JASPER} "--enable-shared"
ipkg -m acnb ${GLIBMM}
- ipkg ${CAIRO}
+ ipkg ${CAIRO} "--enable-tee"
ipkg ${CAIROMM}
ipkg -m acnb ${PANGO}
ipkg ${PANGOMM}
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 \
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
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
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"
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
--- /dev/null
+#!/bin/bash
+
+source ../functions/main
+
+decompress_package ${TEXLIVE_TEXMF} /usr/share 1
fpkg -e "tar.gz" ${LIBDVDREAD} "http://www.dtek.chalmers.se/groups/dvd/dist"
fpkg -e "tar.gz" ${DVDFS} "http://jspenguin.org:81/dvdfs"
-fpkg -e "tar.gz" ${TETEX_SRC} "${BLFS_SVN_SRC_URL}/t"
-fpkg -e "tar.gz" ${TETEX_TEXMF} "${BLFS_SVN_SRC_URL}/t"
-fpkg -e "tar.gz" ${TETEX_TEXMFSRC} "${BLFS_SVN_SRC_URL}/t"
-fpkg ${TETEX_CM_SUPER} "http://anduin.linuxfromscratch.org/sources/BLFS/svn/t"
-# For re-generating fontconfig documentation.
-fpkg -m sf ${JADETEX}
+fpkg -e "tar.xz" ${TEXLIVE} "ftp://tug.org/texlive/historic/2010"
+fpkg -e "tar.xz" ${TEXLIVE_TEXMF} "ftp://tug.org/texlive/historic/2010"
fpkg -e "tar.gz" ${SANE_BACKENDS} "http://alioth.debian.org/download.php/2318"
fpkg -e "tar.gz" ${XSANE} "ftp://ftp2.sane-project.org/pub/sane/xsane"
fpkg -m sf ${GRIP}
fpkg -m sf -e "tar.bz2" ${CDRDAO}
fpkg -m sf -e "tar.bz2" ${EASYTAG}
+fpkg -m sf -e "tar.bz2" -s "fontforge-source" ${FONTFORGE}
fpkg -e "tar.gz" ${LILYPOND} \
"http://lilypond.org/download/sources/v$(get_pkg_ver2 ${LILYPOND})"
-fpkg -m hv ${FFMPEG}
+fpkg ${FFMPEG} "http://www.ffmpeg.org/releases"
fpkg ${SYLPHEED} \
"http://sylpheed.good-day.net/sylpheed/v$(get_pkg_ver2 ${SYLPHEED})"
-fpkg -m hv ${NSS}
+fpkg ${LIBNOTIFY} \
+ "http://www.galago-project.org/files/releases/source/libnotify"
+fpkg ${YASM} "http://www.tortall.net/projects/yasm/releases"
fpkg -f "${FIREFOX}.source" ${FIREFOX} \
"http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(get_pkg_ver ${FIREFOX})/source"
-
-fpkg -e "tar.gz" ${AGG} "http://www.antigrain.com"
fpkg ${GNASH} "http://ftp.gnu.org/pub/gnu/gnash/$(get_pkg_ver ${GNASH})"
fpkg -e "tar.gz" ${LIBSPF2} "http://libspf2.org/spf"
FIREFOX_BUILD_DIR="${PACKAGE}-build"
FIREFOX_PKG_VERSION="firefox-$(get_pkg_ver ${PACKAGE})"
+ # This file contains the options used in the Firefox build.
cd ${LFS_TMP}/${PACKAGE}
cat > .mozconfig << "EOF"
-# This file contains the options used in the Firefox build.
-
-# Use the default settings specified in the source tree
+# Use the default settings specified in the source tree.
+# This includes the option --enable-application=browser
. $topsrcdir/browser/config/mozconfig
-# build the browser
-ac_add_options --enable-application=browser
-
# Create an object directory and specify to build the package in that
# directory. If desired, modify the location of the object directory
# to a directory inside the source tree by removing '../' from the
# the source tree code which may not be the most recent versions.
ac_add_options --with-system-zlib
ac_add_options --with-system-jpeg
+ac_add_options --with-system-png
+
ac_add_options --enable-system-cairo
ac_add_options --enable-system-lcms
ac_add_options --enable-system-sqlite
-# comment this if you have not installed png with the apng patch
-ac_add_options --with-system-png
+ac_add_options --enable-startup-notification
-# This option is used to enable support for rendering SVG files in the
-# Firefox browser. Comment out the line to disable the option.
ac_add_options --enable-svg
# These two options enable support for building Firefox with
#ac_add_options --with-system-nspr
#ac_add_options --with-system-nss
+ac_add_options --disable-gnomevfs
+
# uncomment this if you did not build curl
ac_add_options --disable-crashreporter
# The updater is not useful if you build from source.
ac_add_options --disable-updater
-# This option is used to disable the a11y support in the Firefox
-# binaries. Comment out this option if you require a11y support.
+# Disable the a11y support in the Firefox binaries.
ac_add_options --disable-accessibility
# This option is added so that test libraries and programs are not
# Point to the xulrunner libraries - comment this for a standalone browser
#ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.0.7
-
EOF
sed -i -e "s!_FIREFOX_BUILD_DIR_!${FIREFOX_BUILD_DIR}!g" .mozconfig
+ if [ -z "${WIFI_SUPPORT}" ]; then
+ echo "ac_add_options --disable-necko-wifi" >> .mozconfig
+ fi
make -f client.mk build
make -f client.mk install
- # Many applications look for netscape when they need to open a browser...
- ln -v -sf firefox /usr/bin/netscape
-
- # Remove old links
+ # Remove old links and create new ones
rm -f /usr/lib/mozilla
- rm -f /usr/lib/firefox
-
ln -v -sf ${FIREFOX_PKG_VERSION} /usr/lib/mozilla
+ rm -f /usr/lib/firefox
ln -v -sf ${FIREFOX_PKG_VERSION} /usr/lib/firefox
# Addition to /etc/ld.so.conf
+++ /dev/null
-#!/bin/bash
-
-hvbuild()
-{
- # Define to 1 to test this package.
- local RUN_TESTS=0
-
- export WORKINGDIR=${LFS_TMP}/${PACKAGE}
-
- # Non-debug optimized build
- export BUILD_OPT=1
-
- cd ${LFS_TMP}/${PACKAGE}/mozilla/security/nss
- make nss_build_all
-
- cd ${LFS_TMP}/${PACKAGE}/mozilla
-
- export NSS_LINUXDIR=$(basename `ls -d $WORKINGDIR/mozilla/dist/Linux*`)
-
- if [ ${RUN_TESTS} -eq 1 ]; then
- # Running tests
- export DOMSUF="${DOMAIN}"
- export PATH=$PATH:$WORKINGDIR/mozilla/dist/$NSS_LINUXDIR/bin
- export TEST_RESULTSDIR=$WORKINGDIR/mozilla/tests_results/security
- cd security/nss/tests
- sed -i 's/gmake/make/' common/init.sh
- ./all.sh
- TEST_RESULTS=$(grep Passed $TEST_RESULTSDIR/$(hostname --short).1/results.html | wc -l)
- if [ ${TEST_RESULTS} -ne 770 ]; then
- echo "Number of tests that passed: ${TEST_RESULTS}"
- echo "Number of tests expected to pass: 770"
- exit 1
- fi
- fi
-
- cd ${LFS_TMP}/${PACKAGE}/mozilla
- install -v -m755 nsprpub/$NSS_LINUXDIR/config/nspr-config /usr/bin
-#install -v -m755 -d /usr/lib/pkgconfig
-#install -v -m644 nsprpub/lib/pkgconfig/nspr.pc \
-# security/nss/lib/pkgconfig/nss.pc \
-# /usr/lib/pkgconfig
-
- cd dist
- install -v -m755 $NSS_LINUXDIR/lib/*.so /usr/lib
- install -v -m644 $NSS_LINUXDIR/lib/{*.chk,libcrmf.a} /usr/lib
- install -v -m755 -d /usr/include/{nss,nspr}
- install -v -m644 {public,private}/nss/* /usr/include/nss
- cp -v -RL $NSS_LINUXDIR/include/* /usr/include/nspr
- chmod -v 644 /usr/include/nspr/prvrsion.h
-}
ipkg_gnome ${GNOME_SOUND_JUICER}
ipkg_gnome ${GNOME_TOTEM}
ipkg ${GDM}
-ipkg ${LIBNOTIFY}
ipkg ${RHYTHMBOX} "--disable-python"
fpkg -m gnome ${GNOME_TOTEM}
fpkg -m gnome ${GDM}
-fpkg ${LIBNOTIFY} \
- "http://www.galago-project.org/files/releases/source/libnotify"
fpkg -m gnome ${RHYTHMBOX}