diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-05-05 17:17:45 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-05-05 17:17:45 +0000 |
commit | 7fdf8d891fb9941cdd3984190b5c4e3af93abd36 (patch) | |
tree | 4509118779b5d5808ca80c94e5edfab90960142b /xfce-extra/xfce4-smartbookmark-plugin | |
parent | old (diff) | |
download | gentoo-2-7fdf8d891fb9941cdd3984190b5c4e3af93abd36.tar.gz gentoo-2-7fdf8d891fb9941cdd3984190b5c4e3af93abd36.tar.bz2 gentoo-2-7fdf8d891fb9941cdd3984190b5c4e3af93abd36.zip |
old
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'xfce-extra/xfce4-smartbookmark-plugin')
3 files changed, 6 insertions, 83 deletions
diff --git a/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog b/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog index 88d42452e14a..13b2e38b96f1 100644 --- a/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog +++ b/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for xfce-extra/xfce4-smartbookmark-plugin # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog,v 1.26 2013/04/12 15:06:19 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-smartbookmark-plugin/ChangeLog,v 1.27 2013/05/05 17:17:45 ssuominen Exp $ + + 05 May 2013; Samuli Suominen <ssuominen@gentoo.org> + -files/xfce4-smartbookmark-plugin-0.4.4-exo-open_and_argument_handling.patch, + -xfce4-smartbookmark-plugin-0.4.4-r2.ebuild: + old 12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> xfce4-smartbookmark-plugin-0.4.5.ebuild: diff --git a/xfce-extra/xfce4-smartbookmark-plugin/files/xfce4-smartbookmark-plugin-0.4.4-exo-open_and_argument_handling.patch b/xfce-extra/xfce4-smartbookmark-plugin/files/xfce4-smartbookmark-plugin-0.4.4-exo-open_and_argument_handling.patch deleted file mode 100644 index 43cc4565f837..000000000000 --- a/xfce-extra/xfce4-smartbookmark-plugin/files/xfce4-smartbookmark-plugin-0.4.4-exo-open_and_argument_handling.patch +++ /dev/null @@ -1,39 +0,0 @@ -http://bugzilla.xfce.org/show_bug.cgi?id=8642 - ---- src/smartbookmark.c -+++ src/smartbookmark.c -@@ -75,18 +75,27 @@ XFCE_PANEL_PLUGIN_REGISTER_INTERNAL(smar - - static gboolean do_search(const char *url, const char *keyword) - { -+ gchar *argv[] = { "exo-open", "--launch", "WebBrowser", NULL, NULL }; -+ gchar *complete_url; -+ gboolean retval; -+ GError *error = NULL; -+ - DBG ("Do search"); -- gchar *execute; -- gboolean success; -- execute = g_strconcat("xfbrowser4 \"", url, NULL);//works better for me -- //execute = g_strconcat("x-www-browser \"", url, NULL); -- execute = g_strconcat(execute, keyword, NULL); -- execute = g_strconcat(execute, "\"", NULL); - -- success = exec_command(execute); -- g_free(execute); -+ complete_url = g_strconcat(url, keyword, NULL); -+ argv[3] = complete_url; -+ -+ retval = g_spawn_async(NULL, (gchar **)argv, NULL, -+ G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL, &error); -+ -+ g_free(complete_url); -+ -+ if (!retval) { -+ xfce_err("%s", error->message); -+ g_error_free(error); -+ } - -- return success; -+ return retval; - } diff --git a/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.4-r2.ebuild b/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.4-r2.ebuild deleted file mode 100644 index eb71e3aa98e5..000000000000 --- a/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.4-r2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2012 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.4-r2.ebuild,v 1.8 2012/11/28 12:19:21 ssuominen Exp $ - -EAPI=5 -inherit xfconf - -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}/${PV%.*}/${P}.tar.bz2" - -LICENSE="GPL-2" -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="x11-libs/gtk+:2 - x11-libs/libX11 - >=xfce-base/libxfcegui4-4.8 - >=xfce-base/xfce4-panel-4.8" -RDEPEND="${COMMON_DEPEND} - >=xfce-base/exo-0.6" -DEPEND="${COMMON_DEPEND} - dev-util/intltool - virtual/pkgconfig - sys-devel/gettext" - -pkg_setup() { - PATCHES=( - "${FILESDIR}"/${P}-exo-open_and_argument_handling.patch - ) - - XFCONF=( - --disable-static - $(xfconf_use_debug) - ) - - DOCS=( AUTHORS ChangeLog NEWS README ) -} -src_prepare() { - sed -i -e 's:bugs.debian:bugs.gentoo:' src/smartbookmark.c || die - xfconf_src_prepare -} |