From f4febfcf0e07e51c5b8e701a4c1668ab5c602f9419ca8a8706b01b495110f1f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 19 Sep 2022 11:07:10 +0000 Subject: [PATCH] Accepting request 1004634 from GNOME:Next OBS-URL: https://build.opensuse.org/request/show/1004634 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/ghex?expand=0&rev=73 --- 8927f9a7.patch | 31 +++++++++++++++++++++++++++++++ ghex.changes | 6 ++++++ ghex.spec | 3 ++- 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 8927f9a7.patch diff --git a/8927f9a7.patch b/8927f9a7.patch new file mode 100644 index 0000000..8876922 --- /dev/null +++ b/8927f9a7.patch @@ -0,0 +1,31 @@ +From 8927f9a71e6b0fa46d9c9c11d318333ce6524bf2 Mon Sep 17 00:00:00 2001 +From: Logan Rathbone +Date: Wed, 7 Sep 2022 16:26:44 -0400 +Subject: [PATCH] icons: Make document-modified-symbolic a resource + +Fixes #52 +--- + .../scalable/actions => src}/document-modified-symbolic.svg | 0 + src/ghex.gresource.xml.in | 3 +++ + 2 files changed, 3 insertions(+) + rename {icons/hicolor/scalable/actions => src}/document-modified-symbolic.svg (100%) + +diff --git a/icons/hicolor/scalable/actions/document-modified-symbolic.svg b/src/document-modified-symbolic.svg +similarity index 100% +rename from icons/hicolor/scalable/actions/document-modified-symbolic.svg +rename to src/document-modified-symbolic.svg +diff --git a/src/ghex.gresource.xml.in b/src/ghex.gresource.xml.in +index 512f174..d1e1cf0 100644 +--- a/src/ghex.gresource.xml.in ++++ b/src/ghex.gresource.xml.in +@@ -39,4 +39,7 @@ + + help-overlay.ui + ++ ++ document-modified-symbolic.svg ++ + +-- +GitLab + diff --git a/ghex.changes b/ghex.changes index 0a7fdaa..d4dd91f 100644 --- a/ghex.changes +++ b/ghex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 19 08:50:36 UTC 2022 - Bjørn Lie + +- Add 8927f9a7.patch: icons: Make document-modified-symbolic a + resource. + ------------------------------------------------------------------- Fri Aug 5 08:26:11 UTC 2022 - Bjørn Lie diff --git a/ghex.spec b/ghex.spec index 02951f1..b201536 100644 --- a/ghex.spec +++ b/ghex.spec @@ -29,6 +29,8 @@ License: GPL-2.0-or-later Group: Development/Tools/Other URL: https://wiki.gnome.org/Apps/Ghex Source: https://download.gnome.org/sources/ghex/43/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM 8927f9a7.patch -- icons: Make document-modified-symbolic a resource +Patch: https://gitlab.gnome.org/GNOME/ghex/-/commit/8927f9a7.patch BuildRequires: fdupes BuildRequires: meson >= 0.50.0 @@ -103,7 +105,6 @@ This package provides introspection bindings for ghex. %{_datadir}/applications/org.gnome.GHex.desktop %{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml %{_datadir}/icons/hicolor/*/apps/org.gnome.GHex* -%{_datadir}/icons/hicolor/scalable/actions/document-modified-symbolic.svg # Not split out as they are private to ghex %dir %{_libdir}/gtkhex-%{ghex_abi}.%{so_ver_ext} %{_libdir}/gtkhex-%{ghex_abi}.%{so_ver_ext}/*.so