summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-icon-cache.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-8/+8
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinstSteve Sakoman2012-01-101-1/+1
| | | | | | | | | | | | | The gtk-update-icon-cache utility does not create a cache file if one does not already exist. Since some packages (notably gnome-icon-theme) do not ship a cache file by default, the results of the utility are not saved. Adding the force option writes out the cache even if there wasn't a default cache in the package. (From OE-Core rev: b3bb99c6faaf5c1613246309fd05cd95c39c77f4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-12/+12
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDSDongxiao Xu2011-08-171-1/+1
| | | | | | | | | | | | When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt multilib case. [YOCTO #1368] (From OE-Core rev: 2ed808b764f023c074fa3aabef18b4f874cd82c7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache bbclass: don't assing to global RDEPENDSKoen Kooi2011-08-081-3/+3
| | | | | | | | | | Only the package with the icons needs it [Squashed laster RDEPENDS fix from koen into commit] (From OE-Core rev: 34fca51d84d4629d82880aa0f47123db86de256b) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache: add hicolor-icon-theme to DEPENDSKoen Kooi2011-08-051-0/+2
| | | | | | | | | This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python (From OE-Core rev: fbb7ecaf9b49d2d7570e6440fe84b4046ec08fd2) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme ↵Koen Kooi2011-08-041-2/+6
| | | | | | | | | | | when installing icons Tested with gnome-icon-theme and libsoup recipes on angstrom. (From OE-Core rev: 229ba02322ce49d13e2d64eff6bb637f23f1f16b) Signed-off-by: Koen Kooi <koen@openembedded.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: Add 2.22.1 as new recipeZhai Edwin2011-01-201-1/+1
| | | | | | | | | | | | Updating gtk+ to 2.23.2 requires gdk-pixbuf, which is originaly a module in gtk+. Borrow hardcoded_libtool.patch from original gtk+, and add configure_fix.patch to fix build failure in cross-compile environment. As gdk-pixbuf is a stand-alone package now, gdk-pixbuf-csource-native can be safely removed. So extend gdk-pixbuf with native support, and make related packages depend on it. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixesRichard Purdie2009-11-161-2/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gtk-icon-cache.bbclass: Fix hardcoded PKGDEST reference and operate on ↵Richard Purdie2009-11-161-3/+12
| | | | | | directories other than hicolor (from OE.dev) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gtk-icon-cache.bbclass: Drop unneeded module importRichard Purdie2009-11-131-1/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gtk-icon-cache.bbclass: Using dashes in shell function names is a really bad ↵Richard Purdie2008-05-201-4/+4
| | | | | | idea git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4505 311d38ba-8fff-0310-9ca6-ca027cbcb966
* gtk-icon-cache.bbclass: in the postinst update the pixbuf loaders to ensure ↵Ross Burton2008-01-081-0/+4
| | | | | | that all are loaded before creating icon caches git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3430 311d38ba-8fff-0310-9ca6-ca027cbcb966
* gtk-icon-cache.bbclass: Add RDEPENDS to fix runtime warnings (from OE)Richard Purdie2007-08-081-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2408 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add commentRoss Burton2007-04-161-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1513 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+38
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966