summaryrefslogtreecommitdiff
blob: 8882cd07907141b3a5f81107aaa016e0390e7130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
 Fix FHS compliance of codegen

 codegen/Makefile.am          |    2 +-
 codegen/pygtk-codegen-2.0.in |    3 ++-
 pygtk-2.0.pc.in              |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

--- a/codegen/Makefile.am	2007-11-01 12:20:22.000000000 -0400
+++ b/codegen/Makefile.am	2008-05-28 22:21:04.000000000 -0400
@@ -2,7 +2,7 @@ PLATFORM_VERSION = 2.0
 
 bin_SCRIPTS = pygobject-codegen-$(PLATFORM_VERSION)
 
-codegendir = $(pkgdatadir)/$(PLATFORM_VERSION)/codegen
+codegendir = $(pyexecdir)/gtk-2.0/codegen
 
 codegen_PYTHON = \
 	__init__.py \
--- a/codegen/pygobject-codegen-2.0.in	2007-11-01 12:20:22.000000000 -0400
+++ b/codegen/pygobject-codegen-2.0.in	2008-05-28 22:24:38.000000000 -0400
@@ -1,9 +1,10 @@
 #!/bin/sh
 
 prefix=@prefix@
+exec_prefix=@exec_prefix@
 datarootdir=@datarootdir@
 datadir=@datadir@
-codegendir=${datadir}/pygobject/2.0/codegen
+codegendir=@pyexecdir@/gtk-2.0/codegen
 
 PYTHONPATH=$codegendir
 export PYTHONPATH
--- a/pygobject-2.0.pc.in	2007-11-01 12:20:22.000000000 -0400
+++ b/pygobject-2.0.pc.in	2008-05-28 22:21:04.000000000 -0400
@@ -4,6 +4,7 @@
 datarootdir=@datarootdir@
 datadir=@datadir@
 libdir=@libdir@
+pyexecdir=@pyexecdir@
 
 # you can use the --variable=pygtkincludedir argument to
 # pkg-config to get this value.  You might want to use this to
@@ -12,5 +12,5 @@
 defsdir=${datadir}/pygobject/2.0/defs
-codegendir=${datadir}/pygobject/2.0/codegen
+codegendir=${pyexecdir}/gtk-2.0/codegen
 
 Name: PyGObject
 Description: Python bindings for GObject