perlbug,grolj4,perldoc,a2p,addtinfo,addr2line,cytune,enc2xs,eqn,eqn2graph,
infotocap,neonconfig
-Remove /usr/lib//*.{a,la}
-
-
-
-
-
-------------
-Après le stage 1:
- 1. Monter /mnt/hvrepos (ajouter à /etc/fstab)
- 2. Copier les sources de hvlinux
- 3. Avant de lancer le stage2, modifier la variable LFS="" dans
-sysinfos
-
CURL="curl-7.19.7"
CVS="cvs-1.11.23"
-DBUS="dbus-1.2.16"
-DBUS_GLIB="dbus-glib-0.82"
+DBUS="dbus-1.2.24"
+DBUS_GLIB="dbus-glib-0.88"
DDCLIENT="ddclient-3.6.7"
DEJAGNU="dejagnu-1.4.4"
DESKTOP_FILE_UTILS="desktop-file-utils-0.15"
GNASH=" gnash-0.8.5"
GIMP="gimp-2.6.8"
GUTENPRINT="gutenprint-5.2.5"
-GLIB="glib-2.22.4"
+GLIB="glib-2.24.2"
GLIBMM="glibmm-2.22.1"
GLITZ="glitz-0.5.6"
+GPERF="gperf-3.0.4"
# GNOME2 core packages
GNOME2_VER="gnome-2.28.1"
GMP="gmp-5.0.1"
GNOME_MOUNT="gnome-mount-0.6"
GNUTLS="gnutls-2.8.5"
-GOBJECT_INSTROSPECTION="gobject-introspection-0.6.5"
+GOBJECT_INSTROSPECTION="gobject-introspection-0.6.14"
GOFFICE="goffice-0.2.2"
GNUMERIC="gnumeric-1.6.3"
GNUPG="gnupg-1.4.9"
LIBPCAP="libpcap-1.0.0"
LIBPNG="libpng-1.2.44"
LIBPROXY="libproxy-0.2.3"
-LIBPTHREAD_STUBS="libpthread-stubs-0.1"
+LIBPTHREAD_STUBS="libpthread-stubs-0.3"
LIBRSVG="librsvg-2.26.0"
LIBSAMPLERATE="libsamplerate-0.1.7"
LIBSIGCPP="libsigc++-2.2.4.2"
STARTUP_NOTIFICATION="startup-notification-0.9"
STRACE="strace-4.5.19"
SUBVERSION="subversion-1.6.6"
-SWEEP="sweep-svn-r586"
SYLPHEED="sylpheed-2.7.1"
SUDO="sudo-1.7.2p2"
-SWEEP="sweep-svn-r586"
SYSKLOGD="sysklogd-1.5"
SYSVINIT="sysvinit-2.86"
T1LIB="t1lib-5.1.2"
+TALLOC="talloc-2.0.1"
TANGO_ICON_THEME="tango-icon-theme-0.8.90"
TANGO_ICON_THEME_EXTRAS="tango-icon-theme-extras-0.1.0"
TAR_PACKAGE="tar-1.23"
WMNOTIFY="wmnotify-0.3.2"
WV="wv-1.2.4"
-XORG_APP=app-7.5-3
-XORG_DRIVER=driver-7.5-3
-XORG_FONT=font-7.5-3
-XORG_LIB=lib-7.5-3
-XORG_PROTO=proto-7.5-3
-XORG_UTIL=util-7.5-3
+XORG_VER="7.6-1"
+XORG_APP=app-${XORG_VER}
+XORG_DRIVER=driver-${XORG_VER}
+XORG_VIDEO_NOUVEAU="xf86-video-nouveau-git-20110306"
+XORG_FONT=font-${XORG_VER}
+XORG_LIB=lib-${XORG_VER}
+XORG_PROTO=proto-${XORG_VER}
+XORG_UTIL=util-${XORG_VER}
LIBXAU=libXau-1.0.6
-LIBXDMCP=libXdmcp-1.0.3
-XBITMAPS=xbitmaps-1.1.0
-LIBDRM=libdrm-2.4.21
-MESALIB=MesaLib-7.8.2
-XCURSOR_THEMES=xcursor-themes-1.0.2
-XKEYBOARD_CONFIG=xkeyboard-config-1.8
-LUIT=luit-1.0.5
-XORG_SERVER=xorg-server-1.8.2
+LIBXDMCP=libXdmcp-1.1.0
+XBITMAPS=xbitmaps-1.1.1
+##LIBDRM=libdrm-2.4.23
+LIBDRM="libdrm-git-20110306"
+MESALIB=MesaLib-7.9
+XCURSOR_THEMES=xcursor-themes-1.0.3
+XKEYBOARD_CONFIG=xkeyboard-config-2.0
+LUIT=luit-1.1.0
+XORG_SERVER=xorg-server-1.9.3
XDM=xdm-1.1.10
+XCB_PROTO="xcb-proto-1.6"
+XCB_UTIL="xcb-util-0.3.6"
+LIBXCB="libxcb-1.7"
XINETD="xinetd-2.3.14"
XMLTO="xmlto-0.0.23"
XMLTOMAN="xmltoman-0.4"
-XTERM="xterm-253"
+XTERM="xterm-267"
XVIDCORE="xvidcore-1.2.2"
XZ_UTILS="xz-4.999.9beta"
# x86_64 (AMD Athlon 64)
HVL_TARGET="x86_64"
-# Used for setting '-march=xxx' option in CFLAGS and CPPFLAGS
-MACHINE_ARCHITECTURE=""
+# Used for setting machine-specific option in CFLAGS and CPPFLAGS
+MARCH_FLAGS="-march=k8"
# Keyboard mapping (example: us)
KEYBOARD="us"
# x86_64 (AMD Athlon 64)
HVL_TARGET="x86"
-# Used for setting '-march=xxx' option in CFLAGS and CPPFLAGS
+# Used for setting machine-specific option in CFLAGS and CPPFLAGS
MARCH_FLAGS="-march=atom -mssse3 -mfpmath=sse -fomit-frame-pointer"
# Keyboard mapping (example: us)
-#!/bin/sh
+#!/bin/bash
# This file contains the informations specific to the target system
# onto which Linux-HV will be installed
# This is the number of make jobs that can be executed
# simultaneously. Normally, a value of 2 per processor
# gives good results.
-MAKEJOBS=4
+MAKEJOBS=1
# Installation type: server, ltsp-server or workstation.
INST_TYPE="server"
# New user to create
REGUSER=""
-# Destination path where to install new Linux-HV system
+# Destination path where to install new Linux-HV system. This is usually where
+# you have mounted your new LFS partition, but it can also be any directory.
+# This is relevant only for stage 0 and 1.
LFS="/mnt/hvlinux"
# Destination partition where to install new Linux-HV system
# Swap partition (if applicable)
SWAP_PARTITION="/dev/hda5"
-# Used for setting '-march=xxx' option in CFLAGS and CPPFLAGS
-MACHINE_ARCHITECTURE="pentium"
+# Define this when cross-compiling to the desired target
+# architecture. Default is x86 32-bits architecture (i686).
+# arm926t - ARM 926T little endian
+# x86 (i686)
+# x86_64 (AMD Athlon 64)
+HVL_TARGET="x86_64"
+
+# Used for setting machine-specific option in CFLAGS and CPPFLAGS
+MARCH_FLAGS="-march=k8"
# Keyboard mapping (example: us)
KEYBOARD="us"
-#!/bin/sh
+#!/bin/bash
# This file contains the informations specific to the target system
# onto which Linux-HV will be installed
# This is the number of make jobs that can be executed
# simultaneously. Normally, a value of 2 per processor
# gives good results.
-MAKEJOBS=4
+MAKEJOBS=1
# Installation type: server, ltsp-server or workstation.
INST_TYPE="workstation"
# New user to create
REGUSER=""
-# Destination path where to install new Linux-HV system
+# Destination path where to install new Linux-HV system. This is usually where
+# you have mounted your new LFS partition, but it can also be any directory.
+# This is relevant only for stage 0 and 1.
LFS="/mnt/hvlinux"
# Destination partition where to install new Linux-HV system
# Swap partition (if applicable)
SWAP_PARTITION="/dev/hda5"
-# Used for setting '-march=xxx' option in CFLAGS and CPPFLAGS
-MACHINE_ARCHITECTURE="pentium"
+# Define this when cross-compiling to the desired target
+# architecture. Default is x86 32-bits architecture (i686).
+# arm926t - ARM 926T little endian
+# x86 (i686)
+# x86_64 (AMD Athlon 64)
+HVL_TARGET="x86_64"
+
+# Used for setting machine-specific option in CFLAGS and CPPFLAGS
+MARCH_FLAGS="-march=k8"
# Keyboard mapping (example: us)
KEYBOARD="us"
-HV_XF86_KEYBOARD_LAYOUT="ca_enhanced"
-XF86_CARD_DRIVER="ati"
-
# Sound card support: yes or no
SOUND_CARD="yes"
return $?
}
+unset -f hvpatch_pre
unset -f hvconfig_pre
unset -f hvconfig_cache
unset -f hvconfig_post
source ${PACKAGE_DEF}
fi
+ # Execute pre-patch function if applicable
+ if function_exists hvpatch_pre ; then
+ echo "Running patch pre-script"
+ hvpatch_pre
+ fi
+
hvpatch
# Execute pre-configure function if applicable
7. Login as root, and create the password for the regular user:
>$ passwd reguser
+
+
+Re-installation
+---------------
+
+1. You need the /tools directory in order to build stage2. If it is not
+ present, it means it was previously and automatically backed up at
+ the end of stage2 to /usr/src:
+ $> cp -a /usr/src/tools /
+
+2. Follow instructions above for stage2 installation
tclConfig.sh
make install
+}
+
+hvbuild_post()
+{
make install-private-headers
# Special case for TCL
+stage4: Installing X-Windows software
+
+Installation
+------------
-Installation instructions
--------------------------
-
-1. ./stage4-install
+1. Type:
+ $> sudo make
--- /dev/null
+# Makefile for hvlinux
+
+# Idées pour future targets:
+# clean
+# strip
+# compress -> compressdoc (à partir du stage2)
+# dep
+# list -> list installed packages and versions
+
+.PHONY: get test
+
+all:
+ @./hv-install-1
+
+# Fetch packages from network
+get:
+ @./packages-update
+
+# Test integrity of packages
+test:
+ @./packages-update test
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-hvgroupadd -g 18 messagebus
-hv_useradd -c D-BUS-Message-Daemon-User -d /dev/null \
- -u 18 -g messagebus -s /bin/false messagebus
-
-cd ${LFS_TMP}/${PACKAGE}-build
-../${PACKAGE}/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/dbus-1.0 \
- --localstatedir=/var \
- ${CONFIGURE_OPTS}
-make
-make install
-ldconfig
-
-# Bootscript
-install -v -m740 ${SCRDIR}/bootscripts/dbus /etc/rc.d/init.d
-
-# script-name start stop
-bootscript_add_rc3 dbus 92 20
-
-# Starting the session daemon here has the added bonus that it will exit
-# when you log out of your GNOME session. If you wish to start the daemon
-#here, use the following command instead of the one shown above:
-######echo "exec dbus-launch --exit-with-session gnome-session" >> ~/.xinitrc
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}-build
-../${PACKAGE}/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- ${CONFIGURE_OPTS}
-make
-make install
-ldconfig
-
-chmod -v 755 /usr/bin/gtester-report
-
-cat > /etc/profile.d/glib2-locale.sh << "EOF"
-# Use the current locale charset for filenames
-# in applications using GLib
-export G_FILENAME_ENCODING=@locale
-EOF
-
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-hv_groupadd -g 19 haldaemon
-hv_useradd -c HAL-Daemon-User -d /dev/null -u 19 \
- -g haldaemon -s /bin/false haldaemon
-
-cd ${LFS_TMP}/${PACKAGE}-build
-../${PACKAGE}/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/hal \
- --localstatedir=/var \
- --with-udev-prefix=/etc \
- ${CONFIGURE_OPTS}
-make
-make install
-ldconfig
-
-install -v -m755 -d /var/run/hald
-
-# Bootscript
-install -v -m740 ${SCRDIR}/bootscripts/hald /etc/rc.d/init.d
-
-# script-name start stop
-bootscript_add_rc3 hald 93 19
-
-# The default setup for HAL is to allow only certain users to invoke methods
-# such as Mount(). These are the root user and the user determined to be at the
-# active console using pam_console. If you are not set up to use
-# Linux-PAM-1.1.1 and pam_console, create a group that is allowed to invoke HAL
-# methods with the following commands:
-hv_groupadd -g 61 halusers
-cat > /etc/dbus-1/system.d/halusers.conf << "EOF"
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-
- <!-- Allow users in the halusers group invoke HAL methods -->
- <policy group="halusers">
- <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
- <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
- <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
- <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
- </policy>
-
-</busconfig>
-EOF
-
-# Now add the users you would like to the halusers group to use HAL:
-usermod -a -G halusers ${REGUSER}
-
-# With the above configuration in place, authorized users now have the ability
-# to unmount disk partitions mounted at non-standard locations such as /pub.
-# If you'd like to restrict this policy to only drives which are considered
-# removable or hotpluggable, add the following configuration file as the root user:
-cat > /etc/hal/fdi/policy/no-fixed-drives.fdi << "EOF"
-<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
-
-<!-- Don't allow HAL methods on disks that are not
- removable or hotpluggable -->
-
-<deviceinfo version="0.2">
-<device>
- <match key="@block.storage_device:storage.hotpluggable" bool="false">
- <match key="@block.storage_device:storage.removable" bool="false">
- <merge key="volume.ignore" type="bool">true</merge>
- </match>
- </match>
-</device>
-</deviceinfo>
-EOF
-
-# If the system-wide D-BUS daemon was running during the
-# installation of HAL, ensure you stop and restart the
-# D-BUS daemon before attempting to start the hald daemon.
-#/etc/rc.d/init.d/dbus restart
-
-# Starting daemon
-#/etc/rc.d/init.d/hal start
-
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}
-./configure \
- --prefix=${XORG_PREFIX} \
- ${CONFIGURE_OPTS}
-sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@" clients/Motif-2.1/mwm/Makefile
-make rootdir=/usr/share/doc/${PACKAGE}
-make rootdir=/usr/share/doc/${PACKAGE} install
-ldconfig
-
-# Applicatons that utilize Xorg libraries often, and incorrectly, expect to find configuration
-# files in $XORG_PREFIX/lib/X11. While still the root user, create a compatibility symlink with
-# the following command:
-ln -v -sf /etc/X11/mwm ${XORG_PREFIX}/lib/X11
-
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}
-# Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS and CXXFLAGS with this command:
-sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure
-./configure --prefix=${XORG_PREFIX} \
- --sysconfdir=/etc \
- ${XORG_CONFIG} \
- ${CONFIGURE_OPTS}
-make
-make install
-
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-hv_groupadd -g 27 polkituser
-hv_useradd -c Policy-Kit-Daemon-User -d /dev/null -u 27 \
- -g polkituser -s /bin/false polkituser
-
-cd ${LFS_TMP}/${PACKAGE}-build
-../${PACKAGE}/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/PolicyKit \
- --localstatedir=/var \
- ${CONFIGURE_OPTS}
-make
-make install
-ldconfig
-
-exit $?
+++ /dev/null
-#!/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
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-# It is a requirement to have a dedicated user and group for polkit to function
-# correctly:
-hv_groupadd -fg 27 polkituser
-hv_useradd -c Policy-Kit-Daemon-User -d /dev/null -u 27 \
- -g polkituser -s /bin/false polkituser
-
-cd ${LFS_TMP}/${PACKAGE}-build
-../${PACKAGE}/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/polkit-1 \
- --localstatedir=/var \
- ${CONFIGURE_OPTS}
-make
-make install
-ldconfig
-
-exit $?
+++ /dev/null
-#!/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}
-
-cd ${LFS_TMP}/${1}
-./configure \
- --prefix=/usr
-make without_doc
-make install
-ldconfig
-
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-# Applying patches (if any)
-apply_patches ${1}
-
-cd ${LFS_TMP}/${1}
-cd unix
-./configure \
- --prefix=/usr \
- --enable-threads \
- --mandir=/usr/share/man
-make
-sed -i \
- -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
- -e "/TK_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
- -e "/SEARCH/s/=.*/=''/" \
- tkConfig.sh
-make install
-make install-private-headers
-ln -v -sf wish8.5 /usr/bin/wish
-ldconfig
-
-exit $?
+++ /dev/null
-#!/bin/bash
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}
-aclocal
-autoheader
-autoconf
-libtoolize --force --automake
-automake -a --gnu --include-deps
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-gnustepdir=/usr/share/GNUstep \
- ${CONFIGURE_OPTS}
-make
-make install
-ldconfig
-
-exit $?
+++ /dev/null
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}
-sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap
-echo -e '\tkbs=\\177,' >>terminfo
-
-cd ${LFS_TMP}/${PACKAGE}-build
-TERMINFO=/usr/lib/terminfo ../${PACKAGE}/configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-luit \
- --enable-wide-chars \
- --with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults \
- ${CONFIGURE_OPTS}
-make
-make install
-make install-ti
-ldconfig
-
-exit $?
-#!/bin/sh
-set -o errexit
+#!/bin/bash
-# First argument of this script is the package name.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
+source ../config/sysinfos
source ../functions
-source ../packages-list
+source ../config/packages-list
# When all of the fonts have been installed, the system must be configured so
# that Fontconfig can find the TrueType fonts since they are outside of the
# default search path of /usr/share/fonts.
install -v -d -m755 /usr/share/fonts
-ln -svfT ${XORG_PREFIX}/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF
-ln -svfT ${XORG_PREFIX}/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
+ln -svfT /usr/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF
+ln -svfT /usr/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
X11_FONTS_DIR="/usr/share/fonts/X11"
-#!/bin/sh
-set -o errexit
-
-# First argument of this script is the package name.
+#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
+source ../config/sysinfos
source ../functions
-source ../packages-list
+source ../config/packages-list
# Used by startx
cat > /etc/skel/.xinitrc << "EOF"
/tmp/.ICE-unix dir 1777 root root
EOF
-# Packages in Xorg store their configuration files in $XORG_PREFIX/lib/X11
+# Packages in Xorg store their configuration files in /usr/lib/X11
# by default. This is strictly against FHS guidelines. Correct the
# installation /etc/X11 and create symlinks in the original location:
mkdir -v -p /etc/X11
-for file in ${XORG_PREFIX}/{lib/X11/{xinit,xdm},share/X11/app-defaults}; do
- if [ ! -h ${file} ]; then
+
+for file in /usr/{lib/X11/{xinit,xdm},share/X11/app-defaults}; do
+ if [ -f ${file} -a ! -h ${file} ]; then
mv -v ${file} /etc/X11/ 2> /dev/null
ln -svfT /etc/X11/$(basename $file) $file
fi
# Until then, you can create a symbolic link to satisfy the /usr/X11R6
# requirement so that you won't be inconvenienced with a package build
# failure due to this known issue.
-#ln -scfT ${XORG_PREFIX} /usr/X11R6
+#ln -scfT /usr /usr/X11R6
-cat > /etc/X11/xorg.conf << "EOF"
+cat > /etc/X11/xorg.conf.template << "EOF"
# xorg.conf
#
-# **********************************************************************
-# Files section.
-# **********************************************************************
-Section "Files"
- RgbPath "/usr/X11R6/lib/X11/rgb"
- ModulePath "/usr/X11R6/lib/modules" # Module search path
- FontPath "_HV_FONTS_PATH_/TrueType"
-
- # Standard XFree86 Fonts
- FontPath "/usr/X11R6/lib/X11/fonts/TTF"
- FontPath "/usr/X11R6/lib/X11/fonts/Type1"
- FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
- FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
- FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
- FontPath "/usr/X11R6/lib/X11/fonts/local"
- FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
- FontPath "/usr/X11R6/lib/X11/fonts/misc/"
- FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
- FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
-EndSection
-
-# **********************************************************************
-# Dynamically loadable modules section.
-# **********************************************************************
-Section "Module"
- Load "dbe" # Double buffer extension
-
- # This loads the miscellaneous extensions module, and disables
- # initialisation of the XFree86-DGA extension within that module.
- SubSection "extmod"
- Option "omit xfree86-dga" # don't initialise the DGA extension
- EndSubSection
-
- # This loads the Type1 and FreeType font modules
- Load "type1"
- Load "speedo"
- Load "freetype"
-
- Load "glx"
- Load "dri"
-EndSection
-
# **********************************************************************
# Input devices.
# **********************************************************************
DefaultColorDepth 24
Subsection "Display"
Depth 24
- Modes "1024x768" "800x600"
+ Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection
EOF
-# The ! character is the SED delimiter
-sed -i -e "s!_HV_FONTS_PATH_!${HV_FONTS_PATH}!g" /etc/X11/xorg.conf
-sed -i -e "s!_VIDEO_CARD_DRIVER_!${XF86_CARD_DRIVER}!g" /etc/X11/xorg.conf
-sed -i -e "s!_XF86_KEYBOARD_LAYOUT_!${HV_XF86_KEYBOARD_LAYOUT}!g" /etc/X11/xorg.conf
-sed -i -e "s!_XF86_KEYBOARD_VARIANT_!${HV_XF86_KEYBOARD_VARIANT}!g" /etc/X11/xorg.conf
-sed -i -e "s!_XF86_KEYBOARD_OPTIONS_!${HV_XF86_KEYBOARD_OPTIONS}!g" /etc/X11/xorg.conf
+sed -i -e "s!_HV_FONTS_PATH_!${HV_FONTS_PATH}!g" /etc/X11/xorg.conf.template
+sed -i -e "s!_VIDEO_CARD_DRIVER_!${XORG_VIDEO_DRIVER}!g" /etc/X11/xorg.conf.template
+sed -i -e "s!_XF86_KEYBOARD_LAYOUT_!${HV_XF86_KEYBOARD_LAYOUT}!g" /etc/X11/xorg.conf.template
+sed -i -e "s!_XF86_KEYBOARD_VARIANT_!${HV_XF86_KEYBOARD_VARIANT}!g" /etc/X11/xorg.conf.template
+sed -i -e "s!_XF86_KEYBOARD_OPTIONS_!${HV_XF86_KEYBOARD_OPTIONS}!g" /etc/X11/xorg.conf.template
exit $?
--- /dev/null
+#!/bin/bash
+
+# Reading system configuration informations, functions and package versions.
+source ../config/sysinfos
+source ../functions
+hvtrap_setup
+source ../config/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
+
+LFS_PKG_DIR_ORIG=${LFS_PKG_DIR}
+
+export XORG_CONFIG="\
+ --mandir=/usr/share/man \
+ --localstatedir=/var"
+
+# Arg #1: module name and version
+# Arg #2: subdirectory
+# Arg #3: optional configure arguments
+ipkg_xorg()
+{
+ local MODULE=${1}
+ local SUBDIR=${2}
+ shift 2
+ local CONFIGURE_OPTS=${*}
+
+ LFS_PKG_DIR=${LFS_PKG_DIR_ORIG}/${SUBDIR}
+ ipkg ${MODULE} ${XORG_CONFIG} ${CONFIGURE_OPTS}
+ LFS_PKG_DIR=${LFS_PKG_DIR_ORIG}
+}
+
+# Install all submodules in a module
+#
+# Arg #1: module name and version
+# Arg #2: optional configure arguments
+install_xorg_modules()
+{
+ local MODULE=${1}
+ shift
+ local CONFIGURE_OPTS=${*}
+
+ local MODULE_NAME=$(get_pkg_name ${MODULE})
+
+ local MY_XORG_CONFIG
+
+ for package in $(grep -v '^#' ${LFS_PKG_DIR}/${MODULE_NAME}/${MODULE}.wget); do
+ SUBMOD="$(echo ${package} | sed 's!\.tar\.bz2$!!')"
+
+ ipkg_xorg ${SUBMOD} ${MODULE_NAME} ${MY_XORG_CONFIG} ${CONFIGURE_OPTS}
+ done
+}
+
+install_xorg_modules ${XORG_UTIL}
+install_xorg_modules ${XORG_PROTO}
+ipkg_xorg ${LIBXAU} "lib"
+ipkg_xorg ${LIBXDMCP} "lib"
+ipkg ${LIBPTHREAD_STUBS} ${XORG_CONFIG}
+ipkg ${XCB_PROTO} ${XORG_CONFIG}
+ipkg ${GPERF}
+ipkg ${XCB_UTIL} ${XORG_CONFIG}
+install_xorg_modules ${XORG_LIB}
+ipkg -m acnb ${LESSTIF}
+ipkg_xorg ${XBITMAPS} "data"
+ipkg ${LIBDRM} "--enable-udev"
+
+ipkg -m acnb ${TALLOC}
+ipkg -m acnb ${MESALIB}
+install_xorg_modules ${XORG_APP}
+ipkg_xorg ${XCURSOR_THEMES} "data"
+install_xorg_modules ${XORG_FONT}
+rscr once "Configuring fonts" configure-fonts
+ipkg ${XKEYBOARD_CONFIG} ${XORG_CONFIG} --with-xkb-rules-symlink=xorg
+ipkg_xorg ${LUIT} "app"
+ipkg ${PIXMAN}
+ipkg ${LIBFFI}
+ipkg ${DBUS}
+ipkg ${GLIB}
+ipkg ${GOBJECT_INSTROSPECTION} "--disable-tests"
+ipkg -m acnb ${DBUS_GLIB} \
+ --disable-tests \
+ --libexecdir=/usr/lib/dbus-1.0/dbus-1
+ipkg ${EGGDBUS}
+ipkg ${POLKIT}
+ipkg -m acnb ${CONSOLEKIT} \
+ --libexecdir=/usr/lib/ConsoleKit \
+ --localstatedir=/var \
+ --enable-pam-module
+ipkg ${POLICYKIT}
+ipkg ${HAL}
+ipkg ${HAL_INFO}
+
+ipkg_xorg ${XORG_SERVER} "xserver" "\
+ --with-module-dir=/usr/lib/X11/modules \
+ --with-xkb-output=/var/lib/xkb \
+ --enable-install-setuid \
+ --disable-config-hal"
+
+install_xorg_modules ${XORG_DRIVER} --with-xorg-module-dir=/usr/lib/X11/modules
+
+if [ "x${XORG_VIDEO_DRIVER}" = "xnouveau" ]; then
+ ipkg ${XORG_VIDEO_NOUVEAU} ${XORG_CONFIG} --with-xorg-module-dir=/usr/lib/X11/modules
+fi
+
+ipkg_xorg ${XDM} "app"
+
+rscr once "Configuring X.org" configure-xorg
+
+ipkg ${XTERM}
+ipkg -m acnb ${T1LIB}
+ipkg -s tk ${TK}
+
+# Re-installing python now that tk is present???
+ipkg ${PYTHON} "--enable-shared"
+
+ipkg -m acnb ${WINDOWMAKER}
+ipkg ${WINDOWMAKER_EXTRA}
+
+exit $?
--- /dev/null
+#!/bin/bash
+
+# Setting default configure options for all scripts
+CONFIGURE_OPTS="\
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ ${CONFIGURE_OPTS}"
USE_HV_PATCHES=1
# Reading system configuration informations, functions and package versions.
-source ../sysinfos
+source ../config/sysinfos
source ../functions
source ../functions-fpkg
-source ../packages-list
-
-# Execute a return statement instead of exit, to be able to continue with
-# downloading other packages
-export RCMD_NO_EXIT=1
+source ../config/packages-list
update_packages_init
fpkg -d ${DEST_DIR} -e md5 ${module} ${BLFS_XORG_URL}
if [ "${MOD_NAME}" = "driver" ]; then
- # Remove unwanted drivers
- for ext in wget md5; do
- for excldrv in vmware newport xgixp geode; do
- sed -i -e "/.*xf86-video-${excldrv}.*/d" ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
+ if [ -n "${XORG_VIDEO_DRIVER}" ]; then
+ # Install only specific driver
+ for ext in wget md5; do
+ sed -i -e "/xf86-video-${XORG_VIDEO_DRIVER}/!d" ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
done
- done
+ else
+ # Remove unwanted drivers
+ for ext in wget md5; do
+ for excldrv in vmware newport xgixp geode; do
+ sed -i -e "/.*xf86-video-${excldrv}.*/d" ${LFS_PKG_DIR}/${MOD_NAME}/${module}.${ext}
+ done
+ done
+ fi
fi
if [ "${MOD_NAME}" = "app" ]; then
# Remove unneeded apps
fi
SUBMODS="$(grep -v '^#' ${LFS_PKG_DIR}/${MOD_NAME}/${module}.wget | sed 's!\.tar\.bz2$!!')"
-
+
for submod in ${SUBMODS}; do
fpkg_xorg ${submod} ${MOD_NAME}
done
pushd ${DEST_DIR} >> ${LFS_LOG_FILE}
- md5sum -c ${LFS_PKG_DIR}/${MOD_NAME}/${module}.md5 >> ${LFS_LOG_FILE}
- if [ $? -ne 0 ]; then
- echo " md5sum error for ${module}"
+ # The "driver" md5 file maybe empty if the nouveau driver was selected
+ if cat ${LFS_PKG_DIR}/${MOD_NAME}/${module}.md5 | grep "[0-9]" 1> /dev/null 2>&1; then
+ md5sum -c ${LFS_PKG_DIR}/${MOD_NAME}/${module}.md5 >> ${LFS_LOG_FILE}
+ if [ $? -ne 0 ]; then
+ echo " md5sum error for ${module}"
+ fi
fi
popd >> ${LFS_LOG_FILE}
done
fpkg_sf ${LESSTIF}
fpkg_xorg ${XBITMAPS} data
fpkg ${LIBPTHREAD_STUBS} "http://xcb.freedesktop.org/dist"
-fpkg ${LIBDRM} "http://dri.freedesktop.org/libdrm"
+fpkg ${XCB_PROTO} "http://xcb.freedesktop.org/dist"
+fpkg_gnu ${GPERF}
+fpkg ${XCB_UTIL} "http://xcb.freedesktop.org/dist"
+
+fpkg_hv ${LIBDRM}
+fpkg -e "tar.gz" ${TALLOC} "http://samba.org/ftp/talloc"
fpkg -s "$(get_pkg_ver ${MESALIB})" ${MESALIB} ftp://ftp.freedesktop.org/pub/mesa
fpkg_xorg ${XCURSOR_THEMES} data
fpkg ${XKEYBOARD_CONFIG} "http://xlibs.freedesktop.org/xkbdesc"
fpkg_xorg ${LUIT} app
-fpkg ${PIXMAN} "http://cairographics.org/releases"
-fpkg ${LIBFFI} "ftp://sourceware.org/pub/libffi"
+fpkg -e "tar.gz" ${PIXMAN} "http://cairographics.org/releases"
+fpkg -e "tar.gz" ${LIBFFI} "ftp://sourceware.org/pub/libffi"
fpkg ${DBUS} "http://dbus.freedesktop.org/releases/dbus"
fpkg_gnome ${GLIB}
fpkg_gnome ${GOBJECT_INSTROSPECTION}
-fpkg ${DBUS_GLIB} "http://dbus.freedesktop.org/releases/dbus-glib"
-fpkg ${EGGDBUS} "http://hal.freedesktop.org/releases"
-fpkg ${POLKIT} "http://hal.freedesktop.org/releases"
+fpkg -e "tar.gz" ${DBUS_GLIB} "http://dbus.freedesktop.org/releases/dbus-glib"
+fpkg -e "tar.gz" ${EGGDBUS} "http://hal.freedesktop.org/releases"
+fpkg -e "tar.gz" ${POLKIT} "http://hal.freedesktop.org/releases"
fpkg ${CONSOLEKIT} "http://www.freedesktop.org/software/ConsoleKit/dist"
-fpkg ${POLICYKIT} "http://hal.freedesktop.org/releases"
+fpkg -e "tar.gz" ${POLICYKIT} "http://hal.freedesktop.org/releases"
fpkg ${HAL} "http://hal.freedesktop.org/releases"
fpkg ${HAL_INFO} "http://hal.freedesktop.org/releases"
+fpkg_hv ${XORG_VIDEO_NOUVEAU}
fpkg_xorg ${XORG_SERVER} xserver
fpkg_xorg ${XDM} app
-fpkg -e tgz ${XTERM} "ftp://invisible-island.net/xterm"
+fpkg -e "tgz" ${XTERM} "ftp://invisible-island.net/xterm"
-fpkg ${T1LIB} "http://www.ibiblio.org/pub/Linux/libs/graphics"
+fpkg -e "tar.gz" ${T1LIB} "http://www.ibiblio.org/pub/Linux/libs/graphics"
-fpkg_sf ${TK} tcl
-
-fpkg_gnu ${EMACS}
-fpkg ${WINDOWMAKER} "http://windowmaker.info/pub/source/release"
-fpkg ${WINDOWMAKER_EXTRA} "http://windowmaker.info/pub/source/release"
+fpkg_sf ${TK} tcl
+fpkg_gnu ${EMACS}
+fpkg ${WINDOWMAKER} "http://windowmaker.info/pub/source/release"
+fpkg -e "tar.gz" ${WINDOWMAKER_EXTRA} "http://windowmaker.info/pub/source/release"
exit $?
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --enable-motif \
+ --enable-xcb \
+ ${XORG_CONFIG}"
+
+ # Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS
+ # and CXXFLAGS with this command:
+ sed 's@FLAGS=\"-g@FLAGS=\"@' -i ${LFS_TMP}/${PACKAGE}/configure
+
+ # Revert effect of automatically applying blfs patch for xdemos (this patch
+ # causes a compilation bug with a missing GL/gl.h include)
+ sed 's@^\(SUBDIRS = src\) xdemos@\1@' -i ${LFS_TMP}/${PACKAGE}/Makefile
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ hv_groupadd -g 27 polkituser
+ hv_useradd -c Policy-Kit-Daemon-User -d /dev/null -u 27 \
+ -g polkituser -s /bin/false polkituser
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --libexecdir=/usr/lib/PolicyKit \
+ --localstatedir=/var"
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ cd ${LFS_TMP}/${PACKAGE}
+ aclocal
+ autoheader
+ autoconf
+ libtoolize --force --automake
+ automake -a --gnu --include-deps
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --with-gnustepdir=/usr/share/GNUstep"
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ hv_groupadd -g 18 messagebus
+ hv_useradd -c D-BUS-Message-Daemon-User -d /dev/null \
+ -u 18 -g messagebus -s /bin/false messagebus
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --libexecdir=/usr/lib/dbus-1.0 \
+ --localstatedir=/var"
+}
+
+hvbuild_post()
+{
+ # Bootscript
+ install -v -m740 ${SCRDIR}/bootscripts/dbus /etc/rc.d/init.d
+
+ # script-name start stop
+ bootscript_add_rc3 dbus 92 20
+
+ # Starting the session daemon here has the added bonus that it will exit
+ # when you log out of your GNOME session. If you wish to start the daemon
+ #here, use the following command instead of the one shown above:
+ ##echo "exec dbus-launch --exit-with-session gnome-session" >> ~/.xinitrc
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --with-pcre=system"
+}
+
+hvbuild_post()
+{
+ chmod -v 755 /usr/bin/gtester-report
+
+ cat > /etc/profile.d/glib2-locale.sh << "EOF"
+# Use the current locale charset for filenames
+# in applications using GLib
+export G_FILENAME_ENCODING=@locale
+EOF
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ hv_groupadd -g 19 haldaemon
+ hv_useradd -c HAL-Daemon-User -d /dev/null -u 19 \
+ -g haldaemon -s /bin/false haldaemon
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --libexecdir=/usr/lib/hal \
+ --localstatedir=/var \
+ --with-udev-prefix=/etc"
+}
+
+hvbuild_post()
+{
+ install -v -m755 -d /var/run/hald
+
+ # Bootscript
+ install -v -m740 ${SCRDIR}/bootscripts/hald /etc/rc.d/init.d
+
+ # script-name start stop
+ bootscript_add_rc3 hald 93 19
+
+ # The default setup for HAL is to allow only certain users to invoke
+ # methods such as Mount(). These are the root user and the user determined
+ # to be at the active console using pam_console. If you are not set up to
+ # use Linux-PAM-1.1.1 and pam_console, create a group that is allowed to
+ # invoke HAL methods with the following commands:
+ hv_groupadd -g 61 halusers
+ cat > /etc/dbus-1/system.d/halusers.conf << "EOF"
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- Allow users in the halusers group invoke HAL methods -->
+ <policy group="halusers">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+
+</busconfig>
+EOF
+
+ # Now add the users you would like to the halusers group to use HAL:
+ usermod -a -G halusers ${REGUSER}
+
+ # With the above configuration in place, authorized users now have the
+ # ability to unmount disk partitions mounted at non-standard locations such
+ # as /pub. If you'd like to restrict this policy to only drives which are
+ # considered removable or hotpluggable, add the following configuration
+ # file as the root user:
+ cat > /etc/hal/fdi/policy/no-fixed-drives.fdi << "EOF"
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
+
+<!-- Don't allow HAL methods on disks that are not
+ removable or hotpluggable -->
+
+<deviceinfo version="0.2">
+<device>
+ <match key="@block.storage_device:storage.hotpluggable" bool="false">
+ <match key="@block.storage_device:storage.removable" bool="false">
+ <merge key="volume.ignore" type="bool">true</merge>
+ </match>
+ </match>
+</device>
+</deviceinfo>
+EOF
+
+ # If the system-wide D-BUS daemon was running during the installation of
+ # HAL, ensure you stop and restart the D-BUS daemon before attempting to
+ # start the hald daemon.
+ #/etc/rc.d/init.d/dbus restart
+
+ # Starting daemon
+ #/etc/rc.d/init.d/hal start
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --prefix=/usr \
+ --sysconfdir=/etc/X11 \
+ --disable-debug \
+ --disable-build-tests \
+ --enable-production \
+ --with-xdnd \
+ --x-includes=/usr/include \
+ --x-libraries=/usr/lib"
+}
+
+hvconfig_post()
+{
+ sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@" \
+ ${LFS_TMP}/${PACKAGE}/clients/Motif-2.1/mwm/Makefile
+
+ export rootdir=/usr/share/doc/${PACKAGE}
+}
+
+hvbuild_post()
+{
+ unset rootdir
+
+ # Applicatons that utilize Xorg libraries often, and incorrectly, expect to
+ # find configuration files in /usr/lib/X11. While still the root
+ # user, create a compatibility symlink with the following command:
+ ln -v -sf /etc/X11/mwm /usr/lib/X11
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ cd ${LFS_TMP}/${PACKAGE}
+ ./autogen.sh
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --enable-nouveau-experimental-api \
+ ${XORG_CONFIG}"
+}
+
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ # It is a requirement to have a dedicated user and group for polkit to
+ # function correctly:
+ hv_groupadd -fg 27 polkituser
+ hv_useradd -c Policy-Kit-Daemon-User -d /dev/null -u 27 \
+ -g polkituser -s /bin/false polkituser
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --libexecdir=/usr/lib/polkit-1 \
+ --localstatedir=/var"
+}
--- /dev/null
+#!/bin/bash
+
+hvbuild()
+{
+ make without_doc
+ make install
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig()
+{
+ cd ${LFS_TMP}/${PACKAGE}/unix
+ ./configure \
+ --prefix=/usr \
+ --enable-threads \
+ --mandir=/usr/share/man
+}
+
+hvbuild()
+{
+ make
+
+ # Removes references to the build directory and replaces them with saner
+ # system-wide locations:
+ sed -i \
+ -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
+ -e "/TK_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
+ -e "/SEARCH/s/=.*/=''/" \
+ tkConfig.sh
+ make install
+}
+
+hvbuild_post()
+{
+ make install-private-headers
+
+ # Special case for TK
+ PKG_VER_BASE=$(echo ${PACKAGE} | sed "s!^tk\([0-9]*\.[0-9]*\).*!\1!g")
+
+ ln -v -sf wish${PKG_VER_BASE} /usr/bin/wish
+}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ cd ${LFS_TMP}/${PACKAGE}
+ ./autogen.sh
+}
+
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ sed -i '/v0/,+1s/new:/new:kb=^?:/' ${LFS_TMP}/${PACKAGE}/termcap
+ echo -e '\tkbs=\\177,' >> ${LFS_TMP}/${PACKAGE}/terminfo
+
+ export TERMINFO=/usr/lib/terminfo
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --enable-luit \
+ --enable-wide-chars \
+ --with-app-defaults=/usr/share/X11/app-defaults \
+ ${XORG_CONFIG}"
+}
+
+hvconfig_post()
+{
+ unset TERMINFO
+}
+
+hvbuild_post()
+{
+ make install-ti
+}
--- /dev/null
+#!/bin/bash
+
+export LFS_STAGE=stage4
+++ /dev/null
-#!/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 $?
+++ /dev/null
-#!/bin/sh
-
-LFS_STAGE=stage4
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-source /etc/profile
-
-export LFS_PKG_DIR="$(dirname $(pwd))/packages/${LFS_STAGE}"
-export LFS_LOG_DIR=${LFS}/var/log/hvlinux-install/${LFS_STAGE}
-export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log
-export LFS_TMP=${LFS}/tmp
-
-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)
-
-export XORG_PREFIX=/usr
-export XORG_CONFIG="\
- --mandir=${XORG_PREFIX}/share/man \
- --localstatedir=/var"
-
-LFS_PKG_DIR_ORIG=${LFS_PKG_DIR}
-
-# Arg #1: module name and version
-# Arg #2: subdirectory
-# Arg #3: optional configure arguments
-ipkg_xorg()
-{
- local MODULE=${1}
- local SUBDIR=${2}
- shift 2
- local CONFIGURE_OPTS=${*}
-
- LFS_PKG_DIR=${LFS_PKG_DIR_ORIG}/${SUBDIR}
- ipkg_ac ${MODULE} ${XORG_CONFIG} ${CONFIGURE_OPTS}
- LFS_PKG_DIR=${LFS_PKG_DIR_ORIG}
-}
-
-# Install all submodules in a module
-#
-# Arg #1: module name and version
-# Arg #2: optional configure arguments
-install_xorg_modules()
-{
- local MODULE=${1}
- shift
- local CONFIGURE_OPTS=${*}
-
- local MODULE_NAME=$(get_pkg_name ${MODULE})
-
- local MY_XORG_CONFIG
-
- for package in $(grep -v '^#' ${LFS_PKG_DIR}/${MODULE_NAME}/${MODULE}.wget); do
- SUBMOD="$(echo ${package} | sed 's!\.tar\.bz2$!!')"
-
- # Special configure options for specific packages
- case ${SUBMOD} in
- libXfont-[0-9]* )
- MY_XORG_CONFIG="--disable-devel-docs"
- ;;
- libX11-[0-9]* )
- MY_XORG_CONFIG="--without-xcb"
- ;;
- libXt-[0-9]* )
- MY_XORG_CONFIG="--with-appdefaultdir=/etc/X11/app-defaults"
- ;;
- xinit-[0-9]* )
- MY_XORG_CONFIG="--with-xinitdir=/etc/X11/app-defautls"
- ;;
- esac
-
- ipkg_xorg ${SUBMOD} ${MODULE_NAME} ${MY_XORG_CONFIG} ${CONFIGURE_OPTS}
- done
-}
-
-install_xorg_modules ${XORG_PROTO}
-install_xorg_modules ${XORG_UTIL}
-ipkg_xorg ${LIBXAU} "lib"
-ipkg_xorg ${LIBXDMCP} "lib"
-install_xorg_modules ${XORG_LIB}
-ipkg_cust ${LESSTIF} cis-lesstif \
- --sysconfdir=/etc/X11 \
- --disable-debug \
- --disable-build-tests \
- --enable-production \
- --with-xdnd \
- --x-includes=$XORG_PREFIX/include \
- --x-libraries=$XORG_PREFIX/lib
-ipkg_xorg ${XBITMAPS} "data"
-ipkg_ac ${LIBPTHREAD_STUBS}
-ipkg_ac ${LIBDRM} --enable-udev
-ipkg_cust ${MESALIB} cis-mesalib --enable-motif
-install_xorg_modules ${XORG_APP}
-ipkg_xorg ${XCURSOR_THEMES} "data"
-install_xorg_modules ${XORG_FONT}
-rscr once "Configuring fonts" configure-fonts
-ipkg_ac ${XKEYBOARD_CONFIG} ${XORG_CONFIG} --with-xkb-rules-symlink=xorg
-ipkg_xorg ${LUIT} "app"
-ipkg_ac ${PIXMAN}
-ipkg_ac ${LIBFFI}
-ipkg_cust ${DBUS} cis-dbus
-ipkg_cust ${GLIB} cis-glib --with-pcre=system
-ipkg_ac ${GOBJECT_INSTROSPECTION}
-ipkg_ac ${DBUS_GLIB} \
- --disable-tests \
- --disable-dependency-tracking \
- --libexecdir=/usr/lib/dbus-1.0/dbus-1
-ipkg_ac ${EGGDBUS}
-ipkg_cust ${POLKIT} cis-polkit
-ipkg_ac_nb ${CONSOLEKIT} \
- --libexecdir=/usr/lib/ConsoleKit \
- --localstatedir=/var \
- --enable-pam-module
-ipkg_cust ${POLICYKIT} cis-policykit
-ipkg_cust ${HAL} cis-hal
-ipkg_ac ${HAL_INFO}
-
-ipkg_xorg ${XORG_SERVER} "xserver" "\
- --with-module-dir=${XORG_PREFIX}/lib/X11/modules \
- --with-xkb-output=/var/lib/xkb \
- --enable-install-setuid \
- --disable-config-hal"
-
-# newport, vmware, and xgixp drivers cause Xorg -configure to hang
-# To fix this problem, comment out these drivers in both driver-7.5-2.md5 and driver-7.5-2.wget.
-install_xorg_modules ${XORG_DRIVER} --with-xorg-module-dir=${XORG_PREFIX}/lib/X11/modules
-
-ipkg_xorg ${XDM} "app"
-
-rscr once "Configuring X.org" configure-xorg
-
-ipkg_cust ${XTERM} cis-xterm ${XORG_CONFIG}
-
-ipkg_cust ${T1LIB} cis-t1lib
-
-ipkg_cust ${TK} cis-tk
-
-# Re-installing python now that tk is present???
-ipkg_ac ${PYTHON} "--enable-shared"
-
-ipkg_cust ${WINDOWMAKER} cis-windowmaker
-ipkg_ac ${WINDOWMAKER_EXTRA}
-
-#source /etc/profile
-
-#rscr mult "Performing post-install" cis-post-install
-
-exit $?
+stage5: Installing software after X-Windows
+
+Installation
+------------
-Installation instructions
--------------------------
-
-1. ./stage4-install
+1. Type:
+ $> sudo make
--- /dev/null
+# Makefile for hvlinux
+
+# Idées pour future targets:
+# clean
+# strip
+# compress -> compressdoc (à partir du stage2)
+# dep
+# list -> list installed packages and versions
+
+.PHONY: get test
+
+all:
+ @./hv-install-1
+
+# Fetch packages from network
+get:
+ @./packages-update
+
+# Test integrity of packages
+test:
+ @./packages-update test
--- /dev/null
+#!/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
+
+if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
+ # Gtk
+ ipkg_ac ${LIBSIGCPP}
+ ipkg_ac ${JASPER} "--enable-shared"
+ ipkg_ac ${GTK_DOC}
+ ipkg_ac ${GLIBMM}
+ ipkg_ac ${CAIRO}
+ ipkg_ac ${CAIROMM}
+ ipkg_ac_nb ${PANGO}
+ ipkg_ac ${PANGOMM}
+ ipkg_ac ${ATK}
+ ipkg_ac ${GTK}
+ ipkg_ac ${GTKMM}
+ ipkg_ac ${GTK_ENGINES}
+ ipkg_ac ${PYGOBJECT}
+ ipkg_ac ${PYCAIRO}
+ ipkg_ac ${PYGTK}
+ ipkg_ac ${GC}
+
+ 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_cust ${ISO_CODES} cis-iso-codes
+ ipkg_ac ${LIBXKLAVIER}
+ ipkg_ac ${LIBGLADE}
+ ipkg_ac ${LIBTASN1}
+ ipkg_ac ${GUILE} \
+ --enable-posix \
+ --disable-static \
+ --enable-networking \
+ --enable-regex
+ ipkg_ac ${LIBGPG_ERROR}
+ ipkg_ac ${LIBGCRYPT}
+ ipkg_ac_nb ${GNUTLS}
+ ipkg_ac ${LIBIDL}
+
+ # GNOME-2.X configuration
+ rscr mult "Configuring ${GNOME2_VER}" ./cis-gnome-config
+ source /etc/profile
+
+ ipkg_gnome ${ORBIT2}
+ ipkg_cust ${GCONF} cis-gconf
+ ipkg_ac ${LIBPROXY} "--with-gnome"
+ ipkg_gnome ${GNOME_KEYRING}
+ ipkg_ac ${LIBSOUP}
+fi
+
+ipkg_ac ${HELP2MAN}
+ipkg_ac ${GSL}
+ipkg_cust ${CUPS} cis-cups
+ipkg_cust ${CUPS_PDF} cis-cups-pdf
+ipkg_cust ${SPLIX} cis-splix
+ipkg_cust ${GHOSTSCRIPT} cis-ghostscript
+
+if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
+ ipkg_ac ${IMAGE_MAGICK} "--with-modules --with-gslib=/usr/lib"
+ # xpdf headers needed by inkscape
+ 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
+ # inkscape-0.47 has a problem with poppler >= 0.12.2
+ ####ipkg_ac ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\""
+fi
+
+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
+
+ # 'Five years old' bug --> Change the date to something in 2004 before installing.
+ 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 ${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_cust ${CKERMIT} cis-ckermit
+
+# BitTorrent client
+ipkg_ac ${TRANSMISSION} "--disable-daemon"
+
+ipkg_ac ${GNUPG} "--libexecdir=/usr/lib"
+
+
+
+
+ipkg_ac ${LIBGEDA}
+ipkg_ac ${GEDA_SYMBOLS}
+ipkg_ac ${GEDA_GSCHEM}
+ipkg_ac ${GEDA_GNETLIST}
+ipkg_ac ${GEDA_SYMCHECK}
+ipkg_ac ${GEDA_GATTRIB}
+
+
+
+rscr mult "Performing post-install" cis-post-install
+
+exit $?
+++ /dev/null
-#!/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)
-
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- # Gtk
- ipkg_ac ${LIBSIGCPP}
- ipkg_ac ${JASPER} "--enable-shared"
- ipkg_ac ${GTK_DOC}
- ipkg_ac ${GLIBMM}
- ipkg_ac ${CAIRO}
- ipkg_ac ${CAIROMM}
- ipkg_ac_nb ${PANGO}
- ipkg_ac ${PANGOMM}
- ipkg_ac ${ATK}
- ipkg_ac ${GTK}
- ipkg_ac ${GTKMM}
- ipkg_ac ${GTK_ENGINES}
- ipkg_ac ${PYGOBJECT}
- ipkg_ac ${PYCAIRO}
- ipkg_ac ${PYGTK}
- ipkg_ac ${GC}
-
- 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_cust ${ISO_CODES} cis-iso-codes
- ipkg_ac ${LIBXKLAVIER}
- ipkg_ac ${LIBGLADE}
- ipkg_ac ${LIBTASN1}
- ipkg_ac ${GUILE} \
- --enable-posix \
- --disable-static \
- --enable-networking \
- --enable-regex
- ipkg_ac ${LIBGPG_ERROR}
- ipkg_ac ${LIBGCRYPT}
- ipkg_ac_nb ${GNUTLS}
- ipkg_ac ${LIBIDL}
-
- # GNOME-2.X configuration
- rscr mult "Configuring ${GNOME2_VER}" ./cis-gnome-config
- source /etc/profile
-
- ipkg_gnome ${ORBIT2}
- ipkg_cust ${GCONF} cis-gconf
- ipkg_ac ${LIBPROXY} "--with-gnome"
- ipkg_gnome ${GNOME_KEYRING}
- ipkg_ac ${LIBSOUP}
-fi
-
-ipkg_ac ${HELP2MAN}
-ipkg_ac ${GSL}
-ipkg_cust ${CUPS} cis-cups
-ipkg_cust ${CUPS_PDF} cis-cups-pdf
-ipkg_cust ${SPLIX} cis-splix
-ipkg_cust ${GHOSTSCRIPT} cis-ghostscript
-
-if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
- ipkg_ac ${IMAGE_MAGICK} "--with-modules --with-gslib=/usr/lib"
- # xpdf headers needed by inkscape
- 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
- # inkscape-0.47 has a problem with poppler >= 0.12.2
- ####ipkg_ac ${INKSCAPE} "CFLAGS=\"-DPOPPLER_NEW_GFXFONT\""
-fi
-
-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
-
- # 'Five years old' bug --> Change the date to something in 2004 before installing.
- 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_cust ${CKERMIT} cis-ckermit
-
-# BitTorrent client
-ipkg_ac ${TRANSMISSION} "--disable-daemon"
-
-ipkg_ac ${GNUPG} "--libexecdir=/usr/lib"
-
-
-
-
-ipkg_ac ${LIBGEDA}
-ipkg_ac ${GEDA_SYMBOLS}
-ipkg_ac ${GEDA_GSCHEM}
-ipkg_ac ${GEDA_GNETLIST}
-ipkg_ac ${GEDA_SYMCHECK}
-ipkg_ac ${GEDA_GATTRIB}
-
-
-
-rscr mult "Performing post-install" cis-post-install
-
-exit $?
--- /dev/null
+#!/bin/bash
+
+# Setting default configure options for all scripts
+CONFIGURE_OPTS="\
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ ${CONFIGURE_OPTS}"
--- /dev/null
+;; buffer-cycle.el
+(defun filter (pred lst)
+ (delq nil
+ (mapcar (lambda (x)
+ (and (funcall pred x) x)) lst)))
+
+(defun filter-regexp (pattern lst)
+ (filter (lambda (str)
+ (string-match pattern str)) lst))
+
+(defun cycle-buffer (&optional n)
+ (let ((buffers (filter (lambda (buffer)
+ (not (string-match "\*" (buffer-name buffer))))
+ (buffer-list (selected-frame)))))
+ (switch-to-buffer
+ (if (< n 0)
+ (nth (+ (length buffers) n)
+ buffers)
+ (bury-buffer)
+ (nth n buffers)))))
+
+(defun cycle-buffer-next ()
+ (interactive)
+ (cycle-buffer -1))
+
+(defun cycle-buffer-prev ()
+ (interactive)
+ (cycle-buffer 1))
--- /dev/null
+;; ~/.emacs
+
+;; Emacs initialization file.
+;; Font Lock mode, Auto Compression mode, File Name Shadow
+;; Mode, and mouse wheel support are enabled by default.
+
+;; Do not display a splash screen on startup
+(setq inhibit-splash-screen t)
+
+;; Emacs Load Path
+(setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path))
+
+;; Affichage du numéro de colonne
+(setq column-number-mode t)
+
+;; Always end a file with a newline
+(setq require-final-newline t)
+
+;; Stop at the end of the file, not just add lines
+(setq next-line-add-newlines nil)
+
+;; Replaces tabs in files with spaces
+(setq-default indent-tabs-mode nil)
+
+;; Makes the compilation buffer always scrolls to follow
+;; output as it comes in.
+(setq compilation-scroll-output t)
+
+;; Pour avoir les accents
+(set-keyboard-coding-system 'utf-8)
+
+;; Set up the keyboard so the delete key on both the regular keyboard
+;; and the keypad delete the character under the cursor and to the right
+;; under X, instead of the default, backspace behavior.
+(global-set-key [delete] 'delete-char)
+(global-set-key [kp-delete] 'delete-char)
+
+;; For an unknow reason, the CTRL+RIGHT and RIGHT keys seem
+;; to be inveerted...
+
+;; Map RIGHT and LEFT
+;;(global-set-key [(meta O) (D)] 'backward-char)
+;;(global-set-key [(meta O) (C)] 'forward-char)
+;; Map CTRL+RIGHT and CTRL+LEFT
+(global-set-key [C-right] 'forward-word)
+(global-set-key [C-left] 'backward-word)
+
+;; Map Home key to beginning-of-buffer
+(global-set-key "\e[1~" 'beginning-of-buffer)
+;; Map End key to end-of-buffer
+(global-set-key "\e[4~" 'end-of-buffer)
+
+;;===========================================================
+;; Key bindings for compiling programs
+;;===========================================================
+;; Must add helper function for the make also, otherwise
+;; the first definition caused both F3 and F4 to execute "make clean".
+(defun compile-make-clean ()
+ (interactive) ;; can be called from kbd
+ (compile "make clean"))
+
+(defun compile-make ()
+ (interactive)
+ (compile "make"))
+
+(defun checkpatch()
+ (interactive)
+ (compile (concat "checkpatch.pl --no-tree --emacs --strict --file " (buffer-file-name))))
+
+;; buffer-cycle.el
+;; F1: Switch to previous buffers
+(autoload 'cycle-buffer-prev "buffer-cycle" t)
+(global-set-key [f1] 'cycle-buffer-prev)
+;; F2: Switch to next buffers
+(autoload 'cycle-buffer-next "buffer-cycle" t)
+(global-set-key [f2] 'cycle-buffer-next)
+
+;; F4: make clean
+(global-set-key [f4] 'compile-make-clean)
+
+;; F5: make
+(global-set-key [f5] 'compile-make)
+
+;; F6: go to next error
+(global-set-key [f6] 'next-error)
+
+;; F7: comment region
+(global-set-key [f7] 'comment-region)
+
+;; F8: code indentation
+(global-set-key [f8] 'indent-region)
+
+;; F9: run checkpatch.pl
+(global-set-key [f9] 'checkpatch)
+
+;;==================================================
+;; Modes
+;;==================================================
+
+(defun linux-c-mode ()
+ "C mode with adjusted defaults for use with the Linux kernel."
+ (interactive)
+ (c-mode)
+ (c-set-style "K&R")
+ ;; Replaces tabs in files with spaces
+ (setq indent-tabs-mode t)
+ (setq c-basic-offset 8))
+
+(defun csv-mode ()
+ "CSV mode."
+ (interactive)
+ (setq indent-tabs-mode t)
+)
+
+;; Default for .h and .d files -> linux mode.
+(add-to-list 'auto-mode-alist '("\.[ch]$" . linux-c-mode))
+
+;; Verilog mode
+(autoload 'verilog-mode "verilog-mode" "Verilog mode" t)
+(add-to-list 'auto-mode-alist '("\\.v\\'" . verilog-mode))
+
+;; PHP mode
+(autoload 'php-mode "php-mode" "PHP mode" t)
+(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
+
+;; ChordPro mode
+(autoload 'chordpro-mode "chordpro-mode" "Chordpro mode" t)
+(add-to-list 'auto-mode-alist '("\\.cp\\'" . chordpro-mode))
+(add-to-list 'auto-mode-alist '("\\.chopro\\'" . chordpro-mode))
+
+;; Lilypond mode
+(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
+(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
+(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
+
+;; CSV mode
+(add-to-list 'auto-mode-alist '("\\.csv$" . csv-mode))
+
+;; Mutt mode
+(autoload 'muttrc-mode "muttrc-mode" "Major mode to edit muttrc files" t)
+(add-to-list 'auto-mode-alist '("muttrc\\'" . muttrc-mode))
+
+;; When an Emacs init file gets large or has a lot of function definitions, you
+;; should consider compiling it: it will load faster when Emacs starts, and its
+;; functions will execute faster.
+;; Here is a way to automatically compile your InitFile each time you save it:
+(defun byte-compile-user-init-file ()
+ (let ((byte-compile-warnings '(unresolved)))
+ ;; in case compilation fails, don't leave the old .elc around:
+ (when (file-exists-p (concat user-init-file ".elc"))
+ (delete-file (concat user-init-file ".elc")))
+ (byte-compile-file user-init-file)
+ ;; (message "%s compiled" user-init-file)
+ ))
+(defun my-emacs-lisp-mode-hook ()
+ (when (equal buffer-file-name user-init-file)
+ (add-hook 'after-save-hook 'byte-compile-user-init-file t t)))
+(add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-hook)
+
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(column-number-mode t)
+ '(current-language-environment "UTF-8"))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(default ((t (:background "black" :foreground "white" :bold t))))
+ '(font-lock-comment-face ((t (:foreground "red" :bold t))))
+ '(font-lock-constant-face ((t (:foreground "magenta" :bold t))))
+ '(font-lock-function-name-face ((t (:foreground "blue" :bold t))))
+ '(font-lock-keyword-face ((t (:foreground "cyan" :bold t))))
+ '(font-lock-string-face ((t (:foreground "green" :bold t))))
+ '(font-lock-type-face ((t (:foreground "red" :bold t))))
+ '(font-lock-variable-name-face ((t (:foreground "yellow" :bold t))))
+ '(font-lock-warning-face ((t (:foreground "magenta" :bold t)))))
--- /dev/null
+#!/bin/sh
+
+# script to email files as attachments.
+# ------------------------------------
+
+# Additional documentation for this script, including a brief introdcution
+# to MIME can be found at: http://home.clara.net/dwotton/unix/mail_files.htm
+
+# Written: Dave Wotton, July 1998, (Cambridge UK)
+# This script comes with no warranty or support. You are
+# free to modify it as you wish, but please retain an
+# acknowledgement of my original authorship.
+
+# Amended: Dave Wotton, 6/3/99
+# -t flag now optional. subject also optional
+#
+# Amended: Dave Wotton, 3/8/00
+# added -b and -u options. By default a file-list which is not
+# preceded by a -n, -b, or -u flag is now NOT encoded (the previous
+# default was to base64 encode it.).
+#
+# Amended: Dave Wotton, 10/10/00
+# added a -c (cc:) option.
+# Added a tty -s test to prevent the prompt to enter the text body
+# being displayed when not connected to a tty. (The text body is
+# still required though. /dev/null will suffice.)
+#
+# Amended: Dave Wotton, 24/2/01
+# Now uses perl to perform the base64 encoding, as it comes as
+# standard on most modern Unixes. (You need the perl MIME package
+# though, which I believe is standard. )
+
+# Amended: Dave Wotton, 22/09/01
+# Now creates a "To:" header and uses the sendmail -t flag to
+# duplicate this as the envelope recipients, rather than using the
+# user supplied list of addresses simply as envelope recipients.
+# This confused some mail clients, specifically Lotus Notes.
+
+# Amended: Dave Wotton, 30/09/01
+# Now initialises the main variables, so that previously set
+# environment variable values (eg. $CC) aren't used instead.
+# Enable multiple occurrences of the -t and -c flags. Thanks to
+# Jason Judge for these suggestions.
+
+
+# Usage: mail_files [-t] mailid [ -c mailid ] [ -s subject ] [ -f mailid ]
+# [-n file_list] [-u file_list] [-b file_list] file_list
+#
+# -f : The mailid of the sender ( defaults to your userid )
+# Only userids that have been defined as "trusted" in the sendmail
+# config file can make use of the -f option. For non-trusted users
+# any value specified by this parameter will be ignored by
+# sendmail.
+# -t : The mailid of the recipient. Mandatory, no default
+# multiple mailids can be specified, separated by commas.
+# -c : The mailid of any carbon-copy recipients. Optional.
+# multiple mailids can be specified, separated by commas.
+# -s : The subject string. Optional, default = "Not specified".
+# Enclose in quotes.
+# -n : no-encode: indicates a list of files which are NOT to be base64
+# or uuencode encoded. Multiple files may be enclosed in double
+# quotes. Usual wildcard notation can be used. This option is
+# for completeness and can be omitted because the default action
+# is not to encode the file-list.
+# -b : base64 encoding: indicates a list of files which are to be
+# base64 encoded. Multiple files may be enclosed in double quotes.
+# Usual wildcard notation can be used.
+# -u : uuencode encoding: indicates a list of files which are to be
+# uuencode encoded. Multiple files may be enclosed in double
+# quotes. Usual wildcard notation can be used.
+# file_list : The list of files to send as attachments with no-encoding
+# (same as -n option, but the file list does not need to be
+# enclosed in quotes if more than one file specified).
+# Usual wildcard notation can be used.
+
+# The program will also prompt for text to be supplied on standard input
+# as the main text of the message.
+
+# eg.
+# 1) mail_files Dave.Wotton -b file9.gif t*.htm < /dev/null
+#
+# email file9.gif as a base64 encoded attachment and the t*.htm
+# files unencoded.
+#
+# 2) mail_files Dave.Wotton -s "my test" -b "file1.gif file2.gif" \
+# < /dev/null
+#
+# email file1.gif and file2.gif as base64 encoded attachments.
+
+# The script makes use of perl's MIME package to perform the base-64
+# encoding/decoding.
+
+# Note that files destined for Windows environments should have a name of
+# the form aaaa.bbb where aaaa is up to 8 characters long, and bbb is a
+# 3 character sufix. The suffix determines which program is used to
+# display/process the data at the remote end.
+
+# Simple text files can be emailed unencoded. Binary files, or text files
+# with long lines ( ie > 1000 chars ) should use the base64 or uuencode
+# encoding procedures. Base64 is preferred because it is more universally
+# supported. In particular, most PC mail-clients can automatically decode
+# base64 encoded attachments. Note that simple text files with short lines
+# which are destined for PC environments should not be base64 encoded.
+# This is because PCs use a different line-break character to Unix.
+# If the text is base64 encoded, the line-breaks are not converted
+# automatically and so the data arrives at the remote end without
+# line-breaks.
+
+# set up a 'usage' routine
+# ------------------------
+
+usage()
+{
+ [ "$1" ] && ( echo $* ; echo "" )
+
+ cat <<!
+ Usage: mail_files [-t] mailid [ -c mailid ] [ -s subject ] [ -f mailid ]
+ [-n file_list] [-u file_list] [-b file_list] file_list
+!
+ exit 4
+}
+
+# Initialise main variables ...
+# -------------------------
+
+FROM=$LOGNAME
+SUBJ=${SUBJ:-"Not specified"}
+
+TO="" ; CC="" ; SUBJ="" ; NOENC="" ; BASE64="" ; UUE=""
+
+# First parse the command line options. Using getopts means the parameters
+# can be supplied in any order. But first we handle the first parameter,
+# which may be a recipient, without a -t flag...
+
+case "$1" in
+ -* ) : ;; # ignore it, let getopts handle flags
+ * ) TO=$1 ; shift ;;
+esac
+
+while getopts f:s:t:c:n:b:u: OPT
+do
+ case $OPT in
+ "f" ) FROM=$OPTARG ;;
+ "t" ) TO="$TO,$OPTARG" ;;
+ "c" ) CC="$CC,$OPTARG" ;;
+ "s" ) SUBJ=$OPTARG ;;
+ "n" ) NOENC="$NOENC $OPTARG" ;;
+ "b" ) BASE64="$BASE64 $OPTARG" ;;
+ "u" ) UUE="$UUE $OPTARG" ;;
+ * ) usage ;;
+ esac
+done
+
+shift `expr $OPTIND - 1`
+
+if [ "$TO" = "" ]
+then
+ usage "An addressee must be specified"
+fi
+
+# All remaining parameters are files not requiring encoding ...
+# ---------------------------------------------------------
+
+# Build up $FILES as the list of non-encoded files. Use sed to remove
+# any leading space from the variable.
+
+FILES=`echo $NOENC $*|sed 's/^ //'`
+
+if [ "$BASE64" = "" -a "$FILES" = "" -a "$UUE" = "" ]
+then
+ usage "At least one file must be specified"
+fi
+
+# Remove leading commas from TO, CC ...
+# ---------------------------------
+
+TO=`echo $TO | sed 's/^,//'`
+CC=`echo $CC | sed 's/^,//'`
+
+# Validate that the files exist ...
+# -----------------------------
+
+for F in $FILES $BASE64 $UUE
+do
+ if [ ! -r $F ]
+ then
+ echo "Error: File $F does not exist / is not readable."
+ echo "Exiting. ( Mail not sent )."
+ exit
+ fi
+done
+
+tty -s && echo "Enter text of main message ( finish with CTRL-D ) ..."
+
+# Now do the work ...
+# ---------------
+
+# The generated mail message is output onto standard out, which is then
+# piped in to sendmail.
+
+(
+cat <<!
+From: $FROM
+Subject: $SUBJ
+To: $TO
+!
+
+[ "$CC" ] && echo "Cc: $CC"
+
+cat <<!
+Mime-Version: 1.0
+Content-Type: multipart/mixed; boundary="DMW.Boundary.605592468"
+
+This is a Mime message, which your mail program may not understand. Parts
+of the message will appear as text. If the remainder appears as random
+characters in the message body, instead of as attachments, then you'll
+have to extract these parts and decode them manually.
+
+--DMW.Boundary.605592468
+Content-Type: text/plain; name="message.txt"; charset=US-ASCII
+Content-Disposition: inline; filename="message.txt"
+Content-Transfer-Encoding: 7bit
+
+!
+
+# Read the standard input as the main text of the message ...
+# -------------------------------------------------------
+
+cat -
+
+# Now process the non-encrypted attachments ...
+# -----------------------------------------
+
+if [ "$FILES" ]
+then
+ for F in $FILES
+ do
+
+ BASE=`basename $F`
+
+ echo --DMW.Boundary.605592468
+ echo Content-Type: application/octet-stream\; name=\"$BASE\"
+ echo Content-Disposition: attachment\; filename=\"$BASE\"
+ echo Content-Transfer-Encoding: 7bit
+ echo
+
+ cat $F
+
+ done
+fi
+
+# Now process the base64 encrypted attachments ...
+# --------------------------------------------
+
+if [ "$BASE64" ]
+then
+ for F in $BASE64
+ do
+
+ BASE=`basename $F`
+
+ echo --DMW.Boundary.605592468
+ echo Content-Type: application/octet-stream\; name=\"$BASE\"
+ echo Content-Disposition: attachment\; filename=\"$BASE\"
+ echo Content-Transfer-Encoding: base64
+ echo
+
+ perl -e '
+ use MIME::Base64 qw(encode_base64);
+ local($/) = undef;
+ print encode_base64(<STDIN>);' < $F
+
+ done
+fi
+
+# Now process the uuencode encrypted attachments ...
+# ----------------------------------------------
+
+# Sorry, this bit is untested - I haven't got a mail-client which can
+# handle uuencoded MIME messages automatically, so can't test if the
+# 'Content-Transfer-Encoding: uuencode' line is correct and whether I
+# need the uuencode "begin" and "end" lines.
+
+if [ "$UUE" ]
+then
+ for F in $UUE
+ do
+
+ BASE=`basename $F`
+
+ echo --DMW.Boundary.605592468
+ echo Content-Type: application/octet-stream\; name=\"$BASE\"
+ echo Content-Disposition: attachment\; filename=\"$BASE\"
+ echo Content-Transfer-Encoding: uuencode
+ echo
+
+ uuencode < $F xxx
+
+ done
+fi
+
+# append the final boundary line ...
+
+echo --DMW.Boundary.605592468--
+
+) | /usr/sbin/sendmail -t -r ${FROM}
+#> test.txt
--- /dev/null
+#!/bin/sh
+
+DEVICE=${1}
+MOUNT_POINT=${2}
+
+dvdfs -o device=${DEVICE} ${MOUNT_POINT}
+
+exit $?
fpkg_sf ${GRIP}
fpkg_sf ${CDRDAO}
-fpkg_hv ${SWEEP}
fpkg_sf ${EASYTAG}
fpkg ${LILYPOND} "http://lilypond.org/download/sources/v$(get_pkg_ver_base ${LILYPOND})"
make install
# Mount script
-install -v -m755 ${SCRDIR}/resources/mount.fusedvdfs /sbin
+install -v -m755 ${SCRDIR}/misc/mount.fusedvdfs /sbin
exit $?
make install
ldconfig
-install -m644 ${SCRDIR}/resources/emacs/emacsrc /etc/skel/.emacs
-install -m644 ${SCRDIR}/resources/emacs/emacsrc /root/.emacs
+install -m644 ${SCRDIR}/misc/emacs/emacsrc /etc/skel/.emacs
+install -m644 ${SCRDIR}/misc/emacs/emacsrc /root/.emacs
LOCAL_SITE_LIST=/usr/local/share/emacs/site-lisp
install -v -m644 -d ${LOCAL_SITE_LIST}
-install -m644 ${SCRDIR}/resources/emacs/buffer-cycle.el ${LOCAL_SITE_LIST}
+install -m644 ${SCRDIR}/misc/emacs/buffer-cycle.el ${LOCAL_SITE_LIST}
# Set Emacs as default editor
sed -i -e "s!^\(EDITOR=\).*!\1emacs!" /etc/profile
sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /usr/local/bin/mail-if-fail
chmod 755 /usr/local/bin/mail-if-fail
- cp ${SCRDIR}/resources/mail-files.sh /usr/local/bin
+ cp ${SCRDIR}/misc/mail-files.sh /usr/local/bin
chmod 755 /usr/local/bin/mail-files.sh
# Executing configure script.
+++ /dev/null
-;; buffer-cycle.el
-(defun filter (pred lst)
- (delq nil
- (mapcar (lambda (x)
- (and (funcall pred x) x)) lst)))
-
-(defun filter-regexp (pattern lst)
- (filter (lambda (str)
- (string-match pattern str)) lst))
-
-(defun cycle-buffer (&optional n)
- (let ((buffers (filter (lambda (buffer)
- (not (string-match "\*" (buffer-name buffer))))
- (buffer-list (selected-frame)))))
- (switch-to-buffer
- (if (< n 0)
- (nth (+ (length buffers) n)
- buffers)
- (bury-buffer)
- (nth n buffers)))))
-
-(defun cycle-buffer-next ()
- (interactive)
- (cycle-buffer -1))
-
-(defun cycle-buffer-prev ()
- (interactive)
- (cycle-buffer 1))
+++ /dev/null
-;; ~/.emacs
-
-;; Emacs initialization file.
-;; Font Lock mode, Auto Compression mode, File Name Shadow
-;; Mode, and mouse wheel support are enabled by default.
-
-;; Do not display a splash screen on startup
-(setq inhibit-splash-screen t)
-
-;; Emacs Load Path
-(setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path))
-
-;; Affichage du numéro de colonne
-(setq column-number-mode t)
-
-;; Always end a file with a newline
-(setq require-final-newline t)
-
-;; Stop at the end of the file, not just add lines
-(setq next-line-add-newlines nil)
-
-;; Replaces tabs in files with spaces
-(setq-default indent-tabs-mode nil)
-
-;; Makes the compilation buffer always scrolls to follow
-;; output as it comes in.
-(setq compilation-scroll-output t)
-
-;; Pour avoir les accents
-(set-keyboard-coding-system 'utf-8)
-
-;; Set up the keyboard so the delete key on both the regular keyboard
-;; and the keypad delete the character under the cursor and to the right
-;; under X, instead of the default, backspace behavior.
-(global-set-key [delete] 'delete-char)
-(global-set-key [kp-delete] 'delete-char)
-
-;; For an unknow reason, the CTRL+RIGHT and RIGHT keys seem
-;; to be inveerted...
-
-;; Map RIGHT and LEFT
-;;(global-set-key [(meta O) (D)] 'backward-char)
-;;(global-set-key [(meta O) (C)] 'forward-char)
-;; Map CTRL+RIGHT and CTRL+LEFT
-(global-set-key [C-right] 'forward-word)
-(global-set-key [C-left] 'backward-word)
-
-;; Map Home key to beginning-of-buffer
-(global-set-key "\e[1~" 'beginning-of-buffer)
-;; Map End key to end-of-buffer
-(global-set-key "\e[4~" 'end-of-buffer)
-
-;;===========================================================
-;; Key bindings for compiling programs
-;;===========================================================
-;; Must add helper function for the make also, otherwise
-;; the first definition caused both F3 and F4 to execute "make clean".
-(defun compile-make-clean ()
- (interactive) ;; can be called from kbd
- (compile "make clean"))
-
-(defun compile-make ()
- (interactive)
- (compile "make"))
-
-(defun checkpatch()
- (interactive)
- (compile (concat "checkpatch.pl --no-tree --emacs --strict --file " (buffer-file-name))))
-
-;; buffer-cycle.el
-;; F1: Switch to previous buffers
-(autoload 'cycle-buffer-prev "buffer-cycle" t)
-(global-set-key [f1] 'cycle-buffer-prev)
-;; F2: Switch to next buffers
-(autoload 'cycle-buffer-next "buffer-cycle" t)
-(global-set-key [f2] 'cycle-buffer-next)
-
-;; F4: make clean
-(global-set-key [f4] 'compile-make-clean)
-
-;; F5: make
-(global-set-key [f5] 'compile-make)
-
-;; F6: go to next error
-(global-set-key [f6] 'next-error)
-
-;; F7: comment region
-(global-set-key [f7] 'comment-region)
-
-;; F8: code indentation
-(global-set-key [f8] 'indent-region)
-
-;; F9: run checkpatch.pl
-(global-set-key [f9] 'checkpatch)
-
-;;==================================================
-;; Modes
-;;==================================================
-
-(defun linux-c-mode ()
- "C mode with adjusted defaults for use with the Linux kernel."
- (interactive)
- (c-mode)
- (c-set-style "K&R")
- ;; Replaces tabs in files with spaces
- (setq indent-tabs-mode t)
- (setq c-basic-offset 8))
-
-(defun csv-mode ()
- "CSV mode."
- (interactive)
- (setq indent-tabs-mode t)
-)
-
-;; Default for .h and .d files -> linux mode.
-(add-to-list 'auto-mode-alist '("\.[ch]$" . linux-c-mode))
-
-;; Verilog mode
-(autoload 'verilog-mode "verilog-mode" "Verilog mode" t)
-(add-to-list 'auto-mode-alist '("\\.v\\'" . verilog-mode))
-
-;; PHP mode
-(autoload 'php-mode "php-mode" "PHP mode" t)
-(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
-
-;; ChordPro mode
-(autoload 'chordpro-mode "chordpro-mode" "Chordpro mode" t)
-(add-to-list 'auto-mode-alist '("\\.cp\\'" . chordpro-mode))
-(add-to-list 'auto-mode-alist '("\\.chopro\\'" . chordpro-mode))
-
-;; Lilypond mode
-(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
-(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
-(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
-
-;; CSV mode
-(add-to-list 'auto-mode-alist '("\\.csv$" . csv-mode))
-
-;; Mutt mode
-(autoload 'muttrc-mode "muttrc-mode" "Major mode to edit muttrc files" t)
-(add-to-list 'auto-mode-alist '("muttrc\\'" . muttrc-mode))
-
-;; When an Emacs init file gets large or has a lot of function definitions, you
-;; should consider compiling it: it will load faster when Emacs starts, and its
-;; functions will execute faster.
-;; Here is a way to automatically compile your InitFile each time you save it:
-(defun byte-compile-user-init-file ()
- (let ((byte-compile-warnings '(unresolved)))
- ;; in case compilation fails, don't leave the old .elc around:
- (when (file-exists-p (concat user-init-file ".elc"))
- (delete-file (concat user-init-file ".elc")))
- (byte-compile-file user-init-file)
- ;; (message "%s compiled" user-init-file)
- ))
-(defun my-emacs-lisp-mode-hook ()
- (when (equal buffer-file-name user-init-file)
- (add-hook 'after-save-hook 'byte-compile-user-init-file t t)))
-(add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-hook)
-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(column-number-mode t)
- '(current-language-environment "UTF-8"))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(default ((t (:background "black" :foreground "white" :bold t))))
- '(font-lock-comment-face ((t (:foreground "red" :bold t))))
- '(font-lock-constant-face ((t (:foreground "magenta" :bold t))))
- '(font-lock-function-name-face ((t (:foreground "blue" :bold t))))
- '(font-lock-keyword-face ((t (:foreground "cyan" :bold t))))
- '(font-lock-string-face ((t (:foreground "green" :bold t))))
- '(font-lock-type-face ((t (:foreground "red" :bold t))))
- '(font-lock-variable-name-face ((t (:foreground "yellow" :bold t))))
- '(font-lock-warning-face ((t (:foreground "magenta" :bold t)))))
+++ /dev/null
-#!/bin/sh
-
-# script to email files as attachments.
-# ------------------------------------
-
-# Additional documentation for this script, including a brief introdcution
-# to MIME can be found at: http://home.clara.net/dwotton/unix/mail_files.htm
-
-# Written: Dave Wotton, July 1998, (Cambridge UK)
-# This script comes with no warranty or support. You are
-# free to modify it as you wish, but please retain an
-# acknowledgement of my original authorship.
-
-# Amended: Dave Wotton, 6/3/99
-# -t flag now optional. subject also optional
-#
-# Amended: Dave Wotton, 3/8/00
-# added -b and -u options. By default a file-list which is not
-# preceded by a -n, -b, or -u flag is now NOT encoded (the previous
-# default was to base64 encode it.).
-#
-# Amended: Dave Wotton, 10/10/00
-# added a -c (cc:) option.
-# Added a tty -s test to prevent the prompt to enter the text body
-# being displayed when not connected to a tty. (The text body is
-# still required though. /dev/null will suffice.)
-#
-# Amended: Dave Wotton, 24/2/01
-# Now uses perl to perform the base64 encoding, as it comes as
-# standard on most modern Unixes. (You need the perl MIME package
-# though, which I believe is standard. )
-
-# Amended: Dave Wotton, 22/09/01
-# Now creates a "To:" header and uses the sendmail -t flag to
-# duplicate this as the envelope recipients, rather than using the
-# user supplied list of addresses simply as envelope recipients.
-# This confused some mail clients, specifically Lotus Notes.
-
-# Amended: Dave Wotton, 30/09/01
-# Now initialises the main variables, so that previously set
-# environment variable values (eg. $CC) aren't used instead.
-# Enable multiple occurrences of the -t and -c flags. Thanks to
-# Jason Judge for these suggestions.
-
-
-# Usage: mail_files [-t] mailid [ -c mailid ] [ -s subject ] [ -f mailid ]
-# [-n file_list] [-u file_list] [-b file_list] file_list
-#
-# -f : The mailid of the sender ( defaults to your userid )
-# Only userids that have been defined as "trusted" in the sendmail
-# config file can make use of the -f option. For non-trusted users
-# any value specified by this parameter will be ignored by
-# sendmail.
-# -t : The mailid of the recipient. Mandatory, no default
-# multiple mailids can be specified, separated by commas.
-# -c : The mailid of any carbon-copy recipients. Optional.
-# multiple mailids can be specified, separated by commas.
-# -s : The subject string. Optional, default = "Not specified".
-# Enclose in quotes.
-# -n : no-encode: indicates a list of files which are NOT to be base64
-# or uuencode encoded. Multiple files may be enclosed in double
-# quotes. Usual wildcard notation can be used. This option is
-# for completeness and can be omitted because the default action
-# is not to encode the file-list.
-# -b : base64 encoding: indicates a list of files which are to be
-# base64 encoded. Multiple files may be enclosed in double quotes.
-# Usual wildcard notation can be used.
-# -u : uuencode encoding: indicates a list of files which are to be
-# uuencode encoded. Multiple files may be enclosed in double
-# quotes. Usual wildcard notation can be used.
-# file_list : The list of files to send as attachments with no-encoding
-# (same as -n option, but the file list does not need to be
-# enclosed in quotes if more than one file specified).
-# Usual wildcard notation can be used.
-
-# The program will also prompt for text to be supplied on standard input
-# as the main text of the message.
-
-# eg.
-# 1) mail_files Dave.Wotton -b file9.gif t*.htm < /dev/null
-#
-# email file9.gif as a base64 encoded attachment and the t*.htm
-# files unencoded.
-#
-# 2) mail_files Dave.Wotton -s "my test" -b "file1.gif file2.gif" \
-# < /dev/null
-#
-# email file1.gif and file2.gif as base64 encoded attachments.
-
-# The script makes use of perl's MIME package to perform the base-64
-# encoding/decoding.
-
-# Note that files destined for Windows environments should have a name of
-# the form aaaa.bbb where aaaa is up to 8 characters long, and bbb is a
-# 3 character sufix. The suffix determines which program is used to
-# display/process the data at the remote end.
-
-# Simple text files can be emailed unencoded. Binary files, or text files
-# with long lines ( ie > 1000 chars ) should use the base64 or uuencode
-# encoding procedures. Base64 is preferred because it is more universally
-# supported. In particular, most PC mail-clients can automatically decode
-# base64 encoded attachments. Note that simple text files with short lines
-# which are destined for PC environments should not be base64 encoded.
-# This is because PCs use a different line-break character to Unix.
-# If the text is base64 encoded, the line-breaks are not converted
-# automatically and so the data arrives at the remote end without
-# line-breaks.
-
-# set up a 'usage' routine
-# ------------------------
-
-usage()
-{
- [ "$1" ] && ( echo $* ; echo "" )
-
- cat <<!
- Usage: mail_files [-t] mailid [ -c mailid ] [ -s subject ] [ -f mailid ]
- [-n file_list] [-u file_list] [-b file_list] file_list
-!
- exit 4
-}
-
-# Initialise main variables ...
-# -------------------------
-
-FROM=$LOGNAME
-SUBJ=${SUBJ:-"Not specified"}
-
-TO="" ; CC="" ; SUBJ="" ; NOENC="" ; BASE64="" ; UUE=""
-
-# First parse the command line options. Using getopts means the parameters
-# can be supplied in any order. But first we handle the first parameter,
-# which may be a recipient, without a -t flag...
-
-case "$1" in
- -* ) : ;; # ignore it, let getopts handle flags
- * ) TO=$1 ; shift ;;
-esac
-
-while getopts f:s:t:c:n:b:u: OPT
-do
- case $OPT in
- "f" ) FROM=$OPTARG ;;
- "t" ) TO="$TO,$OPTARG" ;;
- "c" ) CC="$CC,$OPTARG" ;;
- "s" ) SUBJ=$OPTARG ;;
- "n" ) NOENC="$NOENC $OPTARG" ;;
- "b" ) BASE64="$BASE64 $OPTARG" ;;
- "u" ) UUE="$UUE $OPTARG" ;;
- * ) usage ;;
- esac
-done
-
-shift `expr $OPTIND - 1`
-
-if [ "$TO" = "" ]
-then
- usage "An addressee must be specified"
-fi
-
-# All remaining parameters are files not requiring encoding ...
-# ---------------------------------------------------------
-
-# Build up $FILES as the list of non-encoded files. Use sed to remove
-# any leading space from the variable.
-
-FILES=`echo $NOENC $*|sed 's/^ //'`
-
-if [ "$BASE64" = "" -a "$FILES" = "" -a "$UUE" = "" ]
-then
- usage "At least one file must be specified"
-fi
-
-# Remove leading commas from TO, CC ...
-# ---------------------------------
-
-TO=`echo $TO | sed 's/^,//'`
-CC=`echo $CC | sed 's/^,//'`
-
-# Validate that the files exist ...
-# -----------------------------
-
-for F in $FILES $BASE64 $UUE
-do
- if [ ! -r $F ]
- then
- echo "Error: File $F does not exist / is not readable."
- echo "Exiting. ( Mail not sent )."
- exit
- fi
-done
-
-tty -s && echo "Enter text of main message ( finish with CTRL-D ) ..."
-
-# Now do the work ...
-# ---------------
-
-# The generated mail message is output onto standard out, which is then
-# piped in to sendmail.
-
-(
-cat <<!
-From: $FROM
-Subject: $SUBJ
-To: $TO
-!
-
-[ "$CC" ] && echo "Cc: $CC"
-
-cat <<!
-Mime-Version: 1.0
-Content-Type: multipart/mixed; boundary="DMW.Boundary.605592468"
-
-This is a Mime message, which your mail program may not understand. Parts
-of the message will appear as text. If the remainder appears as random
-characters in the message body, instead of as attachments, then you'll
-have to extract these parts and decode them manually.
-
---DMW.Boundary.605592468
-Content-Type: text/plain; name="message.txt"; charset=US-ASCII
-Content-Disposition: inline; filename="message.txt"
-Content-Transfer-Encoding: 7bit
-
-!
-
-# Read the standard input as the main text of the message ...
-# -------------------------------------------------------
-
-cat -
-
-# Now process the non-encrypted attachments ...
-# -----------------------------------------
-
-if [ "$FILES" ]
-then
- for F in $FILES
- do
-
- BASE=`basename $F`
-
- echo --DMW.Boundary.605592468
- echo Content-Type: application/octet-stream\; name=\"$BASE\"
- echo Content-Disposition: attachment\; filename=\"$BASE\"
- echo Content-Transfer-Encoding: 7bit
- echo
-
- cat $F
-
- done
-fi
-
-# Now process the base64 encrypted attachments ...
-# --------------------------------------------
-
-if [ "$BASE64" ]
-then
- for F in $BASE64
- do
-
- BASE=`basename $F`
-
- echo --DMW.Boundary.605592468
- echo Content-Type: application/octet-stream\; name=\"$BASE\"
- echo Content-Disposition: attachment\; filename=\"$BASE\"
- echo Content-Transfer-Encoding: base64
- echo
-
- perl -e '
- use MIME::Base64 qw(encode_base64);
- local($/) = undef;
- print encode_base64(<STDIN>);' < $F
-
- done
-fi
-
-# Now process the uuencode encrypted attachments ...
-# ----------------------------------------------
-
-# Sorry, this bit is untested - I haven't got a mail-client which can
-# handle uuencoded MIME messages automatically, so can't test if the
-# 'Content-Transfer-Encoding: uuencode' line is correct and whether I
-# need the uuencode "begin" and "end" lines.
-
-if [ "$UUE" ]
-then
- for F in $UUE
- do
-
- BASE=`basename $F`
-
- echo --DMW.Boundary.605592468
- echo Content-Type: application/octet-stream\; name=\"$BASE\"
- echo Content-Disposition: attachment\; filename=\"$BASE\"
- echo Content-Transfer-Encoding: uuencode
- echo
-
- uuencode < $F xxx
-
- done
-fi
-
-# append the final boundary line ...
-
-echo --DMW.Boundary.605592468--
-
-) | /usr/sbin/sendmail -t -r ${FROM}
-#> test.txt
+++ /dev/null
-#!/bin/sh
-
-DEVICE=${1}
-MOUNT_POINT=${2}
-
-dvdfs -o device=${DEVICE} ${MOUNT_POINT}
-
-exit $?
--- /dev/null
+#!/bin/bash
+
+export LFS_STAGE=stage3
--- /dev/null
+stage6: Installing Gnome
+
+Installation
+------------
+
+1. Type:
+ $> sudo make
--- /dev/null
+# Makefile for hvlinux
+
+# Idées pour future targets:
+# clean
+# strip
+# compress -> compressdoc (à partir du stage2)
+# dep
+# list -> list installed packages and versions
+
+.PHONY: get test
+
+all:
+ @./hv-install-1
+
+# Fetch packages from network
+get:
+ @./packages-update
+
+# Test integrity of packages
+test:
+ @./packages-update test
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-# In order to build the documentation using GTK-Doc, to fix a build problem.
-cd ${LFS_TMP}/${1} &&
-mv docs/gal-decl.txt docs/gal-2.4-decl.txt &&
-mv docs/gal-sections.txt docs/gal-2.4-sections.txt &&
-sed -i -e "s/gal-decl/gal-2.4-decl/" \
- -e "s/gal-sections/gal-2.4-sections/" docs/Makefile.in &&
-
-cd ${LFS_TMP}/${1}-build &&
-../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info \
- --sysconfdir=/etc/gnome/${GNOME2_VER} &&
-make &&
-make install &&
-ldconfig
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-hv_groupadd -g 21 gdm &&
-hv_useradd -c "GDM_Daemon_Owner" -d /dev/null -g gdm -s /bin/bash -u 21 gdm &&
-
-CFLAGS="${CFLAGS} -ldl"
-cd ${LFS_TMP}/${1}-build &&
-../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info \
- --with-pam-prefix=/etc \
- --sysconfdir=/etc/gnome/${GNOME2_VER} &&
-make &&
-make install &&
-install -v -m755 -d /var/log/gdm &&
-
-# Changing the directory containing the GDM log files to the /var/log hierarchy.
-sed -i.orig "/\[daemon\]/ a LogDir=/var/log/gdm" \
- /etc/gnome/${GNOME2_VER}/gdm/custom.conf &&
-rmdir -v /var/lib/log/gdm &&
-rmdir -v /var/lib/log &&
-
-cat > /etc/pam.d/gdm << "EOF" &&
-auth required pam_unix.so
-auth required pam_nologin.so
-account required pam_unix.so
-password required pam_unix.so
-session required pam_unix.so
-EOF
-
-cat > /etc/pam.d/gdm-autologin << "EOF" &&
-auth required pam_env.so
-auth required pam_nologin.so
-auth required pam_permit.so
-account required pam_unix.so
-password required pam_unix.so
-session required pam_unix.so
-EOF
-
-ldconfig
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-cd ${LFS_TMP}/${1}-build &&
-../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --infodir=${GNOME2_PREFIX}/share/info \
- --localstatedir=/var/lib \
- --sysconfdir=/etc/gnome/${GNOME2_VER} &&
-make &&
-make install &&
-make -C man install-man &&
-ldconfig
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-cd ${LFS_TMP}/${1} &&
-make prefix=${GNOME2_PREFIX} install
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# First argument of this script is the package name
-
-./cis-gnome ${1} &&
-gst-register
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-cd ${LFS_TMP}/${1} &&
-./configure \
- --prefix=/usr \
- --localstatedir=/var/lib \
- --sysconfdir=/etc/gnome/${GNOME2_VER} &&
-make &&
-make install &&
-
-ln -svf /usr/share/gnome/help/gnumeric \
- /usr/share/gnumeric/$(get_pkg_ver ${1})/doc &&
-
-if [ $(pkg-config --variable=prefix ORBit-2.0) != "/usr" ]; then
- mv -v /usr/lib/bonobo/servers/GNOME_Gnumeric.server \
- $(pkg-config --variable=prefix ORBit-2.0)/lib/bonobo/servers &&
- rmdir -v /usr/lib/{bonobo/servers,bonobo}
-fi &&
-
-ldconfig
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-cd ${LFS_TMP}/${1}-build &&
-../${1}/configure \
- --prefix=/usr \
- --sysconfdir=/etc &&
-make &&
-make install &&
-cd ${LFS_TMP}/${1} &&
-install -v -m644 -D docs/mb_howto.txt /usr/share/doc/${1}/mb_howto.txt &&
-ldconfig
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-cd ${LFS_TMP}/${1}-build &&
-../${1}/configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/metacity \
- --with-gconf-schema-file-dir=/etc/gnome/${GNOME2_VER}/gconf/schemas \
- --sysconfdir=/etc &&
-make &&
-make install &&
-cd ${LFS_TMP}/${1} &&
-install -v -m755 -d /usr/share/doc/${1} &&
-install -v -m644 README rationales.txt doc/*.txt /usr/share/doc/${1} &&
-ldconfig
-
-# Return last error
-exit $?
+++ /dev/null
-#!/bin/sh
-# 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} &&
-
-cd ${LFS_TMP}/${1}-build &&
-../${1}/configure \
- --prefix=${GNOME2_PREFIX} \
- --libexecdir=${GNOME2_PREFIX}/sbin \
- --localstatedir=/var/lib \
- --infodir=${GNOME2_PREFIX}/share/info \
- --sysconfdir=/etc/gnome/${GNOME2_VER} &&
-make &&
-make install &&
-install -v -m755 -d ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
-install -v -m644 ${LFS_TMP}/${1}/docs/*.{txt,dia,pdf,sxw,faq,html} \
- ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
-ldconfig
-
-# Return last error
-exit $?
--- /dev/null
+#!/bin/bash
+
+# Reading system configuration informations, functions and package versions.
+source ../config/sysinfos
+source ../functions
+hvtrap_setup
+source ../config/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
+
+# GNOME-2.X configuration
+#action_checkbox "Configuring ${GNOME2_VER}" ./cis-gnome-config
+#action_checkbox "Reloading /etc/profile" source /etc/profile
+
+# Gnome 2 core packages
+##ipkg_gnome ${ORBIT2}
+ipkg_gnome ${LIBBONOBO}
+###ipkg ${GCONF} cis-gconf
+ipkg_gnome ${GNOME_MIME_DATA}
+####ipkg ${GNOME_VFS} cis-gnome-nb
+####ipkg_gnome ${GNOME_VFS_MONIKERS}
+ipkg_gnome ${LIBGNOME}
+ipkg_gnome ${LIBGNOMECANVAS}
+ipkg_gnome ${LIBBONOBOUI}
+ipkg ${GNOME_ICON_THEME}
+##ipkg_gnome ${GNOME_KEYRING}
+ipkg_gnome ${LIBGNOMEUI}
+ipkg ${GNOME_THEMES}
+ipkg -m acnb ${SCROLLKEEPER} "--localstatedir=/var --disable-static --with-omfdirs=/usr/share/omf:/opt/${GNOME2_VER}/share/omf"
+ipkg_gnome ${GNOME_DOC_UTILS}
+ipkg_gnome ${GNOME_DESKTOP}
+ipkg_gnome ${GNOME_BACKGROUNDS}
+ipkg_gnome ${GNOME_MENUS}
+ipkg_gnome ${GNOME_PANEL}
+ipkg ${GSTREAMER}
+ipkg ${GST_PLUGINS_BASE}
+ipkg ${GST_PLUGINS_GOOD}
+ipkg ${GST_PLUGINS_BAD}
+ipkg ${GST_PLUGINS_UGLY}
+ipkg ${GST_FFMPEG}
+ipkg ${VTE} "--libexecdir=/usr/sbin --disable-gtk-doc"
+ipkg_gnome ${GNOME_TERMINAL}
+ipkg_gnome ${LIBGTOP}
+ipkg_gnome ${LIBGNOMEKBD}
+ipkg_gnome ${LIBGAIL_GNOME}
+ipkg ${GNOME_APPLETS}
+ipkg_gnome ${EEL}
+ipkg_gnome ${NAUTILUS}
+ipkg_gnome ${YELP}
+ipkg ${METACITY}
+
+ipkg_gnome ${GNOME_CONTROL_CENTER}
+ipkg_gnome ${GNOME_SESSION}
+ipkg_gnome ${GNOME_USER_DOCS}
+action_checkbox "Updating the MIME-type application database" update-desktop-database
+
+# Gnome 2 additional packages - Libraries
+####ipkg_gnome ${LIBGNOMECUPS}
+####ipkg_gnome ${LIBGNOMEPRINT}
+####ipkg_gnome ${LIBGNOMEPRINTUI}
+ipkg_gnome ${GTKHTML}
+ipkg_gnome ${EVOLUTION_DATA_SERVER} "--with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr --with-openldap=yes --with-krb5=/usr"
+ipkg_gnome ${GTKSOURCEVIEW}
+ipkg -m gnomenb ${SYSTEM_TOOLS_BACKENDS}
+ipkg ${GNOME_AUDIO}
+
+# Gnome 2 additional packages - Utilities
+ipkg_gnome ${GEDIT} "--disable-spell"
+ipkg_gnome ${EOG}
+
+ipkg ${LIBSPECTRE}
+ipkg_gnome ${EVINCE}
+ipkg_gnome ${FILE_ROLLER}
+ipkg_gnome ${GCONF_EDITOR}
+ipkg_gnome ${GNOME_UTILS}
+ipkg_gnome ${GNOME_SYSTEM_MONITOR}
+ipkg_gnome ${NAUTILUS_CD_BURNER}
+ipkg_gnome ${GNOME_MEDIA}
+ipkg_gnome ${GNOME_NETSTATUS}
+ipkg -m gnomenb ${GCALCTOOL}
+ipkg_gnome ${GUCHARMAP}
+ipkg_gnome ${ZENITY}
+ipkg_gnome ${GNOME_KEYRING_MANAGER}
+
+# Needs hal, which needs D-BUS...
+ipkg_gnome ${GNOME_VOLUME_MANAGER}
+
+ipkg ${LIBMUSICBRAINZ}
+ipkg_gnome ${GNOME_SOUND_JUICER}
+ipkg_gnome ${GNOME_TOTEM}
+ipkg ${GDM}
+ipkg ${LIBNOTIFY}
+ipkg -m gnomenb ${GNOME_MOUNT}
+
+ipkg ${RHYTHMBOX} "--disable-python"
+
+ipkg ${LIBGSF}
+ipkg -m acnb ${GOFFICE}
+ipkg ${GNUMERIC}
+ipkg ${WV}
+ipkg ${ABIWORD} "--disable-spellcheck"
+ipkg_gnome ${EVOLUTION} "--with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr --with-openldap=yes --with-krb5=/usr"
+ipkg_gnome ${EVOLUTION_EXCHANGE}
+
+exit $?
--- /dev/null
+#!/bin/bash
+
+# Setting default configure options for all scripts
+CONFIGURE_OPTS="\
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ ${CONFIGURE_OPTS}"
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+# In order to build the documentation using GTK-Doc, to fix a build problem.
+cd ${LFS_TMP}/${1} &&
+mv docs/gal-decl.txt docs/gal-2.4-decl.txt &&
+mv docs/gal-sections.txt docs/gal-2.4-sections.txt &&
+sed -i -e "s/gal-decl/gal-2.4-decl/" \
+ -e "s/gal-sections/gal-2.4-sections/" docs/Makefile.in &&
+
+cd ${LFS_TMP}/${1}-build &&
+../${1}/configure \
+ --prefix=${GNOME2_PREFIX} \
+ --libexecdir=${GNOME2_PREFIX}/sbin \
+ --localstatedir=/var/lib \
+ --infodir=${GNOME2_PREFIX}/share/info \
+ --sysconfdir=/etc/gnome/${GNOME2_VER} &&
+make &&
+make install &&
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+hv_groupadd -g 21 gdm &&
+hv_useradd -c "GDM_Daemon_Owner" -d /dev/null -g gdm -s /bin/bash -u 21 gdm &&
+
+CFLAGS="${CFLAGS} -ldl"
+cd ${LFS_TMP}/${1}-build &&
+../${1}/configure \
+ --prefix=${GNOME2_PREFIX} \
+ --libexecdir=${GNOME2_PREFIX}/sbin \
+ --localstatedir=/var/lib \
+ --infodir=${GNOME2_PREFIX}/share/info \
+ --with-pam-prefix=/etc \
+ --sysconfdir=/etc/gnome/${GNOME2_VER} &&
+make &&
+make install &&
+install -v -m755 -d /var/log/gdm &&
+
+# Changing the directory containing the GDM log files to the /var/log hierarchy.
+sed -i.orig "/\[daemon\]/ a LogDir=/var/log/gdm" \
+ /etc/gnome/${GNOME2_VER}/gdm/custom.conf &&
+rmdir -v /var/lib/log/gdm &&
+rmdir -v /var/lib/log &&
+
+cat > /etc/pam.d/gdm << "EOF" &&
+auth required pam_unix.so
+auth required pam_nologin.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
+EOF
+
+cat > /etc/pam.d/gdm-autologin << "EOF" &&
+auth required pam_env.so
+auth required pam_nologin.so
+auth required pam_permit.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
+EOF
+
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+cd ${LFS_TMP}/${1}-build &&
+../${1}/configure \
+ --prefix=${GNOME2_PREFIX} \
+ --libexecdir=${GNOME2_PREFIX}/sbin \
+ --infodir=${GNOME2_PREFIX}/share/info \
+ --localstatedir=/var/lib \
+ --sysconfdir=/etc/gnome/${GNOME2_VER} &&
+make &&
+make install &&
+make -C man install-man &&
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+cd ${LFS_TMP}/${1} &&
+make prefix=${GNOME2_PREFIX} install
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# First argument of this script is the package name
+
+./cis-gnome ${1} &&
+gst-register
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+cd ${LFS_TMP}/${1} &&
+./configure \
+ --prefix=/usr \
+ --localstatedir=/var/lib \
+ --sysconfdir=/etc/gnome/${GNOME2_VER} &&
+make &&
+make install &&
+
+ln -svf /usr/share/gnome/help/gnumeric \
+ /usr/share/gnumeric/$(get_pkg_ver ${1})/doc &&
+
+if [ $(pkg-config --variable=prefix ORBit-2.0) != "/usr" ]; then
+ mv -v /usr/lib/bonobo/servers/GNOME_Gnumeric.server \
+ $(pkg-config --variable=prefix ORBit-2.0)/lib/bonobo/servers &&
+ rmdir -v /usr/lib/{bonobo/servers,bonobo}
+fi &&
+
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+cd ${LFS_TMP}/${1}-build &&
+../${1}/configure \
+ --prefix=/usr \
+ --sysconfdir=/etc &&
+make &&
+make install &&
+cd ${LFS_TMP}/${1} &&
+install -v -m644 -D docs/mb_howto.txt /usr/share/doc/${1}/mb_howto.txt &&
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+cd ${LFS_TMP}/${1}-build &&
+../${1}/configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/metacity \
+ --with-gconf-schema-file-dir=/etc/gnome/${GNOME2_VER}/gconf/schemas \
+ --sysconfdir=/etc &&
+make &&
+make install &&
+cd ${LFS_TMP}/${1} &&
+install -v -m755 -d /usr/share/doc/${1} &&
+install -v -m644 README rationales.txt doc/*.txt /usr/share/doc/${1} &&
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/sh
+# 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} &&
+
+cd ${LFS_TMP}/${1}-build &&
+../${1}/configure \
+ --prefix=${GNOME2_PREFIX} \
+ --libexecdir=${GNOME2_PREFIX}/sbin \
+ --localstatedir=/var/lib \
+ --infodir=${GNOME2_PREFIX}/share/info \
+ --sysconfdir=/etc/gnome/${GNOME2_VER} &&
+make &&
+make install &&
+install -v -m755 -d ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
+install -v -m644 ${LFS_TMP}/${1}/docs/*.{txt,dia,pdf,sxw,faq,html} \
+ ${GNOME2_PREFIX}/share/doc/${NAUTILUS} &&
+ldconfig
+
+# Return last error
+exit $?
--- /dev/null
+#!/bin/bash
+
+export LFS_STAGE=stage6
+++ /dev/null
-#!/bin/sh
-
-export LFS_PKG_DIR="$(dirname $(pwd))/packages/stage4"
-export LFS_LOG_DIR=/var/log/hvlinux-install/stage4
-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
-
-ipkg_gnome ${LIBGNOMECUPS}
-ipkg_gnome ${EVINCE}
-
-exit $?
+++ /dev/null
-#!/bin/sh
-
-export LFS_PKG_DIR="$(dirname $(pwd))/packages/stage4"
-export LFS_LOG_DIR=/var/log/hvlinux-install/stage4
-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
-
-# GNOME-2.X configuration
-#action_checkbox "Configuring ${GNOME2_VER}" ./cis-gnome-config
-#action_checkbox "Reloading /etc/profile" source /etc/profile
-
-# Gnome 2 core packages
-##ipkg_gnome ${ORBIT2}
-ipkg_gnome ${LIBBONOBO}
-###ipkg_cust ${GCONF} cis-gconf
-ipkg_gnome ${GNOME_MIME_DATA}
-####ipkg_cust ${GNOME_VFS} cis-gnome-nb
-####ipkg_gnome ${GNOME_VFS_MONIKERS}
-ipkg_gnome ${LIBGNOME}
-ipkg_gnome ${LIBGNOMECANVAS}
-ipkg_gnome ${LIBBONOBOUI}
-ipkg_ac ${GNOME_ICON_THEME}
-##ipkg_gnome ${GNOME_KEYRING}
-ipkg_gnome ${LIBGNOMEUI}
-ipkg_ac ${GNOME_THEMES}
-ipkg_ac_nb ${SCROLLKEEPER} "--localstatedir=/var --disable-static --with-omfdirs=/usr/share/omf:/opt/${GNOME2_VER}/share/omf"
-ipkg_gnome ${GNOME_DOC_UTILS}
-ipkg_gnome ${GNOME_DESKTOP}
-ipkg_gnome ${GNOME_BACKGROUNDS}
-ipkg_gnome ${GNOME_MENUS}
-ipkg_gnome ${GNOME_PANEL}
-ipkg_ac ${GSTREAMER}
-ipkg_ac ${GST_PLUGINS_BASE}
-ipkg_ac ${GST_PLUGINS_GOOD}
-ipkg_ac ${GST_PLUGINS_BAD}
-ipkg_ac ${GST_PLUGINS_UGLY}
-ipkg_ac ${GST_FFMPEG}
-ipkg_ac ${VTE} "--libexecdir=/usr/sbin --disable-gtk-doc"
-ipkg_gnome ${GNOME_TERMINAL}
-ipkg_gnome ${LIBGTOP}
-ipkg_gnome ${LIBGNOMEKBD}
-ipkg_gnome ${LIBGAIL_GNOME}
-ipkg_cust ${GNOME_APPLETS} cis-gnome-applets
-ipkg_gnome ${EEL}
-ipkg_gnome ${NAUTILUS}
-ipkg_gnome ${YELP}
-ipkg_cust ${METACITY} cis-metacity
-
-ipkg_gnome ${GNOME_CONTROL_CENTER}
-ipkg_gnome ${GNOME_SESSION}
-ipkg_gnome ${GNOME_USER_DOCS}
-action_checkbox "Updating the MIME-type application database" update-desktop-database
-
-# Gnome 2 additional packages - Libraries
-####ipkg_gnome ${LIBGNOMECUPS}
-####ipkg_gnome ${LIBGNOMEPRINT}
-####ipkg_gnome ${LIBGNOMEPRINTUI}
-ipkg_gnome ${GTKHTML}
-ipkg_gnome ${EVOLUTION_DATA_SERVER} "--with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr --with-openldap=yes --with-krb5=/usr"
-ipkg_gnome ${GTKSOURCEVIEW}
-ipkg_cust ${SYSTEM_TOOLS_BACKENDS} cis-gnome-nobuild
-ipkg_cust ${GNOME_AUDIO} cis-gnome-audio
-
-# Gnome 2 additional packages - Utilities
-ipkg_gnome ${GEDIT} "--disable-spell"
-ipkg_gnome ${EOG}
-
-ipkg_ac ${LIBSPECTRE}
-ipkg_gnome ${EVINCE}
-ipkg_gnome ${FILE_ROLLER}
-ipkg_gnome ${GCONF_EDITOR}
-ipkg_gnome ${GNOME_UTILS}
-ipkg_gnome ${GNOME_SYSTEM_MONITOR}
-ipkg_gnome ${NAUTILUS_CD_BURNER}
-ipkg_gnome ${GNOME_MEDIA}
-ipkg_gnome ${GNOME_NETSTATUS}
-ipkg_cust ${GCALCTOOL} cis-gnome-nobuild
-ipkg_gnome ${GUCHARMAP}
-ipkg_gnome ${ZENITY}
-ipkg_gnome ${GNOME_KEYRING_MANAGER}
-
-# Needs hal, which needs D-BUS...
-ipkg_gnome ${GNOME_VOLUME_MANAGER}
-
-ipkg_cust ${LIBMUSICBRAINZ} cis-libmusicbrainz
-ipkg_gnome ${GNOME_SOUND_JUICER}
-ipkg_gnome ${GNOME_TOTEM}
-ipkg_cust ${GDM} cis-gdm
-ipkg_ac ${LIBNOTIFY}
-ipkg_cust ${GNOME_MOUNT} cis-gnome-nobuild
-
-ipkg_ac ${RHYTHMBOX} "--disable-python"
-
-ipkg_ac ${LIBGSF}
-ipkg_ac_nb ${GOFFICE}
-ipkg_cust ${GNUMERIC} cis-gnumeric
-ipkg_ac ${WV}
-ipkg_ac ${ABIWORD} "--disable-spellcheck"
-ipkg_gnome ${EVOLUTION} "--with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr --with-openldap=yes --with-krb5=/usr"
-ipkg_gnome ${EVOLUTION_EXCHANGE}
-
-exit $?