diff options
-rw-r--r-- | meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc | 15 | ||||
-rw-r--r-- | meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb | 2 |
2 files changed, 8 insertions, 9 deletions
diff --git a/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc b/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc index 9fd10126c1..0bd48143a9 100644 --- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc +++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc | |||
@@ -8,18 +8,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2" | |||
8 | SECTION = "x11" | 8 | SECTION = "x11" |
9 | DEPENDS = "" | 9 | DEPENDS = "" |
10 | 10 | ||
11 | inherit autotools pkgconfig allarch | 11 | inherit autotools pkgconfig allarch gtk-icon-cache |
12 | 12 | ||
13 | FILES_${PN} += "${datadir}" | 13 | FILES_${PN} += "${datadir}" |
14 | 14 | ||
15 | EXTRA_OECONF += "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping" | 15 | EXTRA_OECONF += "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping" |
16 | 16 | ||
17 | #explictly setting "Sato" as default icon theme to avoid icon missing due to | 17 | # Explictly setting "Sato" as the default icon theme to avoid flickering from |
18 | #tricky race condition | 18 | # the desktop and settings daemon racing. This shouldn't be done here but in the sato image |
19 | pkg_postinst_${PN} () { | 19 | pkg_postinst_${PN} () { |
20 | if [ "x$D" != "x" ]; then | 20 | mkdir -p $D/etc/gtk-2.0 |
21 | exit 1 | 21 | |
22 | fi | 22 | grep -s -q -e ^gtk-icon-theme-name.*\"Sato\" $D/etc/gtk-2.0/gtkrc || \ |
23 | gtk-update-icon-cache -q /usr/share/icons/Sato | 23 | echo 'gtk-icon-theme-name = "Sato"' >> $D/etc/gtk-2.0/gtkrc |
24 | echo 'gtk-icon-theme-name = "Sato"' >> /etc/gtk-2.0/gtkrc | ||
25 | } | 24 | } |
diff --git a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb index 108f8e81ae..64053598bc 100644 --- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb +++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb | |||
@@ -2,7 +2,7 @@ require sato-icon-theme.inc | |||
2 | 2 | ||
3 | DEPENDS += "icon-naming-utils-native" | 3 | DEPENDS += "icon-naming-utils-native" |
4 | 4 | ||
5 | PR = "r3" | 5 | PR = "r4" |
6 | 6 | ||
7 | SRC_URI = "http://pokylinux.org/releases/sato/${BPN}-${PV}.tar.gz \ | 7 | SRC_URI = "http://pokylinux.org/releases/sato/${BPN}-${PV}.tar.gz \ |
8 | file://iconpath-option.patch \ | 8 | file://iconpath-option.patch \ |