summaryrefslogtreecommitdiff
path: root/meta/classes/gtk-icon-cache.bbclass
AgeCommit message (Collapse)AuthorFiles
2013-04-29Pass the mlprefix to postinst_intercept scriptLaurentiu Palcu1
This is needed in order to have separate multilib intercept hooks. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-22gtk-icon-cache.bbclass: do not exit 1 after installing intercept hookLaurentiu Palcu1
This will allow to register, in a single postinstall, multiple hooks. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10postinst-intercepts, qemu.bbclass: fix segfaults in postinstallsLaurentiu Palcu1
Postinstalls that use qemu are throwing a segmentation fault when building for qemux86-64 on a 64bit host (it might also happen for qemux86 if building on a 32bit host but I didn't test). It looks like qemu looks for ld.so.cache which is not found because it is generated after rootfs_(rpm|ipk|deb)_do_rootfs is called and then it tries to load libraries from the default paths (which are the host's). In order to avoid this, pass the LD_LIBRARY_PATH explicitly to the target's dynamic loader. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02remove gtk-update-icon-cache-native virtualsAndreas Müller1
gtk-update-icon-cache-native is the only provider now Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-05gtk-icon-cache: use virtual/gtk-update-icon-cache-native instead of gtk+-nativeRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-17classes: Drop none package specific packaging variable accessesRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-12gtk-icon-cache.bbclass: use postinst_intercept scriptLaurentiu Palcu1
Since the hook has been made a standalone script, use postinst_intercept script in order to "link" the package to the hook. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01gtk-icon-cache: Fix rdepends constructionSaul Wold1
The rdepends getVar is returning NoneType and the string constuction fails this occurs with the hicolor-icon-theme recipe. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-28gtk-icon-cache.bbclass:fix support postrm at image creation timeHongxu Jia1
When use postrm on the build machine, it installs the hook in intercept-scripts directory and exit 0, the hook will be later invoked and it will properly call gtk-update-icon-cache. [YOCTO #3633] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-25gtk-icon-cache: don't call gtk-update-icon-cache on filesMartin Jansa1
* check if icondir is directory before calling gtk-update-icon-cache, like all other calls do * fixes: | > Executing update_icon_cache | + chmod +x update_icon_cache | + ./update_icon_cache | gtk-update-icon-cache.real: Failed to open file /tmp-eglibc/work/qemuarm-oe-linux-gnueabi/shr-image-all/2.0-r20/rootfs/usr/share/icons/enjoy.png/.icon-theme.cache : Not a directory | gtk-update-icon-cache.real: Failed to open file /tmp-eglibc/work/qemuarm-oe-linux-gnueabi/shr-image-all/2.0-r20/rootfs/usr/share/icons/monav.png/.icon-theme.cache : Not a directory | gtk-update-icon-cache.real: Failed to open file /tmp-eglibc/work/qemuarm-oe-linux-gnueabi/shr-image-all/2.0-r20/rootfs/usr/share/icons/orrery.png/.icon-theme.cache : Not a directory Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06gtk-icon-cache: run the icon generation at rootfs timeLaurentiu Palcu1
This change will allow for the icon cache generation at rootfs time and only once, at the end. So, even though there will be many packages depending on gtk+, the icon cache generation will be done once. Hopefully, this will lower the target's first boot time significantly by using the power of the host machine to generate the cache. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie1
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>
2012-01-09gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinstSteve Sakoman1
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. Signed-off-by: Steve Sakoman <steve@sakoman.com>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie1
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 *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-16gtk-icon-cache: Adding MLPREFIX when dynamically set RDEPENDSDongxiao Xu1
When dynamically setting RDEPENDS, we need to add MLPREFIX to adapt multilib case. [YOCTO #1368] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-08-08gtk-icon-cache bbclass: don't assing to global RDEPENDSKoen Kooi1
Only the package with the icons needs it [Squashed laster RDEPENDS fix from koen into commit] Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-05gtk-icon-cache: add hicolor-icon-theme to DEPENDSKoen Kooi1
This fixes do_rootfs breaking because OE didn't resolve the RDEPENDS added with python Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04gtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme ↵Koen Kooi1
when installing icons Tested with gnome-icon-theme and libsoup recipes on angstrom. Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-01-20gdk-pixbuf: Add 2.22.1 as new recipeZhai Edwin1
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>
2009-11-16debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16gtk-icon-cache.bbclass: Fix hardcoded PKGDEST reference and operate on ↵Richard Purdie1
directories other than hicolor (from OE.dev) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13gtk-icon-cache.bbclass: Drop unneeded module importRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-05-20gtk-icon-cache.bbclass: Using dashes in shell function names is a really bad ↵Richard Purdie1
idea git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4505 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-08gtk-icon-cache.bbclass: in the postinst update the pixbuf loaders to ensure ↵Ross Burton1
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
2007-08-08gtk-icon-cache.bbclass: Add RDEPENDS to fix runtime warnings (from OE)Richard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2408 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-16Add commentRoss Burton1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1513 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21Rename /openembedded/ -> /meta/Richard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966