1 |
eva 09/01/19 21:29:23 |
2 |
|
3 |
Added: libgksu-2.0.7-libs.patch |
4 |
libgksu-2.0.7-polinguas.patch |
5 |
Log: |
6 |
Bump to 2.0.7. Fix bug #226837. |
7 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 x11-libs/libgksu/files/libgksu-2.0.7-libs.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: libgksu-2.0.7-libs.patch |
16 |
=================================================================== |
17 |
diff -Nura a/configure.ac b/configure.ac |
18 |
--- a/configure.ac 2009-01-19 22:15:30.000000000 +0100 |
19 |
+++ b/configure.ac 2009-01-19 22:18:10.000000000 +0100 |
20 |
@@ -43,6 +43,9 @@ |
21 |
PKG_CHECK_MODULES(LIBGKSU, [gtk+-2.0 >= 2.4.0, gconf-2.0, libstartup-notification-1.0, gnome-keyring-1, libgtop-2.0]) |
22 |
PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.4.0, gconf-2.0, libglade-2.0]) |
23 |
|
24 |
+PKG_CHECK_MODULES(GLIB, [glib-2.0 gthread-2.0]) |
25 |
+PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0]) |
26 |
+ |
27 |
# Checks for library functions. |
28 |
ALL_LINGUAS="ca cs da de es eu fr hu it ko lt pl pt_BR ro ru sk sv nb nl zh_CN" |
29 |
|
30 |
diff -Nura a/gksu-properties/Makefile.am b/gksu-properties/Makefile.am |
31 |
--- a/gksu-properties/Makefile.am 2009-01-19 22:15:59.000000000 +0100 |
32 |
+++ b/gksu-properties/Makefile.am 2009-01-19 22:19:13.000000000 +0100 |
33 |
@@ -3,7 +3,7 @@ |
34 |
AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\" |
35 |
|
36 |
bin_PROGRAMS = gksu-properties |
37 |
-gksu_properties_LDFLAGS = ${GKSU_PROPERTIES_LIBS} |
38 |
+gksu_properties_LDADD = ${GKSU_PROPERTIES_LIBS} |
39 |
gksu_properties_SOURCES = gksu-properties.c |
40 |
|
41 |
gladedir = ${prefix}/share/${PACKAGE} |
42 |
diff -Nura a/libgksu/Makefile.am b/libgksu/Makefile.am |
43 |
--- a/libgksu/Makefile.am 2009-01-19 22:15:59.000000000 +0100 |
44 |
+++ b/libgksu/Makefile.am 2009-01-19 22:18:25.000000000 +0100 |
45 |
@@ -8,8 +8,8 @@ |
46 |
# major -> breaks backward compatibility (changes to existing ABI) |
47 |
# minor -> keeps compatibility (additions to the API) |
48 |
# micro -> no change to the API/ABI |
49 |
-libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la |
50 |
-libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 -lutil ${LIBGKSU_LIBS} |
51 |
+libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la -lutil ${LIBGKSU_LIBS} |
52 |
+libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 |
53 |
if USE_VERSION_SCRIPT |
54 |
libgksu2_la_LDFLAGS += -Wl,--version-script=libgksu.ver |
55 |
endif |
56 |
@@ -24,12 +24,11 @@ |
57 |
|
58 |
pkglibdir = ${libdir}/${PACKAGE} |
59 |
pkglib_PROGRAMS = gksu-run-helper |
60 |
-gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0` |
61 |
+gksu_run_helper_LDADD = ${GLIB_LIBS} |
62 |
gksu_run_helper_SOURCES = gksu-run-helper.c |
63 |
|
64 |
noinst_PROGRAMS = test-gksu |
65 |
test_gksu_SOURCES = test-gksu.c |
66 |
-test_gksu_LDADD = libgksu2.la |
67 |
-test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0` |
68 |
+test_gksu_LDADD = libgksu2.la ${GLIB_LIBS} |
69 |
|
70 |
EXTRA_DIST = libgksu.ver |
71 |
diff -Nura a/libgksuui/Makefile.am b/libgksuui/Makefile.am |
72 |
--- a/libgksuui/Makefile.am 2009-01-19 22:15:59.000000000 +0100 |
73 |
+++ b/libgksuui/Makefile.am 2009-01-19 22:18:54.000000000 +0100 |
74 |
@@ -4,12 +4,13 @@ |
75 |
|
76 |
noinst_LTLIBRARIES = libgksuui1.0.la |
77 |
libgksuui1_0_la_SOURCES = gksuui-dialog.c |
78 |
-libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-config --libs gtk+-2.0 gconf-2.0` |
79 |
+libgksuui1_0_la_LDFLAGS = -Wl,-O1 |
80 |
+libgksuui1_0_la_LIBADD = ${GTK_LIBS} |
81 |
|
82 |
noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h |
83 |
includedir = ${prefix}/include/$(PACKAGE) |
84 |
|
85 |
noinst_PROGRAMS = test-gksuui |
86 |
test_gksuui_SOURCES = test-gksuui.c |
87 |
-test_gksuui_LDADD = libgksuui1.0.la |
88 |
-test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0` |
89 |
+test_gksuui_LDADD = libgksuui1.0.la ${GLIB_LIBS} |
90 |
+ |
91 |
|
92 |
|
93 |
|
94 |
1.1 x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch |
95 |
|
96 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch?rev=1.1&view=markup |
97 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch?rev=1.1&content-type=text/plain |
98 |
|
99 |
Index: libgksu-2.0.7-polinguas.patch |
100 |
=================================================================== |
101 |
diff -Nura a/configure.ac b/configure.ac |
102 |
--- a/configure.ac 2009-01-19 21:50:57.000000000 +0100 |
103 |
+++ b/configure.ac 2009-01-19 21:53:21.000000000 +0100 |
104 |
@@ -50,7 +50,7 @@ |
105 |
GETTEXT_PACKAGE=AC_PACKAGE_NAME |
106 |
AC_SUBST(GETTEXT_PACKAGE) |
107 |
|
108 |
-IT_PROG_INTLTOOL |
109 |
+IT_PROG_INTLTOOL([0.35.5]) |
110 |
AM_GLIB_GNU_GETTEXT |
111 |
|
112 |
################################################## |
113 |
diff -Nura a/po/LINGUAS b/po/LINGUAS |
114 |
--- a/po/LINGUAS 1970-01-01 01:00:00.000000000 +0100 |
115 |
+++ b/po/LINGUAS 2009-01-19 21:54:24.000000000 +0100 |
116 |
@@ -0,0 +1,23 @@ |
117 |
+# please keep this list sorted alphabetically |
118 |
+# http://live.gnome.org/GnomeGoals/PoLinguas |
119 |
+# |
120 |
+ca |
121 |
+cs |
122 |
+da |
123 |
+de |
124 |
+es |
125 |
+eu |
126 |
+fr |
127 |
+hu |
128 |
+it |
129 |
+ko |
130 |
+lt |
131 |
+pl |
132 |
+pt_BR |
133 |
+ro |
134 |
+ru |
135 |
+sk |
136 |
+sv |
137 |
+nb |
138 |
+nl |
139 |
+zh_CN |