1 |
mr_bones_ 12/11/29 20:01:20 |
2 |
|
3 |
Added: gcompris-12.11-build.patch |
4 |
Log: |
5 |
version bump (bug #445051) |
6 |
|
7 |
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-kids/gcompris/files/gcompris-12.11-build.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/files/gcompris-12.11-build.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/files/gcompris-12.11-build.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: gcompris-12.11-build.patch |
16 |
=================================================================== |
17 |
diff -ru gcompris-12.11.orig/Makefile.am gcompris-12.11/Makefile.am |
18 |
--- gcompris-12.11.orig/Makefile.am 2012-05-29 13:39:35.000000000 -0400 |
19 |
+++ gcompris-12.11/Makefile.am 2012-11-28 15:13:10.438931729 -0500 |
20 |
@@ -17,7 +17,7 @@ |
21 |
# endif |
22 |
|
23 |
|
24 |
-icondir=$(datadir)/pixmaps |
25 |
+icondir=/usr/share/pixmaps |
26 |
icon_DATA = gcompris.png gcompris-edit.png |
27 |
|
28 |
if BUILD_MINGW32 |
29 |
@@ -25,7 +25,7 @@ |
30 |
Applications_in_files = |
31 |
Applications_DATA = |
32 |
else |
33 |
-Applicationsdir = $(datadir)/applications/ |
34 |
+Applicationsdir = /usr/share/applications/ |
35 |
Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in |
36 |
Applications_DATA = gcompris.desktop gcompris-edit.desktop |
37 |
endif |
38 |
diff -ru gcompris-12.11.orig/configure.ac gcompris-12.11/configure.ac |
39 |
--- gcompris-12.11.orig/configure.ac 2012-11-18 11:18:29.000000000 -0500 |
40 |
+++ gcompris-12.11/configure.ac 2012-11-28 15:16:34.904426137 -0500 |
41 |
@@ -204,10 +204,8 @@ |
42 |
USE_DEBUG="$enableval", USE_DEBUG="no") |
43 |
if test "x$USE_DEBUG" == "xyes" ; then |
44 |
AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.") |
45 |
- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -g" |
46 |
-else |
47 |
- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -O2" |
48 |
fi |
49 |
+CFLAGS="$CFLAGS $OSX_CFLAGS -Wall" |
50 |
|
51 |
dnl disable activation code |
52 |
AC_ARG_ENABLE(disable-activation-code, |
53 |
@@ -345,21 +343,21 @@ |
54 |
fi |
55 |
else |
56 |
dnl Set PACKAGE_LOCALE_DIR in config.h. |
57 |
- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory]) |
58 |
+ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory]) |
59 |
|
60 |
dnl Set PACKAGE_DATA_DIR |
61 |
PACKAGE_DATA_DIR="boards" |
62 |
AC_SUBST(PACKAGE_DATA_DIR) |
63 |
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory]) |
64 |
+ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory]) |
65 |
|
66 |
dnl Plugin Directory |
67 |
my_libdir=`eval echo "${libdir}"` |
68 |
- AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory]) |
69 |
+ AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory]) |
70 |
plugindir=$libdir/gcompris |
71 |
AC_SUBST(plugindir) |
72 |
|
73 |
dnl Python plugin Directory |
74 |
- PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python" |
75 |
+ PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python" |
76 |
AC_SUBST(PYTHON_PLUGIN_DIR) |
77 |
|
78 |
dnl System GCompris config directory |
79 |
@@ -367,7 +365,7 @@ |
80 |
|
81 |
dnl Test for gnuchess |
82 |
if test x$build_gnuchess = xno; then |
83 |
- AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/bin:/usr/games:/usr/local/bin:$PATH]) |
84 |
+ AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/games/bin:/usr/bin:/usr/games:/usr/local/bin:$PATH]) |
85 |
else |
86 |
GNUCHESS="gcompris-gnuchess" |
87 |
fi |
88 |
diff -ru gcompris-12.11.orig/docs/C/Makefile.am gcompris-12.11/docs/C/Makefile.am |
89 |
--- gcompris-12.11.orig/docs/C/Makefile.am 2012-09-16 09:25:23.000000000 -0400 |
90 |
+++ gcompris-12.11/docs/C/Makefile.am 2012-11-28 15:17:02.551410995 -0500 |
91 |
@@ -6,7 +6,7 @@ |
92 |
|
93 |
EXTRA_DIST = $(man_MANS) |
94 |
|
95 |
-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/C |
96 |
+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/C |
97 |
|
98 |
# Info documentation is outdated and useless |
99 |
#all: $(doc) |
100 |
diff -ru gcompris-12.11.orig/docs/fr/Makefile.am gcompris-12.11/docs/fr/Makefile.am |
101 |
--- gcompris-12.11.orig/docs/fr/Makefile.am 2012-09-16 09:25:23.000000000 -0400 |
102 |
+++ gcompris-12.11/docs/fr/Makefile.am 2012-11-28 15:17:19.767778814 -0500 |
103 |
@@ -6,7 +6,7 @@ |
104 |
#EXTRA_DIST = topic.dat \ |
105 |
# gcompris.texi |
106 |
|
107 |
-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/fr |
108 |
+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/fr |
109 |
|
110 |
#all: $(doc) |
111 |
|
112 |
diff -ru gcompris-12.11.orig/src/gcompris/gcompris.c gcompris-12.11/src/gcompris/gcompris.c |
113 |
--- gcompris-12.11.orig/src/gcompris/gcompris.c 2012-10-26 19:24:09.000000000 -0400 |
114 |
+++ gcompris-12.11/src/gcompris/gcompris.c 2012-11-28 15:18:48.644514899 -0500 |
115 |
@@ -1322,7 +1322,7 @@ |
116 |
properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL); |
117 |
properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python", |
118 |
NULL); |
119 |
- properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL); |
120 |
+ properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL); |
121 |
properties->menu_dir = g_strdup(properties->package_data_dir); |
122 |
g_free(pkg_data_dir); |
123 |
g_free(pkg_clib_dir); |