1 |
eva 08/10/19 11:41:44 |
2 |
|
3 |
Added: pygobject-2.15.4-fix-codegen-location.patch |
4 |
Log: |
5 |
New version for GNOME 2.24. New APIs have been wrapped (notably GIO) and codegen is now part of pygobject. |
6 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/pygobject/files/pygobject-2.15.4-fix-codegen-location.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/files/pygobject-2.15.4-fix-codegen-location.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygobject/files/pygobject-2.15.4-fix-codegen-location.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pygobject-2.15.4-fix-codegen-location.patch |
15 |
=================================================================== |
16 |
--- |
17 |
Fix FHS compliance of codegen |
18 |
|
19 |
codegen/Makefile.am | 2 +- |
20 |
codegen/pygtk-codegen-2.0.in | 3 ++- |
21 |
pygtk-2.0.pc.in | 2 +- |
22 |
3 files changed, 4 insertions(+), 3 deletions(-) |
23 |
|
24 |
--- a/codegen/Makefile.am 2007-11-01 12:20:22.000000000 -0400 |
25 |
+++ b/codegen/Makefile.am 2008-05-28 22:21:04.000000000 -0400 |
26 |
@@ -2,7 +2,7 @@ PLATFORM_VERSION = 2.0 |
27 |
|
28 |
bin_SCRIPTS = pygobject-codegen-$(PLATFORM_VERSION) |
29 |
|
30 |
-codegendir = $(pkgdatadir)/$(PLATFORM_VERSION)/codegen |
31 |
+codegendir = $(pyexecdir)/gtk-2.0/codegen |
32 |
|
33 |
codegen_PYTHON = \ |
34 |
__init__.py \ |
35 |
--- a/codegen/pygobject-codegen-2.0.in 2007-11-01 12:20:22.000000000 -0400 |
36 |
+++ b/codegen/pygobject-codegen-2.0.in 2008-05-28 22:24:38.000000000 -0400 |
37 |
@@ -1,9 +1,10 @@ |
38 |
#!/bin/sh |
39 |
|
40 |
prefix=@prefix@ |
41 |
+exec_prefix=@exec_prefix@ |
42 |
datarootdir=@datarootdir@ |
43 |
datadir=@datadir@ |
44 |
-codegendir=${datadir}/pygobject/2.0/codegen |
45 |
+codegendir=@pyexecdir@/gtk-2.0/codegen |
46 |
|
47 |
PYTHONPATH=$codegendir |
48 |
export PYTHONPATH |
49 |
--- a/pygobject-2.0.pc.in 2007-11-01 12:20:22.000000000 -0400 |
50 |
+++ b/pygobject-2.0.pc.in 2008-05-28 22:21:04.000000000 -0400 |
51 |
@@ -4,6 +4,7 @@ |
52 |
datarootdir=@datarootdir@ |
53 |
datadir=@datadir@ |
54 |
libdir=@libdir@ |
55 |
+pyexecdir=@pyexecdir@ |
56 |
|
57 |
# you can use the --variable=pygtkincludedir argument to |
58 |
# pkg-config to get this value. You might want to use this to |
59 |
@@ -12,5 +12,5 @@ |
60 |
defsdir=${datadir}/pygobject/2.0/defs |
61 |
-codegendir=${datadir}/pygobject/2.0/codegen |
62 |
+codegendir=${pyexecdir}/gtk-2.0/codegen |
63 |
|
64 |
Name: PyGObject |
65 |
Description: Python bindings for GObject |