+*) 2005-08-17
+
+- added cairo, libpixman package and all-stable target
+- updates and fixes to many packages
+
*) 2005-08-15
- added gaim package
+- removed nvidia package
*) 2005-08-12
#
# PCCARD (PCMCIA/CardBus) support
#
-# CONFIG_PCCARD is not set
+CONFIG_PCCARD=y
+CONFIG_PCMCIA=y
+CONFIG_CARDBUS=y
#
# PC-card bridges
#
+CONFIG_YENTA=y
CONFIG_PCMCIA_PROBE=y
#
--- /dev/null
+# hdw - linux python package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 0.96.1
+# [S] 3-2
+# [D] scons-src-0.96.1.tar.gz http://mesh.dl.sourceforge.net/sourceforge/scons/
+
+build_main() {
+ # build scons
+ export SCONS_LIB_DIR=`pwd`/src/engine
+ python src/script/scons.py build/scons
+ # install scons
+ cd build/scons
+ python setup.py install --prefix=$prefix
+ }
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.0.50
+# [V] 2.0.54
# [S] 3-9
-# [D] httpd-2.0.50.tar.gz http://www.apache.de/dist/httpd/
+# [D] httpd-2.0.54.tar.bz2 http://www.apache.de/dist/httpd/
srcdir="httpd-$ver"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.1.20
+# [V] 1.1.23
# [S] 3-8
-# [D] cups-1.1.20-source.tar.bz2 ftp://ftp2.easysw.com/pub/cups/1.1.20/
+# [D] cups-1.1.23-source.tar.bz2 ftp://ftp2.easysw.com/pub/cups/1.1.23/
confopt="$confopt --disable-ssl --with-logdir=$root/var/cups/log"
confopt="$confopt --with-cups-user=daemon --with-cups-group=daemon"
---- ./man/Makefile.orig 2003-10-30 13:36:13.000000000 +0100
-+++ ./man/Makefile 2003-10-30 13:36:26.000000000 +0100
+--- ./man/Makefile.orig 2005-08-15 05:12:57.000000000 +0200
++++ ./man/Makefile 2005-08-15 05:13:35.000000000 +0200
@@ -30,7 +30,7 @@
# Other languages...
#
--LANGDIRS = fr
-+#LANGDIRS = fr
+-LANGDIRS = es fr
++#LANGDIRS = es fr
#
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.25
+# [V] 2.28
# [S] 3-9
-# [D] gpsd-2.25.tar.gz http://download.berlios.de/gpsd/
-
-#build_main() {
-# ./configure && make &&
-# cp -v gpsd $prefix/bin && # gps follows, needs motif
-# mkdir -p $prefix/lib && cp -v libgpsd.a $prefix/lib
-# }
+# [D] gpsd-2.28.tar.gz http://download.berlios.de/gpsd/
--- /dev/null
+--- ./xgpsspeed.c.orig 2005-08-16 14:08:57.000000000 +0200
++++ ./xgpsspeed.c 2005-08-16 14:13:43.000000000 +0200
+@@ -9,6 +9,7 @@
+ #include <X11/Shell.h>
+ #include <X11/Xaw/Label.h>
+ #include <X11/Xaw/Paned.h>
++#include <Xm/Xm.h>
+ #include <Xm/XmStrDefs.h>
+ #include <Tachometer.h>
+
---- ./Configure.orig 2004-07-19 23:37:17.000000000 +0200
-+++ ./Configure 2004-07-19 23:38:04.000000000 +0200
-@@ -698,15 +698,6 @@
+--- ./Configure.orig 2005-08-15 05:53:24.000000000 +0200
++++ ./Configure 2005-08-15 05:55:00.000000000 +0200
+@@ -859,20 +859,20 @@
esac
: Sanity checks
-case "$fastread$alldone" in
-yescont|yesexit) ;;
-*)
-- if test ! -t 0; then
-- echo "Say 'sh Configure', not 'sh <Configure'"
-- exit 1
-- fi
+- case "$extractsh" in
+- true) ;;
+- *)
+- if test ! -t 0; then
+- echo "Say 'sh Configure', not 'sh <Configure'"
+- exit 1
+- fi
+- ;;
+- esac
- ;;
-esac
++#case "$fastread$alldone" in
++#yescont|yesexit) ;;
++#*)
++# case "$extractsh" in
++# true) ;;
++# *)
++# if test ! -t 0; then
++# echo "Say 'sh Configure', not 'sh <Configure'"
++# exit 1
++# fi
++# ;;
++# esac
++# ;;
++#esac
exec 4>&1
case "$silent" in
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.93.4
+# [V] 0.95.4
# [S] 3-8
-# [D] gtk-gnutella-0.93.4.tar.bz2 http://belnet.dl.sourceforge.net/sourceforge/gtk-gnutella/
+# [D] gtk-gnutella-0.95.4.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/gtk-gnutella/
confopt="-d -D prefix=/usr"
install_conf="INSTALL_PREFIX=$root $install_conf"
# author: hackbard@hackdaworld.dyndns.org
#
# [V] 0.4.1
-# [S] 3-8
+# [S] 3-9
# [D] hostap-driver-0.4.1.tar.gz http://hostap.epitest.fi/releases/
## [D] hostap-utils-0.1.3.tar.gz http://hostap.epitest.fi/releases/
## [D] hostapd-0.1.3.tar.gz http://hostap.epitest.fi/releases/
+make_conf="KERNEL_PATH=$prefix/src/linux $make_conf"
+install_conf="KERNEL_PATH=$prefix/src/linux $install_conf"
+
post_install() {
rm -rf $docdir ; mkdir -p $docdir
cp README $docdir
+++ /dev/null
---- ./capi20/Makefile.in.org Sat Jul 6 02:26:12 2002
-+++ ./capi20/Makefile.in Mon Jan 20 18:36:24 2003
-@@ -125,7 +125,7 @@
- .SUFFIXES:
- .SUFFIXES: .S .c .lo .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -a --foreign Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) \
---- ./capiinfo/configure Fri Jul 19 23:19:41 2002
-+++ ./capiinfo/configure Mon Jan 20 18:55:57 2003
-@@ -1194,7 +1194,7 @@
-
-
-
--am__api_version="1.6"
-+am__api_version="1.8"
- ac_aux_dir=
- for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
---- ./capiinit/Makefile.in.org Mon Jan 20 19:01:19 2003
-+++ ./capiinit/Makefile.in Mon Jan 20 19:15:09 2003
-@@ -111,7 +111,7 @@
- .SUFFIXES:
- .SUFFIXES: .S .c .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -i -a --foreign Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
- cd $(top_builddir) \
---- ./rcapid/configure.org Fri Jul 19 23:58:45 2002
-+++ ./rcapid/configure Mon Jan 20 20:36:59 2003
-@@ -1194,7 +1194,7 @@
-
-
-
--am__api_version="1.6"
-+am__api_version="1.8"
- ac_aux_dir=
- for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
---- ./capiinfo/Makefile.in.orig 2002-07-19 23:20:34.000000000 +0200
-+++ ./capiinfo/Makefile.in 2002-10-14 11:03:32.000000000 +0200
-@@ -121,7 +121,7 @@
- .SUFFIXES:
- .SUFFIXES: .S .c .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -i --foreign Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
- cd $(top_builddir) \
-@@ -318,7 +318,7 @@
- top_distdir=`cd $(distdir) && pwd`; \
- distdir=`cd $(distdir) && pwd`; \
- cd $(top_srcdir) \
-- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
-+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir -i --foreign Makefile
- @for file in $(DISTFILES); do \
- d=$(srcdir); \
- if test -d $$d/$$file; then \
---- ./xmonisdn/Makefile.in.orig 2002-07-19 22:30:02.000000000 +0200
-+++ ./xmonisdn/Makefile.in 2002-10-14 11:03:32.000000000 +0200
-@@ -65,6 +65,8 @@
- config:
- @cp Makefile.in GNUmakefile
- @xmkmf
-+ @echo "Hacking the Makefile .. (Clifford)"
-+ @perl -pe 's,^(xmonisdn:.*),$$1\n\t\$$(MAKE) xmonisdn.man,' < Makefile > x && mv x Makefile
-
- clean:
- $(MAKE) -f Makefile clean
---- ./capifax/Makefile.in.orig 2000-05-11 12:55:00.000000000 +0200
-+++ ./capifax/Makefile.in 2002-10-14 11:03:32.000000000 +0200
-@@ -124,7 +124,7 @@
- .SUFFIXES:
- .SUFFIXES: .S .c .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -i --foreign Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
- cd $(top_builddir) \
-@@ -286,7 +286,7 @@
- top_distdir=`cd $(distdir) && pwd`; \
- distdir=`cd $(distdir) && pwd`; \
- cd $(top_srcdir) \
-- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
-+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir -i --foreign Makefile
- @for file in $(DISTFILES); do \
- d=$(srcdir); \
- if test -d $$d/$$file; then \
---- ./vbox/doc/Makefile.in.orig 2003-09-16 19:08:03.000000000 +0200
-+++ ./vbox/doc/Makefile.in 2003-09-16 19:13:57.000000000 +0200
-@@ -111,7 +111,7 @@
- all: all-redirect
- .SUFFIXES:
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -i -a --foreign doc/Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) \
---- ./vbox/doc/de/Makefile.in.orig 2003-09-16 19:39:53.000000000 +0200
-+++ ./vbox/doc/de/Makefile.in 2003-09-16 19:40:15.000000000 +0200
-@@ -108,7 +108,7 @@
-
- .SUFFIXES:
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/de/Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -i -a --foreign doc/de/Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
- cd $(top_builddir) \
---- ./rcapid/Makefile.in.orig 2003-09-16 20:15:46.000000000 +0200
-+++ ./rcapid/Makefile.in 2003-09-16 20:16:41.000000000 +0200
-@@ -111,13 +111,13 @@
- .SUFFIXES:
- .SUFFIXES: .S .c .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-- cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
-+ cd $(top_srcdir) && $(AUTOMAKE) -i -a --foreign Makefile
-
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
- cd $(top_builddir) \
- && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
--$(ACLOCAL_M4): configure.in acinclude.m4
-+$(ACLOCAL_M4): configure.in
- cd $(srcdir) && $(ACLOCAL)
-
- config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] v3.2p1
+# [V] CVS-2005-08-08
# [S] 3-7
-# [D] isdn4k-utils.v3.2p1.tar.bz2 ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/
+# [D] isdn4k-utils-CVS-2005-08-08.tar.bz2 ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/
build_main() {
[ -z "`echo $PATH | grep X11\/bin`" ] && \
export PATH="$PATH:$root/usr/X11/bin"
- cd capi20 &&
- libtoolize -f -c &&
- cd ..
- if [ ! -f $root/var/adm/flists/xfree86 ] ; then
+ if [ ! -f $root/var/adm/flists/xfree86-? \
+ -a ! -f $root/var/adm/flists/xorg-? ] ; then
+ echo "no x11 detected => disabling xtools"
make_conf="$make_conf CONFIG_XISDNLOAD=n CONFIG_XMONISDN=n"
fi
# prepare config
make $make_conf subconfig &&
make $make_conf &&
make $make_conf install
+ mkdir -p $docdir
}
---- ./Makefile.orig 2003-09-14 21:41:59.000000000 +0200
-+++ ./Makefile 2003-09-14 21:43:35.000000000 +0200
+--- ./Makefile.orig 2005-08-14 13:50:53.000000000 +0200
++++ ./Makefile 2005-08-14 13:51:50.000000000 +0200
@@ -135,8 +135,6 @@
@if [ -c $(DESTDIR)/dev/isdnctrl0 ] && ls -l $(DESTDIR)/dev/isdnctrl0 | egrep "[[:space:]]45,[[:space:]]+64[[:space:]]" > /dev/null; \
then \
+++ /dev/null
---- ./ipppd/options.c.orig 2003-10-28 18:49:00.000000000 +0100
-+++ ./ipppd/options.c 2003-10-28 18:52:15.000000000 +0100
-@@ -479,26 +479,7 @@
- #define IMPLEMENTATION ""
- #endif
-
--static char *usage_string = "\
--ipppd version %s patch level %d%s\n\
--Usage: %s [ options ], where options are:\n\
--\t<device> Communicate over the named device\n\
--#ifdef INCLUDE_OBSOLETE_FEATURES
--\tcrtscts Use hardware RTS/CTS flow control\n\
--\t<speed> Set the baud rate to <speed>\n\
--\tmodem Use modem control lines\n\
--#endif
--\t<loc>:<rem> Set the local and/or remote interface IP\n\
--\t\taddresses. (you also may use the option 'useifip' to get IPs).\n\
--\tasyncmap <n> Set the desired async map to hex <n>\n\
--\tauth Require authentication from peer\n\
--\tconnect <p> Invoke shell command <p> to set up the serial line\n\
--\tdefaultroute Add default route through interface\n\
--\tfile <f> Take options from file <f>\n\
--\tmru <n> Set MRU value to <n> for negotiation\n\
--\tnetmask <n> Set interface netmask to <n>\n\
--See ipppd(8) for more options.\n\
--";
-+static char *usage_string = "\nipppd version %s patch level %d%s\n\nUsage: %s [ options ], where options are:\n\n\t<device> Communicate over the named device\n\n\t<loc>:<rem> Set the local and/or remote interface IP\n\n\t\taddresses. (you also may use the option 'useifip' to get IPs).\n\n\tasyncmap <n> Set the desired async map to hex <n>\n\n\tauth Require authentication from peer\n\n\tconnect <p> Invoke shell command <p> to set up the serial line\n\n\tdefaultroute Add default route through interface\n\n\tfile <f> Take options from file <f>\n\n\tmru <n> Set MRU value to <n> for negotiation\n\n\tnetmask <n> Set interface netmask to <n>\n\nSee ipppd(8) for more options.\n";
-
- static char *current_option; /* the name of the option being parsed */
-
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.2.7
+# [V] 1.3.0
# [S] 3-8
-# [D] licq-1.2.7.tar.bz2 http://belnet.dl.sourceforge.net/sourceforge/licq/
+# [D] licq-1.3.0.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/licq/
post_install() {
cd plugins/qt-gui
+++ /dev/null
---- ./src/sighandler.c.orig 2004-07-20 13:21:45.000000000 +0200
-+++ ./src/sighandler.c 2004-07-20 13:22:42.000000000 +0200
-@@ -83,7 +83,8 @@
- fprintf(stderr, "%s\n", res[0]);*/
- }
- fprintf(stderr, "Attempting to generate core file.\n");
-- pthread_kill_other_threads_np();
-+ /* nptl glibc */
-+ /* pthread_kill_other_threads_np(); */
- #endif
-
- abort();
confopt="$confopt --with-driver=$driver --with-port=$port --with-irq=$irq"
pre_install() {
- sed 's%which dialog%type -p dialog%' setup.sh > tmp~
- mv tmp~ setup.sh
chmod 750 setup.sh
}
# author: hackbard@hackdaworld.dyndns.org
#
#
-# [V] 3.8.27
+# [V] 3.8.28
# [S] 3-9
-# [D] LPRng-3.8.27.tgz ftp://ftp.lprng.com/pub/LPRng/LPRng/
+# [D] LPRng-3.8.28.tgz ftp://ftp.lprng.com/pub/LPRng/LPRng/
srcdir="LPRng-$ver"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.3.b
+# [V] 2.3.d
# [S] 3-9
-# [D] magicfilter-2.3.b.tar.gz http://www.pell.portland.or.us/~orc/Code/magicfilter/
+# [D] magicfilter-2.3.d.tar.gz http://www.pell.portland.or.us/~orc/Code/magicfilter/
confopt="--prefix=$prefix --confdir=$sysconfdir --with-lprng"
confopt="$confopt --filterdir=$prefix/share/magicfilter/filters"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.3.1
+# [V] 1.4.7
# [S] 3-10
-# [D] raptor-1.3.1.tar.gz http://www.redland.opensource.ac.uk/dist/source/
+# [D] raptor-1.4.7.tar.gz http://download.librdf.org/source/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.6.0
+# [V] 0.7.1
# [S] 3-9
-# [D] scummvm-0.6.0.tar.bz2 http://puzzle.dl.sourceforge.net/sourceforge/scummvm/
+# [D] scummvm-0.7.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/scummvm/
-build_main() {
- ./configure
- make &&
- mkdir -p $prefix/bin &&
- cp scummvm $prefix/bin
- }
+confopt="--prefix=$prefix --bindir=$prefix/bin --mandir=$prefix/man"
+[ "$hdw_crossbuild" != "0" ] && confopt="$confopt --host=$hdw_arch_host"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.9.9
+# [V] 2.9.9d
# [S] 3-11
-# [D] slmodem-2.9.9.tar.gz http://linmodems.technion.ac.il/packages/smartlink/
+# [D] slmodem-2.9.9d.tar.gz http://linmodems.technion.ac.il/packages/smartlink/
pre_install() {
rm -rf $docdir ; mkdir $docdir
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 20040615
+# [V] 20050725
# [S] 3-9
-# [D] Wine-20040615.tar.gz http://belnet.dl.sourceforge.net/sourceforge/wine/
+# [D] Wine-20050725.tar.gz http://mesh.dl.sourceforge.net/sourceforge/wine/
make_conf="depend all"
--- /dev/null
+--- ./crypto/wvtripledes.cc.orig 2005-08-15 07:49:26.000000000 +0200
++++ ./crypto/wvtripledes.cc 2005-08-15 07:50:18.000000000 +0200
+@@ -102,7 +102,8 @@
+ // ECB works 64bits at a time
+ while (len >= 8)
+ {
+-#if OPENSSL_VERSION_NUMBER >= 0x0090705FL
++#if OPENSSL_VERSION_NUMBER >= 0x0090705FL \
++ && OPENSSL_VERSION_NUMBER < 0x0090800fL
+ DES_ecb3_encrypt(data, crypt,
+ &deskey1, &deskey2, &deskey3,
+ mode == ECBEncrypt ? DES_ENCRYPT : DES_DECRYPT);
+--- ./crypto/wvx509.cc.orig 2005-08-15 07:50:40.000000000 +0200
++++ ./crypto/wvx509.cc 2005-08-15 07:54:59.000000000 +0200
+@@ -1162,12 +1162,19 @@
+ else
+ {
+ void *ext_data = NULL;
++#if OPENSSL_VERSION_NUMBER >= 0x0090800fL
++ const unsigned char **ext_value_data;
++ ext_value_data = (const_cast<const unsigned char **>
++ (&ext->value->data));
++#else
++ unsigned char **ext_value_data = &ext->value->data;
++#endif
+ if (method->it)
+- ext_data = ASN1_item_d2i(NULL, &ext->value->data,
++ ext_data = ASN1_item_d2i(NULL, ext_value_data,
+ ext->value->length,
+ ASN1_ITEM_ptr(method->it));
+ else
+- ext_data = method->d2i(NULL, &ext->value->data,
++ ext_data = method->d2i(NULL, ext_value_data,
+ ext->value->length);
+
+ if (method->i2s)
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 4.0
+# [V] 4.0.2
# [S] 3-8
-# [D] wvstreams-4.0.tar.gz http://people.nit.ca/~sfllaw/
+# [D] wvstreams-4.0.2.tar.gz http://www.csclub.uwaterloo.ca/~ja2morri/
-confopt="$confopt --without-speex --with-fftw --with-bdb --with-ogg"
+confopt="$confopt --with-speex --with-fftw --with-bdb --with-ogg"
--- /dev/null
+#!/bin/sh
+
+# $Xorg: startx.cpp,v 1.3 2000/08/17 19:54:29 cpqbld Exp $
+#
+# This is just a sample implementation of a slightly less primitive
+# interface than xinit. It looks for user .xinitrc and .xserverrc
+# files, then system xinitrc and xserverrc files, else lets xinit choose
+# its default. The system xinitrc should probably do things like check
+# for .Xresources files and merge them in, startup up a window manager,
+# and pop a clock and serveral xterms.
+#
+# Site administrators are STRONGLY urged to write nicer versions.
+#
+# $XFree86: xc/programs/xinit/startx.cpp,v 3.16tsi Exp $
+
+
+userclientrc=$HOME/.xdfbinitrc
+userserverrc=$HOME/.xdfbserverrc
+sysclientrc=/opt/xdirectfb/lib/X11/xinit/xinitrc
+sysserverrc=/opt/xdirectfb/lib/X11/xinit/xserverrc
+defaultclient=/opt/xdirectfb/bin/xterm
+defaultserver=/opt/xdirectfb/bin/X
+defaultclientargs=""
+defaultserverargs=""
+clientargs=""
+serverargs=""
+
+
+
+
+
+
+if [ -f $userclientrc ]; then
+ defaultclientargs=$userclientrc
+elif [ -f $sysclientrc ]; then
+ defaultclientargs=$sysclientrc
+fi
+
+
+
+
+if [ -f $userserverrc ]; then
+ defaultserverargs=$userserverrc
+elif [ -f $sysserverrc ]; then
+ defaultserverargs=$sysserverrc
+fi
+
+whoseargs="client"
+while [ x"$1" != x ]; do
+ case "$1" in
+ # '' required to prevent cpp from treating "/*" as a C comment.
+ /''*|\./''*)
+ if [ "$whoseargs" = "client" ]; then
+ if [ x"$clientargs" = x ]; then
+ client="$1"
+ else
+ clientargs="$clientargs $1"
+ fi
+ else
+ if [ x"$serverargs" = x ]; then
+ server="$1"
+ else
+ serverargs="$serverargs $1"
+ fi
+ fi
+ ;;
+ --)
+ whoseargs="server"
+ ;;
+ *)
+ if [ "$whoseargs" = "client" ]; then
+ clientargs="$clientargs $1"
+ else
+ # display must be the FIRST server argument
+ if [ x"$serverargs" = x ] && \
+ expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then
+ display="$1"
+ else
+ serverargs="$serverargs $1"
+ fi
+ fi
+ ;;
+ esac
+ shift
+done
+
+# process client arguments
+if [ x"$client" = x ]; then
+ # if no client arguments either, use rc file instead
+ if [ x"$clientargs" = x ]; then
+ client="$defaultclientargs"
+ else
+ client=$defaultclient
+ fi
+fi
+
+# process server arguments
+if [ x"$server" = x ]; then
+ # if no server arguments or display either, use rc file instead
+ if [ x"$serverargs" = x -a x"$display" = x ]; then
+ server="$defaultserverargs"
+ else
+ server=$defaultserver
+ fi
+fi
+
+if [ x"$XAUTHORITY" = x ]; then
+ XAUTHORITY=$HOME/.Xauthority
+ export XAUTHORITY
+fi
+
+removelist=
+
+
+# set up default Xauth info for this machine
+case `uname` in
+Linux*)
+ if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
+ hostname=`hostname -f`
+ else
+ hostname=`hostname`
+ fi
+ ;;
+*)
+ hostname=`hostname`
+ ;;
+esac
+
+authdisplay=${display:-:0}
+mcookie=`mcookie`
+for displayname in $authdisplay $hostname$authdisplay; do
+ if ! xauth list "$displayname" | grep "$displayname " >/dev/null 2>&1; then
+ xauth -q << EOF
+add $displayname . $mcookie
+EOF
+ removelist="$displayname $removelist"
+ fi
+done
+
+
+xinit $client $clientargs -- $server $display $serverargs
+
+if [ x"$removelist" != x ]; then
+ xauth remove $removelist
+fi
+
+
+
+
+
+if command -v deallocvt > /dev/null 2>&1; then
+ deallocvt
+fi
+
+
+
+
+
+
+
--- /dev/null
+exec /opt/xdirectfb/bin/XDirectFB -defaultOpacity 230 -unfocusedOpacity 180 -enableUnfocused -enableRoot +kb -keyboardRules "xorg" -keyboardModel "pc102" -keyboardLayout "de" -a 1 -br
echo "building rootless xserver now ..."
make World && make && make install
+
+ cd ../$srcdir
+
+ }
+
+post_install() {
+ mkdir -p $docdir
+ cp -v README $docdir
+ cp -v $confdir/xdfbserverrc.example $docdir
+ cp -v $confdir/startdfbx $root/opt/xdirectfb/bin
+ chmod 755 $root/opt/xdirectfb/bin/startdfbx
}
--- /dev/null
+# hdw - linux xml-parser package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 2.34
+# [S] 3-3
+# [D] XML-Parser-2.34.tar.gz http://www.cpan.org/authors/id/M/MS/MSERGEANT/
+
+srcdir="XML-Parser-$ver"
+
+build_main() {
+ perl Makefile.PL
+ make $make_conf
+ make $install_conf install
+ }
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.2.4
-# [S] 4-3
-# [D] openMosixUserland-0.2.4.tgz http://belnet.dl.sourceforge.net/sourceforge/openmosix/
+# [V] cvs
+# [S] 5-10
+# [D] userspace-tools.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/openmosix:userspace-tools
+# [D] linux-openmosix-2_6.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/openmosix:linux-openmosix-2_6
+
+srcdir="userspace-tools"
+confopt="$confopt --with-kerneldir=/tmp/linux-openmosix-2_6/linux-openmosix-2_6"
-srcdir="openMosixUserland-${ver}"
pre_install() {
- echo "patching configuration file ..."
- sed 's%^OPENMOSIX.*%OPENMOSIX = /usr/src/linux%' configuration > \
- config.new &&
- mv config.new configuration
+ echo "extracting & configuring kernel tree ..."
+ tar --use-compress-program=$compress -xvf \
+ $archdir/linux-openmosix-2_6.tar.bz2 -C /tmp
+ cd /tmp/linux-openmosix-2_6/linux-openmosix-2_6
+ make oldconfig
+ cd -
+ # it's cvs
+ ./autogen.sh
}
-build_main() {
- make
+post_install() {
+ rm -rf /tmp/linux-openmosix-2_6
}
#
# [V] 2.0
# [S] 3-8
-# [D] faad2-2.0.tar.gz http://puzzle.dl.sourceforge.net/sourceforge/faac/
+# [D] faad2-2.0.tar.gz http://mesh.dl.sourceforge.net/sourceforge/faac/
pre_install() {
autoreconf -vif
# [D] flite_lexfix.tar.gz http://fife.speech.cs.cmu.edu/flite/packed/flite-1.2/
# let package decide itself!
-unset CFLAGS
+#unset CFLAGS
pre_install() {
echo "applying lex fixes ..."
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.15.0b
+# [V] 0.15.1b
# [S] 3-8
-# [D] libmad-0.15.0b.tar.gz http://www.videolan.org/pub/videolan/vlc/0.6.2/contrib/
+# [D] libmad-0.15.1b.tar.gz http://www.videolan.org/pub/videolan/vlc/0.8.2/contrib/
+++ /dev/null
---- ./osdep/kerneltwosix.h.orig 2004-07-20 16:37:03.000000000 +0200
-+++ ./osdep/kerneltwosix.h 2004-07-20 16:39:26.000000000 +0200
-@@ -1,9 +1 @@
- #include <linux/version.h>
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
--#define __KERNEL__
--#include <linux/thread_info.h>
--#include <linux/list.h>
--#undef __KERNEL__
--#endif
--
--
# [S] 3-8
# [D] mplayer.tar.bz2 cvs:anonymous:mplayerhq.hu:cvsroot/mplayer:main
# [D] ffmpeg.tar.bz2 cvs:anonymous:mplayerhq.hu:cvsroot/ffmpeg:ffmpeg
-# [D] win32codecs-20040703.tar.bz2 ftp://mplayerhq.hu/MPlayer/releases/codecs/
-# [D] qt6dlls-20040626.tar.bz2 http://www.mplayerhq.hu/MPlayer/releases/codecs/
+# [D] all-20050412.tar.bz2 http://www2.mplayerhq.hu/MPlayer/releases/codecs/
+codecs_ver="20050412"
srcdir="main"
confopt="--prefix=$prefix --confdir=$sysconfdir --language=en"
+confopt="$confopt --enable-gui --enable-tv-v4l2"
confopt="$confopt --enable-linux-devfs --enable-fbdev"
confopt="$confopt --enable-xinerama --enable-directfb"
confopt="$confopt --with-win32libdir=$prefix/lib/win32codecs"
# prepeare libavcodec
tar --use-compress-program=bzip2 -xvf \
$hdw_home_dir/download/multimedia/mplayer/ffmpeg.tar.bz2
- mkdir -p libavcodec
- cp -a ffmpeg/libavcodec/* libavcodec && rm -rf ffmpeg
+ mkdir -p libavcodec libavutil libavformat
+ cp -a ffmpeg/libavcodec/* libavcodec
+ cp -a ffmpeg/libavutil/* libavutil
+ cp -a ffmpeg/libavformat/* libavformat
+ rm -rf ffmpeg
# copy codecs.conf
cp ./etc/codecs.conf $root/etc/
rm -rf $prefix/lib/win32codecs
mkdir -p $prefix/lib
tar --use-compress-program=bzip2 -xvf \
- $archdir/win32codecs-20040703.tar.bz2 \
+ $archdir/all-${codecs_ver}.tar.bz2 \
-C $prefix/lib
- mv $prefix/lib/win32codecs-* $prefix/lib/win32codecs
- tar --use-compress-program=bzip2 -xvf \
- $archdir/qt6dlls-20040626.tar.bz2 \
- -C $prefix/lib
- mv $prefix/lib/qt6dlls-*/* $prefix/lib/win32codecs
- rm -rf $prefix/lib/qt6dlls-*
+ mv $prefix/lib/all-${codecs_ver} $prefix/lib/win32codecs
}
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.6.12
+# [V] 1.0.0
# [S] 3-8
-# [D] transcode-0.6.12.tar.bz2 http://zebra.fh-weingarten.de/~transcode/pre/
+# [D] transcode-1.0.0.tar.gz http://www.jakemsr.com/transcode/
+
+confopt="$confopt --enable-freetype2 --enable-oss --enable-imagemagick"
+confopt="$confopt --enable-ogg --enable-vorbis"
+confopt="$confopt --enable-a52 --enable-libmpeg3 --enable-avifile"
+confopt="$confopt --enable-libxml2 --enable-sdl --enable-gtk"
+confopt="$confopt --enable-netstream --enable-v4l"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.7.2
+# [V] 0.8.2
# [S] 3-8
-## [D] vlc.tar.bz2 cvs:anonymous:anoncvs.videolan.org:var/cvs/videolan:vlc
-# [D] vlc-0.7.2.tar.gz http://download.videolan.org/pub/videolan/vlc/0.7.2/
+# [D] vlc-0.8.2.tar.gz http://download.videolan.org/pub/videolan/vlc/0.8.2/
+
+confopt="$confopt --disable-wxwindows --disable-skins2"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 3.93
+# [V] 3.94
# [S] 3-8
-# [D] xawtv-3.93.tar.gz http://dl.bytesex.org/releases/xawtv/
+# [D] xawtv-3.94.tar.gz http://dl.bytesex.org/releases/xawtv/
pre_install() {
export PATH="$PATH:$root/usr/X11R6/bin"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] cvs
+# [V] 0.10.12
# [S] 3-9
-# [D] ethereal.tar.bz2 cvs:anoncvs:cvs.ethereal.com:cvsroot:ethereal
-
-pre_install() {
- ./autogen.sh
- }
+# [D] ethereal-0.10.12.tar.bz2 ftp://netmirror.org/ftp.ethereal.com/
post_install() {
rm -rf $docdir ; mkdir -p $docdir
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] NG-0.7.0
+# [V] NG-0.7.3
# [S] 3-8
-# [D] ettercap-NG-0.7.0.tar.gz http://belnet.dl.sourceforge.net/sourceforge/ettercap/
+# [D] ettercap-NG-0.7.3.tar.gz http://mesh.dl.sourceforge.net/sourceforge/ettercap/
# author: hackbard
# [S] 3-2
-# [V] 0.6
-# [D] ipsec-tools-0.6.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/ipsec-tools/
+# [V] 0.6.1rc1
+# [D] ipsec-tools-0.6.1rc1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/ipsec-tools/
confopt="$confopt --with-kernel-headers=$prefix/include"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 3.55
+# [V] 3.81
# [S] 3-9
-# [D] nmap-3.55.tar.bz2 http://download.insecure.org/nmap/dist/
+# [D] nmap-3.81.tar.bz2 http://download.insecure.org/nmap/dist/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 3.0.5
+# [V] 3.0.14a
# [S] 4-10
-# [D] samba-3.0.5.tar.gz http://us3.samba.org/samba/ftp/
+# [D] samba-3.0.14a.tar.gz ftp://de.samba.org/samba.org/
# samba in opt makes me sleep() better ...
+
srcdir="samba-$ver/source"
confopt="$confopt --with-smbmount"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.4.0
-# [S] 4-5
-# [D] nut-1.4.0.tar.gz http://penguin.harrison.k12.co.us/mirrors/nut/release/1.4/
+# [V] 2.0.2
+# [S] 4-10
+# [D] nut-2.0.2.tar.gz http://www.networkupstools.org/source/2.0/
confopt="$confopt --with-user=ups"
-flist_pruned="${flist_pruned}|etc/shadow|etc/passwd|etc/group"
-
-pre_install() {
- groupadd -g 1075 ups || true
- useradd -c 'ups monitoring tools' -g ups -u 1075 ups \
- -d $root/var/state/ups -s /bin/false || true
- mkdir -p $root/var/state/ups
- chown ups.ups $root/var/state/ups
- }
post_install() {
- mv $root/etc/upsd.conf.sample $root/etc/upsd.conf
- mv $root/etc/upsd.users.sample $root/etc/upsd.users
- mv $root/etc/upssched.conf.sample $root/etc/upssched.conf
- mv $root/etc/ups.conf.sample $root/etc/ups.conf
- mv $root/etc/upsmon.conf.sample $root/etc/upsmon.conf
- chown ups.ups $root/etc/ups{,d,sched,mon}.conf
- chown ups.ups $root/etc/upsd.users
- chmod 0400 $root/etc/ups{,d,sched,mon}.conf
- chmod 0400 $root/etc/upsd.users
+ make install-conf
}
--- /dev/null
+setup_block() {
+ groupadd -g 1075 ups || true
+ useradd -u 1075 -c 'ups monitoring tools' -g ups ups || true
+ mkdir -p /var/state/cups
+ chown ups.ups /var/state/cups
+ }
+
+uninstall_block() {
+ userdel ups || true
+ groupdel ups || true
+ rm -rf /var/state/cups
+ }
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 3.2.1
+# [V] 3.2.3
# [S] 3-11
-# [D] Unreal3.2.1.tar.gz http://codercrew.org/unrealircd/
+# [D] Unreal3.2.3.tar.gz http://unrealircd.fyrebird.net/
xver=`echo $ver | awk -F. '{ print $1 "." $2 }'`
# we always install ircd to /opt !
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.0.5
-# [S] 3-10
-## [D] alsa-driver-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/driver/
-# [D] alsa-lib-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/lib/
-# [D] alsa-oss-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/oss-lib/
-# [D] alsa-utils-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/utils/
-# [D] alsa-tools-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/tools/
+# [V] 1.0.9
+# [S] 3-7
+## [D] alsa-driver-1.0.9.tar.bz2 ftp://ftp.alsa-project.org/pub/driver/
+# [D] alsa-lib-1.0.9.tar.bz2 ftp://ftp.alsa-project.org/pub/lib/
+# [D] alsa-oss-1.0.9.tar.bz2 ftp://ftp.alsa-project.org/pub/oss-lib/
+# [D] alsa-utils-1.0.9.tar.bz2 ftp://ftp.alsa-project.org/pub/utils/
+# [D] alsa-tools-1.0.9.tar.bz2 ftp://ftp.alsa-project.org/pub/tools/
# popular drivers (i have those ;)
card="emu10k1,intel8x0"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.9beta18.3
+# [V] 0.9beta29
# [S] 3-12
-# [D] ardour-0.9beta22.tar.bz2 http://ardour.org/releases/
+# [D] ardour-0.9beta29.tar.bz2 http://ardour.org/releases/
+
+build_main() {
+ scons PREFIX=$prefix
+ }
#
# [V] cvs
# [S] 3-10
-# [D] jack.tar.bz2 cvs:anonymous:cvs.jackit.sourceforge.net:cvsroot/jackit:jack
+# [D] jack.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/jackit:jack
pre_install() {
- sed 's%which%type -p%g' autogen.sh > tmp~
- mv tmp~ autogen.sh ; chmod 750 autogen.sh
./autogen.sh
}
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.3.7
+# [V] 0.4.0
# [S] 3-11
-# [D] liblrdf-0.3.7.tar.gz http://plugin.org.uk/lrdf/
+# [D] liblrdf-0.4.0.tar.gz http://mesh.dl.sourceforge.net/sourceforge/lrdf/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.20.2
+# [V] 20050202
# [S] 3-11
-# [D] libmustux-0.20.2.tar.gz http://vt.shuis.tudelft.nl/~remon/protux/stable/version-0.20.2/
+# [D] mustux-20050202.tar.gz http://vt.shuis.tudelft.nl/~remon/protux/CVS/
+
+srcdir="mustux-$ver"
+
+pre_install() {
+ sed "s%/usr/local%$prefix%g" mustux.pro > tmp~
+ mv tmp~ mustux.pro
+ ./compile
+ }
--- /dev/null
+--- ./compile.orig 2005-08-17 15:19:13.000000000 +0200
++++ ./compile 2005-08-17 15:23:11.000000000 +0200
+@@ -2,11 +2,10 @@
+ echo "Mustux compilation script"
+ echo "Cleaning old makefile ..."
+ rm -f Makefile
+-export QMAKESPEC=linux-g++
++export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++
+ echo "Generating new makefile ..."
+ qmake -unix -o Makefile mustux.pro
+ echo "Compiling ..."
+-make
+ #make install
+ echo "Done. If you want to install the package, run: su -c \"make install\" "
+
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.20.2
+# [V] 20050202
# [S] 3-11
-# [D] protux-0.20.2.tar.gz http://vt.shuis.tudelft.nl/~remon/protux/stable/version-0.20.2/
+# [D] protux-20050202.tar.gz http://vt.shuis.tudelft.nl/~remon/protux/CVS/
confopt="$confopt --with-xinerama"
+
+pre_install() {
+ sed "s%/usr/local%$prefix%g" protux.pro > tmp~
+ mv tmp~ protux.pro
+ ./compile
+ }
+
--- /dev/null
+--- ./compile.orig 2005-08-17 15:34:45.000000000 +0200
++++ ./compile 2005-08-17 15:35:02.000000000 +0200
+@@ -2,10 +2,8 @@
+ echo "Protux compilation script"
+ echo "Cleaning old makefile ..."
+ rm -f Makefile
+-export QMAKESPEC=linux-g++
++export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++
+ echo "Generating new makefile ..."
+ qmake -Wnone -unix -o Makefile protux.pro
+-echo "Compiling ..."
+-make
+ #make install
+ echo "Done. If you want to install the package, run: su -c \"make install\" "
--- /dev/null
+# hdw - linux cairo package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 0.9.2
+# [S] 3-6
+# [D] cairo-0.9.2.tar.gz http://cairographics.org/snapshots/
--- /dev/null
+--- ./test/cairo-test.c.orig 2005-08-14 16:58:34.000000000 +0200
++++ ./test/cairo-test.c 2005-08-14 16:58:53.000000000 +0200
+@@ -572,7 +572,7 @@
+ fclose (cairo_test_log_file);
+
+ #if HAVE_FCFINI
+- FcFini ();
++ // FcFini ();
+ #endif
+
+ return ret;
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.0.4
+# [V] 1.0.6
# [S] 3-8
-# [D] firefox-1.0.4-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.4/source/
+# [D] firefox-1.0.6-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.6/source/
# [D] install_flash_player_7_linux.tar.gz http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/
srcdir=mozilla
confopt="$confopt --disable-tests --disable-debug --disable-composer"
confopt="$confopt --disable-pedantic --disable-logging --disable-accessibility"
confopt="$confopt --disable-installer --disable-dtd-debug"
+confopt="$confopt --enable-reorder"
post_install() {
install -d $prefix/include/firefox-$ver/nss
#
# [V] 4.2.7
# [S] 3-9
-# [D] gimp-print-4.2.7.tar.gz http://puzzle.dl.sourceforge.net/sourceforge/gimp-print/
+# [D] gimp-print-4.2.7.tar.gz http://mesh.dl.sourceforge.net/sourceforge/gimp-print/
confopt="$confopt --with-cups --with-ghost"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.1.1
+# [V] 2.2.8
# [S] 3-10
-# [D] gimp-2.1.1.tar.bz2 ftp://ftp.gwdg.de/pub/misc/grafik/gimp/gimp/v2.1/
-
-confopt="$confopt --disable-print"
+# [D] gimp-2.2.8.tar.bz2 ftp://ftp.gimp.org/pub/gimp/v2.2/
--- /dev/null
+# hdw - linux libpixman package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 0.1.6.orig
+# [S] 3-5
+# [D] libpixman_0.1.6.orig.tar.gz http://ftp.debian.org/debian/pool/main/libp/libpixman/
# [S] 3-6
# [D] pango-1.9.1.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/pango/1.9/
+export LDFLAGS="-lpixman"
+export PKG_CONFIG_PATH="/usr/X11R6/lib/pkgconfig"
+
# optional
# confopt="$confopt --disable-debug"
#
# [V] 2.0
# [S] 3-8
-# [D] qiv-2.0-src.tgz http://www.kdown1.de/files/
+# [D] qiv-2.0-src.tgz http://www.kdown2.de/files/
pre_install() {
sed "s%PREFIX = /usr/local%PREFIX = $prefix%g" Makefile > tmp~
# modify configure, so it is none interactive
sed 's/read acceptance/acceptance="yes"/' configure > configure_tmp
mv -vf configure_tmp configure ; chmod 755 configure
+
+ # adjust qmake.conf directories (use ' instead of " to not eval $QTDIR)
+ sed -i -e 's:$(QTDIR)/include:&/qt:' -e 's:$(QTDIR)/lib:&/qt:' \
+ mkspecs/linux*/qmake.conf
}
confopt="-prefix $prefix -headerdir $prefix/include/qt -docdir $docdir"
confopt="$confopt -system-zlib -system-libpng -system-libjpeg -qt-gif"
confopt="$confopt -plugin-imgfmt-mng -plugin-imgfmt-png"
+build_main() {
+ ./configure $confopt
+ find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g"
+ make $make_conf
+ make $install_conf install
+ }
+
post_install() {
# compatibility symlinks
for i in $prefix/lib/libqt-mt.so*; do
done
# documentation
mkdir -p $docdir
- cp -r doc/man $prefix/man
- cp -r examples $docdir
+ cp -v -r doc/man $prefix/man
+ cp -v -r examples $docdir
# profile
cat > $root/etc/profile.d/qt <<-EOP
QTDIR=$prefix
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.3
+# [V] 5.1.0
# [S] 3-7
-# [D] t1lib-1.3.tar.gz ftp://ftp.foolabs.com/pub/xpdf/
-
-srcdir="T1Lib-$ver"
+# [D] t1lib-5.1.0.tar.gz http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.0.2
+# [V] 1.0.6
# [S] 3-8
-# [D] thunderbird-1.0.2-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.0.2/source/
+# [D] thunderbird-1.0.6-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.0.6/source/
srcdir=mozilla
optimize="`echo $hdw_cflags | awk '{ print $1 }'`"
sed "s,0000000000,hdw-linux -- ${hdw_version}," \
xpfe/global/build.dtd.in > xpfe/global/build.dtd.in.new
mv xpfe/global/build.dtd.in.new xpfe/global/build.dtd.in
+ # patching app Makefile (still needed?)
+ sed 's/$(destdir)$(bindir)/$(DESTDIR)$(mozappdir)/' \
+ mail/app/Makefile.in > mail/app/Makefile.in.new
+ mv mail/app/Makefile.in.new mail/app/Makefile.in
}
confopt="$confopt --enable-default-toolkit=gtk2 --with-x --with-system-zlib"
#
# [V] 1.2.10
# [S] 3-8
-# [D] xmms-1.2.10.tar.bz2 http://www.xmms.org/files/1.2.x/
+# [D] xmms-1.2.10.tar.bz2 http://xmms.org/files/1.2.x/
-Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
-Date: 2004-03-20
-Initial Package Version: 3.00
-Origin: NA
-Upstream Status: Major hack, will never be accepted upstream.
-Description: Fixed compilation with freetype-2.1.7.
-diff -ur xpdf-3.00.orig/configure xpdf-3.00/configure
---- xpdf-3.00.orig/configure 2004-01-21 19:26:44.000000000 -0600
-+++ xpdf-3.00/configure 2004-03-20 10:21:03.000000000 -0600
+--- xpdf-3.00-orig/configure 2004-01-22 01:26:44.000000000 +0000
++++ xpdf-3.00/configure 2004-12-18 17:42:34.787719704 +0000
@@ -9007,6 +9007,9 @@
-
-
-
+
+
+
+ cat >>confdefs.h <<_ACEOF
+#include <ft2build.h>
+_ACEOF
-
-
+
+
+
+@@ -9817,7 +9820,7 @@
+ { (exit 1); exit 1; }; }
+ fi
+ else
+- libpaper_CFLAGS=
++ libpaper_CFLAGS="-I/usr/include/freetype2"
+ fi
+
+ smr_test_CPPFLAGS="${CPPFLAGS+set}"
diff -ur xpdf-3.00.orig/splash/SplashFTFontEngine.h xpdf-3.00/splash/SplashFTFontEngine.h
--- xpdf-3.00.orig/splash/SplashFTFontEngine.h 2004-01-21 19:26:44.000000000 -0600
--- /dev/null
+*** ./xpdf/XRef.cc.orig Thu Jul 22 11:04:22 2004
+--- ./xpdf/XRef.cc Thu Jul 22 11:04:31 2004
+***************
+*** 96,102 ****
+ }
+ nObjects = obj1.getInt();
+ obj1.free();
+! if (nObjects == 0) {
+ goto err1;
+ }
+
+--- 96,102 ----
+ }
+ nObjects = obj1.getInt();
+ obj1.free();
+! if (nObjects <= 0) {
+ goto err1;
+ }
+
+***************
+*** 106,111 ****
+--- 106,114 ----
+ }
+ first = obj1.getInt();
+ obj1.free();
++ if (first < 0) {
++ goto err1;
++ }
+
+ objs = new Object[nObjects];
+ objNums = (int *)gmalloc(nObjects * sizeof(int));
+***************
+*** 130,135 ****
+--- 133,144 ----
+ offsets[i] = obj2.getInt();
+ obj1.free();
+ obj2.free();
++ if (objNums[i] < 0 || offsets[i] < 0 ||
++ (i > 0 && offsets[i] < offsets[i-1])) {
++ delete parser;
++ gfree(offsets);
++ goto err1;
++ }
+ }
+ while (str->getChar() != EOF) ;
+ delete parser;
+***************
+*** 369,378 ****
+ }
+ n = obj.getInt();
+ obj.free();
+ if (first + n > size) {
+ for (newSize = size ? 2 * size : 1024;
+! first + n > newSize;
+ newSize <<= 1) ;
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+--- 378,393 ----
+ }
+ n = obj.getInt();
+ obj.free();
++ if (first < 0 || n < 0 || first + n < 0) {
++ goto err1;
++ }
+ if (first + n > size) {
+ for (newSize = size ? 2 * size : 1024;
+! first + n > newSize && newSize > 0;
+ newSize <<= 1) ;
++ if (newSize < 0) {
++ goto err1;
++ }
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+***************
+*** 443,449 ****
+
+ // check for an 'XRefStm' key
+ if (obj.getDict()->lookup("XRefStm", &obj2)->isInt()) {
+! pos2 = obj2.getInt();
+ readXRef(&pos2);
+ if (!ok) {
+ goto err1;
+--- 458,464 ----
+
+ // check for an 'XRefStm' key
+ if (obj.getDict()->lookup("XRefStm", &obj2)->isInt()) {
+! pos2 = (Guint)obj2.getInt();
+ readXRef(&pos2);
+ if (!ok) {
+ goto err1;
+***************
+*** 474,479 ****
+--- 489,497 ----
+ }
+ newSize = obj.getInt();
+ obj.free();
++ if (newSize < 0) {
++ goto err1;
++ }
+ if (newSize > size) {
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+***************
+*** 494,499 ****
+--- 512,520 ----
+ }
+ w[i] = obj2.getInt();
+ obj2.free();
++ if (w[i] < 0 || w[i] > 4) {
++ goto err1;
++ }
+ }
+ obj.free();
+
+***************
+*** 513,525 ****
+ }
+ n = obj.getInt();
+ obj.free();
+! if (!readXRefStreamSection(xrefStr, w, first, n)) {
+ idx.free();
+ goto err0;
+ }
+ }
+ } else {
+! if (!readXRefStreamSection(xrefStr, w, 0, size)) {
+ idx.free();
+ goto err0;
+ }
+--- 534,547 ----
+ }
+ n = obj.getInt();
+ obj.free();
+! if (first < 0 || n < 0 ||
+! !readXRefStreamSection(xrefStr, w, first, n)) {
+ idx.free();
+ goto err0;
+ }
+ }
+ } else {
+! if (!readXRefStreamSection(xrefStr, w, 0, newSize)) {
+ idx.free();
+ goto err0;
+ }
+***************
+*** 551,560 ****
+ Guint offset;
+ int type, gen, c, newSize, i, j;
+
+ if (first + n > size) {
+ for (newSize = size ? 2 * size : 1024;
+! first + n > newSize;
+ newSize <<= 1) ;
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+--- 573,588 ----
+ Guint offset;
+ int type, gen, c, newSize, i, j;
+
++ if (first + n < 0) {
++ return gFalse;
++ }
+ if (first + n > size) {
+ for (newSize = size ? 2 * size : 1024;
+! first + n > newSize && newSize > 0;
+ newSize <<= 1) ;
++ if (newSize < 0) {
++ return gFalse;
++ }
+ entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
+ for (i = size; i < newSize; ++i) {
+ entries[i].offset = 0xffffffff;
+***************
+*** 585,608 ****
+ }
+ gen = (gen << 8) + c;
+ }
+! switch (type) {
+! case 0:
+! entries[i].offset = offset;
+! entries[i].gen = gen;
+! entries[i].type = xrefEntryFree;
+! break;
+! case 1:
+! entries[i].offset = offset;
+! entries[i].gen = gen;
+! entries[i].type = xrefEntryUncompressed;
+! break;
+! case 2:
+! entries[i].offset = offset;
+! entries[i].gen = gen;
+! entries[i].type = xrefEntryCompressed;
+! break;
+! default:
+! return gFalse;
+ }
+ }
+
+--- 613,638 ----
+ }
+ gen = (gen << 8) + c;
+ }
+! if (entries[i].offset == 0xffffffff) {
+! switch (type) {
+! case 0:
+! entries[i].offset = offset;
+! entries[i].gen = gen;
+! entries[i].type = xrefEntryFree;
+! break;
+! case 1:
+! entries[i].offset = offset;
+! entries[i].gen = gen;
+! entries[i].type = xrefEntryUncompressed;
+! break;
+! case 2:
+! entries[i].offset = offset;
+! entries[i].gen = gen;
+! entries[i].type = xrefEntryCompressed;
+! break;
+! default:
+! return gFalse;
+! }
+ }
+ }
+
+***************
+*** 664,701 ****
+ // look for object
+ } else if (isdigit(*p)) {
+ num = atoi(p);
+! do {
+! ++p;
+! } while (*p && isdigit(*p));
+! if (isspace(*p)) {
+ do {
+ ++p;
+! } while (*p && isspace(*p));
+! if (isdigit(*p)) {
+! gen = atoi(p);
+ do {
+ ++p;
+! } while (*p && isdigit(*p));
+! if (isspace(*p)) {
+ do {
+ ++p;
+! } while (*p && isspace(*p));
+! if (!strncmp(p, "obj", 3)) {
+! if (num >= size) {
+! newSize = (num + 1 + 255) & ~255;
+! entries = (XRefEntry *)
+! grealloc(entries, newSize * sizeof(XRefEntry));
+! for (i = size; i < newSize; ++i) {
+! entries[i].offset = 0xffffffff;
+! entries[i].type = xrefEntryFree;
+ }
+- size = newSize;
+- }
+- if (entries[num].type == xrefEntryFree ||
+- gen >= entries[num].gen) {
+- entries[num].offset = pos - start;
+- entries[num].gen = gen;
+- entries[num].type = xrefEntryUncompressed;
+ }
+ }
+ }
+--- 694,737 ----
+ // look for object
+ } else if (isdigit(*p)) {
+ num = atoi(p);
+! if (num > 0) {
+ do {
+ ++p;
+! } while (*p && isdigit(*p));
+! if (isspace(*p)) {
+ do {
+ ++p;
+! } while (*p && isspace(*p));
+! if (isdigit(*p)) {
+! gen = atoi(p);
+ do {
+ ++p;
+! } while (*p && isdigit(*p));
+! if (isspace(*p)) {
+! do {
+! ++p;
+! } while (*p && isspace(*p));
+! if (!strncmp(p, "obj", 3)) {
+! if (num >= size) {
+! newSize = (num + 1 + 255) & ~255;
+! if (newSize < 0) {
+! error(-1, "Bad object number");
+! return gFalse;
+! }
+! entries = (XRefEntry *)
+! grealloc(entries, newSize * sizeof(XRefEntry));
+! for (i = size; i < newSize; ++i) {
+! entries[i].offset = 0xffffffff;
+! entries[i].type = xrefEntryFree;
+! }
+! size = newSize;
+! }
+! if (entries[num].type == xrefEntryFree ||
+! gen >= entries[num].gen) {
+! entries[num].offset = pos - start;
+! entries[num].gen = gen;
+! entries[num].type = xrefEntryUncompressed;
+ }
+ }
+ }
+ }
+
+
--- /dev/null
+*** ./xpdf/Gfx.cc.orig Sun Dec 12 16:04:43 2004
+--- ./xpdf/Gfx.cc Sun Dec 12 16:05:16 2004
+***************
+*** 2654,2660 ****
+ haveMask = gFalse;
+ dict->lookup("Mask", &maskObj);
+ if (maskObj.isArray()) {
+! for (i = 0; i < maskObj.arrayGetLength(); ++i) {
+ maskObj.arrayGet(i, &obj1);
+ maskColors[i] = obj1.getInt();
+ obj1.free();
+--- 2654,2662 ----
+ haveMask = gFalse;
+ dict->lookup("Mask", &maskObj);
+ if (maskObj.isArray()) {
+! for (i = 0;
+! i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps;
+! ++i) {
+ maskObj.arrayGet(i, &obj1);
+ maskColors[i] = obj1.getInt();
+ obj1.free();
+*** ./xpdf/GfxState.cc.orig Sun Dec 12 16:04:48 2004
+--- ./xpdf/GfxState.cc Sun Dec 12 16:06:38 2004
+***************
+*** 708,713 ****
+--- 708,718 ----
+ }
+ nCompsA = obj2.getInt();
+ obj2.free();
++ if (nCompsA > gfxColorMaxComps) {
++ error(-1, "ICCBased color space with too many (%d > %d) components",
++ nCompsA, gfxColorMaxComps);
++ nCompsA = gfxColorMaxComps;
++ }
+ if (dict->lookup("Alternate", &obj2)->isNull() ||
+ !(altA = GfxColorSpace::parse(&obj2))) {
+ switch (nCompsA) {
+***************
+*** 1054,1060 ****
+ }
+ nCompsA = obj1.arrayGetLength();
+ if (nCompsA > gfxColorMaxComps) {
+! error(-1, "DeviceN color space with more than %d > %d components",
+ nCompsA, gfxColorMaxComps);
+ nCompsA = gfxColorMaxComps;
+ }
+--- 1059,1065 ----
+ }
+ nCompsA = obj1.arrayGetLength();
+ if (nCompsA > gfxColorMaxComps) {
+! error(-1, "DeviceN color space with too many (%d > %d) components",
+ nCompsA, gfxColorMaxComps);
+ nCompsA = gfxColorMaxComps;
+ }
--- /dev/null
+*** ./xpdf/XRef.cc.orig Wed Jan 12 17:10:53 2005
+--- ./xpdf/XRef.cc Wed Jan 12 17:11:22 2005
+***************
+*** 793,798 ****
+--- 793,801 ----
+ } else {
+ keyLength = 5;
+ }
++ if (keyLength > 16) {
++ keyLength = 16;
++ }
+ permFlags = permissions.getInt();
+ if (encVersion >= 1 && encVersion <= 2 &&
+ encRevision >= 2 && encRevision <= 3) {
#
# define max priority
-max=20
+max=13
stages="0 1"
no_src_del=""
cat ./build_order_stage${stage} | grep -v '^#' | \
while read x pr dir package; do
# already build?
- if [ ! -f $root/var/adm/logs/$stage-$pr-$package ]; then
+ if [ ! -f $root/var/adm/logs/$x-$pr-$package ]; then
echo
echo "building package `pkg_c $package`, stage $stage."
- echo_w "log -> $root/var/adm/logs/$stage-$pr-$package"
+ echo_w "log -> $root/var/adm/logs/$x-$pr-$package"
echo_y "started, `date | awk '{ print $4 }'`"
b_append=""
[ ! -z "$no_src_del" ] && b_append="-no_src_del"
- ./scripts/Build -stage $stage -package $package \
+ ./scripts/Build -stage $x -package $package \
-priority $pr -dir $dir $b_append > \
- $root/var/adm/logs/$stage-$pr-$package.out 2>&1
+ $root/var/adm/logs/$x-$pr-$package.out 2>&1
if [ ! "$?" = "0" ]; then
echo_r "failed to build package $package!"
echo_r "aborted."
[ "$hdw_abort" = "1" ] && exit 1
else
- mv $root/var/adm/logs/$stage-$pr-$package.out \
- $root/var/adm/logs/$stage-$pr-$package
+ mv $root/var/adm/logs/$x-$pr-$package.out \
+ $root/var/adm/logs/$x-$pr-$package
echo_g "done, `date | awk '{ print $4 }'`"
# make binary tar package
if [ "$hdw_make_package" = "1" -a \
"$hdw_status" -ge "2" ] ; then
echo -n "creating binary package ..."
- if [ -d binaries/*/$package ] ; then
+ if [ -d binaries/{$hdw_arch}-${hdw_arch_opt}/$package ] ; then
echo -n " (deleting old first)"
- rm -rf binaries/*/$package
+ rm -rf binaries/{$hdw_arch}-${hdw_arch_opt}/$package
fi
./scripts/Create-Binary \
-package $package-$pr \
else
echo
echo_w "$package already build in stage $stage, skipped"
- echo_w "remove $root/var/adm/logs/$stage-$pr-$package"
+ echo_w "remove $root/var/adm/logs/$x-$pr-$package"
echo_w "if you want to rebuild it."
fi
done
echo -en "creating dist file ./distro/$hdw_target ..."
. ./scripts/subroutines
echo "00-dirtree" > ./distro/$hdw_target
- create_buildorder '2 3 4' $max > ./distro/$hdw_target.~
+ create_buildorder '2 3' $max > ./distro/$hdw_target.~
grep -v '^#' ./distro/$hdw_target.~ | awk '{ print $4 }' >> \
./distro/$hdw_target
rm ./distro/$hdw_target.~
echo -en "$stage \t $priority \t\t $dir "
echo -e "`basename $package`"
fi
+ # stage 4 packages (build at the same time)
+ if [ "$stage" = "3" ] ; then
+ if [ "4-$priority" = "$match" ] ; then
+ echo -en "4 \t $priority \t\t $dir "
+ echo -e "`basename $package`"
+ fi
+ fi
done
}
# [C] x11
# replaced by xorg due to license stuff
# [R] x11/xfree86
+# replaced by firefox & thunderbird
+# [R] x11/mozilla
# [C] science
# [C] soundtools
--- /dev/null
+# hdw - linux all-stable target
+#
+# author: hackbard
+#
+# like all-dev, without broken packages
+#
+
+# [C] toolchain
+# [C] base
+# [C] devel
+# [C] hackbard
+# [C] hpc
+# [C] multimedia
+
+# [C] net
+# [R] net/rarpd
+
+# [C] security
+
+# [C] x11
+# replaced by xorg due to license stuff
+# [R] x11/xfree86
+# replaced by firefox & thunderbird
+# [R] x11/mozilla
+
+# [C] science
+# [C] soundtools
+# [C] optional
# [R] hackbard/apache
# [R] hackbard/pcmcia-cs
# [R] hackbard/gpsd
-# [R] hackbard/cvsd
# [R] hackbard/minimalist
# [R] hackbard/lprng
# [C] toolchain
# [C] base
+# [P] net/portmap
+# [P] net/nfsidmap
# [P] net/nfs-utils
# [P] net/tftp-hpa
+# [P] net/dhcpd
# [R] net/netkit-tftp
# [C] multimedia
-
-# [P] soundtools/alsa
-# [P] soundtools/libsndfile
+# [C] soundtools
# [C] hackbard
# [R] hackbard/minimalist
# [R] hackbard/cvsd
# [R] hackbard/lprng
-# [R] hackbard/magicfilter
# [C] devel
# [P] hackbard/cron
# [P] hackbard/curl
# [P] hackbard/cvsd
-# [P] hackbard/elftoaout
-# [P] hackbard/fbset
+# [P] hackbard/hdparm
+# [P] hackbard/hostap
# [P] hackbard/ipcheck
# [P] hackbard/irssi
+# [P] hackbard/isdn4k-utils
+# [P] hackbard/libelf
+# [P] hackbard/libieee1284
+# [P] hackbard/libunicode
+# [P] hackbard/lirc
+# [P] hackbard/lphdisk
# [P] hackbard/ltrace
+# [P] hackbard/lynx
+# [P] hackbard/mhonarc
# [P] hackbard/minicom
# [P] hackbard/minimalist
+# [P] hackbard/mppp
+# [P] hackbard/mutt
# [P] hackbard/openldap
-# [P] hackbard/pcmcia-cs
+# [P] hackbard/parted
+# [P] hackbard/pciutils
+# [P] hackbard/pcre
# [P] hackbard/pine
-# [P] hackbard/mutt
+# [P] hackbard/procmail
+# [P] hackbard/rcs
# [P] hackbard/rsync
+# [P] hackbard/screen
# [P] hackbard/sendmail
# [P] hackbard/sersniff
+# [P] hackbard/setserial
+# [P] hackbard/slmodem
# [P] hackbard/strace
# [P] hackbard/unzip
+# [P] hackbard/which
+# [P] hackbard/wvdial
+# [P] hackbard/wvstreams
# [P] hackbard/zip
-# [P] hackbard/procmail
-# [P] hackbard/isdn4k-utils
-# [P] hackbard/rcs
# [P] optional/unrealircd