Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 640772
Collapse All | Expand All

(-)a/x11-libs/libgksu/files/libgksu-2.0.12-automake-1.11.2-v2.patch (+24 lines)
Line 0 Link Here
1
Due to the following change, pkglib_PROGRAMS is invalid:
2
    http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf
3
4
https://bugs.gentoo.org/640772
5
6
---
7
 libgksu/Makefile.am |    4 ++--
8
 1 files changed, 2 insertions(+), 2 deletions(-)
9
10
diff --git a/libgksu/Makefile.am b/libgksu/Makefile.am
11
index 49362f9..3cb1090 100644
12
--- a/libgksu/Makefile.am
13
+++ b/libgksu/Makefile.am
14
@@ -22,8 +22,8 @@ includedir = ${prefix}/include/${PACKAGE}
15
 pkgconfigdir = ${libdir}/pkgconfig
16
 pkgconfig_DATA = libgksu2.pc
17
 
18
-pkglibdir = ${libdir}/${PACKAGE}
19
-pkglib_PROGRAMS = gksu-run-helper
20
+gksulibexecdir = ${libexecdir}/${PACKAGE}
21
+gksulibexec_PROGRAMS = gksu-run-helper
22
 gksu_run_helper_LDADD = ${GLIB_LIBS} 
23
 gksu_run_helper_SOURCES = gksu-run-helper.c
24
 
(-)a/x11-libs/libgksu/libgksu-2.0.12-r4.ebuild (+82 lines)
Line 0 Link Here
1
# Copyright 1999-2017 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=6
5
GNOME2_EAUTORECONF="yes"
6
7
inherit gnome2
8
9
DESCRIPTION="A library for integration of su into applications"
10
HOMEPAGE="http://www.nongnu.org/gksu/"
11
SRC_URI="https://people.debian.org/~kov/gksu/${P}.tar.gz"
12
13
LICENSE="LGPL-2"
14
SLOT="2"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
16
IUSE="nls static-libs"
17
18
COMMON_DEPEND="
19
	>=x11-libs/gtk+-2.12:2
20
	x11-libs/libX11
21
	>=gnome-base/gconf-2
22
	gnome-base/libgnome-keyring
23
	x11-libs/startup-notification
24
	>=gnome-base/libgtop-2:2=
25
	nls? ( >=sys-devel/gettext-0.14.1 )
26
"
27
DEPEND="${COMMON_DEPEND}
28
	dev-util/gtk-doc-am
29
	>=dev-util/intltool-0.35.5
30
	virtual/pkgconfig
31
"
32
RDEPEND="${COMMON_DEPEND}
33
	app-admin/sudo
34
"
35
36
PATCHES=(
37
	# Fix compilation on bsd
38
	"${FILESDIR}"/${PN}-2.0.0-fbsd.patch
39
40
	# Fix wrong usage of LDFLAGS, bug #226837
41
	"${FILESDIR}"/${PN}-2.0.7-libs.patch
42
43
	# Use po/LINGUAS
44
	"${FILESDIR}"/${PN}-2.0.7-polinguas.patch
45
46
	# Don't forkpty; bug #298289
47
	"${FILESDIR}"/${P}-revert-forkpty.patch
48
49
	# Make this gmake-3.82 compliant, bug #333961
50
	"${FILESDIR}"/${P}-fix-make-3.82.patch
51
52
	# Do not build test programs that are never executed; also fixes bug
53
	# #367397 (underlinking issues).
54
	"${FILESDIR}"/${P}-notests.patch
55
56
	# Fix automake-1.11.2 compatibility, bug #397411
57
	"${FILESDIR}"/${P}-automake-1.11.2-v2.patch
58
	"${FILESDIR}"/${P}-missing-libs.patch
59
60
	# Fix build with format-security, bug #517614
61
	"${FILESDIR}"/${P}-format_security.patch
62
63
	# Fix .desktop file validation, bug #512364
64
	"${FILESDIR}"/${P}-desktop-validation.patch
65
66
	# Collection of patches from Debian
67
	"${FILESDIR}"/${P}-g_markup_escape_text_for_command.patch
68
	"${FILESDIR}"/${P}-sudo_keep_env.patch
69
	"${FILESDIR}"/${P}-correct_colormap_get.patch
70
)
71
72
src_prepare() {
73
	sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467026
74
	gnome2_src_prepare
75
}
76
77
src_configure() {
78
	gnome2_src_configure \
79
		--libexecdir="${EPREFIX}"/usr/lib \
80
		$(use_enable nls) \
81
		$(use_enable static-libs static)
82
}

Return to bug 640772