All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/49] sato: work around missing icons in adwaita 42.0
@ 2022-05-18 10:57 Alexander Kanavin
  2022-05-18 10:57 ` [PATCH 02/49] adwaita-icon-theme: upgrade 41.0 -> 42.0 Alexander Kanavin
                   ` (47 more replies)
  0 siblings, 48 replies; 51+ messages in thread
From: Alexander Kanavin @ 2022-05-18 10:57 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

adwaita icon theme upstream has done significant trimming around app category icons
(fullcolour versions gone completely, 'symbolic' b&w versions still around but marked
as legacy). Going forward, apps would need to provide their own icons. Given that
sato is likely to be deprecated in favour of wayland/weston rather soon, let's use
the symbolic icons for now.

[YOCTO #14782]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 .../gstreamer/gst-examples/gst-player.desktop |  2 +-
 ...sktop-update-icon-to-one-available-i.patch | 25 ++++++++++++++++++
 .../matchbox-config-gtk_0.2.bb                |  4 ++-
 ...ile.c-use-view-refresh-symbolic-icon.patch | 26 +++++++++++++++++++
 .../matchbox-desktop/matchbox-desktop_2.2.bb  |  1 +
 ...l.desktop-use-an-icon-available-in-a.patch | 25 ++++++++++++++++++
 .../matchbox-terminal_0.2.bb                  |  4 ++-
 meta/recipes-sato/puzzles/puzzles_git.bb      |  2 +-
 .../rxvt-unicode/rxvt-unicode/rxvt.desktop    |  2 +-
 .../shutdown-desktop/shutdown.desktop         |  2 +-
 10 files changed, 87 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-sato/matchbox-config-gtk/files/0001-mb-appearance.desktop-update-icon-to-one-available-i.patch
 create mode 100644 meta/recipes-sato/matchbox-desktop/files/0001-taku-launcher-tile.c-use-view-refresh-symbolic-icon.patch
 create mode 100644 meta/recipes-sato/matchbox-terminal/matchbox-terminal/0001-matchbox-terminal.desktop-use-an-icon-available-in-a.patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop b/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
index 7ddd456a1e..a5df5c9c84 100644
--- a/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
+++ b/meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Media Player
 Comment=Basic media player
-Icon=multimedia-player
+Icon=multimedia-player-symbolic
 TryExec=gtk-play
 Exec=gtk-play
 StartupNotify=true
diff --git a/meta/recipes-sato/matchbox-config-gtk/files/0001-mb-appearance.desktop-update-icon-to-one-available-i.patch b/meta/recipes-sato/matchbox-config-gtk/files/0001-mb-appearance.desktop-update-icon-to-one-available-i.patch
new file mode 100644
index 0000000000..7e75fdab9a
--- /dev/null
+++ b/meta/recipes-sato/matchbox-config-gtk/files/0001-mb-appearance.desktop-update-icon-to-one-available-i.patch
@@ -0,0 +1,25 @@
+From ab2c716bb0679a67dc6b0878ef750d3fdd29edb7 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 13 Apr 2022 22:19:11 +0200
+Subject: [PATCH] mb-appearance.desktop: update icon to one available in
+ adwaita 42.0
+
+Upstream-Status: Inappropriate [apps need their own icons as of 42.0]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ appearance/mb-appearance.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/appearance/mb-appearance.desktop b/appearance/mb-appearance.desktop
+index 4db2bbc..cfa5142 100644
+--- a/appearance/mb-appearance.desktop
++++ b/appearance/mb-appearance.desktop
+@@ -2,7 +2,7 @@
+ Name=Appearance
+ Comment=Change the appearance
+ Exec=matchbox-appearance
+-Icon=preferences-desktop-theme
++Icon=preferences-desktop-appearance-symbolic
+ Terminal=false
+ Type=Application
+ Categories=GTK;Settings;DesktopSettings;
diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
index d951baf361..c91f9a7cc2 100644
--- a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
+++ b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
@@ -12,7 +12,9 @@ RDEPENDS:${PN} = "settings-daemon"
 # SRCREV tagged 0.2
 SRCREV = "ef2192ce98d9374ffdad5f78544c3f8f353c16aa"
 SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
-           file://no-handed.patch"
+           file://no-handed.patch \
+           file://0001-mb-appearance.desktop-update-icon-to-one-available-i.patch \
+           "
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
 
 S = "${WORKDIR}/git"
diff --git a/meta/recipes-sato/matchbox-desktop/files/0001-taku-launcher-tile.c-use-view-refresh-symbolic-icon.patch b/meta/recipes-sato/matchbox-desktop/files/0001-taku-launcher-tile.c-use-view-refresh-symbolic-icon.patch
new file mode 100644
index 0000000000..7a4db83da2
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/0001-taku-launcher-tile.c-use-view-refresh-symbolic-icon.patch
@@ -0,0 +1,26 @@
+From 764201dff04a7ca1c3862357ea485a6fc624dd00 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 13 Apr 2022 22:01:30 +0200
+Subject: [PATCH] taku-launcher-tile.c: use view-refresh-symbolic icon
+
+Plain view-refresh is no longer provided in latest adwaita icon theme.
+
+Upstream-Status: Inappropriate [apps need their own icons as of 42.0]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ libtaku/taku-launcher-tile.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libtaku/taku-launcher-tile.c b/libtaku/taku-launcher-tile.c
+index e7f58f3..8bbf2f7 100644
+--- a/libtaku/taku-launcher-tile.c
++++ b/libtaku/taku-launcher-tile.c
+@@ -185,7 +185,7 @@ taku_launcher_tile_new_from_item (TakuMenuItem *item)
+   taku_icon_tile_set_secondary (TAKU_ICON_TILE (tile),
+                                 taku_menu_item_get_description (item));
+   taku_icon_tile_set_pixbuf (TAKU_ICON_TILE (tile),
+-                             get_icon ("view-refresh", size));
++                             get_icon ("view-refresh-symbolic", size));
+ 
+   /* Don't need to update the icon here, because we'll get a style-set signal
+      when the widget is realised which will update the icon. */
diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb
index b05a9c48ad..c306aba6ec 100644
--- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb
+++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb
@@ -15,6 +15,7 @@ SECTION = "x11/wm"
 SRCREV = "6bc67d09da4147e5552fe30011a05a2c59d2f777"
 SRC_URI = "git://git.yoctoproject.org/${BPN}-2;branch=master \
            file://vfolders/ \
+           file://0001-taku-launcher-tile.c-use-view-refresh-symbolic-icon.patch \
            "
 
 EXTRA_OECONF = "--enable-startup-notification --with-dbus"
diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal/0001-matchbox-terminal.desktop-use-an-icon-available-in-a.patch b/meta/recipes-sato/matchbox-terminal/matchbox-terminal/0001-matchbox-terminal.desktop-use-an-icon-available-in-a.patch
new file mode 100644
index 0000000000..48987f9d31
--- /dev/null
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal/0001-matchbox-terminal.desktop-use-an-icon-available-in-a.patch
@@ -0,0 +1,25 @@
+From ec16ba4a1cb0e4217910a1b36783f00828bb5dfc Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 13 Apr 2022 22:24:50 +0200
+Subject: [PATCH] matchbox-terminal.desktop: use an icon available in adwaita
+ 42.0
+
+Upstream-Status: Inappropriate [apps need their own icons as of 42.0]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ matchbox-terminal.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/matchbox-terminal.desktop b/matchbox-terminal.desktop
+index c84a24c..fedaf10 100644
+--- a/matchbox-terminal.desktop
++++ b/matchbox-terminal.desktop
+@@ -3,7 +3,7 @@ Type=Application
+ Name=Terminal
+ Comment=When all else fails.
+ Exec=matchbox-terminal
+-Icon=utilities-terminal
++Icon=utilities-terminal-symbolic
+ Terminal=false
+ Categories=GTK;Utility;
+ StartupNotify=true
diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb
index 802ffa971b..048e247b89 100644
--- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb
@@ -11,7 +11,9 @@ SECTION = "x11/utils"
 
 #SRCREV tagged 0.2
 SRCREV = "161276d0f5d1be8187010fd0d9581a6feca70ea5"
-SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master"
+SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
+           file://0001-matchbox-terminal.desktop-use-an-icon-available-in-a.patch \
+           "
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
 
 S = "${WORKDIR}/git"
diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb b/meta/recipes-sato/puzzles/puzzles_git.bb
index 0104f2672a..6f038cc475 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -37,7 +37,7 @@ do_install:append () {
 [Desktop Entry]
 Name=$title
 Exec=${bindir}/$prog
-Icon=applications-games
+Icon=applications-games-symbolic
 Terminal=false
 Type=Application
 Categories=Game;
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop
index 6b7978afc9..84a8ba7dc5 100644
--- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/rxvt.desktop
@@ -3,7 +3,7 @@ Version=1.0
 Name=Terminal
 Comment=A unicode capable rxvt clone
 Exec=rxvt
-Icon=utilities-terminal
+Icon=utilities-terminal-symbolic
 Terminal=false
 Type=Application
 Categories=Utility;TerminalEmulator;
diff --git a/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop b/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop
index 662659afc2..bc437ca2de 100644
--- a/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop
+++ b/meta/recipes-sato/shutdown-desktop/shutdown-desktop/shutdown.desktop
@@ -4,7 +4,7 @@ Type=Application
 Name=Shutdown
 Comment=Close down the machine safely
 Exec=poweroff
-Icon=system-shutdown
+Icon=system-shutdown-symbolic
 Terminal=false
 Categories=Utility;
 StartupNotify=true
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2022-05-18 16:49 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 10:57 [PATCH 01/49] sato: work around missing icons in adwaita 42.0 Alexander Kanavin
2022-05-18 10:57 ` [PATCH 02/49] adwaita-icon-theme: upgrade 41.0 -> 42.0 Alexander Kanavin
2022-05-18 10:57 ` [PATCH 03/49] python3-setuptools: upgrade 59.5.0 -> 62.3.1 Alexander Kanavin
2022-05-18 10:57 ` [PATCH 04/49] go: upgrade 1.18.1 -> 1.18.2 Alexander Kanavin
2022-05-18 10:57 ` [PATCH 05/49] iptables: upgrade 1.8.7 -> 1.8.8 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 06/49] gnu-config: update to latest version Alexander Kanavin
2022-05-18 10:58 ` [PATCH 07/49] u-boot: upgrade 2022.01 -> 2022.04 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 08/49] python3-pip: update 22.0.4 -> 22.1 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 09/49] libxcb: update 1.14 -> 1.15 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 10/49] xcb-proto: upgrade 1.14.1 " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 11/49] systemtap: update 4.6 -> 4.7 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 12/49] vulkan-samples: update to latest revision Alexander Kanavin
2022-05-18 10:58 ` [PATCH 13/49] curl: upgrade 7.83.0 -> 7.83.1 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 14/49] diffoscope: upgrade 211 -> 212 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 15/49] git: upgrade 2.36.0 -> 2.36.1 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 16/49] gnutls: upgrade 3.7.4 -> 3.7.5 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 17/49] gst-devtools: upgrade 1.20.1 -> 1.20.2 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 18/49] gstreamer1.0-libav: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 19/49] gstreamer1.0-omx: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 20/49] gstreamer1.0-plugins-bad: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 21/49] gstreamer1.0-plugins-base: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 22/49] gstreamer1.0-plugins-good: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 23/49] gstreamer1.0-plugins-ugly: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 24/49] gstreamer1.0-python: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 25/49] gstreamer1.0-rtsp-server: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 26/49] gstreamer1.0: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 27/49] gstreamer1.0-vaapi: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 28/49] libcgroup: upgrade 2.0.1 -> 2.0.2 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 29/49] libnotify: upgrade 0.7.11 -> 0.7.12 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 30/49] librepo: upgrade 1.14.2 -> 1.14.3 Alexander Kanavin
2022-05-18 15:09   ` [OE-core] " Luca Ceresoli
2022-05-18 16:49     ` Alexander Kanavin
2022-05-18 10:58 ` [PATCH 31/49] librsvg: upgrade 2.54.1 -> 2.54.3 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 32/49] mesa: upgrade 22.0.2 -> 22.0.3 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 33/49] mobile-broadband-provider-info: upgrade 20220315 -> 20220511 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 34/49] piglit: upgrade to latest revision Alexander Kanavin
2022-05-18 10:58 ` [PATCH 35/49] psmisc: upgrade 23.4 -> 23.5 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 36/49] python3-bcrypt: upgrade 3.2.0 -> 3.2.2 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 37/49] python3-cryptography: upgrade 37.0.1 -> 37.0.2 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 38/49] python3-cryptography-vectors: " Alexander Kanavin
2022-05-18 10:58 ` [PATCH 39/49] python3-hypothesis: upgrade 6.46.0 -> 6.46.4 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 40/49] python3-jsonschema: upgrade 4.4.0 -> 4.5.1 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 41/49] python3-markdown: upgrade 3.3.6 -> 3.3.7 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 42/49] python3-more-itertools: upgrade 8.12.0 -> 8.13.0 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 43/49] python3-pbr: upgrade 5.8.1 -> 5.9.0 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 44/49] python3-pyparsing: upgrade 3.0.8 -> 3.0.9 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 45/49] repo: upgrade 2.24.1 -> 2.25 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 46/49] sqlite3: upgrade 3.38.3 -> 3.38.5 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 47/49] stress-ng: upgrade 0.14.00 -> 0.14.01 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 48/49] python3-setuptools-rust: update 1.1.2 -> 1.3.0 Alexander Kanavin
2022-05-18 10:58 ` [PATCH 49/49] python3: use built-in distutils for ptest, rather than setuptools' 'fork' Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.