From 49e0d743d7348ba15f6c8125138c4e17b271d8c3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Apr 2003 21:21:06 +0000 Subject: [PATCH] * Fix descriptors for Pan and its dependencies. --- test/build/atk-build.sh | 16 ++++++++-------- test/build/gnet-build.sh | 14 +++++++------- test/build/gtk+-build.sh | 14 +++++++------- test/build/gtkspell-build.sh | 14 +++++++------- test/build/pan-build-2.sh | 14 +++++++------- test/build/pango-build.sh | 16 ++++++++-------- test/build/pspell-build.sh | 14 +++++++------- test/fixdescriptors/atk-1.2.0.fix | 11 +++++++++++ test/fixdescriptors/gnet-1.1.8.fix | 11 +++++++++++ test/fixdescriptors/gtk+-2.2.1.fix | 13 +++++++++++++ test/fixdescriptors/gtkspell-2.0.2.fix | 15 +++++++++++++++ test/fixdescriptors/pan-0.13.95.fix | 17 +++++++++++++++++ test/fixdescriptors/pango-1.2.1.fix | 11 +++++++++++ test/fixdescriptors/pspell-.12.2.fix | 8 ++++++++ test/fixdescriptors/system.fix | 9 ++++++++- 15 files changed, 145 insertions(+), 52 deletions(-) create mode 100644 test/fixdescriptors/atk-1.2.0.fix create mode 100644 test/fixdescriptors/gnet-1.1.8.fix create mode 100644 test/fixdescriptors/gtk+-2.2.1.fix create mode 100644 test/fixdescriptors/gtkspell-2.0.2.fix create mode 100644 test/fixdescriptors/pan-0.13.95.fix create mode 100644 test/fixdescriptors/pango-1.2.1.fix create mode 100644 test/fixdescriptors/pspell-.12.2.fix diff --git a/test/build/atk-build.sh b/test/build/atk-build.sh index 58d190aef..632dbe12f 100755 --- a/test/build/atk-build.sh +++ b/test/build/atk-build.sh @@ -4,11 +4,11 @@ export PATH=$pkgconfig/bin:/bin:/usr/bin export PKG_CONFIG_PATH=$glib/lib/pkgconfig export LD_LIBRARY_PATH=$glib/lib -top=`pwd` -tar xvfj $src -cd atk-* -./configure --prefix=$top -make -make install -cd .. -rm -rf atk-* +top=`pwd` || exit 1 +tar xvfj $src || exit 1 +cd atk-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf atk-* || exit 1 diff --git a/test/build/gnet-build.sh b/test/build/gnet-build.sh index 9752994a1..72141c268 100755 --- a/test/build/gnet-build.sh +++ b/test/build/gnet-build.sh @@ -5,10 +5,10 @@ export PKG_CONFIG_PATH=$glib/lib/pkgconfig export LD_LIBRARY_PATH=$glib/lib top=`pwd` -tar xvfz $src -cd gnet-* -./configure --prefix=$top -make -make install -cd .. -rm -rf gnet-* +tar xvfz $src || exit 1 +cd gnet-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf gnet-* || exit 1 diff --git a/test/build/gtk+-build.sh b/test/build/gtk+-build.sh index 8451a2d4e..3b663fec5 100755 --- a/test/build/gtk+-build.sh +++ b/test/build/gtk+-build.sh @@ -5,10 +5,10 @@ export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconf export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib top=`pwd` -tar xvfj $src -cd gtk+-* -./configure --prefix=$top -make -make install -cd .. -rm -rf gtk+-* +tar xvfj $src || exit 1 +cd gtk+-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf gtk+-* || exit 1 diff --git a/test/build/gtkspell-build.sh b/test/build/gtkspell-build.sh index 009e1133c..d4267b302 100755 --- a/test/build/gtkspell-build.sh +++ b/test/build/gtkspell-build.sh @@ -6,10 +6,10 @@ export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$pspell/lib export C_INCLUDE_PATH=$pspell/include top=`pwd` -tar xvfz $src -cd gtkspell-* -./configure --prefix=$top -make -make install -cd .. -rm -rf gtkspell-* +tar xvfz $src || exit 1 +cd gtkspell-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf gtkspell-* || exit 1 diff --git a/test/build/pan-build-2.sh b/test/build/pan-build-2.sh index 87dd4e6a1..8320cb010 100755 --- a/test/build/pan-build-2.sh +++ b/test/build/pan-build-2.sh @@ -11,10 +11,10 @@ export LIBRARY_PATH=$pspell/lib export LDFLAGS=-s top=`pwd` -tar xvfj $src -cd pan-* -./configure --prefix=$top -make -make install -cd .. -rm -rf pan-* +tar xvfj $src || exit 1 +cd pan-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf pan-* || exit 1 diff --git a/test/build/pango-build.sh b/test/build/pango-build.sh index 4ed76f76a..42a275802 100755 --- a/test/build/pango-build.sh +++ b/test/build/pango-build.sh @@ -4,11 +4,11 @@ export PATH=$pkgconfig/bin:/bin:/usr/bin export PKG_CONFIG_PATH=$glib/lib/pkgconfig export LD_LIBRARY_PATH=$glib/lib -top=`pwd` -tar xvfj $src -cd pango-* -./configure --prefix=$top -make -make install -cd .. -rm -rf pango-* +top=`pwd` || exit 1 +tar xvfj $src || exit 1 +cd pango-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf pango-* || exit 1 diff --git a/test/build/pspell-build.sh b/test/build/pspell-build.sh index 57fb1dcbd..862bb25e6 100755 --- a/test/build/pspell-build.sh +++ b/test/build/pspell-build.sh @@ -3,10 +3,10 @@ export PATH=/bin:/usr/bin top=`pwd` -tar xvfz $src -cd pspell-* -./configure --prefix=$top -make -make install -cd .. -rm -rf pspell-* +tar xvfz $src || exit 1 +cd pspell-* || exit 1 +./configure --prefix=$top || exit 1 +make || exit 1 +make install || exit 1 +cd $top || exit 1 +rm -rf pspell-* || exit 1 diff --git a/test/fixdescriptors/atk-1.2.0.fix b/test/fixdescriptors/atk-1.2.0.fix new file mode 100644 index 000000000..74e560327 --- /dev/null +++ b/test/fixdescriptors/atk-1.2.0.fix @@ -0,0 +1,11 @@ +Descr( + [ Bind("pkgId", Str("atk-1.2.0")) + , Bind("releaseId", Str("1")) + + , Bind("pkgconfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) + , Bind("glib", Pkg(Fix("./glib-2.2.1.fix"))) + + , Bind("src", File(Url("ftp://ftp.gtk.org/pub/gtk/v2.2/atk-1.2.0.tar.bz2"))) + , Bind("build", File(Local("../build/atk-build.sh"))) + ] +) diff --git a/test/fixdescriptors/gnet-1.1.8.fix b/test/fixdescriptors/gnet-1.1.8.fix new file mode 100644 index 000000000..34d9d10cd --- /dev/null +++ b/test/fixdescriptors/gnet-1.1.8.fix @@ -0,0 +1,11 @@ +Descr( + [ Bind("pkgId", Str("gnet-1.1.8")) + , Bind("releaseId", Str("1")) + + , Bind("pkgconfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) + , Bind("glib", Pkg(Fix("./glib-2.2.1.fix"))) + + , Bind("src", File(Url("http://www.gnetlibrary.org/src/gnet-1.1.8.tar.gz"))) + , Bind("build", File(Local("../build/gnet-build.sh"))) + ] +) diff --git a/test/fixdescriptors/gtk+-2.2.1.fix b/test/fixdescriptors/gtk+-2.2.1.fix new file mode 100644 index 000000000..6793cac45 --- /dev/null +++ b/test/fixdescriptors/gtk+-2.2.1.fix @@ -0,0 +1,13 @@ +Descr( + [ Bind("pkgId", Str("gtk+-2.2.1")) + , Bind("releaseId", Str("1")) + + , Bind("pkgconfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) + , Bind("glib", Pkg(Fix("./glib-2.2.1.fix"))) + , Bind("atk", Pkg(Fix("./atk-1.2.0.fix"))) + , Bind("pango", Pkg(Fix("./pango-1.2.1.fix"))) + + , Bind("src", File(Url("ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-2.2.1.tar.bz2"))) + , Bind("build", File(Local("../build/gtk+-build.sh"))) + ] +) diff --git a/test/fixdescriptors/gtkspell-2.0.2.fix b/test/fixdescriptors/gtkspell-2.0.2.fix new file mode 100644 index 000000000..e6d614f64 --- /dev/null +++ b/test/fixdescriptors/gtkspell-2.0.2.fix @@ -0,0 +1,15 @@ +Descr( + [ Bind("pkgId", Str("gtkspell-2.0.2")) + , Bind("releaseId", Str("1")) + + , Bind("pkgconfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) + , Bind("glib", Pkg(Fix("./glib-2.2.1.fix"))) + , Bind("atk", Pkg(Fix("./atk-1.2.0.fix"))) + , Bind("pango", Pkg(Fix("./pango-1.2.1.fix"))) + , Bind("gtk", Pkg(Fix("./gtk+-2.2.1.fix"))) + , Bind("pspell", Pkg(Fix("./pspell-.12.2.fix"))) + + , Bind("src", File(Url("http://pan.rebelbase.com/download/extras/gtkspell/SOURCES/gtkspell-2.0.2.tar.gz"))) + , Bind("build", File(Local("../build/gtkspell-build.sh"))) + ] +) diff --git a/test/fixdescriptors/pan-0.13.95.fix b/test/fixdescriptors/pan-0.13.95.fix new file mode 100644 index 000000000..3a32756b6 --- /dev/null +++ b/test/fixdescriptors/pan-0.13.95.fix @@ -0,0 +1,17 @@ +Descr( + [ Bind("pkgId", Str("pan-0.13.95")) + , Bind("releaseId", Str("2")) + + , Bind("pkgconfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) + , Bind("glib", Pkg(Fix("./glib-2.2.1.fix"))) + , Bind("atk", Pkg(Fix("./atk-1.2.0.fix"))) + , Bind("pango", Pkg(Fix("./pango-1.2.1.fix"))) + , Bind("gtk", Pkg(Fix("./gtk+-2.2.1.fix"))) + , Bind("gnet", Pkg(Fix("./gnet-1.1.8.fix"))) + , Bind("pspell", Pkg(Fix("./pspell-.12.2.fix"))) + , Bind("gtkspell", Pkg(Fix("./gtkspell-2.0.2.fix"))) + + , Bind("src", File(Url("http://pan.rebelbase.com/download/releases/0.13.95/SOURCE/pan-0.13.95.tar.bz2"))) + , Bind("build", File(Local("../build/pan-build-2.sh"))) + ] +) diff --git a/test/fixdescriptors/pango-1.2.1.fix b/test/fixdescriptors/pango-1.2.1.fix new file mode 100644 index 000000000..7ee2486a6 --- /dev/null +++ b/test/fixdescriptors/pango-1.2.1.fix @@ -0,0 +1,11 @@ +Descr( + [ Bind("pkgId", Str("pango-1.2.1")) + , Bind("releaseId", Str("1")) + + , Bind("pkgconfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) + , Bind("glib", Pkg(Fix("./glib-2.2.1.fix"))) + + , Bind("src", File(Url("ftp://ftp.gtk.org/pub/gtk/v2.2/pango-1.2.1.tar.bz2"))) + , Bind("build", File(Local("../build/pango-build.sh"))) + ] +) diff --git a/test/fixdescriptors/pspell-.12.2.fix b/test/fixdescriptors/pspell-.12.2.fix new file mode 100644 index 000000000..f19600c25 --- /dev/null +++ b/test/fixdescriptors/pspell-.12.2.fix @@ -0,0 +1,8 @@ +Descr( + [ Bind("pkgId", Str("pspell-.12.2")) + , Bind("releaseId", Str("1")) + + , Bind("src", File(Url("http://unc.dl.sourceforge.net/sourceforge/pspell/pspell-.12.2.tar.gz"))) + , Bind("build", File(Local("../build/pspell-build.sh"))) + ] +) diff --git a/test/fixdescriptors/system.fix b/test/fixdescriptors/system.fix index 62c056007..62d4eae40 100644 --- a/test/fixdescriptors/system.fix +++ b/test/fixdescriptors/system.fix @@ -1,10 +1,17 @@ Descr( [ Bind("pkgId", Str("system")) - , Bind("releaseId", Str("1")) + , Bind("releaseId", Str("2")) , Bind("actATerm", Pkg(Fix("./aterm-2.0.fix"))) , Bind("actPkgConfig", Pkg(Fix("./pkgconfig-0.15.0.fix"))) , Bind("actGlib", Pkg(Fix("./glib-2.2.1.fix"))) + , Bind("actAtk", Pkg(Fix("./atk-1.2.0.fix"))) + , Bind("actPango", Pkg(Fix("./pango-1.2.1.fix"))) + , Bind("actGtk", Pkg(Fix("./gtk+-2.2.1.fix"))) + , Bind("actGnet", Pkg(Fix("./gnet-1.1.8.fix"))) + , Bind("actPspell", Pkg(Fix("./pspell-.12.2.fix"))) + , Bind("actGtkspell", Pkg(Fix("./gtkspell-2.0.2.fix"))) + , Bind("actPan", Pkg(Fix("./pan-0.13.95.fix"))) , Bind("actSubversion", Pkg(Fix("./subversion-0.21.0.fix"))) , Bind("build", File(Local("../../scripts/nix-populate")))