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

2020-12-24 Thread Evangelos Foutras via arch-commits
Date: Thursday, December 24, 2020 @ 16:28:43
  Author: foutrelis
Revision: 404991

upgpkg: xfce4-smartbookmark-plugin 0.5.2-1: new upstream release

Modified:
  xfce4-smartbookmark-plugin/trunk/PKGBUILD
  xfce4-smartbookmark-plugin/trunk/xfce4-smartbookmark-plugin-archlinux.patch

+
 PKGBUILD   |   12 ++--
 xfce4-smartbookmark-plugin-archlinux.patch |   15 ---
 2 files changed, 14 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-24 15:31:10 UTC (rev 404990)
+++ PKGBUILD2020-12-24 16:28:43 UTC (rev 404991)
@@ -3,9 +3,9 @@
 # Contributor: Tobias Kieslich 
 
 pkgname=xfce4-smartbookmark-plugin
-pkgver=0.5.1
-pkgrel=2
-pkgdesc="Plugin for the Xfce4 panel that lets you quicksearch from selected 
websites"
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="Allows you to send requests directly to your browser and perform a 
custom search"
 arch=('x86_64')
 url="https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin;
 license=('GPL2')
@@ -14,13 +14,13 @@
 makedepends=('intltool' 'libxt')
 
source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
 xfce4-smartbookmark-plugin-archlinux.patch)
-sha256sums=('3e28fb7cd2e2251e89a8715684081b862406e3fb4e6d8c0caa1b798a97703600'
-'61f35a8e93f1aaf7f46b2c90af9788155bea67f045185d74c6b384a97deeacab')
+sha256sums=('2a279e2f5a54518684e62ad1f3cd8ef950826505b39725f1b5d8f0c43031cdd3'
+'077092f164317327ccea49692fe166ad1dc7ff0cbbaf9863e5f0d11ca077b7e5')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  patch -Np0 -i "$srcdir/xfce4-smartbookmark-plugin-archlinux.patch"
+  patch -Np1 -i "$srcdir/xfce4-smartbookmark-plugin-archlinux.patch"
 }
 
 build() {

Modified: xfce4-smartbookmark-plugin-archlinux.patch
===
--- xfce4-smartbookmark-plugin-archlinux.patch  2020-12-24 15:31:10 UTC (rev 
404990)
+++ xfce4-smartbookmark-plugin-archlinux.patch  2020-12-24 16:28:43 UTC (rev 
404991)
@@ -1,10 +1,11 @@
 src/smartbookmark.c.redhat 2006-12-18 02:06:21.0 +0100
-+++ src/smartbookmark.c2006-12-18 02:11:33.0 +0100
-@@ -197,8 +197,8 @@
- box = gtk_vbox_new(FALSE, 0);
+diff -upr xfce4-smartbookmark-plugin-0.5.2.orig/src/smartbookmark.c 
xfce4-smartbookmark-plugin-0.5.2/src/smartbookmark.c
+--- xfce4-smartbookmark-plugin-0.5.2.orig/src/smartbookmark.c  2020-12-24 
18:01:51.0 +0200
 xfce4-smartbookmark-plugin-0.5.2/src/smartbookmark.c   2020-12-24 
18:26:20.132328085 +0200
+@@ -173,8 +173,8 @@ static t_search *search_new(XfcePanelPlu
+ gtk_widget_set_valign(GTK_WIDGET(search->box), GTK_ALIGN_CENTER);
  
  /* default options */
--search->url = "http://bugs.debian.org/;;
+-search->url = "https://bugs.debian.org/;;
 -search->label_text = "BTS";
 +search->url = "https://bugs.archlinux.org/;;
 +search->label_text = "ArchBug #";
@@ -11,11 +12,11 @@
  search->size = 5;
  search->hide_label = FALSE;
  /* read config file options */
-@@ -269,8 +269,8 @@
+@@ -209,8 +209,8 @@ static void search_read_config(t_search
  if( (rcfile = xfce_rc_simple_open(filename, TRUE) ))
  {
  xfce_rc_set_group(rcfile, NULL);
--search->url = 
g_strdup(xfce_rc_read_entry(rcfile,"url","http://bugs.debian.org/;));
+-search->url = 
g_strdup(xfce_rc_read_entry(rcfile,"url","https://bugs.debian.org/;));
 -search->label_text = 
g_strdup(xfce_rc_read_entry(rcfile,"value","DBS"));
 +search->url = 
g_strdup(xfce_rc_read_entry(rcfile,"url","https://bugs.archlinux.org/;));
 +search->label_text = 
g_strdup(xfce_rc_read_entry(rcfile,"value","ArchBug #"));


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

2015-03-10 Thread Evangelos Foutras
Date: Tuesday, March 10, 2015 @ 18:31:57
  Author: foutrelis
Revision: 233322

upgpkg: xfce4-smartbookmark-plugin 0.4.6-1

New upstream release.

Modified:
  xfce4-smartbookmark-plugin/trunk/PKGBUILD
  xfce4-smartbookmark-plugin/trunk/xfce4-smartbookmark-plugin-archlinux.patch

+
 PKGBUILD   |8 
 xfce4-smartbookmark-plugin-archlinux.patch |4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-10 17:24:18 UTC (rev 233321)
+++ PKGBUILD2015-03-10 17:31:57 UTC (rev 233322)
@@ -4,8 +4,8 @@
 # Contributor: Tobias Kieslich tobias (at) archlinux.org
 
 pkgname=xfce4-smartbookmark-plugin
-pkgver=0.4.5
-pkgrel=3
+pkgver=0.4.6
+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;
@@ -15,8 +15,8 @@
 makedepends=('intltool' 'libxt')
 
source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.4/$pkgname-$pkgver.tar.bz2
 xfce4-smartbookmark-plugin-archlinux.patch)
-sha256sums=('6aa4269a5f4b7a3332d3c491efbbbd0a9ff0031a0005fee780346863bcf4f886'
-'a126b086811b60a8f3cd1a2b818cb6b9a9c6e959e00db1499b114fa8803325e6')
+sha256sums=('3bed2b322cd39ce5845d6da07938c702260f3f1a9700b690ef377fba752ba24f'
+'61f35a8e93f1aaf7f46b2c90af9788155bea67f045185d74c6b384a97deeacab')
 
 prepare() {
   cd $srcdir/$pkgname-$pkgver

Modified: xfce4-smartbookmark-plugin-archlinux.patch
===
--- xfce4-smartbookmark-plugin-archlinux.patch  2015-03-10 17:24:18 UTC (rev 
233321)
+++ xfce4-smartbookmark-plugin-archlinux.patch  2015-03-10 17:31:57 UTC (rev 
233322)
@@ -6,7 +6,7 @@
  /* default options */
 -search-url = http://bugs.debian.org/;;
 -search-label_text = BTS;
-+search-url = http://bugs.archlinux.org/;;
++search-url = https://bugs.archlinux.org/;;
 +search-label_text = ArchBug #;
  search-size = 5;
  search-hide_label = FALSE;
@@ -17,7 +17,7 @@
  xfce_rc_set_group(rcfile, NULL);
 -search-url = 
g_strdup(xfce_rc_read_entry(rcfile,url,http://bugs.debian.org/;));
 -search-label_text = 
g_strdup(xfce_rc_read_entry(rcfile,value,DBS));
-+search-url = 
g_strdup(xfce_rc_read_entry(rcfile,url,http://bugs.archlinux.org/;));
++search-url = 
g_strdup(xfce_rc_read_entry(rcfile,url,https://bugs.archlinux.org/;));
 +search-label_text = 
g_strdup(xfce_rc_read_entry(rcfile,value,ArchBug #));
  search-size = xfce_rc_read_int_entry(rcfile, size, 5);
  search-hide_label = xfce_rc_read_bool_entry(rcfile, hidelabel, 
FALSE);


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

2012-11-19 Thread Evangelos Foutras
Date: Monday, November 19, 2012 @ 15:33:57
  Author: foutrelis
Revision: 171599

upgpkg: xfce4-smartbookmark-plugin 0.4.4-4

Fix FS#32754: [xfce4-smartbookmark-plugin] Reverts to default on logout

Added:
  xfce4-smartbookmark-plugin/trunk/fix-config-write.patch
Modified:
  xfce4-smartbookmark-plugin/trunk/PKGBUILD

+
 PKGBUILD   |9 ++---
 fix-config-write.patch |   11 +++
 2 files changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-19 19:59:32 UTC (rev 171598)
+++ PKGBUILD2012-11-19 20:33:57 UTC (rev 171599)
@@ -5,7 +5,7 @@
 
 pkgname=xfce4-smartbookmark-plugin
 pkgver=0.4.4
-pkgrel=3
+pkgrel=4
 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;
@@ -16,16 +16,19 @@
 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)
+use-exo-open-instead-of-xfbrowser4.patch
+fix-config-write.patch)
 sha256sums=('6c77e8fee0ec4dcee7aa34d94377e068a522b1ea650823422f2f5cca8126f2ed'
 'a126b086811b60a8f3cd1a2b818cb6b9a9c6e959e00db1499b114fa8803325e6'
-'436f7cda2b2bdfee61ac3d887d17dc91094526fec8713ab84fda249850525aac')
+'436f7cda2b2bdfee61ac3d887d17dc91094526fec8713ab84fda249850525aac'
+'21873511b77e0fac6c85f15dc6332fcb4532ac688f3202bc839c00f372249b88')
 
 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 \

Added: fix-config-write.patch
===
--- fix-config-write.patch  (rev 0)
+++ fix-config-write.patch  2012-11-19 20:33:57 UTC (rev 171599)
@@ -0,0 +1,11 @@
+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.0 +0200
 xfce4-smartbookmark-plugin-0.4.4/src/smartbookmark.c   2012-11-19 
22:24:42.0 +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);
+ }
+ 
+ 



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

2012-05-14 Thread Evangelos Foutras
Date: Monday, May 14, 2012 @ 16:21:04
  Author: foutrelis
Revision: 159005

upgpkg: xfce4-smartbookmark-plugin 0.4.4-3

Use exo-open to open URLs instead of xfbrowser4. (FS#29860)

Added:
  xfce4-smartbookmark-plugin/trunk/use-exo-open-instead-of-xfbrowser4.patch
Modified:
  xfce4-smartbookmark-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 use-exo-open-instead-of-xfbrowser4.patch |   37 +++
 2 files changed, 64 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-05-14 18:20:56 UTC (rev 159004)
+++ PKGBUILD2012-05-14 20:21:04 UTC (rev 159005)
@@ -1,36 +1,45 @@
 # $Id$
-# Maintainer: AndyRTR andy...@archlinux.org
+# Maintainer:
+# Contributor: AndyRTR andy...@archlinux.org
 # Contributor: Tobias Kieslich tobias (at) archlinux.org
 
 pkgname=xfce4-smartbookmark-plugin
 pkgver=0.4.4
-pkgrel=2
-pkgdesc=Plugin for the Xfce4 panel that let you quicksearch from selected 
websites
+pkgrel=3
+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')
-url=http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin;
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'libxfcegui4')
 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)
-md5sums=('273e38306a82f14e1b8c2c5db912f6c3'
- '323ac898cfcfdb078f67f9ecd1905aec')
+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)
+sha256sums=('6c77e8fee0ec4dcee7aa34d94377e068a522b1ea650823422f2f5cca8126f2ed'
+'a126b086811b60a8f3cd1a2b818cb6b9a9c6e959e00db1499b114fa8803325e6'
+'436f7cda2b2bdfee61ac3d887d17dc91094526fec8713ab84fda249850525aac')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p0 -i ${srcdir}/xfce4-smartbookmark-plugin-archlinux.patch
-  ./configure --prefix=/usr \
-   --sysconfdir=/etc \
-   --libexecdir=/usr/lib \
-   --localstatedir=/var \
-   --disable-static \
-   --disable-debug
+  cd $srcdir/$pkgname-$pkgver
+
+  patch -Np0 -i $srcdir/xfce4-smartbookmark-plugin-archlinux.patch
+  patch -Np1 -i $srcdir/use-exo-open-instead-of-xfbrowser4.patch
+
+  ./configure \
+--prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var \
+--disable-static \
+--disable-debug
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
 }
+
+# vim:set ts=2 sw=2 et:

Added: use-exo-open-instead-of-xfbrowser4.patch
===
--- use-exo-open-instead-of-xfbrowser4.patch(rev 0)
+++ use-exo-open-instead-of-xfbrowser4.patch2012-05-14 20:21:04 UTC (rev 
159005)
@@ -0,0 +1,37 @@
+--- 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;
+ }



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

2011-11-01 Thread Eric BĂ©langer
Date: Wednesday, November 2, 2011 @ 01:08:27
  Author: eric
Revision: 141670

Upstream update, Remove xfce4-dev-tools makedepends, Remove old patch

Modified:
  xfce4-smartbookmark-plugin/trunk/PKGBUILD
Deleted:
  
xfce4-smartbookmark-plugin/trunk/0001-Fix-problems-with-plugin-and-4.8-panel.patch

---+
 0001-Fix-problems-with-plugin-and-4.8-panel.patch |   37 
 PKGBUILD  |   29 ++-
 2 files changed, 12 insertions(+), 54 deletions(-)

Deleted: 0001-Fix-problems-with-plugin-and-4.8-panel.patch
===
--- 0001-Fix-problems-with-plugin-and-4.8-panel.patch   2011-11-02 03:17:44 UTC 
(rev 141669)
+++ 0001-Fix-problems-with-plugin-and-4.8-panel.patch   2011-11-02 05:08:27 UTC 
(rev 141670)
@@ -1,37 +0,0 @@
-From b1922538b26f9929bcd43df8728bf33afe06fbef Mon Sep 17 00:00:00 2001
-From: Nick Schermer n...@xfce.org
-Date: Thu, 27 Jan 2011 22:29:16 +0100
-Subject: [PATCH] Fix problems with plugin and 4.8 panel.
-

- configure.ac|2 +-
- src/smartbookmark.desktop.in.in |2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1ba88d4..cb344f5 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -25,7 +25,7 @@ XDT_I18N([ca cs en_GB eu fr hu it pl pt_PT sq zh_TW])
- 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()
-diff --git a/src/smartbookmark.desktop.in.in b/src/smartbookmark.desktop.in.in
-index 83464ff..7bafece 100644
 a/src/smartbookmark.desktop.in.in
-+++ b/src/smartbookmark.desktop.in.in
-@@ -4,5 +4,5 @@ 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
--- 
-1.7.3.5
-

Modified: PKGBUILD
===
--- PKGBUILD2011-11-02 03:17:44 UTC (rev 141669)
+++ PKGBUILD2011-11-02 05:08:27 UTC (rev 141670)
@@ -3,29 +3,24 @@
 # Contributor: Tobias Kieslich tobias (at) archlinux.org
 
 pkgname=xfce4-smartbookmark-plugin
-pkgver=0.4.2
-pkgrel=9
-pkgdesc=plugin for the Xfce4 panel that let you quicksearch from selected 
websites
+pkgver=0.4.4
+pkgrel=1
+pkgdesc=Plugin for the Xfce4 panel that let you quicksearch from selected 
websites
 arch=('i686' 'x86_64')
 license=('GPL2')
 url=http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin;
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'libxfcegui4')
-makedepends=('intltool' 'libxt' 'xfce4-dev-tools')
+makedepends=('intltool' 'libxt')
 options=('!libtool')
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.4/${pkgname}-${pkgver}.tar.gz
-   xfce4-smartbookmark-plugin-archlinux.patch
-   0001-Fix-problems-with-plugin-and-4.8-panel.patch)
-md5sums=('284e26595637dd2e900b75534372496b'
- '323ac898cfcfdb078f67f9ecd1905aec'
- '6dc220fc41cd21678aad62c80a4c622f')
+source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2
+   xfce4-smartbookmark-plugin-archlinux.patch)
+md5sums=('273e38306a82f14e1b8c2c5db912f6c3'
+ '323ac898cfcfdb078f67f9ecd1905aec')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  # fix panel4.8  http://bugzilla.xfce.org/show_bug.cgi
-  patch -Np1 -i ${srcdir}/0001-Fix-problems-with-plugin-and-4.8-panel.patch
-  patch -Np0 -i ${srcdir}/xfce4-smartbookmark-plugin-archlinux.patch
-  xdt-autogen
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -p0 -i ${srcdir}/xfce4-smartbookmark-plugin-archlinux.patch
   ./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
@@ -36,6 +31,6 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
 }