icon-naming-utils: Resurrect for sato-icon-theme
PATCH v2 1/2 icon-naming-utils: Resurrect for sato-icon-theme
To add back sato-icon-theme we need this small util.
Signed-off-by Richard Purdie <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 1 + .../icon-naming-utils_0.8.90.bb | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb
v2 - Fix home page and license issue
meta/conf/distro/include/maintainers.inc +1 -0
@@ -261,6 +261,7 @@ RECIPE_MAINTAINER:pn-hicolor-icon-theme = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER:pn-hwlatdetect = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-i2c-tools = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER:pn-icecc-create-env = "Joshua Watt <[email protected]>" +RECIPE_MAINTAINER:pn-icon-naming-utils = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER:pn-icu = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-ifupdown = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER:pn-igt-gpu-tools = "Anuj Mittal <[email protected]>"
meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb new file +29 -0
@@ -0,0 +1,29 @@ +HOMEPAGE = "http://tango.freedesktop.org/" +SUMMARY = "Enables backwards compatibility with current desktop icon themes" +DESCRIPTION = "A Perl script used for maintaining backwards \ +compatibility with current desktop icon themes, while migrating to the \ +names specified in the Icon Naming Specification. The Icon Naming \ +Utilities map the icon names used by the GNOME and KDE desktops to the \ +icon names proposed in the Icon Naming Specification, and generate the \ +icon files appropriate to the desktop environment you use. The Icon \ +Naming Specification provides a standard list of common icon contexts \ +and names that can be used to make icon themes work in a desktop \ +environment or application that implements the naming specification. " +LICENSE = "GPL-2.0-only" +DEPENDS = "libxml-simple-perl-native" + +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz" +SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c" + +inherit autotools allarch perlnative + +do_configure:append() { + # Make sure we use our nativeperl wrapper. + sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in +} + +FILES:${PN} += "${datadir}/dtds" + +BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1
PATCH v2 2/2 sato-icon-theme: Add back with support for scalable icons
Resurrect sato-icon-theme and move to a version with scalable icons support to replace adwaita-icon-theme which no longer supports the icons we need for the sato desktop.
Signed-off-by Richard Purdie <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 1 + meta/conf/layer.conf | 2 ++ .../gstreamer/gst-examples/gst-player.desktop | 2 +- .../packagegroup-core-x11-sato.bb | 2 +- .../sato-icon-theme/sato-icon-theme_git.bb | 28 +++++++++++++++++++ 5 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-sato/sato-icon-theme/sato-icon-theme_git.bb
v2 - add missing layer.conf change to make allarch work
meta/conf/distro/include/maintainers.inc +1 -0
@@ -725,6 +725,7 @@ RECIPE_MAINTAINER:pn-rust-llvm = "Randy MacLeod <[email protected]>" RECIPE_MAINTAINER:pn-rust-tools-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Randy MacLeod <[email protected]>" RECIPE_MAINTAINER:pn-rxvt-unicode = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-sato-screenshot = "Ross Burton <[email protected]>" +RECIPE_MAINTAINER:pn-sato-icon-theme = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER:pn-sbc = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-screen = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER:pn-seatd = "Alexander Kanavin <[email protected]>"
meta/conf/layer.conf +2 -0
@@ -82,6 +82,8 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ weston-init->kbd \ connman->xl2tpd \ lttng-tools->lttng-modules \ + sato-icon-theme->gdk-pixbuf \ + sato-icon-theme->gtk+3 \ adwaita-icon-theme->gdk-pixbuf \ adwaita-icon-theme->gtk+3 \ "
meta/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop +1 -1
@@ -1,7 +1,7 @@ [Desktop Entry] Name=Media Player Comment=Basic media player -Icon=multimedia-player +Icon=video-player TryExec=gtk-play Exec=gtk-play StartupNotify=true
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb +1 -1
@@ -31,7 +31,7 @@ RDEPENDS:${PN}-base = "\ matchbox-keyboard-im \ matchbox-config-gtk \ xcursor-transparent-theme \ - adwaita-icon-theme \ + sato-icon-theme \ settings-daemon \ shutdown-desktop \ ${NETWORK_MANAGER} \
meta/recipes-sato/sato-icon-theme/sato-icon-theme_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +SUMMARY = "Sato icon theme" +HOMEPAGE = "https://www.yoctoproject.org/" +BUGTRACKER = "http://bugzilla.yoctoproject.org/" + +LICENSE = "CC-BY-SA-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2" +SECTION = "x11" + +DEPENDS = "icon-naming-utils-native libxml-simple-perl-native" + +SRC_URI = "git://git.yoctoproject.org/sato-icon-theme.git;protocol=https;branch=master" +SRCREV = "d23f04ecb0328f655bf195df8eb04c1b734d53a9" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig allarch gtk-icon-cache perlnative + +# The configure script uses pkg-config to find native binaries to execute, so +# tell it to use our pkg-config-native wrapper. +export PKG_CONFIG = "pkg-config-native" + +FILES:${PN} += "${datadir}/icons/Sato" + +do_install:append() { + find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s preferences-system.png {}/apps/preferences-desktop.png \; + find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s file-manager.png {}/apps/system-file-manager.png \; + find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s ../apps/terminal.png {}/places/computer.png \; +}
Signature · 1 line
2.34.1