diff options
author | sibel <lesibel@free.fr> | 2011-01-02 11:08:52 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-01-02 11:08:52 +0100 |
commit | 40abc007cb662a7833d3c0d4074c47dc9aff3d4e (patch) | |
tree | c4830a7c22e7f13ed309855e79569f783d44049a | |
parent | 9455ad0e28d3abb74df8f191ade5e7f9b6479ee6 (diff) | |
download | nutyx-extra-40abc007cb662a7833d3c0d4074c47dc9aff3d4e.tar.gz nutyx-extra-40abc007cb662a7833d3c0d4074c47dc9aff3d4e.tar.bz2 nutyx-extra-40abc007cb662a7833d3c0d4074c47dc9aff3d4e.tar.xz nutyx-extra-40abc007cb662a7833d3c0d4074c47dc9aff3d4e.zip |
gobject-introspection#0.10.0-2, correction python
-rw-r--r-- | extra/gobject-introspection/Pkgfile | 7 | ||||
-rw-r--r-- | extra/gobject-introspection/gobject-introspection-python2.7.patch | 22 |
2 files changed, 27 insertions, 2 deletions
diff --git a/extra/gobject-introspection/Pkgfile b/extra/gobject-introspection/Pkgfile index bbaaa690a..ea84112eb 100644 --- a/extra/gobject-introspection/Pkgfile +++ b/extra/gobject-introspection/Pkgfile @@ -6,12 +6,15 @@ name=gobject-introspection version=0.10.0 -release=1 +release=2 source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2) + build() { cd $name-$version - ./configure --prefix=/usr + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make make DESTDIR=$PKG install rm -rf $PKG/usr/share/gtk-doc diff --git a/extra/gobject-introspection/gobject-introspection-python2.7.patch b/extra/gobject-introspection/gobject-introspection-python2.7.patch new file mode 100644 index 000000000..c8af780f8 --- /dev/null +++ b/extra/gobject-introspection/gobject-introspection-python2.7.patch @@ -0,0 +1,22 @@ +--- gobject-introspection-0.9.0/giscanner/xmlwriter.py~ 2009-09-17 10:53:45.000000000 +0200 ++++ gobject-introspection-0.9.0/giscanner/xmlwriter.py 2010-07-08 15:36:27.702842362 +0200 +@@ -67,7 +67,7 @@ + return attr_value + + +-with LibtoolImporter: ++with LibtoolImporter(None, None): + from giscanner._giscanner import collect_attributes + + +--- gobject-introspection-0.9.0/giscanner/sourcescanner.py~ 2010-06-29 15:35:09.000000000 +0200 ++++ gobject-introspection-0.9.0/giscanner/sourcescanner.py 2010-07-08 15:40:05.096144193 +0200 +@@ -196,7 +196,7 @@ + class SourceScanner(object): + + def __init__(self): +- with LibtoolImporter: ++ with LibtoolImporter(None, None): + from giscanner._giscanner import SourceScanner + self._scanner = SourceScanner() + self._filenames = [] |