diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-29 16:07:54 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-29 16:07:54 +0000 |
commit | f651b29d0fc931f2707bca741f13d4e2d5e110ac (patch) | |
tree | 3cd9612f790eb64fce421f1cc9a3343d3bdbf3b3 /xfce-extra | |
parent | stable x86, bug 352808 (diff) | |
download | gentoo-2-f651b29d0fc931f2707bca741f13d4e2d5e110ac.tar.gz gentoo-2-f651b29d0fc931f2707bca741f13d4e2d5e110ac.tar.bz2 gentoo-2-f651b29d0fc931f2707bca741f13d4e2d5e110ac.zip |
Link to libxfcegui4 and fix .desktop entry to be compatible with xfce4-panel >= 4.7.0.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra')
3 files changed, 50 insertions, 12 deletions
diff --git a/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog b/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog index 86b18da70684..962fdcf64a75 100644 --- a/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog +++ b/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for xfce-extra/xfce4-smartbookmark-plugin -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog,v 1.2 2009/10/08 17:44:11 darkside Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog,v 1.3 2011/01/29 16:07:54 ssuominen Exp $ + + 29 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> + xfce4-smartbookmark-plugin-0.4.2.ebuild, + +files/xfce4-smartbookmark-plugin-0.4.2-xfce48.patch: + Link to libxfcegui4 and fix .desktop entry to be compatible with xfce4-panel + >= 4.7.0. 08 Oct 2009; Jeremy Olexa <darkside@gentoo.org> xfce4-smartbookmark-plugin-0.4.2.ebuild: diff --git a/xfce-extra/xfce4-smartbookmark-plugin/files/xfce4-smartbookmark-plugin-0.4.2-xfce48.patch b/xfce-extra/xfce4-smartbookmark-plugin/files/xfce4-smartbookmark-plugin-0.4.2-xfce48.patch new file mode 100644 index 000000000000..510e8f4c2096 --- /dev/null +++ b/xfce-extra/xfce4-smartbookmark-plugin/files/xfce4-smartbookmark-plugin-0.4.2-xfce48.patch @@ -0,0 +1,25 @@ +http://bugzilla.xfce.org/show_bug.cgi?id=6939 + +--- configure.ac ++++ configure.ac +@@ -25,7 +25,7 @@ + dnl Check for required packages + XDT_CHECK_LIBX11_REQUIRE() + XDT_CHECK_PACKAGE([GDK], [gdk-2.0], [2.0]) +-XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfce4panel-1.0], [4.2]) ++XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.2]) + XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20]) + + XDT_FEATURE_DEBUG() +--- src/smartbookmark.desktop.in.in ++++ src/smartbookmark.desktop.in.in +@@ -1,8 +1,7 @@ + [Xfce Panel] + Type=X-XFCE-PanelPlugin +-Encoding=UTF-8 + _Name=SmartBookmark + _Comment=Query websites from the Xfce panel + Icon=gtk-preferences +-X-XFCE-Module=@INTERNAL_PLUGIN_PATH@/libsmartbookmark.so ++X-XFCE-Module=smartbookmark + X-XFCE-Unique=false diff --git a/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.2.ebuild b/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.2.ebuild index 56b1cffc6419..55d45da293a3 100644 --- a/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.2.ebuild +++ b/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.2.ebuild @@ -1,12 +1,13 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.2.ebuild,v 1.2 2009/10/08 17:44:11 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.2.ebuild,v 1.3 2011/01/29 16:07:54 ssuominen Exp $ -EAPI=2 +EAPI=3 +EAUTORECONF=yes inherit xfconf -DESCRIPTION="Xfce panel smart-bookmark plugin" -HOMEPAGE="http://www.xfce.org/" +DESCRIPTION="Smart bookmark plug-in for the Xfce desktop environment" +HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin" SRC_URI="mirror://xfce/src/panel-plugins/${PN}/0.4/${P}.tar.gz" LICENSE="GPL-2" @@ -14,7 +15,8 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux" IUSE="debug" -COMMON_DEPEND=">=xfce-base/xfce4-panel-4.3.20" +COMMON_DEPEND=">=xfce-base/libxfcegui4-4.2 + >=xfce-base/xfce4-panel-4.3.20" RDEPEND="${COMMON_DEPEND} xfce-base/xfce-utils" DEPEND="${COMMON_DEPEND} @@ -22,13 +24,18 @@ DEPEND="${COMMON_DEPEND} dev-util/intltool" pkg_setup() { + PATCHES=( "${FILESDIR}"/${P}-xfce48.patch ) + + XFCONF=( + --disable-dependency-tracking + --disable-static + $(xfconf_use_debug) + ) + DOCS="AUTHORS ChangeLog README" - XFCONF="--disable-dependency-tracking - $(use_enable debug)" } src_prepare() { - sed -i -e 's:bugs.debian:bugs.gentoo:g' \ - src/smartbookmark.c || die "sed failed" + sed -i -e 's:bugs.debian:bugs.gentoo:g' src/smartbookmark.c || die xfconf_src_prepare } |