From 4c43711810c73a3899066b9401a9517f53e1b0f1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 20 Mar 2003 22:25:01 +0000 Subject: [PATCH] * Descriptor templates for the Pan newsreader and all its dependencies. --- test/dist/aterm-build.sh | 10 ++++++++++ test/dist/atk-build.sh | 12 ++++++++++++ test/dist/glib-build.sh | 10 ++++++++++ test/dist/gnet-build.sh | 12 ++++++++++++ test/dist/gtk+-build.sh | 12 ++++++++++++ test/dist/pan-build.sh | 12 ++++++++++++ test/dist/pango-build.sh | 12 ++++++++++++ test/dist/pkgconfig-build.sh | 10 ++++++++++ test/register | 18 ++++++++++++++++++ test/tmpl/aterm-2.0.nix | 5 +++++ test/tmpl/atk-1.2.0.nix | 6 ++++++ test/tmpl/glib-2.2.1.nix | 5 +++++ test/tmpl/gnet-1.1.8.nix | 6 ++++++ test/tmpl/gtk+-2.2.1.nix | 8 ++++++++ test/tmpl/pan-0.13.4.nix | 10 ++++++++++ test/tmpl/pango-1.2.1.nix | 6 ++++++ test/tmpl/pkgconfig-0.15.0.nix | 3 +++ 17 files changed, 157 insertions(+) create mode 100755 test/dist/aterm-build.sh create mode 100755 test/dist/atk-build.sh create mode 100755 test/dist/glib-build.sh create mode 100755 test/dist/gnet-build.sh create mode 100755 test/dist/gtk+-build.sh create mode 100755 test/dist/pan-build.sh create mode 100755 test/dist/pango-build.sh create mode 100755 test/dist/pkgconfig-build.sh create mode 100755 test/register create mode 100644 test/tmpl/aterm-2.0.nix create mode 100644 test/tmpl/atk-1.2.0.nix create mode 100644 test/tmpl/glib-2.2.1.nix create mode 100644 test/tmpl/gnet-1.1.8.nix create mode 100644 test/tmpl/gtk+-2.2.1.nix create mode 100644 test/tmpl/pan-0.13.4.nix create mode 100644 test/tmpl/pango-1.2.1.nix create mode 100644 test/tmpl/pkgconfig-0.15.0.nix diff --git a/test/dist/aterm-build.sh b/test/dist/aterm-build.sh new file mode 100755 index 000000000..cfc83806b --- /dev/null +++ b/test/dist/aterm-build.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +export PATH=/bin:/usr/bin + +top=`pwd` +tar xvfz $src +cd aterm-* +./configure --prefix=$top +make +make install diff --git a/test/dist/atk-build.sh b/test/dist/atk-build.sh new file mode 100755 index 000000000..df881cbef --- /dev/null +++ b/test/dist/atk-build.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +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 diff --git a/test/dist/glib-build.sh b/test/dist/glib-build.sh new file mode 100755 index 000000000..2100052be --- /dev/null +++ b/test/dist/glib-build.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +export PATH=$pkgconfig/bin:/bin:/usr/bin + +top=`pwd` +tar xvfj $src +cd glib-* +./configure --prefix=$top +make +make install diff --git a/test/dist/gnet-build.sh b/test/dist/gnet-build.sh new file mode 100755 index 000000000..ec614b4bf --- /dev/null +++ b/test/dist/gnet-build.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +export PATH=$pkgconfig/bin:/bin:/usr/bin +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 diff --git a/test/dist/gtk+-build.sh b/test/dist/gtk+-build.sh new file mode 100755 index 000000000..8c887fec4 --- /dev/null +++ b/test/dist/gtk+-build.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +export PATH=$pkgconfig/bin:/bin:/usr/bin +export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig +export LD_LIBRARY_PATH=$glib/lib + +top=`pwd` +tar xvfj $src +cd gtk+-* +./configure --prefix=$top +make +make install diff --git a/test/dist/pan-build.sh b/test/dist/pan-build.sh new file mode 100755 index 000000000..468814ff6 --- /dev/null +++ b/test/dist/pan-build.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +export PATH=$pkgconfig/bin:$gnet/bin:/bin:/usr/bin +export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$gtk/lib/pkgconfig +export LD_LIBRARY_PATH=$gnet/lib + +top=`pwd` +tar xvfj $src +cd pan-* +./configure --prefix=$top +make +make install diff --git a/test/dist/pango-build.sh b/test/dist/pango-build.sh new file mode 100755 index 000000000..fd43c274b --- /dev/null +++ b/test/dist/pango-build.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +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 diff --git a/test/dist/pkgconfig-build.sh b/test/dist/pkgconfig-build.sh new file mode 100755 index 000000000..522a05716 --- /dev/null +++ b/test/dist/pkgconfig-build.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +export PATH=/bin:/usr/bin + +top=`pwd` +tar xvfz $src +cd pkgconfig-* +./configure --prefix=$top +make +make install diff --git a/test/register b/test/register new file mode 100755 index 000000000..a50dd051a --- /dev/null +++ b/test/register @@ -0,0 +1,18 @@ +#! /bin/sh + +nix init + +root=/home/eelco/Dev/nix/test + +cd $root/tmpl + +if ! nix-instantiate $root/descr $root/tmpl/*.nix; then + exit 1; +fi + +for i in $root/dist/*; do nix regfile $i; done +for i in $root/descr/*; do + md5sum $i + nix regfile $i +done + diff --git a/test/tmpl/aterm-2.0.nix b/test/tmpl/aterm-2.0.nix new file mode 100644 index 000000000..084f27510 --- /dev/null +++ b/test/tmpl/aterm-2.0.nix @@ -0,0 +1,5 @@ +# Original sources. +src = ../dist/aterm-2.0.tar.gz + +# Build script. +build = ../dist/aterm-build.sh diff --git a/test/tmpl/atk-1.2.0.nix b/test/tmpl/atk-1.2.0.nix new file mode 100644 index 000000000..bbe63670c --- /dev/null +++ b/test/tmpl/atk-1.2.0.nix @@ -0,0 +1,6 @@ +pkgconfig <- ./pkgconfig-0.15.0.nix +glib <- ./glib-2.2.1.nix + +src = ../dist/atk-1.2.0.tar.bz2 + +build = ../dist/atk-build.sh diff --git a/test/tmpl/glib-2.2.1.nix b/test/tmpl/glib-2.2.1.nix new file mode 100644 index 000000000..f1d0d0847 --- /dev/null +++ b/test/tmpl/glib-2.2.1.nix @@ -0,0 +1,5 @@ +pkgconfig <- ./pkgconfig-0.15.0.nix + +src = ../dist/glib-2.2.1.tar.bz2 + +build = ../dist/glib-build.sh diff --git a/test/tmpl/gnet-1.1.8.nix b/test/tmpl/gnet-1.1.8.nix new file mode 100644 index 000000000..4d6ba1f51 --- /dev/null +++ b/test/tmpl/gnet-1.1.8.nix @@ -0,0 +1,6 @@ +pkgconfig <- ./pkgconfig-0.15.0.nix +glib <- ./glib-2.2.1.nix + +src = ../dist/gnet-1.1.8.tar.gz + +build = ../dist/gnet-build.sh diff --git a/test/tmpl/gtk+-2.2.1.nix b/test/tmpl/gtk+-2.2.1.nix new file mode 100644 index 000000000..83c2835df --- /dev/null +++ b/test/tmpl/gtk+-2.2.1.nix @@ -0,0 +1,8 @@ +pkgconfig <- ./pkgconfig-0.15.0.nix +glib <- ./glib-2.2.1.nix +atk <- ./atk-1.2.0.nix +pango <- ./pango-1.2.1.nix + +src = ../dist/gtk+-2.2.1.tar.bz2 + +build = ../dist/gtk+-build.sh diff --git a/test/tmpl/pan-0.13.4.nix b/test/tmpl/pan-0.13.4.nix new file mode 100644 index 000000000..574fb6f40 --- /dev/null +++ b/test/tmpl/pan-0.13.4.nix @@ -0,0 +1,10 @@ +pkgconfig <- ./pkgconfig-0.15.0.nix +glib <- ./glib-2.2.1.nix +atk <- ./atk-1.2.0.nix +pango <- ./pango-1.2.1.nix +gtk <- ./gtk+-2.2.1.nix +gnet <- ./gnet-1.1.8.nix + +src = ../dist/pan-0.13.4.tar.bz2 + +build = ../dist/pan-build.sh diff --git a/test/tmpl/pango-1.2.1.nix b/test/tmpl/pango-1.2.1.nix new file mode 100644 index 000000000..4c7e1afe7 --- /dev/null +++ b/test/tmpl/pango-1.2.1.nix @@ -0,0 +1,6 @@ +pkgconfig <- ./pkgconfig-0.15.0.nix +glib <- ./glib-2.2.1.nix + +src = ../dist/pango-1.2.1.tar.bz2 + +build = ../dist/pango-build.sh diff --git a/test/tmpl/pkgconfig-0.15.0.nix b/test/tmpl/pkgconfig-0.15.0.nix new file mode 100644 index 000000000..f93d40e3d --- /dev/null +++ b/test/tmpl/pkgconfig-0.15.0.nix @@ -0,0 +1,3 @@ +src = ../dist/pkgconfig-0.15.0.tar.gz + +build = ../dist/pkgconfig-build.sh