* Added a package for Sylpheed (which depends on glib/gtk+ 1.2.10).
svn path=/nixpkgs/trunk/; revision=195
This commit is contained in:
parent
daed3bbe7b
commit
1a5e75c192
9
pkgs/glib-1/glib-build.sh
Executable file
9
pkgs/glib-1/glib-build.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
export PATH=/bin:/usr/bin
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd glib-* || exit 1
|
||||||
|
LDFLAGS=-s ./configure --prefix=$out || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
11
pkgs/glib-1/glib.fix
Normal file
11
pkgs/glib-1/glib.fix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Package(
|
||||||
|
[ ("name", "glib-1.2.10")
|
||||||
|
|
||||||
|
, ("build", Relative("glib-1/glib-build.sh"))
|
||||||
|
|
||||||
|
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||||
|
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz")
|
||||||
|
, ("md5", "6fe30dad87c77b91b632def29dd69ef9")
|
||||||
|
]))
|
||||||
|
]
|
||||||
|
)
|
12
pkgs/gtk+-1/gtk+-build.sh
Executable file
12
pkgs/gtk+-1/gtk+-build.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
export PATH=/bin:/usr/bin
|
||||||
|
envpkgs="$glib"
|
||||||
|
. $setenv
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd gtk+-* || exit 1
|
||||||
|
LDFLAGS=-s ./configure --prefix=$out --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
||||||
|
echo $envpkgs > $out/envpkgs || exit 1
|
14
pkgs/gtk+-1/gtk+.fix
Normal file
14
pkgs/gtk+-1/gtk+.fix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Package(
|
||||||
|
[ ("name", "gtk+-1.2.10")
|
||||||
|
|
||||||
|
, ("build", Relative("gtk+-1/gtk+-build.sh"))
|
||||||
|
, ("setenv", Relative("helpers/set-env.sh"))
|
||||||
|
|
||||||
|
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||||
|
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz")
|
||||||
|
, ("md5", "4d5cb2fc7fb7830e4af9747a36bfce20")
|
||||||
|
]))
|
||||||
|
|
||||||
|
, ("glib", IncludeFix("glib-1/glib.fix"))
|
||||||
|
]
|
||||||
|
)
|
16
pkgs/sylpheed/sylpheed-build.sh
Executable file
16
pkgs/sylpheed/sylpheed-build.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
export PATH=/bin:/usr/bin
|
||||||
|
envpkgs="$gtk $ssl"
|
||||||
|
. $setenv
|
||||||
|
|
||||||
|
export C_INCLUDE_PATH=$ssl/include:$C_INCLUDE_PATH
|
||||||
|
|
||||||
|
export LDFLAGS=-s
|
||||||
|
|
||||||
|
tar xvfj $src || exit 1
|
||||||
|
cd sylpheed-* || exit 1
|
||||||
|
./configure --prefix=$out --enable-ssl --disable-gdk-pixbuf --disable-imlibtest || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
||||||
|
echo $envpkgs > $out/envpkgs || exit 1
|
15
pkgs/sylpheed/sylpheed.fix
Normal file
15
pkgs/sylpheed/sylpheed.fix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Package(
|
||||||
|
[ ("name", "sylpheed-0.9.3")
|
||||||
|
|
||||||
|
, ("build", Relative("sylpheed/sylpheed-build.sh"))
|
||||||
|
, ("setenv", Relative("helpers/set-env.sh"))
|
||||||
|
|
||||||
|
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||||
|
[ ("url", "http://heanet.dl.sourceforge.net/sourceforge/sylpheed-claws/sylpheed-0.9.3.tar.bz2")
|
||||||
|
, ("md5", "6a1ae8e746099e13f8ba968d4604adcf")
|
||||||
|
]))
|
||||||
|
|
||||||
|
, ("gtk", IncludeFix("gtk+-1/gtk+.fix"))
|
||||||
|
, ("ssl", IncludeFix("openssl/openssl.fix"))
|
||||||
|
]
|
||||||
|
)
|
@ -4,6 +4,9 @@ Package(
|
|||||||
|
|
||||||
, ("actSubversion", IncludeFix("subversion/subversion.fix"))
|
, ("actSubversion", IncludeFix("subversion/subversion.fix"))
|
||||||
, ("actPan", IncludeFix("pan/pan.fix"))
|
, ("actPan", IncludeFix("pan/pan.fix"))
|
||||||
|
, ("actSylpheed", IncludeFix("sylpheed/sylpheed.fix"))
|
||||||
, ("actMPlayer", IncludeFix("MPlayer/MPlayer.fix"))
|
, ("actMPlayer", IncludeFix("MPlayer/MPlayer.fix"))
|
||||||
|
, ("actStrategoXT", IncludeFix("strategoxt/strategoxt.fix"))
|
||||||
|
, ("actATerm", IncludeFix("aterm/aterm.fix"))
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user