← Back to team overview

gnome-colors-packagers team mailing list archive

Bug#951515: SVG icon for the empty trash is not rendered

 

Package: gnome-colors
Version: 5.5.1-2.1
Followup-For: Bug #951515

This bug doesn't seem to apply anymore with current versions of SVG
renderers, and it at least seems to render fine with gdk-pixbuf (thus,
GTK, EOG, EOM, etc.).

However, the underlying issue still exists.  Attached patch is a
refresh of a fix I have been carrying for a long time now (used to fix
the issue in Buster).

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-security'), (500, 'oldstable-debug'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-colors depends on:
ii  gnome-brave-icon-theme        5.5.1-2.1
ii  gnome-dust-icon-theme         5.5.1-2.1
ii  gnome-human-icon-theme        5.5.1-2.1
ii  gnome-illustrious-icon-theme  5.5.1-2.1
ii  gnome-noble-icon-theme        5.5.1-2.1
ii  gnome-wine-icon-theme         5.5.1-2.1
ii  gnome-wise-icon-theme         5.5.1-2.1

gnome-colors recommends no packages.

Versions of packages gnome-colors suggests:
pn  arc-colors    <none>
pn  shiki-colors  <none>

-- no debconf information
>From fbbd1dae89363f451534e88b3481ad10c0127d50 Mon Sep 17 00:00:00 2001
From: Colomban Wendling <cwendling@xxxxxxxx>
Date: Thu, 10 Aug 2023 12:46:31 +0200
Subject: [PATCH] Add a patch to fix display of the scalable empty trash icon

https://bugzilla.redhat.com/show_bug.cgi?id=1645368#c19
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951515
---
 debian/changelog                          |  6 ++++++
 debian/patches/fix-empty-trash-icon.patch | 12 ++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 19 insertions(+)
 create mode 100644 debian/patches/fix-empty-trash-icon.patch

diff --git a/debian/changelog b/debian/changelog
index e823da3..b3e1e1e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gnome-colors (5.5.1-2.2) unstable; urgency=medium
+
+  * d/p/fix-empty-trash-icon.patch: Fix empty trash icon. (Closes: #951515)
+
+ -- Colomban Wendling <cwendling@xxxxxxxx>  Thu, 10 Aug 2023 12:45:38 +0200
+
 gnome-colors (5.5.1-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/patches/fix-empty-trash-icon.patch b/debian/patches/fix-empty-trash-icon.patch
new file mode 100644
index 0000000..598a09a
--- /dev/null
+++ b/debian/patches/fix-empty-trash-icon.patch
@@ -0,0 +1,12 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1645368#c19
+--- a/gnome-colors-common/scalable/places/user-trash.svg
++++ b/gnome-colors-common/scalable/places/user-trash.svg
+@@ -698,7 +698,7 @@
+      inkscape:label="Layer 1"
+      inkscape:groupmode="layer">
+     <g
+-       style="opacity:1;display:inline;filter:url(#filter3625);enable-background:new"
++       style="opacity:1;display:inline;enable-background:new"
+        id="g3757"
+        transform="translate(-696,-50.000002)">
+       <path
diff --git a/debian/patches/series b/debian/patches/series
index 5a65161..3a1d5d1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 remove-raster-image-from-scalable-directory.patch
 fix_ftbfs.patch
+fix-empty-trash-icon.patch
-- 
2.39.2