[arch-commits] Commit in xfce4-smartbookmark-plugin/trunk (3 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Fri Jan 25 08:43:49 UTC 2013


    Date: Friday, January 25, 2013 @ 09:43:49
  Author: foutrelis
Revision: 175944

upgpkg: xfce4-smartbookmark-plugin 0.4.5-1

New upstream release.

Modified:
  xfce4-smartbookmark-plugin/trunk/PKGBUILD
Deleted:
  xfce4-smartbookmark-plugin/trunk/fix-config-write.patch
  xfce4-smartbookmark-plugin/trunk/use-exo-open-instead-of-xfbrowser4.patch

------------------------------------------+
 PKGBUILD                                 |   18 ++++----------
 fix-config-write.patch                   |   11 --------
 use-exo-open-instead-of-xfbrowser4.patch |   37 -----------------------------
 3 files changed, 6 insertions(+), 60 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-25 08:23:07 UTC (rev 175943)
+++ PKGBUILD	2013-01-25 08:43:49 UTC (rev 175944)
@@ -4,31 +4,25 @@
 # Contributor: Tobias Kieslich <tobias (at) archlinux.org>
 
 pkgname=xfce4-smartbookmark-plugin
-pkgver=0.4.4
-pkgrel=4
+pkgver=0.4.5
+pkgrel=1
 pkgdesc="Plugin for the Xfce4 panel that lets you quicksearch from selected websites"
 arch=('i686' 'x86_64')
 url="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin"
 license=('GPL2')
 groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libxfcegui4')
+depends=('xfce4-panel')
 makedepends=('intltool' 'libxt')
 options=('!libtool')
 source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.4/$pkgname-$pkgver.tar.bz2
-        xfce4-smartbookmark-plugin-archlinux.patch
-        use-exo-open-instead-of-xfbrowser4.patch
-        fix-config-write.patch)
-sha256sums=('6c77e8fee0ec4dcee7aa34d94377e068a522b1ea650823422f2f5cca8126f2ed'
-            'a126b086811b60a8f3cd1a2b818cb6b9a9c6e959e00db1499b114fa8803325e6'
-            '436f7cda2b2bdfee61ac3d887d17dc91094526fec8713ab84fda249850525aac'
-            '21873511b77e0fac6c85f15dc6332fcb4532ac688f3202bc839c00f372249b88')
+        xfce4-smartbookmark-plugin-archlinux.patch)
+sha256sums=('6aa4269a5f4b7a3332d3c491efbbbd0a9ff0031a0005fee780346863bcf4f886'
+            'a126b086811b60a8f3cd1a2b818cb6b9a9c6e959e00db1499b114fa8803325e6')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
   patch -Np0 -i "$srcdir/xfce4-smartbookmark-plugin-archlinux.patch"
-  patch -Np1 -i "$srcdir/use-exo-open-instead-of-xfbrowser4.patch"
-  patch -Np1 -i "$srcdir/fix-config-write.patch"
 
   ./configure \
     --prefix=/usr \

Deleted: fix-config-write.patch
===================================================================
--- fix-config-write.patch	2013-01-25 08:23:07 UTC (rev 175943)
+++ fix-config-write.patch	2013-01-25 08:43:49 UTC (rev 175944)
@@ -1,11 +0,0 @@
-diff -upr xfce4-smartbookmark-plugin-0.4.4.orig/src/smartbookmark.c xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c
---- xfce4-smartbookmark-plugin-0.4.4.orig/src/smartbookmark.c	2012-11-19 22:24:16.000000000 +0200
-+++ xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c	2012-11-19 22:24:42.000000000 +0200
-@@ -365,6 +365,7 @@ static void search_create_options(XfcePa
-     search_apply_options_cb(search);
-     gtk_widget_destroy(search->opt_dialog);
-     xfce_panel_plugin_unblock_menu(plugin);
-+    search_write_config(plugin, search);
- }
- 
- 

Deleted: use-exo-open-instead-of-xfbrowser4.patch
===================================================================
--- use-exo-open-instead-of-xfbrowser4.patch	2013-01-25 08:23:07 UTC (rev 175943)
+++ use-exo-open-instead-of-xfbrowser4.patch	2013-01-25 08:43:49 UTC (rev 175944)
@@ -1,37 +0,0 @@
---- xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c	
-+++ xfce4-smartbookmark-plugin-0.4.4/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;
- }




More information about the arch-commits mailing list