public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-smartbookmark-plugin] rawhide: Update to 0.6.0
@ 2026-08-13 21:49 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-13 21:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfce4-smartbookmark-plugin
Branch : rawhide
Commit : f1fac0314203ba59f59e3f2080d8876ff5800992
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-31T20:56:13-03:00
Stats : +54/-51 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/xfce4-smartbookmark-plugin/c/f1fac0314203ba59f59e3f2080d8876ff5800992?branch=rawhide
Log:
Update to 0.6.0
Switch from Autotools to Meson build system
spec cleanup and modernization, .gitignore file cleanup
---
diff --git a/.gitignore b/.gitignore
index 35d5ac4..737a79f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,2 @@
-xfce4-smartbookmark-plugin-0.4.2.tar.gz
-/xfce4-smartbookmark-plugin-0.4.4.tar.bz2
-/xfce4-smartbookmark-plugin-0.4.5.tar.bz2
-/xfce4-smartbookmark-plugin-0.4.6.tar.bz2
-/xfce4-smartbookmark-plugin-0.5.0.tar.bz2
-/xfce4-smartbookmark-plugin-0.5.1.tar.bz2
-/xfce4-smartbookmark-plugin-0.5.2.tar.bz2
-/xfce4-smartbookmark-plugin-0.5.3.tar.bz2
+/xfce4-smartbookmark-plugin-*.tar.bz2
+/xfce4-smartbookmark-plugin-*.tar.xz
diff --git a/sources b/sources
index e232296..61cf282 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-smartbookmark-plugin-0.5.3.tar.bz2) = bb88d2ab7c0f4b792eb8fb899f4364dcee379ea90f5a3b64c3c149afc6e7e668a5820bc40003f2fdab51eced864bb3da76e1829080f4d58ae0e38e6d1bb56c0c
+SHA512 (xfce4-smartbookmark-plugin-0.6.0.tar.xz) = b75371a4629a921735f2149382ebf5f6f77ab6e0dc0b6202246684c2e56b68266e5417d2adce64be5d7a4d66ef99a7f14e6ddf0aff4a7165f9aae454b112d390
diff --git a/xfce4-smartbookmark-plugin-0.5.3-redhat.patch b/xfce4-smartbookmark-plugin-0.5.3-redhat.patch
deleted file mode 100644
index 8408cb6..0000000
--- a/xfce4-smartbookmark-plugin-0.5.3-redhat.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- xfce4-smartbookmark-plugin-0.5.2-orig/src/smartbookmark.c 2020-12-24 11:01:51.000000000 -0500
-+++ xfce4-smartbookmark-plugin-0.5.2/src/smartbookmark.c 2020-12-24 16:21:06.189721041 -0500
-@@ -173,8 +173,8 @@
- gtk_widget_set_valign(GTK_WIDGET(search->box), GTK_ALIGN_CENTER);
-
- /* default options */
-- search->url = "https://bugs.debian.org/";
-- search->label_text = "BTS";
-+ search->url = "https://bugzilla.redhat.com/";
-+ search->label_text = "Bug #";
- search->size = 5;
- search->hide_label = FALSE;
- /* read config file options */
-@@ -209,8 +209,8 @@
- if( (rcfile = xfce_rc_simple_open(filename, TRUE) ))
- {
- xfce_rc_set_group(rcfile, NULL);
-- 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://bugzilla.redhat.com"));
-+ search->label_text = g_strdup(xfce_rc_read_entry(rcfile,"value","Bug #"));
- search->size = xfce_rc_read_int_entry(rcfile, "size", 5);
- search->hide_label = xfce_rc_read_bool_entry(rcfile, "hidelabel", FALSE);
- }
diff --git a/xfce4-smartbookmark-plugin-0.6.0-redhat.patch b/xfce4-smartbookmark-plugin-0.6.0-redhat.patch
new file mode 100644
index 0000000..96b5fa2
--- /dev/null
+++ b/xfce4-smartbookmark-plugin-0.6.0-redhat.patch
@@ -0,0 +1,24 @@
+--- a/src/smartbookmark.c
++++ b/src/smartbookmark.c
+@@ -180,8 +180,8 @@ static t_search *search_new(XfcePanelPlugin *plugin)
+ gtk_widget_set_valign(GTK_WIDGET(search->box), GTK_ALIGN_CENTER);
+
+ /* default options */
+- search->url = "https://bugs.debian.org/";
+- search->label_text = "BTS";
++ search->url = "https://bugzilla.redhat.com/";
++ search->label_text = "Bug #";
+ search->size = 5;
+ search->hide_label = FALSE;
+ /* read config file options */
+@@ -216,8 +216,8 @@ static void search_read_config(t_search *search, const gchar* filename)
+ if( (rcfile = xfce_rc_simple_open(filename, TRUE) ))
+ {
+ xfce_rc_set_group(rcfile, NULL);
+- 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://bugzilla.redhat.com/"));
++ search->label_text = g_strdup(xfce_rc_read_entry(rcfile,"value","Bug #"));
+ search->size = xfce_rc_read_int_entry(rcfile, "size", 5);
+ search->hide_label = xfce_rc_read_bool_entry(rcfile, "hidelabel", FALSE);
+ }
diff --git a/xfce4-smartbookmark-plugin.spec b/xfce4-smartbookmark-plugin.spec
index 5609114..c5dc143 100644
--- a/xfce4-smartbookmark-plugin.spec
+++ b/xfce4-smartbookmark-plugin.spec
@@ -1,29 +1,31 @@
# Review at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219986
+# VCS https://gitlab.xfce.org/panel-plugins/xfce4-smartbookmark-plugin
%global _hardened_build 1
-%global minor_version 0.5
-%global xfceversion 4.16
+%global minor_version 0.6
+%global xfceversion 4.20
Name: xfce4-smartbookmark-plugin
-Version: 0.5.3
+Version: 0.6.0
Release: %autorelease
Summary: Smart bookmarks for the Xfce panel
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
-URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
-Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
+URL: https://docs.xfce.org/panel-plugins/xfce4-smartbookmark-plugin/start
+Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.xz
+
# vendor specific patches
-Patch10: %{name}-%{version}-redhat.patch
+Patch: xfce4-smartbookmark-plugin-0.6.0-redhat.patch
-BuildRequires: make
-BuildRequires: gcc-c++
-BuildRequires: xfce4-panel-devel >= %{xfceversion}
-BuildRequires: libxfce4ui-devel >= %{xfceversion}
+BuildRequires: gcc
BuildRequires: gettext
-BuildRequires: intltool
-Requires: xfce4-panel >= %{xfceversion}
+BuildRequires: libxfce4ui-devel >= %{xfceversion}
+BuildRequires: libxfce4util-devel >= %{xfceversion}
+BuildRequires: meson
+BuildRequires: xfce4-panel-devel >= %{xfceversion}
+
Requires: webclient
+Requires: xfce4-panel >= %{xfceversion}
%description
A plugin which allows you to do a search directly on Internet on sites like
@@ -32,20 +34,27 @@ browser and perform custom searches.
%prep
%autosetup -p1
+#mv po/hye.po po/hy.po
+#sed -i 's/^hye$/hy/' po/LINGUAS
%build
-%configure --disable-static
-%make_build
+%meson
+%meson_build
%install
-%make_install
-find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
-chmod 755 %{buildroot}/%{_libdir}/xfce4/panel/plugins/*.so
+%meson_install
+# Rename non-standard hye locale to hy
+if [ -d %{buildroot}%{_datadir}/locale/hye ]; then
+ mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy
+fi
+
%find_lang %{name}
+%check
+%meson_test
%files -f %{name}.lang
%doc AUTHORS ChangeLog
%license COPYING
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 21:49 [rpms/xfce4-smartbookmark-plugin] rawhide: Update to 0.6.0 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox