forked from lix-project/lix
* 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.
This commit is contained in:
parent
20d165c344
commit
8d682ba551
13
test/build/gtkspell-build.sh
Executable file
13
test/build/gtkspell-build.sh
Executable file
|
@ -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
|
20
test/build/pan-build-2.sh
Executable file
20
test/build/pan-build-2.sh
Executable file
|
@ -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-*
|
7
test/build/pan-run.sh
Executable file
7
test/build/pan-run.sh
Executable file
|
@ -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
|
10
test/build/pspell-build.sh
Executable file
10
test/build/pspell-build.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
export PATH=/bin:/usr/bin
|
||||||
|
|
||||||
|
top=`pwd`
|
||||||
|
tar xvfz $src
|
||||||
|
cd pspell-*
|
||||||
|
./configure --prefix=$top
|
||||||
|
make
|
||||||
|
make install
|
10
test/tmpl/gtkspell-2.0.2.nix
Normal file
10
test/tmpl/gtkspell-2.0.2.nix
Normal file
|
@ -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
|
||||||
|
pspell <- ./pspell-.12.2.nix
|
||||||
|
|
||||||
|
src = url(http://pan.rebelbase.com/download/extras/gtkspell/SOURCES/gtkspell-2.0.2.tar.gz)
|
||||||
|
|
||||||
|
build = ../build/gtkspell-build.sh
|
11
test/tmpl/pan-0.13.91-run.nix
Normal file
11
test/tmpl/pan-0.13.91-run.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
pan <- ./pan-0.13.91.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
|
||||||
|
pspell <- ./pspell-.12.2.nix
|
||||||
|
gtkspell <- ./gtkspell-2.0.2.nix
|
||||||
|
|
||||||
|
run = ../build/pan-run.sh
|
12
test/tmpl/pan-0.13.91.nix
Normal file
12
test/tmpl/pan-0.13.91.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
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
|
||||||
|
pspell <- ./pspell-.12.2.nix
|
||||||
|
gtkspell <- ./gtkspell-2.0.2.nix
|
||||||
|
|
||||||
|
src = url(http://pan.rebelbase.com/download/releases/0.13.91/SOURCE/pan-0.13.91.tar.bz2)
|
||||||
|
|
||||||
|
build = ../build/pan-build-2.sh
|
3
test/tmpl/pspell-.12.2.nix
Normal file
3
test/tmpl/pspell-.12.2.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
src = url(http://unc.dl.sourceforge.net/sourceforge/pspell/pspell-.12.2.tar.gz)
|
||||||
|
|
||||||
|
build = ../build/pspell-build.sh
|
Loading…
Reference in a new issue