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: profiles/arch/arm64/, profiles/arch/sparc/, x11-libs/gksu/files/, ...
Date: Tue, 11 Dec 2018 14:01:20
Message-Id: 1544536827.43fc584e95a71b1115a8e73629d87c2f233d3fbc.mgorny@gentoo
1 commit: 43fc584e95a71b1115a8e73629d87c2f233d3fbc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 13:58:31 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 14:00:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43fc584e
7
8 x11-libs/gksu: 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/arch/alpha/package.use.stable.mask | 3 +-
14 profiles/arch/arm/package.use.stable.mask | 3 +-
15 profiles/arch/arm64/package.use.mask | 1 -
16 profiles/arch/ia64/package.use.stable.mask | 3 +-
17 .../arch/powerpc/ppc32/package.use.stable.mask | 3 +-
18 .../arch/powerpc/ppc64/package.use.stable.mask | 3 +-
19 profiles/arch/sparc/package.use.stable.mask | 3 +-
20 profiles/package.mask | 1 -
21 x11-libs/gksu/Manifest | 1 -
22 .../gksu/files/gksu-2.0.2-format_security.patch | 37 ----------
23 x11-libs/gksu/files/gksu-2.0.2-glib-2.31.patch | 29 --------
24 x11-libs/gksu/files/gksu-2.0.2-nautilus-dir.patch | 58 ---------------
25 x11-libs/gksu/gksu-2.0.2-r2.ebuild | 85 ----------------------
26 x11-libs/gksu/metadata.xml | 8 --
27 14 files changed, 6 insertions(+), 232 deletions(-)
28
29 diff --git a/profiles/arch/alpha/package.use.stable.mask b/profiles/arch/alpha/package.use.stable.mask
30 index 797869d67db..600a4ec10ec 100644
31 --- a/profiles/arch/alpha/package.use.stable.mask
32 +++ b/profiles/arch/alpha/package.use.stable.mask
33 @@ -1,4 +1,4 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 +# Copyright 1999-2018 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 # When you add an entry to the top of this file, add your name, the date, and
39 @@ -42,4 +42,3 @@ dev-util/geany-plugins gtkspell
40 gnome-base/gvfs google
41 media-plugins/gst-plugins-meta modplug
42 >=x11-libs/gtk+-3.12.2 cloudprint
43 -x11-libs/gksu gnome
44
45 diff --git a/profiles/arch/arm/package.use.stable.mask b/profiles/arch/arm/package.use.stable.mask
46 index c96af7e7594..167d8b00ca3 100644
47 --- a/profiles/arch/arm/package.use.stable.mask
48 +++ b/profiles/arch/arm/package.use.stable.mask
49 @@ -1,4 +1,4 @@
50 -# Copyright 1999-2018 Gentoo Foundation
51 +# Copyright 1999-2018 Gentoo Authors
52 # Distributed under the terms of the GNU General Public License v2
53
54 # Andreas Sturmlechner <asturm@g.o> (04 Nov 2018)
55 @@ -139,7 +139,6 @@ www-client/qupzilla kwallet
56 gnome-base/gvfs google
57 net-libs/libproxy webkit
58 >=x11-libs/gtk+-3.12.2 cloudprint
59 -x11-libs/gksu gnome
60
61 # Ian Whyman <thev00d00@g.o> (22 May 2016)
62 # RPI support on arm
63
64 diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask
65 index 7b14c4a3c27..55d0fb0dd99 100644
66 --- a/profiles/arch/arm64/package.use.mask
67 +++ b/profiles/arch/arm64/package.use.mask
68 @@ -53,7 +53,6 @@ dev-python/networkx pandas test
69 # Unkeyworded dependencies.
70 dev-python/matplotlib doc
71 net-libs/gnome-online-accounts gnome
72 -x11-libs/gksu gnome
73
74 # Thomas Deutschmann <whissi@g.o> (04 Jul 2018)
75 # dev-libs/xxhash not keyworded for arm64
76
77 diff --git a/profiles/arch/ia64/package.use.stable.mask b/profiles/arch/ia64/package.use.stable.mask
78 index 7b7ca320a84..e8785d27da7 100644
79 --- a/profiles/arch/ia64/package.use.stable.mask
80 +++ b/profiles/arch/ia64/package.use.stable.mask
81 @@ -1,4 +1,4 @@
82 -# Copyright 1999-2018 Gentoo Foundation
83 +# Copyright 1999-2018 Gentoo Authors
84 # Distributed under the terms of the GNU General Public License v2
85
86 # When you add an entry to the top of this file, add your name, the date, and
87 @@ -37,4 +37,3 @@ dev-util/geany-plugins gtkspell
88 >=gnome-base/gnome-desktop-2.32.1-r2 license-docs
89 gnome-base/gvfs google
90 >=x11-libs/gtk+-3.12.2 cloudprint
91 -x11-libs/gksu gnome
92
93 diff --git a/profiles/arch/powerpc/ppc32/package.use.stable.mask b/profiles/arch/powerpc/ppc32/package.use.stable.mask
94 index 178d09b46be..03a07acf658 100644
95 --- a/profiles/arch/powerpc/ppc32/package.use.stable.mask
96 +++ b/profiles/arch/powerpc/ppc32/package.use.stable.mask
97 @@ -1,4 +1,4 @@
98 -# Copyright 1999-2017 Gentoo Foundation
99 +# Copyright 1999-2018 Gentoo Authors
100 # Distributed under the terms of the GNU General Public License v2
101
102 # When you add an entry to the top of this file, add your name, the date, and
103 @@ -49,4 +49,3 @@ gnome-base/gvfs google
104 mail-client/balsa webkit
105 net-libs/libproxy webkit
106 >=x11-libs/gtk+-3.12.2 cloudprint
107 -x11-libs/gksu gnome
108
109 diff --git a/profiles/arch/powerpc/ppc64/package.use.stable.mask b/profiles/arch/powerpc/ppc64/package.use.stable.mask
110 index d4d19ba69d6..40df4a14f5d 100644
111 --- a/profiles/arch/powerpc/ppc64/package.use.stable.mask
112 +++ b/profiles/arch/powerpc/ppc64/package.use.stable.mask
113 @@ -1,4 +1,4 @@
114 -# Copyright 1999-2017 Gentoo Foundation
115 +# Copyright 1999-2018 Gentoo Authors
116 # Distributed under the terms of the GNU General Public License v2
117
118 # When you add an entry to the top of this file, add your name, the date, and
119 @@ -22,4 +22,3 @@
120 >=gnome-base/gnome-desktop-2.32.1-r2 license-docs
121 gnome-base/gvfs google
122 >=x11-libs/gtk+-3.12.2 cloudprint
123 -x11-libs/gksu gnome
124
125 diff --git a/profiles/arch/sparc/package.use.stable.mask b/profiles/arch/sparc/package.use.stable.mask
126 index 23afb743224..c13e2db6af2 100644
127 --- a/profiles/arch/sparc/package.use.stable.mask
128 +++ b/profiles/arch/sparc/package.use.stable.mask
129 @@ -1,4 +1,4 @@
130 -# Copyright 1999-2017 Gentoo Foundation
131 +# Copyright 1999-2018 Gentoo Authors
132 # Distributed under the terms of the GNU General Public License v2
133
134 # When you add an entry to the top of this file, add your name, the date, and
135 @@ -57,4 +57,3 @@ dev-util/geany-plugins gtkspell
136 >=gnome-base/gnome-desktop-2.32.1-r2 license-docs
137 gnome-base/gvfs google
138 >=x11-libs/gtk+-3.12.2 cloudprint
139 -x11-libs/gksu gnome
140
141 diff --git a/profiles/package.mask b/profiles/package.mask
142 index 1d10d183799..eab01cdd080 100644
143 --- a/profiles/package.mask
144 +++ b/profiles/package.mask
145 @@ -146,7 +146,6 @@ dev-ruby/wikicloth
146 # Pacho Ramos <pacho@g.o> (11 Nov 2018)
147 # Dead for years (#425156) with security issues (#534540). Removal in a
148 # month.
149 -x11-libs/gksu
150 x11-libs/libgksu
151
152 # Pacho Ramos <pacho@g.o> (11 Nov 2018)
153
154 diff --git a/x11-libs/gksu/Manifest b/x11-libs/gksu/Manifest
155 deleted file mode 100644
156 index d070e81888d..00000000000
157 --- a/x11-libs/gksu/Manifest
158 +++ /dev/null
159 @@ -1 +0,0 @@
160 -DIST gksu-2.0.2.tar.gz 468121 BLAKE2B 42324abed0d79eb00454d23a95b356b023a25e39e1119860d7f271f56b34716e4d4f9084156beb526379fdd9bbe25f2c8591e56e40238d3a79e7b3d8ff4fca58 SHA512 8afde61e10c8a22bef3c8a5c2d90bd599d00ad9b71b30b2edc9c114be91ca8456e1af5c9db03fe02416424e50aa20c23eaefb2a8fd1db77aac37da7e85604f75
161
162 diff --git a/x11-libs/gksu/files/gksu-2.0.2-format_security.patch b/x11-libs/gksu/files/gksu-2.0.2-format_security.patch
163 deleted file mode 100644
164 index ca87e9af995..00000000000
165 --- a/x11-libs/gksu/files/gksu-2.0.2-format_security.patch
166 +++ /dev/null
167 @@ -1,37 +0,0 @@
168 -Description: Fix possible format string vulnerabilities
169 -Author: Michael Biebl <biebl@××××××.org>
170 -Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643389
171 -Index: gksu-2.0.2/gksu/gksu.c
172 -===================================================================
173 ---- gksu-2.0.2.orig/gksu/gksu.c 2009-03-04 19:25:32.000000000 +0100
174 -+++ gksu-2.0.2/gksu/gksu.c 2011-10-10 18:31:04.599677143 +0200
175 -@@ -146,9 +146,12 @@
176 - msg = g_strdup_vprintf(format, ap);
177 - va_end(ap);
178 -
179 -- diag_win = gtk_message_dialog_new_with_markup (NULL, GTK_DIALOG_MODAL,
180 -- type, GTK_BUTTONS_CLOSE,
181 -- msg);
182 -+ diag_win = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
183 -+ type, GTK_BUTTONS_CLOSE,
184 -+ NULL);
185 -+
186 -+ gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG(diag_win),
187 -+ msg);
188 -
189 - gtk_signal_connect_object (GTK_OBJECT(diag_win), "delete_event",
190 - GTK_SIGNAL_FUNC(gtk_main_quit),
191 -@@ -176,12 +179,7 @@
192 - g_key_file_load_from_file (desktop, file_name, G_KEY_FILE_NONE, &error);
193 - if (error)
194 - {
195 -- gchar *error_msg;
196 --
197 -- error_msg = g_strdup_printf ("Could not load desktop file: %s",
198 -- error->message);
199 -- g_warning (error_msg);
200 -- g_free (error_msg);
201 -+ g_warning ("Could not load desktop file: %s", error->message);
202 - g_error_free (error);
203 - g_key_file_free (desktop);
204 - return;
205
206 diff --git a/x11-libs/gksu/files/gksu-2.0.2-glib-2.31.patch b/x11-libs/gksu/files/gksu-2.0.2-glib-2.31.patch
207 deleted file mode 100644
208 index fd711a321ac..00000000000
209 --- a/x11-libs/gksu/files/gksu-2.0.2-glib-2.31.patch
210 +++ /dev/null
211 @@ -1,29 +0,0 @@
212 -From 10c7e67e11a56e2fe1acf9b085772bc995d35bc0 Mon Sep 17 00:00:00 2001
213 -From: Alexandre Rostovtsev <tetromino@g.o>
214 -Date: Sat, 7 Apr 2012 17:57:36 -0400
215 -Subject: [PATCH] Fix glib includes for building with >=glib-2.31
216 -
217 -glib-2.31 and newer no longer allow most glib subheaders to be included
218 -directly.
219 -
220 -https://savannah.nongnu.org/bugs/index.php?36127
221 ----
222 - nautilus-gksu/libnautilus-gksu.c | 2 +-
223 - 1 files changed, 1 insertions(+), 1 deletions(-)
224 -
225 -diff --git a/nautilus-gksu/libnautilus-gksu.c b/nautilus-gksu/libnautilus-gksu.c
226 -index 8e44d29..4acf3f8 100644
227 ---- a/nautilus-gksu/libnautilus-gksu.c
228 -+++ b/nautilus-gksu/libnautilus-gksu.c
229 -@@ -5,7 +5,7 @@
230 - #include <string.h>
231 - #include <pthread.h>
232 -
233 --#include <glib/gkeyfile.h>
234 -+#include <glib.h>
235 - #include <gtk/gtk.h>
236 - #include <gio/gio.h>
237 - #include <libnautilus-extension/nautilus-extension-types.h>
238 ---
239 -1.7.8.5
240 -
241
242 diff --git a/x11-libs/gksu/files/gksu-2.0.2-nautilus-dir.patch b/x11-libs/gksu/files/gksu-2.0.2-nautilus-dir.patch
243 deleted file mode 100644
244 index bc21b56c663..00000000000
245 --- a/x11-libs/gksu/files/gksu-2.0.2-nautilus-dir.patch
246 +++ /dev/null
247 @@ -1,58 +0,0 @@
248 -From d7ee2b46dad2070982b035a3136ccbb5787e9ed4 Mon Sep 17 00:00:00 2001
249 -From: Alexandre Rostovtsev <tetromino@g.o>
250 -Date: Sat, 7 Apr 2012 19:39:03 -0400
251 -Subject: [PATCH] Fix nautilus extensions directory for nautilus-3
252 -
253 -The gksu nautilus extension works with both nautilus-2 and nautilus-3,
254 -so we should not assume that the extension is always installed in
255 -/usr/lib/nautilus/extensions-2.0
256 -
257 -https://savannah.nongnu.org/bugs/index.php?36129
258 ----
259 - configure.ac | 14 +++++++++++++-
260 - nautilus-gksu/Makefile.am | 2 +-
261 - 2 files changed, 14 insertions(+), 2 deletions(-)
262 -
263 -diff --git a/configure.ac b/configure.ac
264 -index 21d33bb..d65c586 100644
265 ---- a/configure.ac
266 -+++ b/configure.ac
267 -@@ -64,9 +64,21 @@ AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test x$use_libtool = xyes)
268 -
269 - AC_ARG_ENABLE(nautilus-extension, [ --enable-nautilus-extension Build the nautilus extensions module [default=yes]], enable_nautilus_extension="$enableval", enable_nautilus_extension=yes)
270 - AM_CONDITIONAL(ENABLE_NAUTILUS_EXTENSION, test x$enable_nautilus_extension = xyes)
271 -+AC_ARG_WITH(nautilus-extensions-dir,
272 -+ AS_HELP_STRING([--with-nautilus-extension-dir=DIR],
273 -+ [Directory where nautilus extensions have to be installed (usually /usr/lib/nautilus/extensions-2.0 or -3.0)]))
274 -
275 - if test x$enable_nautilus_extension = xyes; then
276 -- PKG_CHECK_MODULES(NAUTILUS, [libgksu2 >= 2.0.0, libnautilus-extension])
277 -+ PKG_CHECK_MODULES(NAUTILUS, [libgksu2 >= 2.0.0, libnautilus-extension])
278 -+ if test "x$with_nautilus_extension_dir" = x; then
279 -+ AC_MSG_CHECKING([for Nautilus extensions directory])
280 -+ with_nautilus_extension_dir=`pkg-config --variable=extensiondir libnautilus-extension`
281 -+ if test "x$with_nautilus_extension_dir" = x; then
282 -+ AC_MSG_ERROR([not found. You can specify the extensions directory manually using --with-nautilus-extension-dir=DIR])
283 -+ fi
284 -+ AC_MSG_RESULT($with_nautilus_extension_dir)
285 -+ fi
286 -+ AC_SUBST(NAUTILUS_EXTENSION_DIR, [$with_nautilus_extensios_dir])
287 - fi
288 -
289 - AC_CONFIG_FILES([
290 -diff --git a/nautilus-gksu/Makefile.am b/nautilus-gksu/Makefile.am
291 -index 3a70c78..cbe4d00 100644
292 ---- a/nautilus-gksu/Makefile.am
293 -+++ b/nautilus-gksu/Makefile.am
294 -@@ -2,7 +2,7 @@ AM_CFLAGS = -g -O2 -Wall
295 - INCLUDES = ${NAUTILUS_CFLAGS}
296 - AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
297 -
298 --nautilus_extensiondir=$(libdir)/nautilus/extensions-2.0
299 -+nautilus_extensiondir=$(NAUTILUS_EXTENSION_DIR)
300 - nautilus_extension_LTLIBRARIES = libnautilus-gksu.la
301 - libnautilus_gksu_la_SOURCES = libnautilus-gksu.c
302 - libnautilus_gksu_la_LDFLAGS = LDFLAGS = -module -avoid-version -no-undefined
303 ---
304 -1.7.8.5
305 -
306
307 diff --git a/x11-libs/gksu/gksu-2.0.2-r2.ebuild b/x11-libs/gksu/gksu-2.0.2-r2.ebuild
308 deleted file mode 100644
309 index fa4ccabcb3b..00000000000
310 --- a/x11-libs/gksu/gksu-2.0.2-r2.ebuild
311 +++ /dev/null
312 @@ -1,85 +0,0 @@
313 -# Copyright 1999-2017 Gentoo Foundation
314 -# Distributed under the terms of the GNU General Public License v2
315 -
316 -EAPI=6
317 -
318 -inherit autotools gnome2 fixheadtails
319 -
320 -DESCRIPTION="A gtk+ frontend for libgksu"
321 -HOMEPAGE="http://www.nongnu.org/gksu/"
322 -SRC_URI="https://people.debian.org/~kov/gksu/${P}.tar.gz"
323 -
324 -LICENSE="GPL-2"
325 -SLOT="0"
326 -KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
327 -IUSE="gnome"
328 -
329 -RDEPEND="
330 - >=x11-libs/libgksu-2.0.8
331 - >=x11-libs/gtk+-2.4:2
332 - >=gnome-base/gconf-2
333 - gnome? (
334 - >=gnome-base/nautilus-2
335 - x11-terms/gnome-terminal )
336 -"
337 -DEPEND="${RDEPEND}
338 - dev-util/gtk-doc-am
339 - dev-util/intltool
340 - virtual/pkgconfig
341 -"
342 -
343 -src_prepare() {
344 - ht_fix_file "${S}/gksu-migrate-conf.sh"
345 -
346 - # https://savannah.nongnu.org/bugs/index.php?36127
347 - eapply "${FILESDIR}"/${PN}-2.0.2-glib-2.31.patch
348 -
349 - if use gnome ; then
350 - sed 's/x-terminal-emulator/gnome-terminal/' \
351 - -i gksu.desktop || die "sed 1 failed"
352 -
353 - # Conditional patch to avoid eautoreconf
354 - # https://savannah.nongnu.org/bugs/index.php?36129
355 - eapply "${FILESDIR}"/${PN}-2.0.2-nautilus-dir.patch
356 -
357 - sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
358 - -i configure.ac || die #467024
359 -
360 - eautoreconf
361 - else
362 - sed 's/dist_desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)/dist_desktop_DATA =/' \
363 - -i Makefile.am Makefile.in || die "sed 2 failed"
364 - fi
365 -
366 - # Fix build with format-security, bug #517664
367 - eapply "${FILESDIR}"/${PN}-2.0.2-format_security.patch
368 -
369 - gnome2_src_prepare
370 -}
371 -
372 -src_configure() {
373 - gnome2_src_configure \
374 - --disable-static \
375 - $(use_enable gnome nautilus-extension)
376 -}
377 -
378 -src_install() {
379 - gnome2_src_install
380 - chmod +x "${D}/usr/share/gksu/gksu-migrate-conf.sh"
381 -}
382 -
383 -pkg_postinst() {
384 - gnome2_pkg_postinst
385 - einfo 'updating configuration'
386 - "${ROOT}"/usr/share/gksu/gksu-migrate-conf.sh
387 - einfo ""
388 - einfo "A note on gksudo: It actually runs sudo to get it's work done"
389 - einfo "However, by default, Gentoo's sudo wipes your environment."
390 - einfo "This means that gksudo will fail to run any X-based programs."
391 - einfo "You need to either add yourself to wheel and uncomment this line"
392 - einfo "in your /etc/sudoers:"
393 - einfo "Defaults:%wheel !env_reset"
394 - einfo "Or remove the env_reset line entirely. This can cause security"
395 - einfo "problems; if you don't trust your users, don't do this, use gksu"
396 - einfo "instead."
397 -}
398
399 diff --git a/x11-libs/gksu/metadata.xml b/x11-libs/gksu/metadata.xml
400 deleted file mode 100644
401 index 39980802b1d..00000000000
402 --- a/x11-libs/gksu/metadata.xml
403 +++ /dev/null
404 @@ -1,8 +0,0 @@
405 -<?xml version="1.0" encoding="UTF-8"?>
406 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
407 -<pkgmetadata>
408 -<maintainer type="project">
409 - <email>gnome@g.o</email>
410 - <name>Gentoo GNOME Desktop</name>
411 -</maintainer>
412 -</pkgmetadata>