FILES_${PN} += "${datadir}/icons/hicolor" DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-icon-utils-native" gtk_icon_cache_postinst() { if [ "x$D" != "x" ]; then $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} mlprefix=${MLPREFIX} libdir=${libdir} \ base_libdir=${base_libdir} else # Update the pixbuf loaders in case they haven't been registered yet GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache for icondir in /usr/share/icons/* ; do if [ -d $icondir ] ; then gtk-update-icon-cache -fqt $icondir fi done fi } gtk_icon_cache_postrm() { if [ "x$D" != "x" ]; then $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} mlprefix=${MLPREFIX} libdir=${libdir} \ base_libdir=${base_libdir} else for icondir in /usr/share/icons/* ; do if [ -d $icondir ] ; then gtk-update-icon-cache -qt $icondir fi done fi } python populate_packages_append () { packages = d.getVar('PACKAGES', True).split() pkgdest = d.getVar('PKGDEST', True) for pkg in packages: icon_dir = '%s/%s/%s/icons' % (pkgdest, pkg, d.getVar('datadir', True)) if not os.path.exists(icon_dir): continue bb.note("adding hicolor-icon-theme dependency to %s" % pkg) rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme" d.appendVar('RDEPENDS_%s' % pkg, rdepends) bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) postinst = d.getVar('pkg_postinst_%s' % pkg, True) if not postinst: postinst = '#!/bin/sh\n' postinst += d.getVar('gtk_icon_cache_postinst', True) d.setVar('pkg_postinst_%s' % pkg, postinst) postrm = d.getVar('pkg_postrm_%s' % pkg, True) if not postrm: postrm = '#!/bin/sh\n' postrm += d.getVar('gtk_icon_cache_postrm', True) d.setVar('pkg_postrm_%s' % pkg, postrm) } 'right' method='get' action='/cgit/multitech-oe.git/log/conf/distro/oplinux-uclibc.conf'>
path: root/conf/distro/oplinux-uclibc.conf
git/commit/packages/perl/libcache-cache-perl_1.05.bb?id=43466984142b559813c7270c6d2d988ec57b0d9e'>perl: Update the LICENSE on the modules to indicate that they are available
AgeCommit message (Expand)AuthorFiles
2009-05-04All distros: Bring in conf/distro/include/${LIBC}.incTom Rini1
2009-05-04All distro conf files: Use LIBC to pick or set your libc.Tom Rini1
2008-07-25Change the toolchain build sequence. Helps in reproducable toolchains compone...Khem Raj1
2008-05-01generic-uclibc.conf: fix virtual/libintlHenning Heinold1
2007-05-09conf/distro/oplinux.conf : Make oplinux distro provide all availiable types o...Stelios Koroneos1
2007-03-12conf/distro/oplinux.conf: Initial commit of oplinux and oplinux-uclibcStelios Koroneos1
Jamie Lenehan1
2006-09-26perl modules: Add the first collection of perl modules. These modules areJamie Lenehan1