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
This commit is contained in:
Bjørn Lie 2022-09-19 11:07:10 +00:00 committed by Git OBS Bridge
parent 1d110c32cc
commit f4febfcf0e
3 changed files with 39 additions and 1 deletions

31
8927f9a7.patch Normal file
View File

@ -0,0 +1,31 @@
From 8927f9a71e6b0fa46d9c9c11d318333ce6524bf2 Mon Sep 17 00:00:00 2001
From: Logan Rathbone <poprocks@gmail.com>
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 @@
<gresource prefix="@resource_base_path@/gtk">
<file preprocess="xml-stripblanks">help-overlay.ui</file>
</gresource>
+ <gresource prefix="@resource_base_path@/icons/scalable/actions">
+ <file>document-modified-symbolic.svg</file>
+ </gresource>
</gresources>
--
GitLab

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 19 08:50:36 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Add 8927f9a7.patch: icons: Make document-modified-symbolic a
resource.
-------------------------------------------------------------------
Fri Aug 5 08:26:11 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -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