*) 2005-08-11
+- improved helper scripts
+- more package updates (stage 5 done)
- fixes to fai routine, improved hdw-get
- several package updates (stage 4)
- xdirectfb changes (adapted from malis notebook)
#
# [V] 0.7.2
# [S] 3-6
-# [D] DFBPoint-0.7.2.tar.gz http://www.directfb.org/download/DFBPoint/
+# [D] DFBPoint-0.7.2.tar.gz http://directfb.org/downloads/Programs/
srcdir="DFBPoint-$ver"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.7.4
+# [V] cvs
# [S] 3-6
-# [D] DFBSee-0.7.4.tar.gz http://www.directfb.org/download/DFBSee/
+# [D] dfbsee.tar.bz2 cvs:anonymous:directfb.org:cvs/directfb:DFBSee
-srcdir="DFBSee-$ver"
+srcdir="DFBSee"
+
+export PKG_CONFIG=/usr/bin/pkg-config
+
+pre_install() {
+ ./autogen.sh
+ }
srcdir="DirectFB-$ver"
[ "$ver" = "cvs" ] && srcdir="DirectFB"
-confopt="$confopt --enable-sysfs"
+confopt="$confopt --enable-sysfs --enable-video4linux2"
# uncomment if you want multi app support (requires fusion kernel patch)
# confopt="$confopt --enable-multi"
# author: hackbard@hackdaworld.org
#
# [V] 1.3.2
-# [S] 3-6
+# [S] 3-8
# [D] fig2ps_1.3.2.tar.gz http://mesh.dl.sourceforge.net/sourceforge/fig2ps/
build_main() {
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.0.2
+# [V] 3.0
# [S] 3-5
-# [D] tetex-src-2.0.2.tar.gz ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/
-# [D] tetex-texmf-2.0.2.tar.gz ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/
-# [D] tetex-texmfsrc-2.0.2.tar.gz ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/
-# [D] graphs.tar.gz http://www.cs.umu.se/~drewes/graphs/
+# [D] tetex-src-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
+# [D] tetex-texmf-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
+# [D] tetex-texmfsrc-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
srcdir="tetex-src-$ver"
-confopt="$confopt --disable-multiplatform"
+confopt="$confopt --with-system-ncurses --with-system-zlib"
+confopt="$confopt --exec-prefix=$prefix --without-texinfo"
+# to avoid x dependency
+# confopt="$confopt --with-x=no"
-pre_install() {
- mkdir -p $prefix/share/texmf
- mkdir -p $root/src.$package/tex
- tar --use-compress-program=gunzip -xf \
- $archdir/tetex-texmf-${ver}.tar.gz -C \
- $root/src.$package/tex
- chown -R 0.0 $root/src.$package/tex
- cp -a $root/src.$package/tex/* $prefix/share/texmf
- rm -rf $root/src.$package/tex/*
- tar --use-compress-program=gunzip -xf \
- $archdir/tetex-texmfsrc-${ver}.tar.gz -C \
- $root/src.$package/tex
- chown -R 0.0 $root/src.$package/tex
- cp -a $root/src.$package/tex/* $prefix/share/texmf
- rm -rf $root/src.$package/tex
-
- # wrong timestamp
- #touch ./texk/web2c/tangleboot.p
- # new flex
- sed 's%$(LEX)%$(LEX) -l%g' texk/web2c/omegafonts/Makefile.in > tmp~
- mv tmp~ texk/web2c/omegafonts/Makefile.in
- }
+make_conf="all $make_conf"
-post_install() {
- # installing graphs.sty
- mkdir -p $prefix/share/texmf/tex/latex/graphs
- tar --use-compress-program=gunzip -xf \
- $archdir/graphs.tar.gz -C \
- $prefix/share/texmf/tex/latex/graphs
- chown -R 0.0 $prefix/share/texmf/tex/latex/graphs
- echo "\special{header=${prefix}/share/texmf/tex/latex/graphs/graphs.header}" > \
- $prefix/share/texmf/tex/latex/graphs/graphs_config.tex
+pre_install() {
+ install -v -d -m755 $prefix/share/texmf
+ gzip -dc $archdir/tetex-texmf-${ver}.tar.gz | \
+ ( umask 0; tar -C $prefix/share/texmf -xf -)
+ gzip -dc $archdir/tetex-texmfsrc-${ver}.tar.gz | \
+ ( umask 0; tar -C $prefix/share/texmf -xf -)
}
--- /dev/null
+# hdw - linux zip package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 0.1
+# [S] 3-1
+# [D] which http://www.hackdaworld.org/download/
+
+custmain=1
+
+custmain() {
+ install -v -m755 $archdir/which $prefix/bin
+ }
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] cvs
+# [V] 0.7-0.7.43
# [S] 3-5
-# [D] avifile.tar.bz2 cvs:anonymous:cvs.avifile.sourceforge.net:cvsroot/avifile:avifile
+# [D] avifile-0.7-0.7.43.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/avifile/
+# [D] binaries-011002.tgz http://mesh.dl.sourceforge.net/sourceforge/avifile/
+
+extra_ver="011002"
+confopt="$confopt --with-win32-path=$prefix/lib/avifile"
pre_install() {
- ./autogen.sh
+ install -v -d -m755 $prefix/lib/avifile/win32
+ tar xvfz $archdir/binaries-${extra_ver}.tgz -C $prefix/lib/avifile
}
-
-confopt="$confopt --enable-shared --enable-static"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 6.0.1
+# [V] 6.3
# [S] 3-6
-# [D] MesaLib-6.0.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
+# [D] MesaLib-6.3.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
srcdir=Mesa-$ver
# install in /opt/mesa3d
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.2.5
+# [V] 1.2.6
# [S] 3-5
-# [D] SDL_mixer-1.2.5.tar.gz http://www.libsdl.org/projects/SDL_mixer/release/
+# [D] SDL_mixer-1.2.6.tar.gz http://www.libsdl.org/projects/SDL_mixer/release/
srcdir="SDL_mixer-$ver"
s_value=45
depends=ifconfig
+path=/sbin
# author: hackbard@hackdaworld.dyndns.org
#
# [V] 2.8
-# [S] 3-4
+# [S] 3-8
# [D] aumix-2.8.tar.bz2 http://jpj.net/~trevor/aumix/
confopt="$confopt --without-gtk1"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.4.4
+# [V] 2.7.7
# [S] 3-5
-# [D] glib-2.4.4.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/glib/2.4/
+# [D] glib-2.7.7.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/glib/2.7/
# optional
# confopt="$confopt --disable-debug"
--- /dev/null
+--- ./gstrfuncs.c.orig 2004-05-15 13:40:03.556092792 +0000
++++ ./gstrfuncs.c 2004-05-15 13:40:36.712052320 +0000
+@@ -47,6 +47,8 @@
+ * inteferes with g_strsignal() on some OSes
+ */
+
++#define G_GNUC_PRETTY_FUNCTION
++
+ typedef union _GDoubleIEEE754 GDoubleIEEE754;
+ #define G_IEEE754_DOUBLE_BIAS (1023)
+ /* multiply with base2 exponent to get base10 exponent (nomal numbers) */
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 6.0.3-1
+# [V] 6.2.3-5
# [S] 3-6
-# [D] ImageMagick-6.0.3-1.tar.bz2 ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/
+# [D] ImageMagick-6.2.3-5.tar.bz2 http://www.imagemagick.org/download/
xtraver="`echo $ver | awk -F- '{ print $1 }'`"
srcdir="ImageMagick-${xtraver}"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 0.8.3
+# [V] 0.8.6
# [S] 3-5
-# [D] libIDL-0.8.3.tar.bz2 ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
+# [D] libIDL-0.8.6.tar.bz2 ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
srcdir="libIDL-${ver}"
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.6.11
+# [V] 2.6.20
# [S] 3-5
-# [D] libxml2-2.6.11.tar.bz2 ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/
+# [D] libxml2-2.6.20.tar.bz2 ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/
#
# [V] 3.1
# [S] 3-4
-# [D] wmapm-3.1.tar.gz http://dockapps.org/download.php/id/25/
+# [D] wmapm-3.1.tar.gz http://hdwlinux.org/download/hdw-linux/hdw-linux-1.0/sources/x11/wmapm/
build_main() {
cd wmapm &&
#
# [V] 0-4modified
# [S] 3-4
-# [D] wmwave.tar.bz2 http://www.hackdaworld.org/download/hdw-linux/hdw-linux-1.0/sources/x11/wmwave/
+# [D] wmwave.tar.bz2 http://www.hdwlinux.org/download/hdw-linux/hdw-linux-1.0/sources/x11/wmwave/
build_main() {
rm -fv *.o wmwave
# possibly the package exists
mkdir -p ./download/$dir/$pkg ; cd ./download/$dir/$pkg
tolf="`find ../.. -name $file | tail -1`"
+ if [ -n "$tolf" ] ; then
+ [ -d $tolf ] && tolf=""
+ fi
if [ -f ./$file ] ; then
echo "$file allready downloaded."
echo
cdf=0
rtd=0
bd=0
+chr=0
+root=""
while [ "$1" ] ; do
case "$1" in
-create_dist_files) cdf=1; shift 1 ;;
-create_runtimedeps) rtd=1; shift 1 ;;
-create_build_deps) bd=1; shift 1 ;;
+ -chroot) chr=1; shift 1 ;;
*)
echo
echo "usage:"
esac
done
+[ "$chr" = "1" ] && root=$hdw_build_dir
+
if [ "$rtd" = "1" ] ; then
echo "# hdw packages + run time dependencies"
echo "#"
echo "# created `date`"
echo
- for i in /var/adm/deps/run/*; do
- echo -en $i | sed 's$/var/adm/deps/run/$$'
- echo -en " - "
- for j in `cat $i`; do
- echo -en "$j "
- done
- echo -en "\n"
+ echo "00-dirtree -"
+ for i in $root/var/adm/flists/*; do
+ package=`basename $i | sed 's/-[0-9].*//'`
+ if [ -n "`echo $package | grep -v stage[0-1]`" ] ; then
+ file="$root/var/adm/deps/run/$package"
+ echo -en $package
+ echo -en " - "
+ if [ -f $file ] ; then
+ for j in `cat $file`; do
+ echo -en "$j "
+ done
+ fi
+ echo -en "\n"
+ fi
done
fi