Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libgksu/, profiles/, x11-libs/libgksu/files/
Date: Tue, 11 Dec 2018 14:01:21
Message-Id: 1544536851.7f480aa65b18043d59ebd3742ea8927a90f786d5.mgorny@gentoo
1 commit: 7f480aa65b18043d59ebd3742ea8927a90f786d5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 14:00:51 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 14:00:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f480aa6
7
8 x11-libs/libgksu: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/425156
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 5 -
14 x11-libs/libgksu/Manifest | 1 -
15 x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch | 60 ----
16 .../files/libgksu-2.0.12-automake-1.11.2-v2.patch | 61 ----
17 .../files/libgksu-2.0.12-automake-1.11.2.patch | 25 --
18 .../libgksu-2.0.12-correct_colormap_get.patch | 12 -
19 .../files/libgksu-2.0.12-desktop-validation.patch | 16 -
20 .../files/libgksu-2.0.12-fix-make-3.82.patch | 21 --
21 .../files/libgksu-2.0.12-format_security.patch | 28 --
22 ...u-2.0.12-g_markup_escape_text_for_command.patch | 21 --
23 .../files/libgksu-2.0.12-missing-libs.patch | 22 --
24 .../libgksu/files/libgksu-2.0.12-notests.patch | 26 --
25 .../files/libgksu-2.0.12-revert-forkpty.patch | 359 ---------------------
26 .../files/libgksu-2.0.12-sudo_keep_env.patch | 15 -
27 x11-libs/libgksu/files/libgksu-2.0.7-libs.patch | 76 -----
28 .../libgksu/files/libgksu-2.0.7-polinguas.patch | 40 ---
29 x11-libs/libgksu/libgksu-2.0.12-r3.ebuild | 81 -----
30 x11-libs/libgksu/libgksu-2.0.12-r4.ebuild | 82 -----
31 x11-libs/libgksu/metadata.xml | 8 -
32 19 files changed, 959 deletions(-)
33
34 diff --git a/profiles/package.mask b/profiles/package.mask
35 index eab01cdd080..1a31b37edcc 100644
36 --- a/profiles/package.mask
37 +++ b/profiles/package.mask
38 @@ -143,11 +143,6 @@ dev-ruby/ragol
39 dev-ruby/webmock:0
40 dev-ruby/wikicloth
41
42 -# Pacho Ramos <pacho@g.o> (11 Nov 2018)
43 -# Dead for years (#425156) with security issues (#534540). Removal in a
44 -# month.
45 -x11-libs/libgksu
46 -
47 # Pacho Ramos <pacho@g.o> (11 Nov 2018)
48 # Fails to build (#662000), not compatible with kernel-4, use kernel driver rtsx_pci
49 # instead. Removal in a month.
50
51 diff --git a/x11-libs/libgksu/Manifest b/x11-libs/libgksu/Manifest
52 deleted file mode 100644
53 index 3f4cddacd70..00000000000
54 --- a/x11-libs/libgksu/Manifest
55 +++ /dev/null
56 @@ -1 +0,0 @@
57 -DIST libgksu-2.0.12.tar.gz 477903 BLAKE2B c4a130b43d1e9acffd740b9160f98ed318f9861db90acaa047fd9c2a162707fdffa86a4b0854b81486f982099f9440ee7d5b8c5ca65122e0cb2872e3a8aa508f SHA512 06935583787c2d63db5ee345efeabd46ce1b2f36ec5c94ba0219d7c27d0935ddbf9987c0368158e57486d541b4a8e75140da53a806061d465985452fd1128573
58
59 diff --git a/x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch b/x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch
60 deleted file mode 100644
61 index 5c007be5b4b..00000000000
62 --- a/x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch
63 +++ /dev/null
64 @@ -1,60 +0,0 @@
65 -diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksu/libgksu.c libgksu-2.0.0/libgksu/libgksu.c
66 ---- libgksu-2.0.0.orig/libgksu/libgksu.c 2006-09-14 22:35:51.000000000 -0400
67 -+++ libgksu-2.0.0/libgksu/libgksu.c 2006-12-12 11:28:01.000000000 -0500
68 -@@ -23,7 +23,12 @@
69 - #include <unistd.h>
70 - #include <string.h>
71 - #include <fcntl.h>
72 -+#ifdef __FreeBSD__
73 -+#include <libutil.h>
74 -+#include <termios.h>
75 -+#else
76 - #include <pty.h>
77 -+#endif
78 - #include <pwd.h>
79 - #include <sys/types.h>
80 - #include <sys/wait.h>
81 -diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksu/Makefile.am libgksu-2.0.0/libgksu/Makefile.am
82 ---- libgksu-2.0.0.orig/libgksu/Makefile.am 2006-09-14 22:35:52.000000000 -0400
83 -+++ libgksu-2.0.0/libgksu/Makefile.am 2006-12-12 11:28:01.000000000 -0500
84 -@@ -30,6 +30,6 @@ gksu_run_helper_SOURCES = gksu-run-helpe
85 - noinst_PROGRAMS = test-gksu
86 - test_gksu_SOURCES = test-gksu.c
87 - test_gksu_LDADD = libgksu2.la
88 --test_gksu_LDFLAGS = `pkg-config --libs glib-2.0`
89 -+test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
90 -
91 - EXTRA_DIST = libgksu.ver
92 -diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksu/Makefile.in libgksu-2.0.0/libgksu/Makefile.in
93 ---- libgksu-2.0.0.orig/libgksu/Makefile.in 2006-09-23 15:37:44.000000000 -0400
94 -+++ libgksu-2.0.0/libgksu/Makefile.in 2006-12-12 11:30:09.000000000 -0500
95 -@@ -283,7 +283,7 @@ gksu_run_helper_LDFLAGS = `pkg-config --
96 - gksu_run_helper_SOURCES = gksu-run-helper.c
97 - test_gksu_SOURCES = test-gksu.c
98 - test_gksu_LDADD = libgksu2.la
99 --test_gksu_LDFLAGS = `pkg-config --libs glib-2.0`
100 -+test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
101 - EXTRA_DIST = libgksu.ver
102 - all: all-am
103 -
104 -diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksuui/Makefile.am libgksu-2.0.0/libgksuui/Makefile.am
105 ---- libgksu-2.0.0.orig/libgksuui/Makefile.am 2006-09-14 22:35:31.000000000 -0400
106 -+++ libgksu-2.0.0/libgksuui/Makefile.am 2006-12-12 11:28:01.000000000 -0500
107 -@@ -12,4 +12,4 @@ includedir = ${prefix}/include/$(PACKAGE
108 - noinst_PROGRAMS = test-gksuui
109 - test_gksuui_SOURCES = test-gksuui.c
110 - test_gksuui_LDADD = libgksuui1.0.la
111 --test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0`
112 -+test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
113 -diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksuui/Makefile.in libgksu-2.0.0/libgksuui/Makefile.in
114 ---- libgksu-2.0.0.orig/libgksuui/Makefile.in 2006-09-23 15:37:44.000000000 -0400
115 -+++ libgksu-2.0.0/libgksuui/Makefile.in 2006-12-12 11:30:22.000000000 -0500
116 -@@ -250,7 +250,7 @@ libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-c
117 - noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
118 - test_gksuui_SOURCES = test-gksuui.c
119 - test_gksuui_LDADD = libgksuui1.0.la
120 --test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0`
121 -+test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
122 - all: all-am
123 -
124 - .SUFFIXES:
125
126 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2-v2.patch b/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2-v2.patch
127 deleted file mode 100644
128 index cd24235a05e..00000000000
129 --- a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2-v2.patch
130 +++ /dev/null
131 @@ -1,61 +0,0 @@
132 -From 8137cbfa13954b10cf349eb392166c677cb78ff6 Mon Sep 17 00:00:00 2001
133 -From: Alexander Tsoy <alexander@××××.me>
134 -Date: Mon, 2 Apr 2018 18:27:33 +0200
135 -Subject: [PATCH] Fix build with automake 1.11+
136 -
137 -Initial patch from AlphatPC at gmail dot com.
138 -
139 -Due to a change in automake [1], pkglib_PROGRAMS is invalid and we must now
140 -use pkglibexec_PROGRAMS. Fix hardcoded location to gksu-run-helper to reflect
141 -this.
142 -
143 -[1] http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf
144 -
145 -Gentoo-Bug-URL: https://bugs.gentoo.org/397411
146 -Gentoo-Bug-URL: https://bugs.gentoo.org/640772
147 -Project-Bug-URL: https://savannah.nongnu.org/bugs/index.php?35241
148 -Signed-off-by: Gilles Dartiguelongue <eva@g.o>
149 -
150 ----
151 - libgksu/Makefile.am | 5 ++---
152 - libgksu/libgksu.c | 2 +-
153 - 2 files changed, 3 insertions(+), 4 deletions(-)
154 -
155 -diff --git a/libgksu/Makefile.am b/libgksu/Makefile.am
156 -index 4a37305..3ddde5b 100644
157 ---- a/libgksu/Makefile.am
158 -+++ b/libgksu/Makefile.am
159 -@@ -1,6 +1,6 @@
160 - AM_CFLAGS = -g -O2 -Wall
161 - INCLUDES = ${LIBGKSU_CFLAGS}
162 --AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
163 -+AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\" -DLIBEXECDIR=\"$(libexecdir)\"
164 -
165 - lib_LTLIBRARIES = libgksu2.la
166 - libgksu2_la_SOURCES = libgksu.c libgksu.h
167 -@@ -22,8 +22,7 @@ includedir = ${prefix}/include/${PACKAGE}
168 - pkgconfigdir = ${libdir}/pkgconfig
169 - pkgconfig_DATA = libgksu2.pc
170 -
171 --pkglibdir = ${libdir}/${PACKAGE}
172 --pkglib_PROGRAMS = gksu-run-helper
173 -+pkglibexec_PROGRAMS = gksu-run-helper
174 - gksu_run_helper_LDADD = ${GLIB_LIBS}
175 - gksu_run_helper_SOURCES = gksu-run-helper.c
176 -
177 -diff --git a/libgksu/libgksu.c b/libgksu/libgksu.c
178 -index 7203549..612e712 100644
179 ---- a/libgksu/libgksu.c
180 -+++ b/libgksu/libgksu.c
181 -@@ -1937,7 +1937,7 @@ gksu_su_fuller (GksuContext *context,
182 - GQuark gksu_quark;
183 - int i = 0;
184 -
185 -- gchar auxcommand[] = PREFIX "/lib/" PACKAGE "/gksu-run-helper";
186 -+ gchar auxcommand[] = LIBEXECDIR "/" PACKAGE "/gksu-run-helper";
187 -
188 - int fdpty;
189 - pid_t pid;
190 ---
191 -2.16.2
192 -
193
194 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2.patch b/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2.patch
195 deleted file mode 100644
196 index 0f22166fb8b..00000000000
197 --- a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2.patch
198 +++ /dev/null
199 @@ -1,25 +0,0 @@
200 -Due to the following change, pkglib_PROGRAMS is invalid:
201 - http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf
202 -
203 -https://savannah.nongnu.org/bugs/index.php?35241
204 -https://bugs.gentoo.org/show_bug.cgi?id=397411
205 -
206 ----
207 - libgksu/Makefile.am | 4 ++--
208 - 1 files changed, 2 insertions(+), 2 deletions(-)
209 -
210 -diff --git a/libgksu/Makefile.am b/libgksu/Makefile.am
211 -index 49362f9..3cb1090 100644
212 ---- a/libgksu/Makefile.am
213 -+++ b/libgksu/Makefile.am
214 -@@ -22,8 +22,8 @@ includedir = ${prefix}/include/${PACKAGE}
215 - pkgconfigdir = ${libdir}/pkgconfig
216 - pkgconfig_DATA = libgksu2.pc
217 -
218 --pkglibdir = ${libdir}/${PACKAGE}
219 --pkglib_PROGRAMS = gksu-run-helper
220 -+gksulibdir = ${libdir}/${PACKAGE}
221 -+gksulib_PROGRAMS = gksu-run-helper
222 - gksu_run_helper_LDADD = ${GLIB_LIBS}
223 - gksu_run_helper_SOURCES = gksu-run-helper.c
224 -
225
226 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-correct_colormap_get.patch b/x11-libs/libgksu/files/libgksu-2.0.12-correct_colormap_get.patch
227 deleted file mode 100644
228 index 5c34cae5613..00000000000
229 --- a/x11-libs/libgksu/files/libgksu-2.0.12-correct_colormap_get.patch
230 +++ /dev/null
231 @@ -1,12 +0,0 @@
232 -=== modified file 'libgksu/libgksu.c'
233 ---- a/libgksu/libgksu.c
234 -+++ b/libgksu/libgksu.c
235 -@@ -426,7 +426,7 @@
236 - attr.height = fadeout->area.height;
237 - attr.wclass = GDK_INPUT_OUTPUT;
238 - attr.visual = gdk_screen_get_system_visual (fadeout->screen);
239 -- attr.colormap = gdk_screen_get_default_colormap (fadeout->screen);
240 -+ attr.colormap = gdk_screen_get_system_colormap (fadeout->screen);
241 - attr.override_redirect = TRUE;
242 - attr_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_NOREDIR;
243 -
244
245 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-desktop-validation.patch b/x11-libs/libgksu/files/libgksu-2.0.12-desktop-validation.patch
246 deleted file mode 100644
247 index 15de910474b..00000000000
248 --- a/x11-libs/libgksu/files/libgksu-2.0.12-desktop-validation.patch
249 +++ /dev/null
250 @@ -1,16 +0,0 @@
251 -Fix validation
252 -
253 ---- a/gksu-properties/gksu-properties.desktop.in 2017-09-03 16:41:57.872594752 +0200
254 -+++ b/gksu-properties/gksu-properties.desktop.in 2017-09-03 16:44:40.835919489 +0200
255 -@@ -3,9 +3,9 @@
256 - _Name=Privilege granting
257 - _Comment=Configure behavior of the privilege-granting tool
258 - Exec=gksu-properties
259 --Icon=gksu.png
260 -+Icon=gksu
261 - StartupNotify=true
262 - Terminal=false
263 - Type=Application
264 --Categories=GNOME;GTK;Application;Settings;AdvancedSettings;
265 -+Categories=GNOME;GTK;Settings;
266 - OnlyShowIn=GNOME;XFCE;
267
268 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-fix-make-3.82.patch b/x11-libs/libgksu/files/libgksu-2.0.12-fix-make-3.82.patch
269 deleted file mode 100644
270 index 05ff3e0b0ad..00000000000
271 --- a/x11-libs/libgksu/files/libgksu-2.0.12-fix-make-3.82.patch
272 +++ /dev/null
273 @@ -1,21 +0,0 @@
274 -Fix indentation of Makefile.am
275 -
276 ---- a/Makefile.am 2010-08-22 16:11:19.872577459 -0500
277 -+++ b/Makefile.am 2010-08-22 16:11:55.289599110 -0500
278 -@@ -17,11 +17,11 @@
279 -
280 - if GCONF_SCHEMAS_INSTALL
281 - install-data-local:
282 -- if test -z "$(DESTDIR)" ; then \
283 -- for p in $(schemas_DATA) ; do \
284 -- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
285 -- done \
286 -- fi
287 -+ if test -z "$(DESTDIR)" ; then \
288 -+ for p in $(schemas_DATA) ; do \
289 -+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
290 -+ done \
291 -+ fi
292 - else
293 - install-data-local:
294 - endif
295
296 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-format_security.patch b/x11-libs/libgksu/files/libgksu-2.0.12-format_security.patch
297 deleted file mode 100644
298 index d39bbafd67a..00000000000
299 --- a/x11-libs/libgksu/files/libgksu-2.0.12-format_security.patch
300 +++ /dev/null
301 @@ -1,28 +0,0 @@
302 -Description: Fix build failure with [-Werror=format-security]
303 -Author: Michael Biebl <biebl@××××××.org>
304 -Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643423
305 -
306 -Let chunk stripped due to Gentoo revert-forkpty patch.
307 -
308 -Index: libgksu-2.0.13~pre1/libgksu/libgksu.c
309 -===================================================================
310 ---- libgksu-2.0.13~pre1.orig/libgksu/libgksu.c 2011-12-07 11:01:18.351654566 +0100
311 -+++ libgksu-2.0.13~pre1/libgksu/libgksu.c 2011-12-07 11:01:41.231654725 +0100
312 -@@ -1276,7 +1276,7 @@
313 - context->dir = g_strdup (mkdtemp(template));
314 - if (!context->dir)
315 - {
316 -- fprintf (stderr, strerror(errno));
317 -+ fprintf (stderr, "%s", strerror(errno));
318 - return FALSE;
319 - }
320 -
321 -@@ -2247,7 +2247,7 @@
322 - " %s"), converted_str, "gksu: waiting");
323 - g_free (converted_str);
324 -
325 -- g_set_error (error, gksu_quark, GKSU_ERROR_HELPER, emsg);
326 -+ g_set_error_literal (error, gksu_quark, GKSU_ERROR_HELPER, emsg);
327 - g_free (emsg);
328 -
329 - if (context->debug)
330
331 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch b/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch
332 deleted file mode 100644
333 index de3ab6806ee..00000000000
334 --- a/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch
335 +++ /dev/null
336 @@ -1,21 +0,0 @@
337 -Escape text for display in password prompt.
338 -
339 -From the Debian patch stack.
340 -
341 ---- a/libgksu/libgksu.c
342 -+++ b/libgksu/libgksu.c
343 -@@ -994,12 +994,12 @@
344 - "The application '%s' lets you "
345 - "modify essential parts of your "
346 - "system."),
347 -- command);
348 -+ g_markup_escape_text(command, -1));
349 - else
350 - msg = g_strdup_printf (_("<b><big>Enter your password to run "
351 - "the application '%s' as user %s"
352 - "</big></b>"),
353 -- command, context->user);
354 -+ g_markup_escape_text(command, -1), context->user);
355 - }
356 - else
357 - {
358
359 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-missing-libs.patch b/x11-libs/libgksu/files/libgksu-2.0.12-missing-libs.patch
360 deleted file mode 100644
361 index 955f455b9f8..00000000000
362 --- a/x11-libs/libgksu/files/libgksu-2.0.12-missing-libs.patch
363 +++ /dev/null
364 @@ -1,22 +0,0 @@
365 -Add missing libs to relevant targets
366 -
367 ---- a/configure.ac 2017-09-03 17:10:57.552216900 +0200
368 -+++ b/configure.ac 2017-09-03 17:16:39.674036975 +0200
369 -@@ -4,7 +4,7 @@
370 - AC_PREREQ(2.57)
371 -
372 - AC_INIT(libgksu, 2.0.12, kov@××××××.org)
373 --AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
374 -+AM_INIT_AUTOMAKE([foreign])
375 - AC_CONFIG_SRCDIR(libgksu/libgksu.c)
376 - AC_CONFIG_HEADERS(config.h)
377 -
378 -@@ -44,7 +44,7 @@
379 - PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.12, gconf-2.0])
380 -
381 - PKG_CHECK_MODULES(GLIB, [glib-2.0 gthread-2.0])
382 --PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0])
383 -+PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0 x11])
384 -
385 - # Checks for library functions.
386 - ALL_LINGUAS="ca cs da de es eu fr hu it ko lt pl pt_BR ro ru sk sv nb nl th zh_CN"
387
388 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-notests.patch b/x11-libs/libgksu/files/libgksu-2.0.12-notests.patch
389 deleted file mode 100644
390 index 3787ef6bfc1..00000000000
391 --- a/x11-libs/libgksu/files/libgksu-2.0.12-notests.patch
392 +++ /dev/null
393 @@ -1,26 +0,0 @@
394 -Index: libgksu-2.0.12/libgksu/Makefile.am
395 -===================================================================
396 ---- libgksu-2.0.12.orig/libgksu/Makefile.am
397 -+++ libgksu-2.0.12/libgksu/Makefile.am
398 -@@ -27,7 +27,7 @@ pkglib_PROGRAMS = gksu-run-helper
399 - gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0`
400 - gksu_run_helper_SOURCES = gksu-run-helper.c
401 -
402 --noinst_PROGRAMS = test-gksu
403 -+EXTRA_PROGRAMS = test-gksu
404 - test_gksu_SOURCES = test-gksu.c
405 - test_gksu_LDADD = libgksu2.la
406 - test_gksu_LDFLAGS = `pkg-config --libs glib-2.0`
407 -Index: libgksu-2.0.12/libgksuui/Makefile.am
408 -===================================================================
409 ---- libgksu-2.0.12.orig/libgksuui/Makefile.am
410 -+++ libgksu-2.0.12/libgksuui/Makefile.am
411 -@@ -9,7 +9,7 @@ libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-c
412 - noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
413 - includedir = ${prefix}/include/$(PACKAGE)
414 -
415 --noinst_PROGRAMS = test-gksuui
416 -+EXTRA_PROGRAMS = test-gksuui
417 - test_gksuui_SOURCES = test-gksuui.c
418 - test_gksuui_LDADD = libgksuui1.0.la
419 - test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0`
420
421 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-revert-forkpty.patch b/x11-libs/libgksu/files/libgksu-2.0.12-revert-forkpty.patch
422 deleted file mode 100644
423 index 2c3a8cc786b..00000000000
424 --- a/x11-libs/libgksu/files/libgksu-2.0.12-revert-forkpty.patch
425 +++ /dev/null
426 @@ -1,359 +0,0 @@
427 -diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN libgksu-2.0.12.orig/libgksu/libgksu.c libgksu-2.0.12/libgksu/libgksu.c
428 ---- libgksu-2.0.12.orig/libgksu/libgksu.c 2009-06-29 13:48:24.000000000 -0400
429 -+++ libgksu-2.0.12/libgksu/libgksu.c 2010-01-12 07:32:10.450657456 -0500
430 -@@ -1,7 +1,6 @@
431 - /*
432 - * Gksu -- a library providing access to su functionality
433 - * Copyright (C) 2004-2009 Gustavo Noronha Silva
434 -- * Portions Copyright (C) 2009 VMware, Inc.
435 - *
436 - * This library is free software; you can redistribute it and/or
437 - * modify it under the terms of the GNU Lesser General Public
438 -@@ -56,9 +55,6 @@
439 - static void
440 - gksu_context_launch_complete (GksuContext *context);
441 -
442 --static void
443 --read_line (int fd, gchar *buffer, int n);
444 --
445 - GType
446 - gksu_error_get_type (void)
447 - {
448 -@@ -2009,8 +2005,6 @@ gksu_su_fuller (GksuContext *context,
449 - for (i = 0 ; cmd[i] != NULL ; i++)
450 - g_free (cmd[i]);
451 - g_free(cmd);
452 --
453 -- _exit(1);
454 - }
455 - else if (pid == -1)
456 - {
457 -@@ -2125,10 +2119,10 @@ gksu_su_fuller (GksuContext *context,
458 - /* drop the \n echoed on password entry if su did request
459 - a password */
460 - if (password_needed)
461 -- read_line (fdpty, buf, 255);
462 -+ read (fdpty, buf, 255);
463 - if (context->debug)
464 - fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf);
465 -- read_line (fdpty, buf, 255);
466 -+ read (fdpty, buf, 255);
467 - if (context->debug)
468 - fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf);
469 - }
470 -@@ -2142,9 +2136,7 @@ gksu_su_fuller (GksuContext *context,
471 - {
472 - int retval = 0;
473 -
474 -- /* Red Hat's su shows the full path to su in its error messages. */
475 -- if (!strncmp (buf, "su:", 3) ||
476 -- !strncmp (buf, "/bin/su:", 7))
477 -+ if (!strncmp (buf, "su", 2))
478 - {
479 - gchar **strings;
480 -
481 -@@ -2155,11 +2147,7 @@ gksu_su_fuller (GksuContext *context,
482 - }
483 -
484 - strings = g_strsplit (buf, ":", 2);
485 --
486 -- /* Red Hat and Fedora use 'incorrect password'. */
487 -- if (strings[1] &&
488 -- (g_str_has_prefix(strings[1], " Authentication failure") ||
489 -- g_str_has_prefix(strings[1], " incorrect password")))
490 -+ if (strings[1] && !strncmp (strings[1], " Authentication failure", 23))
491 - {
492 - if (used_gnome_keyring)
493 - g_set_error (error, gksu_quark,
494 -@@ -2473,12 +2461,6 @@ gksu_sudo_fuller (GksuContext *context,
495 - {
496 - char **cmd;
497 - char buffer[256] = {0};
498 -- char *child_stderr = NULL;
499 -- /* This command is used to gain a token */
500 -- char *const verifycmd[] =
501 -- {
502 -- "/usr/bin/sudo", "-p", "GNOME_SUDO_PASS", "-v", NULL
503 -- };
504 - int argcount = 8;
505 - int i, j;
506 -
507 -@@ -2489,8 +2471,9 @@ gksu_sudo_fuller (GksuContext *context,
508 -
509 - pid_t pid;
510 - int status;
511 -- FILE *fdfile = NULL;
512 -- int fdpty = -1;
513 -+ FILE *infile, *outfile;
514 -+ int parent_pipe[2]; /* For talking to the parent */
515 -+ int child_pipe[2]; /* For talking to the child */
516 -
517 - context->sudo_mode = TRUE;
518 -
519 -@@ -2565,10 +2548,6 @@ gksu_sudo_fuller (GksuContext *context,
520 - cmd[argcount] = g_strdup("-S");
521 - argcount++;
522 -
523 -- /* Make sudo noninteractive (we should already have a token) */
524 -- cmd[argcount] = g_strdup("-n");
525 -- argcount++;
526 --
527 - /* Make sudo use next arg as prompt */
528 - cmd[argcount] = g_strdup("-p");
529 - argcount++;
530 -@@ -2647,21 +2626,26 @@ gksu_sudo_fuller (GksuContext *context,
531 - fprintf (stderr, "cmd[%d]: %s\n", i, cmd[i]);
532 - }
533 -
534 -- pid = forkpty(&fdpty, NULL, NULL, NULL);
535 -- if (pid == 0)
536 -+ if ((pipe(parent_pipe)) == -1)
537 - {
538 -- // Child
539 -- setsid(); // make us session leader
540 --
541 -- execv(verifycmd[0], verifycmd);
542 -+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
543 -+ _("Error creating pipe: %s"),
544 -+ strerror(errno));
545 -+ sudo_reset_xauth (context, xauth, xauth_env);
546 -+ return FALSE;
547 -+ }
548 -
549 -- g_set_error (error, gksu_quark, GKSU_ERROR_EXEC,
550 -- _("Failed to exec new process: %s"),
551 -+ if ((pipe(child_pipe)) == -1)
552 -+ {
553 -+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
554 -+ _("Error creating pipe: %s"),
555 - strerror(errno));
556 - sudo_reset_xauth (context, xauth, xauth_env);
557 - return FALSE;
558 - }
559 -- else if (pid == -1)
560 -+
561 -+ pid = fork();
562 -+ if (pid == -1)
563 - {
564 - g_set_error (error, gksu_quark, GKSU_ERROR_FORK,
565 - _("Failed to fork new process: %s"),
566 -@@ -2669,26 +2653,56 @@ gksu_sudo_fuller (GksuContext *context,
567 - sudo_reset_xauth (context, xauth, xauth_env);
568 - return FALSE;
569 - }
570 -+ else if (pid == 0)
571 -+ {
572 -+ // Child
573 -+ setsid(); // make us session leader
574 -+ close(child_pipe[1]);
575 -+ dup2(child_pipe[0], STDIN_FILENO);
576 -+ dup2(parent_pipe[1], STDERR_FILENO);
577 -
578 -+ execv(cmd[0], cmd);
579 -+
580 -+ g_set_error (error, gksu_quark, GKSU_ERROR_EXEC,
581 -+ _("Failed to exec new process: %s"),
582 -+ strerror(errno));
583 -+ sudo_reset_xauth (context, xauth, xauth_env);
584 -+ return FALSE;
585 -+ }
586 - else
587 - {
588 - gint counter = 0;
589 - gchar *cmdline = NULL;
590 -- struct termios tio;
591 -
592 - // Parent
593 -- fdfile = fdopen(fdpty, "w+");
594 -+ close(parent_pipe[1]);
595 -
596 -- /* make sure we notice that ECHO is turned off, if it gets
597 -- turned off */
598 -- tcgetattr (fdpty, &tio);
599 -- for (counter = 0; (tio.c_lflag & ECHO) && counter < 15; counter++)
600 -- {
601 -- usleep (1000);
602 -- tcgetattr (fdpty, &tio);
603 -- }
604 -+ infile = fdopen(parent_pipe[0], "r");
605 -+ if (!infile)
606 -+ {
607 -+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
608 -+ _("Error opening pipe: %s"),
609 -+ strerror(errno));
610 -+ sudo_reset_xauth (context, xauth, xauth_env);
611 -+ return FALSE;
612 -+ }
613 -
614 -- fcntl (fdpty, F_SETFL, O_NONBLOCK);
615 -+ outfile = fdopen(child_pipe[1], "w");
616 -+ if (!outfile)
617 -+ {
618 -+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
619 -+ _("Error opening pipe: %s"),
620 -+ strerror(errno));
621 -+ sudo_reset_xauth (context, xauth, xauth_env);
622 -+ return FALSE;
623 -+ }
624 -+
625 -+ /*
626 -+ we are expecting to receive a GNOME_SUDO_PASS
627 -+ if we don't there are two possibilities: an error
628 -+ or a password is not needed
629 -+ */
630 -+ fcntl (parent_pipe[0], F_SETFL, O_NONBLOCK);
631 -
632 - { /* no matter if we can read, since we're using
633 - O_NONBLOCK; this is just to avoid the prompt
634 -@@ -2697,11 +2711,11 @@ gksu_sudo_fuller (GksuContext *context,
635 - struct timeval tv;
636 -
637 - FD_ZERO(&rfds);
638 -- FD_SET(fdpty, &rfds);
639 -+ FD_SET(parent_pipe[0], &rfds);
640 - tv.tv_sec = 1;
641 - tv.tv_usec = 0;
642 -
643 -- select (fdpty + 1, &rfds, NULL, NULL, &tv);
644 -+ select (parent_pipe[0] + 1, &rfds, NULL, NULL, &tv);
645 - }
646 -
647 - /* Try hard to find the prompt; it may happen that we're
648 -@@ -2713,7 +2727,7 @@ gksu_sudo_fuller (GksuContext *context,
649 - if (strncmp (buffer, "GNOME_SUDO_PASS", 15) == 0)
650 - break;
651 -
652 -- read_line (fdpty, buffer, 256);
653 -+ read_line (parent_pipe[0], buffer, 256);
654 -
655 - if (context->debug)
656 - fprintf (stderr, "buffer: -%s-\n", buffer);
657 -@@ -2747,17 +2761,18 @@ gksu_sudo_fuller (GksuContext *context,
658 -
659 - usleep (1000);
660 -
661 -- write (fdpty, password, strlen(password) + 1);
662 -- write (fdpty, "\n", 1);
663 -+ fprintf (outfile, "%s\n", password);
664 -+ fclose (outfile);
665 -
666 - nullify_password (password);
667 -
668 -- fcntl(fdpty, F_SETFL, fcntl(fdpty, F_GETFL) & ~O_NONBLOCK);
669 -+ /* turn NONBLOCK off */
670 -+ fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK);
671 - /* ignore the first newline that comes right after sudo receives
672 - the password */
673 -- fgets (buffer, 255, fdfile);
674 -- /* this is the status we are interested in */
675 -- fgets (buffer, 255, fdfile);
676 -+ fgets (buffer, 255, infile);
677 -+ /* this is the status we are interessted in */
678 -+ fgets (buffer, 255, infile);
679 - }
680 - else
681 - {
682 -@@ -2766,7 +2781,7 @@ gksu_sudo_fuller (GksuContext *context,
683 - fprintf (stderr, "No password prompt found; we'll assume we don't need a password.\n");
684 -
685 - /* turn NONBLOCK off, also if have no prompt */
686 -- fcntl(fdpty, F_SETFL, fcntl(fdpty, F_GETFL) & ~O_NONBLOCK);
687 -+ fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK);
688 -
689 - should_display = gconf_client_get_bool (context->gconf_client,
690 - BASE_PATH "display-no-pass-info", NULL);
691 -@@ -2785,9 +2800,14 @@ gksu_sudo_fuller (GksuContext *context,
692 - fprintf (stderr, "%s", buffer);
693 - }
694 -
695 -- if (g_str_has_prefix (buffer, "Sorry, try again."))
696 -+ if (!strcmp (buffer, "Sorry, try again.\n"))
697 - g_set_error (error, gksu_quark, GKSU_ERROR_WRONGPASS,
698 - _("Wrong password."));
699 -+ else if (!strncmp (buffer, "Sorry, user ", 12))
700 -+ g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED,
701 -+ _("The underlying authorization mechanism (sudo) "
702 -+ "does not allow you to run this program. Contact "
703 -+ "the system administrator."));
704 - else
705 - {
706 - gchar *haystack = buffer;
707 -@@ -2805,10 +2825,6 @@ gksu_sudo_fuller (GksuContext *context,
708 - }
709 - }
710 -
711 -- /* If we have an error, let's just stop sudo right there. */
712 -- if (error)
713 -- close(fdpty);
714 --
715 - cmdline = g_strdup("sudo");
716 - /* wait for the child process to end or become something other
717 - than sudo */
718 -@@ -2825,23 +2841,17 @@ gksu_sudo_fuller (GksuContext *context,
719 - if (context->sn_context)
720 - gksu_context_launch_complete (context);
721 -
722 -+ while (read (parent_pipe[0], buffer, 255) > 0)
723 -+ {
724 -+ fprintf (stderr, "%s", buffer);
725 -+ bzero(buffer, 256);
726 -+ }
727 -+
728 - /* if the process is still active waitpid() on it */
729 - if (pid_exited != pid)
730 - waitpid(pid, &status, 0);
731 - sudo_reset_xauth (context, xauth, xauth_env);
732 -
733 -- /*
734 -- * Did token acquisition succeed? If so, spawn sudo in
735 -- * non-interactive mode. It should either succeed or die
736 -- * immediately if you're not allowed to run the command.
737 -- */
738 -- if (WEXITSTATUS(status) == 0)
739 -- {
740 -- g_spawn_sync(NULL, cmd, NULL, 0, NULL, NULL,
741 -- NULL, &child_stderr, &status,
742 -- error);
743 -- }
744 --
745 - if (exit_status)
746 - {
747 - if (WIFEXITED(status)) {
748 -@@ -2853,13 +2863,6 @@ gksu_sudo_fuller (GksuContext *context,
749 -
750 - if (WEXITSTATUS(status))
751 - {
752 -- if (g_str_has_prefix(child_stderr, "Sorry, user "))
753 -- {
754 -- g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED,
755 -- _("The underlying authorization mechanism (sudo) "
756 -- "does not allow you to run this program. Contact "
757 -- "the system administrator."));
758 -- }
759 - if(cmdline)
760 - {
761 - /* sudo already exec()ed something else, don't report
762 -@@ -2868,7 +2871,6 @@ gksu_sudo_fuller (GksuContext *context,
763 - if (!g_str_has_suffix (cmdline, "sudo"))
764 - {
765 - g_free (cmdline);
766 -- g_free (child_stderr);
767 - return FALSE;
768 - }
769 - g_free (cmdline);
770 -@@ -2881,11 +2883,11 @@ gksu_sudo_fuller (GksuContext *context,
771 - }
772 - }
773 -
774 -- fprintf(stderr, child_stderr);
775 -- g_free(child_stderr);
776 --
777 - /* if error is set we have found an error condition */
778 -- return (error == NULL);
779 -+ if (error)
780 -+ return FALSE;
781 -+
782 -+ return TRUE;
783 - }
784 -
785 - /**
786
787 diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-sudo_keep_env.patch b/x11-libs/libgksu/files/libgksu-2.0.12-sudo_keep_env.patch
788 deleted file mode 100644
789 index a51a1623deb..00000000000
790 --- a/x11-libs/libgksu/files/libgksu-2.0.12-sudo_keep_env.patch
791 +++ /dev/null
792 @@ -1,15 +0,0 @@
793 ---- a/libgksu/libgksu.c
794 -+++ b/libgksu/libgksu.c
795 -@@ -2704,6 +2704,12 @@
796 - cmd[argcount] = g_strdup("-H");
797 - argcount++;
798 - }
799 -+ else
800 -+ {
801 -+ /* Preserve the environment, if sudo will let us */
802 -+ cmd[argcount] = g_strdup("-E");
803 -+ argcount++;
804 -+ }
805 -
806 - /* Make sudo read from stdin */
807 - cmd[argcount] = g_strdup("-S");
808
809 diff --git a/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch b/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch
810 deleted file mode 100644
811 index b9fb77f2714..00000000000
812 --- a/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch
813 +++ /dev/null
814 @@ -1,76 +0,0 @@
815 -# https://savannah.nongnu.org/bugs/?25362
816 -# https://bugs.gentoo.org/show_bug.cgi?id=226837
817 -diff -Nura a/configure.ac b/configure.ac
818 ---- a/configure.ac 2009-01-19 22:15:30.000000000 +0100
819 -+++ b/configure.ac 2009-01-19 22:18:10.000000000 +0100
820 -@@ -43,6 +43,9 @@
821 - PKG_CHECK_MODULES(LIBGKSU, [gtk+-2.0 >= 2.4.0, gconf-2.0, libstartup-notification-1.0, gnome-keyring-1, libgtop-2.0])
822 - PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.4.0, gconf-2.0, libglade-2.0])
823 -
824 -+PKG_CHECK_MODULES(GLIB, [glib-2.0 gthread-2.0])
825 -+PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0])
826 -+
827 - # Checks for library functions.
828 - ALL_LINGUAS="ca cs da de es eu fr hu it ko lt pl pt_BR ro ru sk sv nb nl zh_CN"
829 -
830 -diff -Nura a/gksu-properties/Makefile.am b/gksu-properties/Makefile.am
831 ---- a/gksu-properties/Makefile.am 2009-01-19 22:15:59.000000000 +0100
832 -+++ b/gksu-properties/Makefile.am 2009-01-19 22:19:13.000000000 +0100
833 -@@ -3,7 +3,7 @@
834 - AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
835 -
836 - bin_PROGRAMS = gksu-properties
837 --gksu_properties_LDFLAGS = ${GKSU_PROPERTIES_LIBS}
838 -+gksu_properties_LDADD = ${GKSU_PROPERTIES_LIBS}
839 - gksu_properties_SOURCES = gksu-properties.c
840 -
841 - gladedir = ${prefix}/share/${PACKAGE}
842 -diff -Nura a/libgksu/Makefile.am b/libgksu/Makefile.am
843 ---- a/libgksu/Makefile.am 2009-01-19 22:15:59.000000000 +0100
844 -+++ b/libgksu/Makefile.am 2009-01-19 22:18:25.000000000 +0100
845 -@@ -8,8 +8,8 @@
846 - # major -> breaks backward compatibility (changes to existing ABI)
847 - # minor -> keeps compatibility (additions to the API)
848 - # micro -> no change to the API/ABI
849 --libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la
850 --libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 -lutil ${LIBGKSU_LIBS}
851 -+libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la -lutil ${LIBGKSU_LIBS}
852 -+libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1
853 - if USE_VERSION_SCRIPT
854 - libgksu2_la_LDFLAGS += -Wl,--version-script=libgksu.ver
855 - endif
856 -@@ -24,12 +24,11 @@
857 -
858 - pkglibdir = ${libdir}/${PACKAGE}
859 - pkglib_PROGRAMS = gksu-run-helper
860 --gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0`
861 -+gksu_run_helper_LDADD = ${GLIB_LIBS}
862 - gksu_run_helper_SOURCES = gksu-run-helper.c
863 -
864 - noinst_PROGRAMS = test-gksu
865 - test_gksu_SOURCES = test-gksu.c
866 --test_gksu_LDADD = libgksu2.la
867 --test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
868 -+test_gksu_LDADD = libgksu2.la ${GLIB_LIBS}
869 -
870 - EXTRA_DIST = libgksu.ver
871 -diff -Nura a/libgksuui/Makefile.am b/libgksuui/Makefile.am
872 ---- a/libgksuui/Makefile.am 2009-01-19 22:15:59.000000000 +0100
873 -+++ b/libgksuui/Makefile.am 2009-01-19 22:18:54.000000000 +0100
874 -@@ -4,12 +4,13 @@
875 -
876 - noinst_LTLIBRARIES = libgksuui1.0.la
877 - libgksuui1_0_la_SOURCES = gksuui-dialog.c
878 --libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-config --libs gtk+-2.0 gconf-2.0`
879 -+libgksuui1_0_la_LDFLAGS = -Wl,-O1
880 -+libgksuui1_0_la_LIBADD = ${GTK_LIBS}
881 -
882 - noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
883 - includedir = ${prefix}/include/$(PACKAGE)
884 -
885 - noinst_PROGRAMS = test-gksuui
886 - test_gksuui_SOURCES = test-gksuui.c
887 --test_gksuui_LDADD = libgksuui1.0.la
888 --test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
889 -+test_gksuui_LDADD = libgksuui1.0.la ${GLIB_LIBS}
890 -+
891
892 diff --git a/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch b/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch
893 deleted file mode 100644
894 index 75386295571..00000000000
895 --- a/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch
896 +++ /dev/null
897 @@ -1,40 +0,0 @@
898 -# https://savannah.nongnu.org/bugs/?25360
899 -diff -Nura a/configure.ac b/configure.ac
900 ---- a/configure.ac 2009-01-19 21:50:57.000000000 +0100
901 -+++ b/configure.ac 2009-01-19 21:53:21.000000000 +0100
902 -@@ -50,7 +50,7 @@
903 - GETTEXT_PACKAGE=AC_PACKAGE_NAME
904 - AC_SUBST(GETTEXT_PACKAGE)
905 -
906 --IT_PROG_INTLTOOL
907 -+IT_PROG_INTLTOOL([0.35.5])
908 - AM_GLIB_GNU_GETTEXT
909 -
910 - ##################################################
911 -diff -Nura a/po/LINGUAS b/po/LINGUAS
912 ---- a/po/LINGUAS 1970-01-01 01:00:00.000000000 +0100
913 -+++ b/po/LINGUAS 2009-01-19 21:54:24.000000000 +0100
914 -@@ -0,0 +1,23 @@
915 -+# please keep this list sorted alphabetically
916 -+# https://wiki.gnome.org/Initiatives/GnomeGoals/PoLinguas
917 -+#
918 -+ca
919 -+cs
920 -+da
921 -+de
922 -+es
923 -+eu
924 -+fr
925 -+hu
926 -+it
927 -+ko
928 -+lt
929 -+pl
930 -+pt_BR
931 -+ro
932 -+ru
933 -+sk
934 -+sv
935 -+nb
936 -+nl
937 -+zh_CN
938
939 diff --git a/x11-libs/libgksu/libgksu-2.0.12-r3.ebuild b/x11-libs/libgksu/libgksu-2.0.12-r3.ebuild
940 deleted file mode 100644
941 index b3efe9f71e4..00000000000
942 --- a/x11-libs/libgksu/libgksu-2.0.12-r3.ebuild
943 +++ /dev/null
944 @@ -1,81 +0,0 @@
945 -# Copyright 1999-2017 Gentoo Foundation
946 -# Distributed under the terms of the GNU General Public License v2
947 -
948 -EAPI=6
949 -GNOME2_EAUTORECONF="yes"
950 -
951 -inherit gnome2
952 -
953 -DESCRIPTION="A library for integration of su into applications"
954 -HOMEPAGE="http://www.nongnu.org/gksu/"
955 -SRC_URI="https://people.debian.org/~kov/gksu/${P}.tar.gz"
956 -
957 -LICENSE="LGPL-2"
958 -SLOT="2"
959 -KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
960 -IUSE="nls static-libs"
961 -
962 -COMMON_DEPEND="
963 - >=x11-libs/gtk+-2.12:2
964 - x11-libs/libX11
965 - >=gnome-base/gconf-2
966 - gnome-base/libgnome-keyring
967 - x11-libs/startup-notification
968 - >=gnome-base/libgtop-2:2=
969 - nls? ( >=sys-devel/gettext-0.14.1 )
970 -"
971 -DEPEND="${COMMON_DEPEND}
972 - dev-util/gtk-doc-am
973 - >=dev-util/intltool-0.35.5
974 - virtual/pkgconfig
975 -"
976 -RDEPEND="${COMMON_DEPEND}
977 - app-admin/sudo
978 -"
979 -
980 -PATCHES=(
981 - # Fix compilation on bsd
982 - "${FILESDIR}"/${PN}-2.0.0-fbsd.patch
983 -
984 - # Fix wrong usage of LDFLAGS, bug #226837
985 - "${FILESDIR}"/${PN}-2.0.7-libs.patch
986 -
987 - # Use po/LINGUAS
988 - "${FILESDIR}"/${PN}-2.0.7-polinguas.patch
989 -
990 - # Don't forkpty; bug #298289
991 - "${FILESDIR}"/${P}-revert-forkpty.patch
992 -
993 - # Make this gmake-3.82 compliant, bug #333961
994 - "${FILESDIR}"/${P}-fix-make-3.82.patch
995 -
996 - # Do not build test programs that are never executed; also fixes bug
997 - # #367397 (underlinking issues).
998 - "${FILESDIR}"/${P}-notests.patch
999 -
1000 - # Fix automake-1.11.2 compatibility, bug #397411
1001 - "${FILESDIR}"/${P}-automake-1.11.2.patch
1002 - "${FILESDIR}"/${P}-missing-libs.patch
1003 -
1004 - # Fix build with format-security, bug #517614
1005 - "${FILESDIR}"/${P}-format_security.patch
1006 -
1007 - # Fix .desktop file validation, bug #512364
1008 - "${FILESDIR}"/${P}-desktop-validation.patch
1009 -
1010 - # Collection of patches from Debian
1011 - "${FILESDIR}"/${P}-g_markup_escape_text_for_command.patch
1012 - "${FILESDIR}"/${P}-sudo_keep_env.patch
1013 - "${FILESDIR}"/${P}-correct_colormap_get.patch
1014 -)
1015 -
1016 -src_prepare() {
1017 - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467026
1018 - gnome2_src_prepare
1019 -}
1020 -
1021 -src_configure() {
1022 - gnome2_src_configure \
1023 - $(use_enable nls) \
1024 - $(use_enable static-libs static)
1025 -}
1026
1027 diff --git a/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild b/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild
1028 deleted file mode 100644
1029 index debfd89d0ab..00000000000
1030 --- a/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild
1031 +++ /dev/null
1032 @@ -1,82 +0,0 @@
1033 -# Copyright 1999-2018 Gentoo Authors
1034 -# Distributed under the terms of the GNU General Public License v2
1035 -
1036 -EAPI=6
1037 -GNOME2_EAUTORECONF="yes"
1038 -
1039 -inherit gnome2
1040 -
1041 -DESCRIPTION="A library for integration of su into applications"
1042 -HOMEPAGE="http://www.nongnu.org/gksu/"
1043 -SRC_URI="https://people.debian.org/~kov/gksu/${P}.tar.gz"
1044 -
1045 -LICENSE="LGPL-2"
1046 -SLOT="2"
1047 -KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
1048 -IUSE="nls static-libs"
1049 -
1050 -COMMON_DEPEND="
1051 - >=x11-libs/gtk+-2.12:2
1052 - x11-libs/libX11
1053 - >=gnome-base/gconf-2
1054 - gnome-base/libgnome-keyring
1055 - x11-libs/startup-notification
1056 - >=gnome-base/libgtop-2:2=
1057 - nls? ( >=sys-devel/gettext-0.14.1 )
1058 -"
1059 -DEPEND="${COMMON_DEPEND}
1060 - dev-util/gtk-doc-am
1061 - >=dev-util/intltool-0.35.5
1062 - virtual/pkgconfig
1063 -"
1064 -RDEPEND="${COMMON_DEPEND}
1065 - app-admin/sudo
1066 -"
1067 -
1068 -PATCHES=(
1069 - # Fix compilation on bsd
1070 - "${FILESDIR}"/${PN}-2.0.0-fbsd.patch
1071 -
1072 - # Fix wrong usage of LDFLAGS, bug #226837
1073 - "${FILESDIR}"/${PN}-2.0.7-libs.patch
1074 -
1075 - # Use po/LINGUAS
1076 - "${FILESDIR}"/${PN}-2.0.7-polinguas.patch
1077 -
1078 - # Don't forkpty; bug #298289
1079 - "${FILESDIR}"/${P}-revert-forkpty.patch
1080 -
1081 - # Make this gmake-3.82 compliant, bug #333961
1082 - "${FILESDIR}"/${P}-fix-make-3.82.patch
1083 -
1084 - # Do not build test programs that are never executed; also fixes bug
1085 - # #367397 (underlinking issues).
1086 - "${FILESDIR}"/${P}-notests.patch
1087 -
1088 - # Fix automake-1.11.2 compatibility, bug #397411
1089 - # Fix gksu-run-helper path, bug #640772
1090 - "${FILESDIR}"/${P}-automake-1.11.2-v2.patch
1091 - "${FILESDIR}"/${P}-missing-libs.patch
1092 -
1093 - # Fix build with format-security, bug #517614
1094 - "${FILESDIR}"/${P}-format_security.patch
1095 -
1096 - # Fix .desktop file validation, bug #512364
1097 - "${FILESDIR}"/${P}-desktop-validation.patch
1098 -
1099 - # Collection of patches from Debian
1100 - "${FILESDIR}"/${P}-g_markup_escape_text_for_command.patch
1101 - "${FILESDIR}"/${P}-sudo_keep_env.patch
1102 - "${FILESDIR}"/${P}-correct_colormap_get.patch
1103 -)
1104 -
1105 -src_prepare() {
1106 - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467026
1107 - gnome2_src_prepare
1108 -}
1109 -
1110 -src_configure() {
1111 - gnome2_src_configure \
1112 - $(use_enable nls) \
1113 - $(use_enable static-libs static)
1114 -}
1115
1116 diff --git a/x11-libs/libgksu/metadata.xml b/x11-libs/libgksu/metadata.xml
1117 deleted file mode 100644
1118 index 39980802b1d..00000000000
1119 --- a/x11-libs/libgksu/metadata.xml
1120 +++ /dev/null
1121 @@ -1,8 +0,0 @@
1122 -<?xml version="1.0" encoding="UTF-8"?>
1123 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1124 -<pkgmetadata>
1125 -<maintainer type="project">
1126 - <email>gnome@g.o</email>
1127 - <name>Gentoo GNOME Desktop</name>
1128 -</maintainer>
1129 -</pkgmetadata>