aboutsummaryrefslogtreecommitdiff
path: root/test/build
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-03-23 23:28:28 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-03-23 23:28:28 +0000
commit8d682ba551c44daecd427999114b9c520eef0296 (patch)
tree8705544a047453246d11ecfa03ecb75789fd9614 /test/build
parent20d165c34467338f07c4808783cd50318c38a47b (diff)
* A descriptor for running the Pan newsreader.
* Added descriptors for gtkspell and its support package pspell. Gtkspell is an optional dependency of Pan, so we should add the ability to nix-instantiate to instantiate variants of a package based on a selection of features.
Diffstat (limited to 'test/build')
-rwxr-xr-xtest/build/gtkspell-build.sh13
-rwxr-xr-xtest/build/pan-build-2.sh20
-rwxr-xr-xtest/build/pan-run.sh7
-rwxr-xr-xtest/build/pspell-build.sh10
4 files changed, 50 insertions, 0 deletions
diff --git a/test/build/gtkspell-build.sh b/test/build/gtkspell-build.sh
new file mode 100755
index 000000000..d1e56943f
--- /dev/null
+++ b/test/build/gtkspell-build.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+export PATH=$pkgconfig/bin:/bin:/usr/bin
+export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$gtk/lib/pkgconfig
+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
diff --git a/test/build/pan-build-2.sh b/test/build/pan-build-2.sh
new file mode 100755
index 000000000..87dd4e6a1
--- /dev/null
+++ b/test/build/pan-build-2.sh
@@ -0,0 +1,20 @@
+#! /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:$gtkspell/lib/pkgconfig
+export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$gnet/lib:$pspell/lib:$gtkspell/lib
+
+# A bug in gtkspell: the pspell library path is not exported
+# through pkgconfig.
+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-*
diff --git a/test/build/pan-run.sh b/test/build/pan-run.sh
new file mode 100755
index 000000000..923a23292
--- /dev/null
+++ b/test/build/pan-run.sh
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$gnet/lib:$pspell/lib:$gtkspell/lib
+
+ldd $pan/bin/pan
+
+$pan/bin/pan \ No newline at end of file
diff --git a/test/build/pspell-build.sh b/test/build/pspell-build.sh
new file mode 100755
index 000000000..588c2f1a0
--- /dev/null
+++ b/test/build/pspell-build.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+export PATH=/bin:/usr/bin
+
+top=`pwd`
+tar xvfz $src
+cd pspell-*
+./configure --prefix=$top
+make
+make install