about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-03-20T22·25+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-03-20T22·25+0000
commit4c43711810c73a3899066b9401a9517f53e1b0f1 (patch)
tree92ea3438881dccf28a7024bbb426c9579bcbd63b
parentcadc3852e44bc625872ef18f4407bff6797ac5dd (diff)
* Descriptor templates for the Pan newsreader and all its
  dependencies.

-rwxr-xr-xtest/dist/aterm-build.sh10
-rwxr-xr-xtest/dist/atk-build.sh12
-rwxr-xr-xtest/dist/glib-build.sh10
-rwxr-xr-xtest/dist/gnet-build.sh12
-rwxr-xr-xtest/dist/gtk+-build.sh12
-rwxr-xr-xtest/dist/pan-build.sh12
-rwxr-xr-xtest/dist/pango-build.sh12
-rwxr-xr-xtest/dist/pkgconfig-build.sh10
-rwxr-xr-xtest/register18
-rw-r--r--test/tmpl/aterm-2.0.nix5
-rw-r--r--test/tmpl/atk-1.2.0.nix6
-rw-r--r--test/tmpl/glib-2.2.1.nix5
-rw-r--r--test/tmpl/gnet-1.1.8.nix6
-rw-r--r--test/tmpl/gtk+-2.2.1.nix8
-rw-r--r--test/tmpl/pan-0.13.4.nix10
-rw-r--r--test/tmpl/pango-1.2.1.nix6
-rw-r--r--test/tmpl/pkgconfig-0.15.0.nix3
17 files changed, 157 insertions, 0 deletions
diff --git a/test/dist/aterm-build.sh b/test/dist/aterm-build.sh
new file mode 100755
index 000000000000..cfc83806b35b
--- /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 000000000000..df881cbef733
--- /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 000000000000..2100052bede4
--- /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 000000000000..ec614b4bfa1c
--- /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 000000000000..8c887fec4f02
--- /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 000000000000..468814ff6686
--- /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 000000000000..fd43c274b51d
--- /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 000000000000..522a05716b5c
--- /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 000000000000..a50dd051a83f
--- /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 000000000000..084f2751004e
--- /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 000000000000..bbe63670cb8a
--- /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 000000000000..f1d0d08479c8
--- /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 000000000000..4d6ba1f5161b
--- /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 000000000000..83c2835dfeee
--- /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 000000000000..574fb6f4079c
--- /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 000000000000..4c7e1afe7165
--- /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 000000000000..f93d40e3d09d
--- /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