* Fix packages.
svn path=/nixpkgs/trunk/; revision=118
This commit is contained in:
parent
114e76b2a4
commit
522797e468
6 changed files with 50 additions and 7 deletions
16
build/wxPython-build.sh
Executable file
16
build/wxPython-build.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#! /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:$fontconfig/lib:$Xft/lib:$freetype/lib
|
||||
|
||||
top=`pwd`
|
||||
tar xvfz $src || exit 1
|
||||
cd wxPythonSrc-* || exit 1
|
||||
./configure --prefix=$top --enable-gtk2 --enable-rpath=$top/lib --with-opengl || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
cd wxPython || exit 1
|
||||
python setup.py WX_CONFIG=$top/bin/wx-config WXPORT=gtk2 build install --root=$top/python || exit 1
|
||||
cd $top || exit 1
|
||||
rm -rf wxPythonSrc-* || exit 1
|
17
descriptors/wxPython-2.4.0.7.fix
Normal file
17
descriptors/wxPython-2.4.0.7.fix
Normal file
|
@ -0,0 +1,17 @@
|
|||
Descr(
|
||||
[ Bind("pkgId", "wxPython-2.4.0.7")
|
||||
, Bind("releaseId", "1")
|
||||
|
||||
, Bind("pkgconfig", Fix("./pkgconfig-0.15.0.fix"))
|
||||
, Bind("glib", Fix("./glib-2.2.1.fix"))
|
||||
, Bind("atk", Fix("./atk-1.2.0.fix"))
|
||||
, Bind("freetype", Fix("./freetype-2.1.4.fix"))
|
||||
, Bind("fontconfig", Fix("./fontconfig-20021121.fix"))
|
||||
, Bind("Xft", Fix("./Xft-20021121.fix"))
|
||||
, Bind("pango", Fix("./pango-1.2.1.fix"))
|
||||
, Bind("gtk", Fix("./gtk+-2.2.1.fix"))
|
||||
|
||||
, Bind("src", Url("c7864b56ff1422697a310f91f54c7ed6", "http://heanet.dl.sourceforge.net/sourceforge/wxpython/wxPythonSrc-2.4.0.7.tar.gz"))
|
||||
, Bind("build", Local("../build/wxPython-build.sh"))
|
||||
]
|
||||
)
|
|
@ -1,9 +1,9 @@
|
|||
Package(
|
||||
[ ("src", App(IncludeFix("fetchurl/expr.fix"),
|
||||
[ ("id", "aterm-2.0")
|
||||
, ("build", Relative("aterm/aterm-build.sh"))
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz")
|
||||
, ("hash", "653b1bb8140ee0206b00aab126ef412e")
|
||||
])
|
||||
, ("build", Relative("aterm-build.sh"))
|
||||
, ("id", "aterm-2.0")
|
||||
]))
|
||||
]
|
||||
)
|
||||
|
|
|
@ -3,6 +3,7 @@ Function(["url", "hash"],
|
|||
[ ("build", Relative("fetchurl/fetchurl.sh"))
|
||||
, ("url", Var("url"))
|
||||
, ("hash", Var("hash"))
|
||||
, ("id", "fetched-from-url")
|
||||
]
|
||||
)
|
||||
)
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
top=`pwd`
|
||||
mkdir $out || exit 1
|
||||
cd $out || exit 1
|
||||
tar xvfz $src || exit 1
|
||||
cd pkgconfig-* || exit 1
|
||||
./configure --prefix=$top || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
cd .. || exit 1
|
||||
cd $out || exit 1
|
||||
rm -rf pkgconfig-* || exit 1
|
8
pkgs/system/system.fix
Normal file
8
pkgs/system/system.fix
Normal file
|
@ -0,0 +1,8 @@
|
|||
Package(
|
||||
[ ("id", "system")
|
||||
, ("build", Relative("system/populate-linkdirs.pl"))
|
||||
|
||||
, ("actATerm", IncludeFix("aterm/aterm.fix"))
|
||||
, ("actPkgConfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
||||
]
|
||||
)
|
Loading…
Reference in a new issue