summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-01-19 21:29:23 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-01-19 21:29:23 +0000
commit74fa53daac6372fb9b7ee2a9dba95792467c9a28 (patch)
treec07a269c27089e6e3ea9c256f213e2a19a6b5876 /x11-libs/libgksu
parentInitial commit. Fixes bug 244922 (diff)
downloadhistorical-74fa53daac6372fb9b7ee2a9dba95792467c9a28.tar.gz
historical-74fa53daac6372fb9b7ee2a9dba95792467c9a28.tar.bz2
historical-74fa53daac6372fb9b7ee2a9dba95792467c9a28.zip
Bump to 2.0.7. Fix bug #226837.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64
Diffstat (limited to 'x11-libs/libgksu')
-rw-r--r--x11-libs/libgksu/ChangeLog11
-rw-r--r--x11-libs/libgksu/Manifest14
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.7-libs.patch74
-rw-r--r--x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch39
-rw-r--r--x11-libs/libgksu/libgksu-2.0.7.ebuild53
5 files changed, 184 insertions, 7 deletions
diff --git a/x11-libs/libgksu/ChangeLog b/x11-libs/libgksu/ChangeLog
index 8bd921768152..228e88432c8b 100644
--- a/x11-libs/libgksu/ChangeLog
+++ b/x11-libs/libgksu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/libgksu
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libgksu/ChangeLog,v 1.51 2008/03/09 21:54:37 leio Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libgksu/ChangeLog,v 1.52 2009/01/19 21:29:23 eva Exp $
+
+*libgksu-2.0.7 (19 Jan 2009)
+
+ 19 Jan 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/libgksu-2.0.7-libs.patch, +files/libgksu-2.0.7-polinguas.patch,
+ +libgksu-2.0.7.ebuild:
+ Bump to 2.0.7. Fix bug #226837.
09 Mar 2008; Mart Raudsepp <leio@gentoo.org> -libgksu-1.9.2.ebuild,
-libgksu-2.0.0.ebuild, -libgksu-2.0.4.ebuild, libgksu-2.0.5.ebuild:
diff --git a/x11-libs/libgksu/Manifest b/x11-libs/libgksu/Manifest
index 4269072e94cd..e44d56e568ee 100644
--- a/x11-libs/libgksu/Manifest
+++ b/x11-libs/libgksu/Manifest
@@ -2,14 +2,18 @@
Hash: SHA1
AUX libgksu-2.0.0-fbsd.patch 2847 RMD160 feeb1fa7ffa1d6d32fedeaffa485635fdee90833 SHA1 d32f24f03a728903de2f3b0a449d7787561fa622 SHA256 bf0343df8e316ac227da7c40a889dd5128da081a640c187dfb743b4f213c3792
+AUX libgksu-2.0.7-libs.patch 3038 RMD160 be69c4fb7d96e49010a87ed4862cbe5474970b5b SHA1 5c31a455e37587c1066771c660412f18ef2044db SHA256 976031927fcbc32d4a7ab00a2dd00680501d61e77365d8213f76fedff4c6c257
+AUX libgksu-2.0.7-polinguas.patch 694 RMD160 32990929cd841687aa331d258e0f585decd4507a SHA1 010b02fb764658708bdd91505018efe08e9947af SHA256 66a27b77c5573132b4d87e1039667879362914bafb554eec32fde7825ec5313d
DIST libgksu-2.0.5.tar.gz 497012 RMD160 463b5c56ffabd9b8ec93d20408b110e0df08c1aa SHA1 a19947867d8bff623abd9bb6c213509802c7504b SHA256 e7a20350b9aadc3a79ece4f70fbc2bc5f4836063dafd50cae76b98e12221383f
+DIST libgksu-2.0.7.tar.gz 510752 RMD160 a93cb7c5198b3581e80b7399d797da285fefbd64 SHA1 e72b3366a879ee4ece7717da8957715c848d2a5e SHA256 7c272508b3608071406f8ea46769423cefc2b4a9bfa8f84206af14bec2551da5
EBUILD libgksu-2.0.5.ebuild 1006 RMD160 7b8ce7a075c5781275873009edffe02c5b7d1f97 SHA1 a468952caaafbe5f1ae50617088cfce00d94060b SHA256 6f1655e33531430e2a9d9176610fc864b7a447b58e9c8e2d58bc4eafb3e0a2f5
-MISC ChangeLog 7001 RMD160 8f82495e569f935bb91c34002164e50332715066 SHA1 8f71965e07694b6b2dd18407b9c963b4c810ac6d SHA256 03e111c7f905650ccaac89b24485595cbcf68b68423c8cfaa9c3fc82d8362ef2
+EBUILD libgksu-2.0.7.ebuild 1311 RMD160 89e9012f7d59956d564c058785f6ba09e19d150f SHA1 80b63c18b260fa7cdc7f36c88d87767cde8f98b5 SHA256 77475789ceee4425e7c04eb91d47049c4b49085b322672b67981e58161030be8
+MISC ChangeLog 7217 RMD160 010a15dce441827168279280a9c17f68b21e431c SHA1 2c07fe64b51b76f1825aca738f79c36ee33b8c32 SHA256 ffbdf5c2352107c0859c7c1b82d40f84c18c791aa7654f6b92a0d3375554c3c5
MISC metadata.xml 253 RMD160 e1dda0cee52f7759dd137d288dacc865dd211027 SHA1 f04021419226bd57c9c960fbcf798d9c249d22d8 SHA256 39d57d5a8be47e8247d2b8659b092c4421f2eef9cc83e541755a9eb34dcb667c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.8 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkfUXIYACgkQkeYb6olFHJfnRACeIBbMLFxGLlvzdL17KqizwLmM
-GEUAoJVmTIRjqXH42mLImkWGGIE5y5UP
-=ZmRS
+iEYEARECAAYFAkl08O8ACgkQ1fmVwcYIWAabQQCeN9ufyj0IoCCHJHTpZ8uOcb4Y
+LsUAoOVqajrmcZKujvrnVdBaJBUwFUOt
+=lc0I
-----END PGP SIGNATURE-----
diff --git a/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch b/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch
new file mode 100644
index 000000000000..b8bf552caf23
--- /dev/null
+++ b/x11-libs/libgksu/files/libgksu-2.0.7-libs.patch
@@ -0,0 +1,74 @@
+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
new file mode 100644
index 000000000000..b1e828b6a5da
--- /dev/null
+++ b/x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch
@@ -0,0 +1,39 @@
+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
++# http://live.gnome.org/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.7.ebuild b/x11-libs/libgksu/libgksu-2.0.7.ebuild
new file mode 100644
index 000000000000..270e9b8a1dd0
--- /dev/null
+++ b/x11-libs/libgksu/libgksu-2.0.7.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libgksu/libgksu-2.0.7.ebuild,v 1.1 2009/01/19 21:29:23 eva Exp $
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="A library for integration of su into applications"
+HOMEPAGE="http://www.nongnu.org/gksu/"
+SRC_URI="http://people.debian.org/~kov/gksu/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="nls doc"
+
+BOTH=">=x11-libs/gtk+-2.4
+ >=gnome-base/gconf-2
+ >=gnome-base/gnome-keyring-0.4.4
+ x11-libs/startup-notification
+ >=gnome-base/libgtop-2
+ >=gnome-base/libglade-2
+ nls? ( >=sys-devel/gettext-0.14.1 )"
+
+DEPEND="${BOTH}
+ doc? ( >=dev-util/gtk-doc-1.2-r1 )
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ >=dev-util/pkgconfig-0.19"
+
+RDEPEND="${BOTH}
+ app-admin/sudo"
+
+DOCS="AUTHORS ChangeLog"
+
+pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable nls)"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Fix compilation on bsd
+ epatch "${FILESDIR}"/${PN}-2.0.0-fbsd.patch
+
+ # Fix wrong usage of LDFLAGS, bug #226837
+ epatch "${FILESDIR}/${P}-libs.patch"
+
+ # Use po/LINGUAS
+ epatch "${FILESDIR}/${P}-polinguas.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}