File: 01_remove-pixdata.patch

package info (click to toggle)
easytag 2.4.3-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,128 kB
  • sloc: ansic: 35,121; sh: 4,199; cpp: 991; xml: 714; makefile: 533
file content (65 lines) | stat: -rw-r--r-- 3,066 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
From: James Cowgill <jcowgill@debian.org>
Date: Sat, 11 Jan 2025 14:43:16 -0500
Subject: Don't use gdk-pixbuf-pixdata for image resources

Bug-Debian: https://bugs.debian.org/886137

Bug-Debian: https://bugs.debian.org/886137
---
 configure.ac                         |  4 ----
 data/org.gnome.EasyTAG.gresource.xml | 28 ++++++++++++++--------------
 2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/configure.ac b/configure.ac
index f20318d..ac8b436 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,10 +51,6 @@ AX_GENERATE_CHANGELOG
 
 AC_SUBST([GLIB_COMPILE_RESOURCES], [`$PKG_CONFIG --variable glib_compile_resources gio-2.0`])
 
-AC_PATH_PROG([GDK_PIXBUF_PIXDATA], [gdk-pixbuf-pixdata])
-AS_IF([test "x$ac_cv_path_GDK_PIXBUF_PIXDATA" = "x"],
-      [AC_MSG_ERROR([gdk-pixbuf-pixdata is required for image resources])])
-
 AC_MSG_CHECKING([for glib-mkenums script])
 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 AS_IF([test "x$GLIB_MKENUMS" = "x"],
diff --git a/data/org.gnome.EasyTAG.gresource.xml b/data/org.gnome.EasyTAG.gresource.xml
index 21418a4..aba263b 100644
--- a/data/org.gnome.EasyTAG.gresource.xml
+++ b/data/org.gnome.EasyTAG.gresource.xml
@@ -15,19 +15,19 @@
         <file preprocess='xml-stripblanks'>search_dialog.ui</file>
         <file preprocess='xml-stripblanks'>tag_area.ui</file>
         <file preprocess='xml-stripblanks'>toolbar.ui</file>
-        <file preprocess='to-pixdata'>images/all-lowercase.png</file>
-        <file preprocess='to-pixdata'>images/all-uppercase.png</file>
-        <file preprocess='to-pixdata'>images/artist-album.png</file>
-        <file preprocess='to-pixdata'>images/artist.png</file>
-        <file preprocess='to-pixdata'>images/first-letter-uppercase.png</file>
-        <file preprocess='to-pixdata'>images/first-letter-uppercase-word.png</file>
-        <file preprocess='to-pixdata'>images/freedb.png</file>
-        <file preprocess='to-pixdata'>images/gnudb.png</file>
-        <file preprocess='to-pixdata'>images/invert-selection.png</file>
-        <file preprocess='to-pixdata'>images/mask.png</file>
-        <file preprocess='to-pixdata'>images/musicbrainz.png</file>
-        <file preprocess='to-pixdata'>images/red-lines.png</file>
-        <file preprocess='to-pixdata'>images/sequence-track.png</file>
-        <file preprocess='to-pixdata'>images/unselect-all.png</file>
+        <file>images/all-lowercase.png</file>
+        <file>images/all-uppercase.png</file>
+        <file>images/artist-album.png</file>
+        <file>images/artist.png</file>
+        <file>images/first-letter-uppercase.png</file>
+        <file>images/first-letter-uppercase-word.png</file>
+        <file>images/freedb.png</file>
+        <file>images/gnudb.png</file>
+        <file>images/invert-selection.png</file>
+        <file>images/mask.png</file>
+        <file>images/musicbrainz.png</file>
+        <file>images/red-lines.png</file>
+        <file>images/sequence-track.png</file>
+        <file>images/unselect-all.png</file>
     </gresource>
 </gresources>