1
From 9f54cae637585a50700721943c3a19f7c79bc381 Mon Sep 17 00:00:00 2001
2
From: Robert Ancell <robert.ancell@canonical.com>
3
Date: Wed, 30 Mar 2011 16:49:18 +1100
4
Subject: [PATCH 3/3] libgames-support: Install typelib into a private location, don't bother installing the .gir since the library is private and is not going to be extended by other libraries
7
libgames-support/Makefile.am | 11 +----------
8
lightsoff/src/lightsoff.in | 1 +
9
swell-foop/swell-foop.in | 1 +
10
3 files changed, 3 insertions(+), 10 deletions(-)
12
Index: gnome-games-2.32.1/libgames-support/Makefile.am
13
===================================================================
14
--- gnome-games-2.32.1.orig/libgames-support/Makefile.am 2011-03-31 12:29:00.038817054 +1100
15
+++ gnome-games-2.32.1/libgames-support/Makefile.am 2011-03-31 12:29:53.349199393 +1100
18
BUILT_GIRSOURCES = GnomeGamesSupport-1.0.gir
20
-# FIXMEchpe: change GIR version for the gtk+-3.0 based one...
21
-# or just remove introspection support for the gtk+-2.0 build
23
GnomeGamesSupport-1.0.gir: $(INTROSPECTION_SCANNER) libgames-support-gi.la $(libgames_support_gi_la_SOURCES)
24
$(AM_V_GEN) $(INTROSPECTION_SCANNER) -v \
25
--namespace GnomeGamesSupport --nsversion=1.0 \
30
-# FIXMEchpe: this looks bogus. If the introspection.m4 macro gets it wrong, fix it!
31
-# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
32
-# install anything - we need to install inside our prefix.
33
-girdir = $(datadir)/gir-1.0
34
+girdir = $(pkglibdir)
35
gir_DATA = $(BUILT_GIRSOURCES)
37
-typelibsdir = $(libdir)/girepository-1.0
38
+typelibsdir = $(pkglibdir)
39
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
41
%.typelib: %.gir $(INTROSPECTION_COMPILER)
42
Index: gnome-games-2.32.1/lightsoff/src/lightsoff.in
43
===================================================================
44
--- gnome-games-2.32.1.orig/lightsoff/src/lightsoff.in 2011-03-31 12:29:00.018816928 +1100
45
+++ gnome-games-2.32.1/lightsoff/src/lightsoff.in 2011-03-31 12:29:01.308826194 +1100
49
export LD_LIBRARY_PATH="%pkglibdir%${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
50
+export GI_TYPELIB_PATH="%pkglibdir%${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
51
/usr/bin/env seed %pkgdatadir%/lightsoff/main.js
52
Index: gnome-games-2.32.1/swell-foop/swell-foop.in
53
===================================================================
54
--- gnome-games-2.32.1.orig/swell-foop/swell-foop.in 2011-03-31 12:29:00.028816989 +1100
55
+++ gnome-games-2.32.1/swell-foop/swell-foop.in 2011-03-31 12:29:01.308826194 +1100
59
export LD_LIBRARY_PATH="%pkglibdir%${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
60
+export GI_TYPELIB_PATH="%pkglibdir%${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
61
/usr/bin/env seed %pkgdatadir%/swell-foop/main.js