summaryrefslogtreecommitdiff
path: root/x11-libs/libgksu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-12-24 14:11:38 +0000
commitde49812990871e1705b64051c35161d5e6400269 (patch)
tree5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /x11-libs/libgksu
parent536c3711867ec947c1738f2c4b96f22e4863322d (diff)
gentoo resync : 24.12.2018
Diffstat (limited to 'x11-libs/libgksu')
-rw-r--r--x11-libs/libgksu/Manifest18
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch60
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2-v2.patch61
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2.patch25
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-correct_colormap_get.patch12
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-desktop-validation.patch16
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-fix-make-3.82.patch21
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-format_security.patch28
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch21
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-missing-libs.patch22
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-notests.patch26
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-revert-forkpty.patch359
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.12-sudo_keep_env.patch15
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.7-libs.patch76
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch40
-rw-r--r--x11-libs/libgksu/libgksu-2.0.12-r3.ebuild81
-rw-r--r--x11-libs/libgksu/libgksu-2.0.12-r4.ebuild82
-rw-r--r--x11-libs/libgksu/metadata.xml8
18 files changed, 0 insertions, 971 deletions
diff --git a/x11-libs/libgksu/Manifest b/x11-libs/libgksu/Manifest
deleted file mode 100644
index 8ce52b8233ad..000000000000
--- a/x11-libs/libgksu/Manifest
+++ /dev/null
@@ -1,18 +0,0 @@
-AUX libgksu-2.0.0-fbsd.patch 2847 BLAKE2B fd7d41e5ff64164bb3954e3ddca9af47477e9bb9dff67c8c5e8649b39b1d372ef50a86b79c2c92f616d786b6585fff36b5ef467ed2cd128ea43981bcc45ae687 SHA512 8c99781e617b7fa96d9ff019a42b362c18f107bf335fbd591c23ac49d9f8ab4ee15a633968a60ba3ae92fe2004f4cdbd4d69b7f7c60c8d5abbd3db90c632c9be
-AUX libgksu-2.0.12-automake-1.11.2-v2.patch 2074 BLAKE2B 15cf831d6646de360579efb651238a628c9cede514532c6fe662d050e41e36cfae98179e9b544f7e6a4fa424793626852e18224db0ef1f9521e968a5911630bb SHA512 b7b09e23e2f947b37cdf5f8a299e7f2f7e6f64b387b1b388c36d29d8e44872dc0d44e0457485597e1cb4da6713d45495cf8a4da5b0942b768dc5434cf462ccf4
-AUX libgksu-2.0.12-automake-1.11.2.patch 836 BLAKE2B 39737f6783e1b2b08952796cbc7658c44db5e5260d7cb66e0a32be43b564718e93107afdc0f4762ee5463af95af810884849c6df05b38e8dc706493fea5bd1ea SHA512 f4509984cfcd2de42a786cd111c980a985fac21956042a4d68431503f5d2f7fb28850052d876545be538a8bdeaf7a0cd9f7df823ee3011149c6f819e612fec8e
-AUX libgksu-2.0.12-correct_colormap_get.patch 507 BLAKE2B 11b70cadf9835b7f995e7babaa192dbf53833d592661dc676ec93f41022b94a4194dbb03dd35707087305d59b09f07a65fbc6312e045638bf04d0bc16c2a9d4f SHA512 14da334403bcd48bf0e697eba115e2533cb0dd188ea69535d24401a71e40004c474f0c889d3b1096e2d47880fab9b12bd6c814abbb0bfed80275825f05912bbf
-AUX libgksu-2.0.12-desktop-validation.patch 507 BLAKE2B 885bae4c59ec44900707be8e4a0e1de2e79133c8617ac815e22019238ab62da17c99578308b49d268ab42da4829775468b7ab802dc71dc6dfbb474b5e603b4ef SHA512 768a6ce966eec9f55f70e87122d557fe861545b120c990835386e17e24b2f3ebab744d5bb945fadb92513f70920cfbb4de6060f76f1a0cdf2e08fbe52cb327a7
-AUX libgksu-2.0.12-fix-make-3.82.patch 670 BLAKE2B 11de6cc8997de852a2fc5d3ed89a0dca851c257de88da9f35c54c90b553bbf974c27b634030d008cf6385045d5585bf0b1cfee8039cb36699cf3044b1e5fff51 SHA512 2711ea9d67ba327c28049a0ec260d3b15a5f3fbc327f242943c3ce0519575d92db64bbf3f33271260d276092f7d717048aa82d9824d620d32b94370036b2548a
-AUX libgksu-2.0.12-format_security.patch 1019 BLAKE2B e5a261e630089607cc1c28f46dd13a90195fb6f5bce411ac6c088ac653a0fca6ea5d24515a4e0d085ab1288bf62192ddd2ddaa67e826b293b1fcf353160c1eaf SHA512 3d6772a1fb2ea9f2efa90e229151236a192aabb43980532e8dfe16d811be40ce054ebd7ed3c0a8451a0ba93e21dadc09de8bbfecfb2d71e062d964693f4d8853
-AUX libgksu-2.0.12-g_markup_escape_text_for_command.patch 575 BLAKE2B e15eef5589d6f5bfdc382cbb4169968e2e074a2dadcfdf5b87f4beb37ff75467d487b83b9bc69ddd48204df00c4f5726b3140eed0ff15f9068b0199f749932bf SHA512 e881a34642659874480eb91e1d5e48effa4affa36357b67b83c3dacaa7f05fc3c2e1cd4d9363530eecaf88f63a9677cc413679d4bc342d981f9bd955299c97a0
-AUX libgksu-2.0.12-missing-libs.patch 728 BLAKE2B 9bb306ba73377bfca2abb5277c3ed016a6ea9931ba3728e8aa809e2619c0a19ed6a84e5b831278e7fb0d96f63434f2ae40aeb97abbeb36b6bf1b67e480164571 SHA512 c1478771c77708d9828b0aeb26dfedafd5b5e20de4e2e778d60375dde1b343e707e50c704ec367ce00b01bcb295b8d253e52b615692a6b5a68c7cbeabfb1f3fb
-AUX libgksu-2.0.12-notests.patch 1060 BLAKE2B 596196e5b4f631c82441969efe22066c698792ffd6ebbb53cecc2d1f80003c443c92241386f54c14a7cc405c8240a18c77a7f921bd362a50e86bc4a6a66af21d SHA512 359f009101e7d12cf2c4be2d03eb7a65944231941ae49813be84ad1609db843c31f8e28f0efe739831b33a1f287c2800d651adf299f36a7bdf7498119eebb19e
-AUX libgksu-2.0.12-revert-forkpty.patch 11018 BLAKE2B 465f25b40be1d507ce5d0f20d6c2bd580e2791425ab019de1a2b4bcc10779032c69ec45f2091ec8006a014c29b792921f5fcfb68c94b78c71c32f4643ba73d9e SHA512 1e4572774c28a8c9e48b790df80553b5222dfbe04dd52062d9e16687c826aeb59a67c813327fae1ed1daa3e820258b59ed0bcb54223eeb05552c8a753bc707e7
-AUX libgksu-2.0.12-sudo_keep_env.patch 347 BLAKE2B 7b2f5502da0e4083e242c23658c9266987387d34740b4208c56f091f84338af67c6faff5e137e441998ac323124b7f62e0224ffad8f183b03ddd448bb2fcc03f SHA512 ed4d4a2458b5a9afc11c6e3ecb02df43df97bd2fcb920ab79cbacccf5acccbd07fbe8a34212386b1a8331d9b788bb5ef0425da98c85a384f488ee9c128dbca67
-AUX libgksu-2.0.7-libs.patch 3129 BLAKE2B 1ccd6e9fa0dc83c0853375e17c9df1e243b91f030fb81b2d2a7fee0c5f914a6a4c421f371f38555ffd034c0d4dea48434e618742b2b8c09cf22c913eb7961602 SHA512 9c68a54d2f7cb3eb30d070a6946f9416fdf2e2690705f42289608d926aab3cd0742dd3510c262dcbe1b5d81d579f671770107f24366126adace085df2ba54b48
-AUX libgksu-2.0.7-polinguas.patch 749 BLAKE2B 8b8b675686d23cdfc1b30e0cafcb653c4ae3485413f499172f77396f06b1a4dc7da0ec1b8657d0d7926fc6f674b8bd2b033cb809b2451bc7130e215e4a668fb9 SHA512 9a9488703e28ce048ec1a5844ec386ba969d702e499e70342af44cbdc881ead450d182c0c270a54be42cc4ec7f35f66904a94f221a7446280b8bfe7b3b138103
-DIST libgksu-2.0.12.tar.gz 477903 BLAKE2B c4a130b43d1e9acffd740b9160f98ed318f9861db90acaa047fd9c2a162707fdffa86a4b0854b81486f982099f9440ee7d5b8c5ca65122e0cb2872e3a8aa508f SHA512 06935583787c2d63db5ee345efeabd46ce1b2f36ec5c94ba0219d7c27d0935ddbf9987c0368158e57486d541b4a8e75140da53a806061d465985452fd1128573
-EBUILD libgksu-2.0.12-r3.ebuild 2029 BLAKE2B fc8def81a770dae2baf3b2def02f5e94aa741798adf2e4b0d4b202598729959e7af0f83df1a76a79038dc616e0c51ba403826fcb25e52aa2f88ce145ea9d94e3 SHA512 db47d0e8a0184976671ff1b616962ccaa5ca37b61b73d7a83bad2badd5f0799d2d3758edab8276e607018edab1708194516e0c4946f17866031afa6d43fdd089
-EBUILD libgksu-2.0.12-r4.ebuild 2074 BLAKE2B e7c6471f434ed493d0fce1ce5708878be4b7f08b29249b792f72ebad33c6de4564dc8f2d63bb798d23d6c4e948e28adba8dfeeb7671f1863ebd474a392f201d4 SHA512 cc86c6acc430e8eed40f8ebd2f87c5b49549df3d9cd0a69df402c0ff1d9c779636bfccb823e16776222e920c11cd9c2c6397c8474edcd7a6ec2e7e64640e3764
-MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
diff --git a/x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch b/x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch
deleted file mode 100644
index 5c007be5b4b4..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.0-fbsd.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksu/libgksu.c libgksu-2.0.0/libgksu/libgksu.c
---- libgksu-2.0.0.orig/libgksu/libgksu.c 2006-09-14 22:35:51.000000000 -0400
-+++ libgksu-2.0.0/libgksu/libgksu.c 2006-12-12 11:28:01.000000000 -0500
-@@ -23,7 +23,12 @@
- #include <unistd.h>
- #include <string.h>
- #include <fcntl.h>
-+#ifdef __FreeBSD__
-+#include <libutil.h>
-+#include <termios.h>
-+#else
- #include <pty.h>
-+#endif
- #include <pwd.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksu/Makefile.am libgksu-2.0.0/libgksu/Makefile.am
---- libgksu-2.0.0.orig/libgksu/Makefile.am 2006-09-14 22:35:52.000000000 -0400
-+++ libgksu-2.0.0/libgksu/Makefile.am 2006-12-12 11:28:01.000000000 -0500
-@@ -30,6 +30,6 @@ gksu_run_helper_SOURCES = gksu-run-helpe
- noinst_PROGRAMS = test-gksu
- test_gksu_SOURCES = test-gksu.c
- test_gksu_LDADD = libgksu2.la
--test_gksu_LDFLAGS = `pkg-config --libs glib-2.0`
-+test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
-
- EXTRA_DIST = libgksu.ver
-diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksu/Makefile.in libgksu-2.0.0/libgksu/Makefile.in
---- libgksu-2.0.0.orig/libgksu/Makefile.in 2006-09-23 15:37:44.000000000 -0400
-+++ libgksu-2.0.0/libgksu/Makefile.in 2006-12-12 11:30:09.000000000 -0500
-@@ -283,7 +283,7 @@ gksu_run_helper_LDFLAGS = `pkg-config --
- gksu_run_helper_SOURCES = gksu-run-helper.c
- test_gksu_SOURCES = test-gksu.c
- test_gksu_LDADD = libgksu2.la
--test_gksu_LDFLAGS = `pkg-config --libs glib-2.0`
-+test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
- EXTRA_DIST = libgksu.ver
- all: all-am
-
-diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksuui/Makefile.am libgksu-2.0.0/libgksuui/Makefile.am
---- libgksu-2.0.0.orig/libgksuui/Makefile.am 2006-09-14 22:35:31.000000000 -0400
-+++ libgksu-2.0.0/libgksuui/Makefile.am 2006-12-12 11:28:01.000000000 -0500
-@@ -12,4 +12,4 @@ includedir = ${prefix}/include/$(PACKAGE
- noinst_PROGRAMS = test-gksuui
- test_gksuui_SOURCES = test-gksuui.c
- test_gksuui_LDADD = libgksuui1.0.la
--test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0`
-+test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
-diff --exclude-from=/home/dang/.diffrc -up -ruN libgksu-2.0.0.orig/libgksuui/Makefile.in libgksu-2.0.0/libgksuui/Makefile.in
---- libgksu-2.0.0.orig/libgksuui/Makefile.in 2006-09-23 15:37:44.000000000 -0400
-+++ libgksu-2.0.0/libgksuui/Makefile.in 2006-12-12 11:30:22.000000000 -0500
-@@ -250,7 +250,7 @@ libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-c
- noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
- test_gksuui_SOURCES = test-gksuui.c
- test_gksuui_LDADD = libgksuui1.0.la
--test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0`
-+test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
- all: all-am
-
- .SUFFIXES:
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
deleted file mode 100644
index cd24235a05e7..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2-v2.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 8137cbfa13954b10cf349eb392166c677cb78ff6 Mon Sep 17 00:00:00 2001
-From: Alexander Tsoy <alexander@tsoy.me>
-Date: Mon, 2 Apr 2018 18:27:33 +0200
-Subject: [PATCH] Fix build with automake 1.11+
-
-Initial patch from AlphatPC at gmail dot com.
-
-Due to a change in automake [1], pkglib_PROGRAMS is invalid and we must now
-use pkglibexec_PROGRAMS. Fix hardcoded location to gksu-run-helper to reflect
-this.
-
-[1] http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf
-
-Gentoo-Bug-URL: https://bugs.gentoo.org/397411
-Gentoo-Bug-URL: https://bugs.gentoo.org/640772
-Project-Bug-URL: https://savannah.nongnu.org/bugs/index.php?35241
-Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
-
----
- libgksu/Makefile.am | 5 ++---
- libgksu/libgksu.c | 2 +-
- 2 files changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/libgksu/Makefile.am b/libgksu/Makefile.am
-index 4a37305..3ddde5b 100644
---- a/libgksu/Makefile.am
-+++ b/libgksu/Makefile.am
-@@ -1,6 +1,6 @@
- AM_CFLAGS = -g -O2 -Wall
- INCLUDES = ${LIBGKSU_CFLAGS}
--AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
-+AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\" -DLIBEXECDIR=\"$(libexecdir)\"
-
- lib_LTLIBRARIES = libgksu2.la
- libgksu2_la_SOURCES = libgksu.c libgksu.h
-@@ -22,8 +22,7 @@ includedir = ${prefix}/include/${PACKAGE}
- pkgconfigdir = ${libdir}/pkgconfig
- pkgconfig_DATA = libgksu2.pc
-
--pkglibdir = ${libdir}/${PACKAGE}
--pkglib_PROGRAMS = gksu-run-helper
-+pkglibexec_PROGRAMS = gksu-run-helper
- gksu_run_helper_LDADD = ${GLIB_LIBS}
- gksu_run_helper_SOURCES = gksu-run-helper.c
-
-diff --git a/libgksu/libgksu.c b/libgksu/libgksu.c
-index 7203549..612e712 100644
---- a/libgksu/libgksu.c
-+++ b/libgksu/libgksu.c
-@@ -1937,7 +1937,7 @@ gksu_su_fuller (GksuContext *context,
- GQuark gksu_quark;
- int i = 0;
-
-- gchar auxcommand[] = PREFIX "/lib/" PACKAGE "/gksu-run-helper";
-+ gchar auxcommand[] = LIBEXECDIR "/" PACKAGE "/gksu-run-helper";
-
- int fdpty;
- pid_t pid;
---
-2.16.2
-
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
deleted file mode 100644
index 0f22166fb8b7..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Due to the following change, pkglib_PROGRAMS is invalid:
- http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf
-
-https://savannah.nongnu.org/bugs/index.php?35241
-https://bugs.gentoo.org/show_bug.cgi?id=397411
-
----
- libgksu/Makefile.am | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libgksu/Makefile.am b/libgksu/Makefile.am
-index 49362f9..3cb1090 100644
---- a/libgksu/Makefile.am
-+++ b/libgksu/Makefile.am
-@@ -22,8 +22,8 @@ includedir = ${prefix}/include/${PACKAGE}
- pkgconfigdir = ${libdir}/pkgconfig
- pkgconfig_DATA = libgksu2.pc
-
--pkglibdir = ${libdir}/${PACKAGE}
--pkglib_PROGRAMS = gksu-run-helper
-+gksulibdir = ${libdir}/${PACKAGE}
-+gksulib_PROGRAMS = gksu-run-helper
- gksu_run_helper_LDADD = ${GLIB_LIBS}
- gksu_run_helper_SOURCES = gksu-run-helper.c
-
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
deleted file mode 100644
index 5c34cae56136..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-correct_colormap_get.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-=== modified file 'libgksu/libgksu.c'
---- a/libgksu/libgksu.c
-+++ b/libgksu/libgksu.c
-@@ -426,7 +426,7 @@
- attr.height = fadeout->area.height;
- attr.wclass = GDK_INPUT_OUTPUT;
- attr.visual = gdk_screen_get_system_visual (fadeout->screen);
-- attr.colormap = gdk_screen_get_default_colormap (fadeout->screen);
-+ attr.colormap = gdk_screen_get_system_colormap (fadeout->screen);
- attr.override_redirect = TRUE;
- attr_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP | GDK_WA_NOREDIR;
-
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
deleted file mode 100644
index 15de910474b6..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-desktop-validation.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix validation
-
---- a/gksu-properties/gksu-properties.desktop.in 2017-09-03 16:41:57.872594752 +0200
-+++ b/gksu-properties/gksu-properties.desktop.in 2017-09-03 16:44:40.835919489 +0200
-@@ -3,9 +3,9 @@
- _Name=Privilege granting
- _Comment=Configure behavior of the privilege-granting tool
- Exec=gksu-properties
--Icon=gksu.png
-+Icon=gksu
- StartupNotify=true
- Terminal=false
- Type=Application
--Categories=GNOME;GTK;Application;Settings;AdvancedSettings;
-+Categories=GNOME;GTK;Settings;
- OnlyShowIn=GNOME;XFCE;
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
deleted file mode 100644
index 05ff3e0b0ad0..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-fix-make-3.82.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Fix indentation of Makefile.am
-
---- a/Makefile.am 2010-08-22 16:11:19.872577459 -0500
-+++ b/Makefile.am 2010-08-22 16:11:55.289599110 -0500
-@@ -17,11 +17,11 @@
-
- if GCONF_SCHEMAS_INSTALL
- install-data-local:
-- if test -z "$(DESTDIR)" ; then \
-- for p in $(schemas_DATA) ; do \
-- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
-- done \
-- fi
-+ if test -z "$(DESTDIR)" ; then \
-+ for p in $(schemas_DATA) ; do \
-+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
-+ done \
-+ fi
- else
- install-data-local:
- endif
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
deleted file mode 100644
index d39bbafd67a3..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-format_security.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Description: Fix build failure with [-Werror=format-security]
-Author: Michael Biebl <biebl@debian.org>
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643423
-
-Let chunk stripped due to Gentoo revert-forkpty patch.
-
-Index: libgksu-2.0.13~pre1/libgksu/libgksu.c
-===================================================================
---- libgksu-2.0.13~pre1.orig/libgksu/libgksu.c 2011-12-07 11:01:18.351654566 +0100
-+++ libgksu-2.0.13~pre1/libgksu/libgksu.c 2011-12-07 11:01:41.231654725 +0100
-@@ -1276,7 +1276,7 @@
- context->dir = g_strdup (mkdtemp(template));
- if (!context->dir)
- {
-- fprintf (stderr, strerror(errno));
-+ fprintf (stderr, "%s", strerror(errno));
- return FALSE;
- }
-
-@@ -2247,7 +2247,7 @@
- " %s"), converted_str, "gksu: waiting");
- g_free (converted_str);
-
-- g_set_error (error, gksu_quark, GKSU_ERROR_HELPER, emsg);
-+ g_set_error_literal (error, gksu_quark, GKSU_ERROR_HELPER, emsg);
- g_free (emsg);
-
- if (context->debug)
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
deleted file mode 100644
index de3ab6806eee..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-g_markup_escape_text_for_command.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Escape text for display in password prompt.
-
-From the Debian patch stack.
-
---- a/libgksu/libgksu.c
-+++ b/libgksu/libgksu.c
-@@ -994,12 +994,12 @@
- "The application '%s' lets you "
- "modify essential parts of your "
- "system."),
-- command);
-+ g_markup_escape_text(command, -1));
- else
- msg = g_strdup_printf (_("<b><big>Enter your password to run "
- "the application '%s' as user %s"
- "</big></b>"),
-- command, context->user);
-+ g_markup_escape_text(command, -1), context->user);
- }
- else
- {
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
deleted file mode 100644
index 955f455b9f8a..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-missing-libs.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Add missing libs to relevant targets
-
---- a/configure.ac 2017-09-03 17:10:57.552216900 +0200
-+++ b/configure.ac 2017-09-03 17:16:39.674036975 +0200
-@@ -4,7 +4,7 @@
- AC_PREREQ(2.57)
-
- AC_INIT(libgksu, 2.0.12, kov@debian.org)
--AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
-+AM_INIT_AUTOMAKE([foreign])
- AC_CONFIG_SRCDIR(libgksu/libgksu.c)
- AC_CONFIG_HEADERS(config.h)
-
-@@ -44,7 +44,7 @@
- PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.12, gconf-2.0])
-
- PKG_CHECK_MODULES(GLIB, [glib-2.0 gthread-2.0])
--PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0])
-+PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0 x11])
-
- # Checks for library functions.
- 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"
diff --git a/x11-libs/libgksu/files/libgksu-2.0.12-notests.patch b/x11-libs/libgksu/files/libgksu-2.0.12-notests.patch
deleted file mode 100644
index 3787ef6bfc13..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-notests.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: libgksu-2.0.12/libgksu/Makefile.am
-===================================================================
---- libgksu-2.0.12.orig/libgksu/Makefile.am
-+++ libgksu-2.0.12/libgksu/Makefile.am
-@@ -27,7 +27,7 @@ pkglib_PROGRAMS = gksu-run-helper
- gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0`
- gksu_run_helper_SOURCES = gksu-run-helper.c
-
--noinst_PROGRAMS = test-gksu
-+EXTRA_PROGRAMS = test-gksu
- test_gksu_SOURCES = test-gksu.c
- test_gksu_LDADD = libgksu2.la
- test_gksu_LDFLAGS = `pkg-config --libs glib-2.0`
-Index: libgksu-2.0.12/libgksuui/Makefile.am
-===================================================================
---- libgksu-2.0.12.orig/libgksuui/Makefile.am
-+++ libgksu-2.0.12/libgksuui/Makefile.am
-@@ -9,7 +9,7 @@ libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-c
- noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
- includedir = ${prefix}/include/$(PACKAGE)
-
--noinst_PROGRAMS = test-gksuui
-+EXTRA_PROGRAMS = test-gksuui
- test_gksuui_SOURCES = test-gksuui.c
- test_gksuui_LDADD = libgksuui1.0.la
- test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0`
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
deleted file mode 100644
index 2c3a8cc786bb..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-revert-forkpty.patch
+++ /dev/null
@@ -1,359 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN libgksu-2.0.12.orig/libgksu/libgksu.c libgksu-2.0.12/libgksu/libgksu.c
---- libgksu-2.0.12.orig/libgksu/libgksu.c 2009-06-29 13:48:24.000000000 -0400
-+++ libgksu-2.0.12/libgksu/libgksu.c 2010-01-12 07:32:10.450657456 -0500
-@@ -1,7 +1,6 @@
- /*
- * Gksu -- a library providing access to su functionality
- * Copyright (C) 2004-2009 Gustavo Noronha Silva
-- * Portions Copyright (C) 2009 VMware, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
-@@ -56,9 +55,6 @@
- static void
- gksu_context_launch_complete (GksuContext *context);
-
--static void
--read_line (int fd, gchar *buffer, int n);
--
- GType
- gksu_error_get_type (void)
- {
-@@ -2009,8 +2005,6 @@ gksu_su_fuller (GksuContext *context,
- for (i = 0 ; cmd[i] != NULL ; i++)
- g_free (cmd[i]);
- g_free(cmd);
--
-- _exit(1);
- }
- else if (pid == -1)
- {
-@@ -2125,10 +2119,10 @@ gksu_su_fuller (GksuContext *context,
- /* drop the \n echoed on password entry if su did request
- a password */
- if (password_needed)
-- read_line (fdpty, buf, 255);
-+ read (fdpty, buf, 255);
- if (context->debug)
- fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf);
-- read_line (fdpty, buf, 255);
-+ read (fdpty, buf, 255);
- if (context->debug)
- fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf);
- }
-@@ -2142,9 +2136,7 @@ gksu_su_fuller (GksuContext *context,
- {
- int retval = 0;
-
-- /* Red Hat's su shows the full path to su in its error messages. */
-- if (!strncmp (buf, "su:", 3) ||
-- !strncmp (buf, "/bin/su:", 7))
-+ if (!strncmp (buf, "su", 2))
- {
- gchar **strings;
-
-@@ -2155,11 +2147,7 @@ gksu_su_fuller (GksuContext *context,
- }
-
- strings = g_strsplit (buf, ":", 2);
--
-- /* Red Hat and Fedora use 'incorrect password'. */
-- if (strings[1] &&
-- (g_str_has_prefix(strings[1], " Authentication failure") ||
-- g_str_has_prefix(strings[1], " incorrect password")))
-+ if (strings[1] && !strncmp (strings[1], " Authentication failure", 23))
- {
- if (used_gnome_keyring)
- g_set_error (error, gksu_quark,
-@@ -2473,12 +2461,6 @@ gksu_sudo_fuller (GksuContext *context,
- {
- char **cmd;
- char buffer[256] = {0};
-- char *child_stderr = NULL;
-- /* This command is used to gain a token */
-- char *const verifycmd[] =
-- {
-- "/usr/bin/sudo", "-p", "GNOME_SUDO_PASS", "-v", NULL
-- };
- int argcount = 8;
- int i, j;
-
-@@ -2489,8 +2471,9 @@ gksu_sudo_fuller (GksuContext *context,
-
- pid_t pid;
- int status;
-- FILE *fdfile = NULL;
-- int fdpty = -1;
-+ FILE *infile, *outfile;
-+ int parent_pipe[2]; /* For talking to the parent */
-+ int child_pipe[2]; /* For talking to the child */
-
- context->sudo_mode = TRUE;
-
-@@ -2565,10 +2548,6 @@ gksu_sudo_fuller (GksuContext *context,
- cmd[argcount] = g_strdup("-S");
- argcount++;
-
-- /* Make sudo noninteractive (we should already have a token) */
-- cmd[argcount] = g_strdup("-n");
-- argcount++;
--
- /* Make sudo use next arg as prompt */
- cmd[argcount] = g_strdup("-p");
- argcount++;
-@@ -2647,21 +2626,26 @@ gksu_sudo_fuller (GksuContext *context,
- fprintf (stderr, "cmd[%d]: %s\n", i, cmd[i]);
- }
-
-- pid = forkpty(&fdpty, NULL, NULL, NULL);
-- if (pid == 0)
-+ if ((pipe(parent_pipe)) == -1)
- {
-- // Child
-- setsid(); // make us session leader
--
-- execv(verifycmd[0], verifycmd);
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error creating pipe: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
-
-- g_set_error (error, gksu_quark, GKSU_ERROR_EXEC,
-- _("Failed to exec new process: %s"),
-+ if ((pipe(child_pipe)) == -1)
-+ {
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error creating pipe: %s"),
- strerror(errno));
- sudo_reset_xauth (context, xauth, xauth_env);
- return FALSE;
- }
-- else if (pid == -1)
-+
-+ pid = fork();
-+ if (pid == -1)
- {
- g_set_error (error, gksu_quark, GKSU_ERROR_FORK,
- _("Failed to fork new process: %s"),
-@@ -2669,26 +2653,56 @@ gksu_sudo_fuller (GksuContext *context,
- sudo_reset_xauth (context, xauth, xauth_env);
- return FALSE;
- }
-+ else if (pid == 0)
-+ {
-+ // Child
-+ setsid(); // make us session leader
-+ close(child_pipe[1]);
-+ dup2(child_pipe[0], STDIN_FILENO);
-+ dup2(parent_pipe[1], STDERR_FILENO);
-
-+ execv(cmd[0], cmd);
-+
-+ g_set_error (error, gksu_quark, GKSU_ERROR_EXEC,
-+ _("Failed to exec new process: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
- else
- {
- gint counter = 0;
- gchar *cmdline = NULL;
-- struct termios tio;
-
- // Parent
-- fdfile = fdopen(fdpty, "w+");
-+ close(parent_pipe[1]);
-
-- /* make sure we notice that ECHO is turned off, if it gets
-- turned off */
-- tcgetattr (fdpty, &tio);
-- for (counter = 0; (tio.c_lflag & ECHO) && counter < 15; counter++)
-- {
-- usleep (1000);
-- tcgetattr (fdpty, &tio);
-- }
-+ infile = fdopen(parent_pipe[0], "r");
-+ if (!infile)
-+ {
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error opening pipe: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
-
-- fcntl (fdpty, F_SETFL, O_NONBLOCK);
-+ outfile = fdopen(child_pipe[1], "w");
-+ if (!outfile)
-+ {
-+ g_set_error (error, gksu_quark, GKSU_ERROR_PIPE,
-+ _("Error opening pipe: %s"),
-+ strerror(errno));
-+ sudo_reset_xauth (context, xauth, xauth_env);
-+ return FALSE;
-+ }
-+
-+ /*
-+ we are expecting to receive a GNOME_SUDO_PASS
-+ if we don't there are two possibilities: an error
-+ or a password is not needed
-+ */
-+ fcntl (parent_pipe[0], F_SETFL, O_NONBLOCK);
-
- { /* no matter if we can read, since we're using
- O_NONBLOCK; this is just to avoid the prompt
-@@ -2697,11 +2711,11 @@ gksu_sudo_fuller (GksuContext *context,
- struct timeval tv;
-
- FD_ZERO(&rfds);
-- FD_SET(fdpty, &rfds);
-+ FD_SET(parent_pipe[0], &rfds);
- tv.tv_sec = 1;
- tv.tv_usec = 0;
-
-- select (fdpty + 1, &rfds, NULL, NULL, &tv);
-+ select (parent_pipe[0] + 1, &rfds, NULL, NULL, &tv);
- }
-
- /* Try hard to find the prompt; it may happen that we're
-@@ -2713,7 +2727,7 @@ gksu_sudo_fuller (GksuContext *context,
- if (strncmp (buffer, "GNOME_SUDO_PASS", 15) == 0)
- break;
-
-- read_line (fdpty, buffer, 256);
-+ read_line (parent_pipe[0], buffer, 256);
-
- if (context->debug)
- fprintf (stderr, "buffer: -%s-\n", buffer);
-@@ -2747,17 +2761,18 @@ gksu_sudo_fuller (GksuContext *context,
-
- usleep (1000);
-
-- write (fdpty, password, strlen(password) + 1);
-- write (fdpty, "\n", 1);
-+ fprintf (outfile, "%s\n", password);
-+ fclose (outfile);
-
- nullify_password (password);
-
-- fcntl(fdpty, F_SETFL, fcntl(fdpty, F_GETFL) & ~O_NONBLOCK);
-+ /* turn NONBLOCK off */
-+ fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK);
- /* ignore the first newline that comes right after sudo receives
- the password */
-- fgets (buffer, 255, fdfile);
-- /* this is the status we are interested in */
-- fgets (buffer, 255, fdfile);
-+ fgets (buffer, 255, infile);
-+ /* this is the status we are interessted in */
-+ fgets (buffer, 255, infile);
- }
- else
- {
-@@ -2766,7 +2781,7 @@ gksu_sudo_fuller (GksuContext *context,
- fprintf (stderr, "No password prompt found; we'll assume we don't need a password.\n");
-
- /* turn NONBLOCK off, also if have no prompt */
-- fcntl(fdpty, F_SETFL, fcntl(fdpty, F_GETFL) & ~O_NONBLOCK);
-+ fcntl(parent_pipe[0], F_SETFL, fcntl(parent_pipe[0], F_GETFL) & ~O_NONBLOCK);
-
- should_display = gconf_client_get_bool (context->gconf_client,
- BASE_PATH "display-no-pass-info", NULL);
-@@ -2785,9 +2800,14 @@ gksu_sudo_fuller (GksuContext *context,
- fprintf (stderr, "%s", buffer);
- }
-
-- if (g_str_has_prefix (buffer, "Sorry, try again."))
-+ if (!strcmp (buffer, "Sorry, try again.\n"))
- g_set_error (error, gksu_quark, GKSU_ERROR_WRONGPASS,
- _("Wrong password."));
-+ else if (!strncmp (buffer, "Sorry, user ", 12))
-+ g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED,
-+ _("The underlying authorization mechanism (sudo) "
-+ "does not allow you to run this program. Contact "
-+ "the system administrator."));
- else
- {
- gchar *haystack = buffer;
-@@ -2805,10 +2825,6 @@ gksu_sudo_fuller (GksuContext *context,
- }
- }
-
-- /* If we have an error, let's just stop sudo right there. */
-- if (error)
-- close(fdpty);
--
- cmdline = g_strdup("sudo");
- /* wait for the child process to end or become something other
- than sudo */
-@@ -2825,23 +2841,17 @@ gksu_sudo_fuller (GksuContext *context,
- if (context->sn_context)
- gksu_context_launch_complete (context);
-
-+ while (read (parent_pipe[0], buffer, 255) > 0)
-+ {
-+ fprintf (stderr, "%s", buffer);
-+ bzero(buffer, 256);
-+ }
-+
- /* if the process is still active waitpid() on it */
- if (pid_exited != pid)
- waitpid(pid, &status, 0);
- sudo_reset_xauth (context, xauth, xauth_env);
-
-- /*
-- * Did token acquisition succeed? If so, spawn sudo in
-- * non-interactive mode. It should either succeed or die
-- * immediately if you're not allowed to run the command.
-- */
-- if (WEXITSTATUS(status) == 0)
-- {
-- g_spawn_sync(NULL, cmd, NULL, 0, NULL, NULL,
-- NULL, &child_stderr, &status,
-- error);
-- }
--
- if (exit_status)
- {
- if (WIFEXITED(status)) {
-@@ -2853,13 +2863,6 @@ gksu_sudo_fuller (GksuContext *context,
-
- if (WEXITSTATUS(status))
- {
-- if (g_str_has_prefix(child_stderr, "Sorry, user "))
-- {
-- g_set_error (error, gksu_quark, GKSU_ERROR_NOT_ALLOWED,
-- _("The underlying authorization mechanism (sudo) "
-- "does not allow you to run this program. Contact "
-- "the system administrator."));
-- }
- if(cmdline)
- {
- /* sudo already exec()ed something else, don't report
-@@ -2868,7 +2871,6 @@ gksu_sudo_fuller (GksuContext *context,
- if (!g_str_has_suffix (cmdline, "sudo"))
- {
- g_free (cmdline);
-- g_free (child_stderr);
- return FALSE;
- }
- g_free (cmdline);
-@@ -2881,11 +2883,11 @@ gksu_sudo_fuller (GksuContext *context,
- }
- }
-
-- fprintf(stderr, child_stderr);
-- g_free(child_stderr);
--
- /* if error is set we have found an error condition */
-- return (error == NULL);
-+ if (error)
-+ return FALSE;
-+
-+ return TRUE;
- }
-
- /**
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
deleted file mode 100644
index a51a1623debb..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.12-sudo_keep_env.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/libgksu/libgksu.c
-+++ b/libgksu/libgksu.c
-@@ -2704,6 +2704,12 @@
- cmd[argcount] = g_strdup("-H");
- argcount++;
- }
-+ else
-+ {
-+ /* Preserve the environment, if sudo will let us */
-+ cmd[argcount] = g_strdup("-E");
-+ argcount++;
-+ }
-
- /* Make sudo read from stdin */
- cmd[argcount] = g_strdup("-S");
diff --git a/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch b/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch
deleted file mode 100644
index b9fb77f27147..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-# https://savannah.nongnu.org/bugs/?25362
-# https://bugs.gentoo.org/show_bug.cgi?id=226837
-diff -Nura a/configure.ac b/configure.ac
---- a/configure.ac 2009-01-19 22:15:30.000000000 +0100
-+++ b/configure.ac 2009-01-19 22:18:10.000000000 +0100
-@@ -43,6 +43,9 @@
- PKG_CHECK_MODULES(LIBGKSU, [gtk+-2.0 >= 2.4.0, gconf-2.0, libstartup-notification-1.0, gnome-keyring-1, libgtop-2.0])
- PKG_CHECK_MODULES(GKSU_PROPERTIES, [gtk+-2.0 >= 2.4.0, gconf-2.0, libglade-2.0])
-
-+PKG_CHECK_MODULES(GLIB, [glib-2.0 gthread-2.0])
-+PKG_CHECK_MODULES(GTK, [gtk+-2.0 gconf-2.0])
-+
- # Checks for library functions.
- ALL_LINGUAS="ca cs da de es eu fr hu it ko lt pl pt_BR ro ru sk sv nb nl zh_CN"
-
-diff -Nura a/gksu-properties/Makefile.am b/gksu-properties/Makefile.am
---- a/gksu-properties/Makefile.am 2009-01-19 22:15:59.000000000 +0100
-+++ b/gksu-properties/Makefile.am 2009-01-19 22:19:13.000000000 +0100
-@@ -3,7 +3,7 @@
- AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\"
-
- bin_PROGRAMS = gksu-properties
--gksu_properties_LDFLAGS = ${GKSU_PROPERTIES_LIBS}
-+gksu_properties_LDADD = ${GKSU_PROPERTIES_LIBS}
- gksu_properties_SOURCES = gksu-properties.c
-
- gladedir = ${prefix}/share/${PACKAGE}
-diff -Nura a/libgksu/Makefile.am b/libgksu/Makefile.am
---- a/libgksu/Makefile.am 2009-01-19 22:15:59.000000000 +0100
-+++ b/libgksu/Makefile.am 2009-01-19 22:18:25.000000000 +0100
-@@ -8,8 +8,8 @@
- # major -> breaks backward compatibility (changes to existing ABI)
- # minor -> keeps compatibility (additions to the API)
- # micro -> no change to the API/ABI
--libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la
--libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1 -lutil ${LIBGKSU_LIBS}
-+libgksu2_la_LIBADD = ../libgksuui/libgksuui1.0.la -lutil ${LIBGKSU_LIBS}
-+libgksu2_la_LDFLAGS = -version-info 0:2:0 -Wl,-O1
- if USE_VERSION_SCRIPT
- libgksu2_la_LDFLAGS += -Wl,--version-script=libgksu.ver
- endif
-@@ -24,12 +24,11 @@
-
- pkglibdir = ${libdir}/${PACKAGE}
- pkglib_PROGRAMS = gksu-run-helper
--gksu_run_helper_LDFLAGS = `pkg-config --libs glib-2.0`
-+gksu_run_helper_LDADD = ${GLIB_LIBS}
- gksu_run_helper_SOURCES = gksu-run-helper.c
-
- noinst_PROGRAMS = test-gksu
- test_gksu_SOURCES = test-gksu.c
--test_gksu_LDADD = libgksu2.la
--test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
-+test_gksu_LDADD = libgksu2.la ${GLIB_LIBS}
-
- EXTRA_DIST = libgksu.ver
-diff -Nura a/libgksuui/Makefile.am b/libgksuui/Makefile.am
---- a/libgksuui/Makefile.am 2009-01-19 22:15:59.000000000 +0100
-+++ b/libgksuui/Makefile.am 2009-01-19 22:18:54.000000000 +0100
-@@ -4,12 +4,13 @@
-
- noinst_LTLIBRARIES = libgksuui1.0.la
- libgksuui1_0_la_SOURCES = gksuui-dialog.c
--libgksuui1_0_la_LDFLAGS = -Wl,-O1 `pkg-config --libs gtk+-2.0 gconf-2.0`
-+libgksuui1_0_la_LDFLAGS = -Wl,-O1
-+libgksuui1_0_la_LIBADD = ${GTK_LIBS}
-
- noinst_HEADERS = defines.h gksuui.h gksuui-dialog.h
- includedir = ${prefix}/include/$(PACKAGE)
-
- noinst_PROGRAMS = test-gksuui
- test_gksuui_SOURCES = test-gksuui.c
--test_gksuui_LDADD = libgksuui1.0.la
--test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0`
-+test_gksuui_LDADD = libgksuui1.0.la ${GLIB_LIBS}
-+
diff --git a/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch b/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch
deleted file mode 100644
index 753862955716..000000000000
--- a/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-# https://savannah.nongnu.org/bugs/?25360
-diff -Nura a/configure.ac b/configure.ac
---- a/configure.ac 2009-01-19 21:50:57.000000000 +0100
-+++ b/configure.ac 2009-01-19 21:53:21.000000000 +0100
-@@ -50,7 +50,7 @@
- GETTEXT_PACKAGE=AC_PACKAGE_NAME
- AC_SUBST(GETTEXT_PACKAGE)
-
--IT_PROG_INTLTOOL
-+IT_PROG_INTLTOOL([0.35.5])
- AM_GLIB_GNU_GETTEXT
-
- ##################################################
-diff -Nura a/po/LINGUAS b/po/LINGUAS
---- a/po/LINGUAS 1970-01-01 01:00:00.000000000 +0100
-+++ b/po/LINGUAS 2009-01-19 21:54:24.000000000 +0100
-@@ -0,0 +1,23 @@
-+# please keep this list sorted alphabetically
-+# https://wiki.gnome.org/Initiatives/GnomeGoals/PoLinguas
-+#
-+ca
-+cs
-+da
-+de
-+es
-+eu
-+fr
-+hu
-+it
-+ko
-+lt
-+pl
-+pt_BR
-+ro
-+ru
-+sk
-+sv
-+nb
-+nl
-+zh_CN
diff --git a/x11-libs/libgksu/libgksu-2.0.12-r3.ebuild b/x11-libs/libgksu/libgksu-2.0.12-r3.ebuild
deleted file mode 100644
index b3efe9f71e4b..000000000000
--- a/x11-libs/libgksu/libgksu-2.0.12-r3.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_EAUTORECONF="yes"
-
-inherit gnome2
-
-DESCRIPTION="A library for integration of su into applications"
-HOMEPAGE="http://www.nongnu.org/gksu/"
-SRC_URI="https://people.debian.org/~kov/gksu/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="2"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
-IUSE="nls static-libs"
-
-COMMON_DEPEND="
- >=x11-libs/gtk+-2.12:2
- x11-libs/libX11
- >=gnome-base/gconf-2
- gnome-base/libgnome-keyring
- x11-libs/startup-notification
- >=gnome-base/libgtop-2:2=
- nls? ( >=sys-devel/gettext-0.14.1 )
-"
-DEPEND="${COMMON_DEPEND}
- dev-util/gtk-doc-am
- >=dev-util/intltool-0.35.5
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- app-admin/sudo
-"
-
-PATCHES=(
- # Fix compilation on bsd
- "${FILESDIR}"/${PN}-2.0.0-fbsd.patch
-
- # Fix wrong usage of LDFLAGS, bug #226837
- "${FILESDIR}"/${PN}-2.0.7-libs.patch
-
- # Use po/LINGUAS
- "${FILESDIR}"/${PN}-2.0.7-polinguas.patch
-
- # Don't forkpty; bug #298289
- "${FILESDIR}"/${P}-revert-forkpty.patch
-
- # Make this gmake-3.82 compliant, bug #333961
- "${FILESDIR}"/${P}-fix-make-3.82.patch
-
- # Do not build test programs that are never executed; also fixes bug
- # #367397 (underlinking issues).
- "${FILESDIR}"/${P}-notests.patch
-
- # Fix automake-1.11.2 compatibility, bug #397411
- "${FILESDIR}"/${P}-automake-1.11.2.patch
- "${FILESDIR}"/${P}-missing-libs.patch
-
- # Fix build with format-security, bug #517614
- "${FILESDIR}"/${P}-format_security.patch
-
- # Fix .desktop file validation, bug #512364
- "${FILESDIR}"/${P}-desktop-validation.patch
-
- # Collection of patches from Debian
- "${FILESDIR}"/${P}-g_markup_escape_text_for_command.patch
- "${FILESDIR}"/${P}-sudo_keep_env.patch
- "${FILESDIR}"/${P}-correct_colormap_get.patch
-)
-
-src_prepare() {
- sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467026
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure \
- $(use_enable nls) \
- $(use_enable static-libs static)
-}
diff --git a/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild b/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild
deleted file mode 100644
index 2db92390db5d..000000000000
--- a/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_EAUTORECONF="yes"
-
-inherit gnome2
-
-DESCRIPTION="A library for integration of su into applications"
-HOMEPAGE="http://www.nongnu.org/gksu/"
-SRC_URI="https://people.debian.org/~kov/gksu/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="2"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ~ppc ppc64 ~sh sparc x86 ~x86-fbsd"
-IUSE="nls static-libs"
-
-COMMON_DEPEND="
- >=x11-libs/gtk+-2.12:2
- x11-libs/libX11
- >=gnome-base/gconf-2
- gnome-base/libgnome-keyring
- x11-libs/startup-notification
- >=gnome-base/libgtop-2:2=
- nls? ( >=sys-devel/gettext-0.14.1 )
-"
-DEPEND="${COMMON_DEPEND}
- dev-util/gtk-doc-am
- >=dev-util/intltool-0.35.5
- virtual/pkgconfig
-"
-RDEPEND="${COMMON_DEPEND}
- app-admin/sudo
-"
-
-PATCHES=(
- # Fix compilation on bsd
- "${FILESDIR}"/${PN}-2.0.0-fbsd.patch
-
- # Fix wrong usage of LDFLAGS, bug #226837
- "${FILESDIR}"/${PN}-2.0.7-libs.patch
-
- # Use po/LINGUAS
- "${FILESDIR}"/${PN}-2.0.7-polinguas.patch
-
- # Don't forkpty; bug #298289
- "${FILESDIR}"/${P}-revert-forkpty.patch
-
- # Make this gmake-3.82 compliant, bug #333961
- "${FILESDIR}"/${P}-fix-make-3.82.patch
-
- # Do not build test programs that are never executed; also fixes bug
- # #367397 (underlinking issues).
- "${FILESDIR}"/${P}-notests.patch
-
- # Fix automake-1.11.2 compatibility, bug #397411
- # Fix gksu-run-helper path, bug #640772
- "${FILESDIR}"/${P}-automake-1.11.2-v2.patch
- "${FILESDIR}"/${P}-missing-libs.patch
-
- # Fix build with format-security, bug #517614
- "${FILESDIR}"/${P}-format_security.patch
-
- # Fix .desktop file validation, bug #512364
- "${FILESDIR}"/${P}-desktop-validation.patch
-
- # Collection of patches from Debian
- "${FILESDIR}"/${P}-g_markup_escape_text_for_command.patch
- "${FILESDIR}"/${P}-sudo_keep_env.patch
- "${FILESDIR}"/${P}-correct_colormap_get.patch
-)
-
-src_prepare() {
- sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467026
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure \
- $(use_enable nls) \
- $(use_enable static-libs static)
-}
diff --git a/x11-libs/libgksu/metadata.xml b/x11-libs/libgksu/metadata.xml
deleted file mode 100644
index 39980802b1da..000000000000
--- a/x11-libs/libgksu/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-</pkgmetadata>