From 6be88fef3859a2425b89456a9df029c54fae7b4696cf65d9fbaa49c00d74c8b1 Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Fri, 10 May 2024 09:37:15 +0000 Subject: [PATCH] Accepting request 1173081 from home:rrahl0:upgrades - update to 3.2.0: * new per feed setting: scrap articles * local RSS: edit feed url * option to manually clean database * article list performance improvements * use adwaita adaptive dialogs - show actual version in the app (show-actual-version.patch) - improve on the spec file - temporarily disable dep updating, as it breaks compile OBS-URL: https://build.opensuse.org/request/show/1173081 OBS-URL: https://build.opensuse.org/package/show/network:utilities/newsflash?expand=0&rev=12 --- _service | 8 ++++---- news_flash_gtk-3.1.6.tar.zst | 3 --- news_flash_gtk-3.2.0.obscpio | 3 +++ news_flash_gtk.obsinfo | 4 ++++ newsflash.changes | 13 +++++++++++++ newsflash.spec | 16 ++++++++++------ show-actual-version.patch | 11 +++++++++++ vendor.tar.zst | 4 ++-- 8 files changed, 47 insertions(+), 15 deletions(-) delete mode 100644 news_flash_gtk-3.1.6.tar.zst create mode 100644 news_flash_gtk-3.2.0.obscpio create mode 100644 news_flash_gtk.obsinfo create mode 100644 show-actual-version.patch diff --git a/_service b/_service index c7a75fe..3c58820 100644 --- a/_service +++ b/_service @@ -3,20 +3,20 @@ git https://gitlab.com/news-flash/news_flash_gtk.git - refs/tags/v.3.1.6 + refs/tags/v.3.2.0 @PARENT_TAG@ v.(.*) disable - - + + zstd *.tar news_flash_gtk zst - true + false diff --git a/news_flash_gtk-3.1.6.tar.zst b/news_flash_gtk-3.1.6.tar.zst deleted file mode 100644 index 93eff11..0000000 --- a/news_flash_gtk-3.1.6.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2693e0ec965688eec363fea9322fc91c4fad6cd76655cad06818d64ae7bc0369 -size 2825747 diff --git a/news_flash_gtk-3.2.0.obscpio b/news_flash_gtk-3.2.0.obscpio new file mode 100644 index 0000000..90ab104 --- /dev/null +++ b/news_flash_gtk-3.2.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4a41921797d8d03a117bee8f135d5eed5cc08cd9ba6bc2897fb90b2316f23b +size 13574157 diff --git a/news_flash_gtk.obsinfo b/news_flash_gtk.obsinfo new file mode 100644 index 0000000..6f92bdd --- /dev/null +++ b/news_flash_gtk.obsinfo @@ -0,0 +1,4 @@ +name: news_flash_gtk +version: 3.2.0 +mtime: 1711400413 +commit: b68548c00942412fd3d6f5185bae20f18a5f6d23 diff --git a/newsflash.changes b/newsflash.changes index bb9fc1b..57903da 100644 --- a/newsflash.changes +++ b/newsflash.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri May 10 09:20:01 UTC 2024 - Richard Rahl + +- update to 3.2.0: + * new per feed setting: scrap articles + * local RSS: edit feed url + * option to manually clean database + * article list performance improvements + * use adwaita adaptive dialogs +- show actual version in the app (show-actual-version.patch) +- improve on the spec file +- temporarily disable dep updating, as it breaks compile + ------------------------------------------------------------------- Wed Mar 6 14:51:00 UTC 2024 - Richard Rahl diff --git a/newsflash.spec b/newsflash.spec index 5b9612e..3cda0b4 100644 --- a/newsflash.spec +++ b/newsflash.spec @@ -17,14 +17,16 @@ %define _lto_cflags %{nil} +%define appname io.gitlab.news_flash.NewsFlash Name: newsflash -Version: 3.1.6 +Version: 3.2.0 Release: 0 Summary: The spiritual successor to FeedReader License: GPL-3.0-only URL: https://gitlab.com/news-flash/news_flash_gtk Source0: news_flash_gtk-%{version}.tar.zst Source1: vendor.tar.zst +Patch0: show-actual-version.patch BuildRequires: appstream-glib BuildRequires: blueprint-compiler BuildRequires: cargo-packaging @@ -32,12 +34,11 @@ BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: gettext-tools BuildRequires: glib-networking +BuildRequires: hicolor-icon-theme BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python3-gobject -BuildRequires: sqlite3-devel BuildRequires: update-desktop-files -BuildRequires: webkit2gtk4-devel BuildRequires: xdg-utils BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gdk-pixbuf-2.0) @@ -46,6 +47,7 @@ BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(webkitgtk-6.0) %description @@ -65,6 +67,7 @@ and having access to all your articles as long as you like. %install %meson_install +%suse_update_desktop_file %{appname} %find_lang %{name} @@ -72,9 +75,10 @@ and having access to all your articles as long as you like. %license LICENSE %doc README.md %{_bindir}/io.gitlab.news_flash.NewsFlash -%{_datadir}/applications/io.gitlab.news_flash.NewsFlash.desktop -%{_datadir}/icons/hicolor/* -%{_datadir}/metainfo/io.gitlab.news_flash.NewsFlash.appdata.xml +%{_datadir}/applications/%{appname}.desktop +%{_iconsdir}/hicolor/scalable/apps/%{appname}.svg +%{_iconsdir}/hicolor/symbolic/apps/%{appname}-symbolic.svg +%{_datadir}/metainfo/%{appname}.appdata.xml %files lang -f %{name}.lang diff --git a/show-actual-version.patch b/show-actual-version.patch new file mode 100644 index 0000000..80a67ce --- /dev/null +++ b/show-actual-version.patch @@ -0,0 +1,11 @@ +diff -rub news_flash_gtk/meson.build news_flash_gtk-patched/meson.build +--- news_flash_gtk/meson.build 2024-05-10 10:27:40.833516864 +0200 ++++ news_flash_gtk-patched/meson.build 2024-05-10 11:02:07.993624331 +0200 +@@ -1,6 +1,6 @@ + project( + 'newsflash', 'rust', +- version: '0.0.0', ++ version: '3.2.0', + license: 'GPLv3', + ) + diff --git a/vendor.tar.zst b/vendor.tar.zst index 004cd10..4fe4fa9 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bab19a1b21c7b69fc940a9ce1aa547af790f465338f3c318d74c5d694aa5196b -size 51878242 +oid sha256:5dbfe28bd2bbac24a316e5ad74fafbca56011b7ff354aced13a801122d652e9b +size 53558516