diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-01-19 21:29:23 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-01-19 21:29:23 +0000 |
commit | 142c85e0b1331e6c1912dc97b1789ca230142305 (patch) | |
tree | db9f0ebb7f466c4e1dc9bacc699f6bcec1322ffd | |
parent | Initial commit. Fixes bug 244922 (diff) | |
download | gentoo-2-142c85e0b1331e6c1912dc97b1789ca230142305.tar.gz gentoo-2-142c85e0b1331e6c1912dc97b1789ca230142305.tar.bz2 gentoo-2-142c85e0b1331e6c1912dc97b1789ca230142305.zip |
Bump to 2.0.7. Fix bug #226837.
(Portage version: 2.2_rc20/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
-rw-r--r-- | x11-libs/libgksu/ChangeLog | 11 | ||||
-rw-r--r-- | x11-libs/libgksu/files/libgksu-2.0.7-libs.patch | 74 | ||||
-rw-r--r-- | x11-libs/libgksu/files/libgksu-2.0.7-polinguas.patch | 39 | ||||
-rw-r--r-- | x11-libs/libgksu/libgksu-2.0.7.ebuild | 53 |
4 files changed, 175 insertions, 2 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/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 +} |