aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gdk-pixbuf
AgeCommit message (Collapse)Author
2015-11-25gdk-pixbuf: Upgrade 2.30.8 -> 2.32.1Jussi Kukkonen
Remove a backported patch. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-28gdk-pixbuf: Only apply native cleaning in normal task, not setsceneRichard Purdie
The previous fix works well for normal tasks since the ordering is always correct and gdk-pixbuf-native comes first. Setscene ordering is reversed so we can't rely on this there. Remove the fix in that case since it breaks more than it solves. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-26gdk-pixbuf: move gdk-pixbuf-query-loaders to $libdir for multilib safetyRoss Burton
If for example gdk-pixbuf and lib32-gdk-pixbuf are in an image then only one ${bindir}/gdk-pixbuf-query-loaders will be installed, so only one variant will actually be usable. Solve this by moving gdk-pixbuf-query-loaders into ${libdir} as it's intimately tied to the library and rarely directly invoked by the user, and update the callers to use the right path. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-26gdk-pixbuf: move gdk-pixbuf-pixdata to gdk-pixbuf-devRoss Burton
This is a development tool, similar to gdk-pixbuf-csource, so move it to the -dev package. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-24gdk-pixbuf: Avoid rebuild failuresRichard Purdie
If gdkpixbuf-native rebuilds and there are stale (broken) modules lying around, it can fail to run the postinst. E.g. svg links to harfbuzz and if harfbuzz is removed from the sysroot but the svg loader isn't, we get a symbol linking issue. The reproducer is along the lines of build gdk-pixbuf-native along with harfbuzz-native and librsvg-native, then make a small change to the gdk-pixbuf recipe that would cause it to rebuild, clean harfbuzz-native and then build gdk-pixbuf. To fix this, when we install gdk-pixbuf, we wipe out any previous loaders. The idea is that gdk would always come first and anything else installing itself will come later and rerun the postinst if needed. We can therefore just remove any other loaders. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-21gdk-pixbuf: remove redundant libx11 DEPENDS lineCarlos Rafael Giani
The x11 packageconfig already takes care of the X11 dependency, and also respects the DISTRO_FEATURES Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-19gdk-pixbuf: Security Advisory - gdk-pixbuf - CVE-2015-4491Li Zhou
pixops: Be more careful about integer overflow Integer overflow in the make_filter_table function in pixops/pixops.c in gdk-pixbuf before 2.31.5, as used in Mozilla Firefox before 40.0 and Firefox ESR 38.x before 38.2 on Linux, Google Chrome on Linux, and other products, allows remote attackers to execute arbitrary code or cause a denial of service (heap-based buffer overflow and application crash) via crafted bitmap dimensions that are mishandled during scaling. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25gdk-pixbuf: use ptest-gnomeRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-07-23gdk-pixbuf: upgrade to 2.30.8Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-10gdk-pixbuf: fix paths to test binariesRoss Burton
The tests are installed to $libexecdir not $libdir/gdk-pixbuf. By default these are the same location but they can be changed independently. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-13gdk-pixbuf: upgrade to 2.30.7Ross Burton
Drop tests-check.patch as it has been merged into this release. License checksums updated as the FSF address was changed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01gdk-pixbuf: add an option so that loader errors are fatalRoss Burton
So that gdk-pixbuf-query-loader failures can be identified as such (and executed later, or run on the target) add a magic environment variable return loader failures from main(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08gdk-pixbuf: enable ptestRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-21gdk-pixbuf: use PACKAGECONFIG to control loaders with external dependenciesRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-21gdk-pixbuf: don't forcibly disable GIO sniffing, use PACKAGECONFIG.Ross Burton
There's a configure option for GIO sniffing so don't use a patch to disable it. Instead use a PACKAGECONFIG for this and default to off, as using GIO for sniffing means a hard dependency on shared-mime-info. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-21gdk-pixbuf: upgrade to 2.30.3Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-11-18gdk-pixbuf: upgrade to 2.30.1Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-26gdk-pixbuf: use PACKAGECONFIG to control legacy X11 sub-libraryRoss Burton
Instead of appending and using overrides, turn gdk-pixbuf-xlib into a PACKAGECONFIG option and enable it for LSB-builds only. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-05gdk-pixbuf: upgrade to 2.28.2Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-25gdk-pixbuf: add a wrapper for gdk-pixbuf-pixdataRoss Burton
gdk-pixbuf 2.26 added a new binary gdk-pixbuf-pixdata, but no wrapper script was added for it. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-04gdk-pixbuf: upgrade to 2.28.1Ross Burton
Something along the lines of pngversion.patch was merged upstream, so drop that patch. Also use the new trim_version() function for a future-proof SRC_URI. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-24gdk-pixbuf: remove native loader cache generation, use the classRoss Burton
We assumed that the only relevant gdk-pixbuf loaders in the native environment were the ones in gdk-pixbuf itself, as the icon cache is only for PNG files. However, glib-compile-resources can transform SVG files to raw image data, and done natively this requires the SVG loader to be registered. The current implementation relies on this assumption by generating the cache based on the staging directory during install, so if gdk-pixbuf-native is re-installed to the sysroot after librsvg-native it will overwrite the loader cache. So, remove the code in do_install that updated the cache, and rely on the new logic in pixbufcache.bbclass that updates the cache when it's installed into the sysroot itself. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-13gdk-pixbuf: Fix libpng determinism issuesRichard Purdie
We now have libpng 1.6. If we build libpng12 as well as libpng 1.6, the 1.2 version gets preferred which is not desirable and does not give deterministic builds. We really do want to use libpng since the item in DEPENDS will provide this so manipulate the search list so the one we DEPEND on gets chosen. This was the cause of a recent autobuilder failure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-12gdk-pixbuf: use the new pixbufcache classLaurentiu Palcu
[YOCTO #3582] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-04gdk-pixbuf: use correct build path when installingRoss Burton
The native install was invoking a binary in $S, but it's been built into $B. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-18gdk-pixbuf: update to upstream version 2.26.5Marko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-13gdk-pixbuf: handle postinstall errors differentlyLaurentiu Palcu
Apparently gdk-pixbuf-query-loaders always returns 0 but writes any errors to stderr. So, the conditional exit at the end of the command was useless. Write the errors to a file and exit only if the file size is greater than 0. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06gdk-pixbuf: generate the pixbuf loader's cache ar rootfs timeLaurentiu Palcu
This will generate the loaders.cache file for pixbuf, at rootfs time. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-02recipes-gnome: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-02gdk-pixbuf: Ensure gdk-pixbuf-native dependencies are correct with linuxstdbaseRichard Purdie
Without this change, anything using linuxstdbase would incorrectly try and pull in X dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-18recipes: bump PR to rebuild after libffi5 -> libffi6Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-25gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall scriptJackie Huang
gtk-update-icon-cache is called for each subdir of ${datadir}/icons, but there are some themes without an index.theme file such as xcursor-transparent, so add -t(--ignore-theme-index) option to avoid errors of gtk-update-icon-cache. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2012-08-15gdk-pixbuf: fix the postinstall script failure when no icon is installedJackie Huang
If gtk+ is added to core-image-minimal, postinstall script failed on boot: Running postinst /etc/rpm-postinsts/104... gtk-update-icon-cache: No theme index file. ERROR: postinst /etc/rpm-postinsts/104 failed. This patch fixed the postinstall script to check for the icon file first and not run the gtk-update-icon-cache if no icon is installed. [YOCTO #2905] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06gdk-pixbuf: fix parallel install issueWenzong Fan
This patch fixes parallel install issue that lib libpixbufloader-png.la depends on libgdk_pixbuf-2.0.la which will be regenerated during insta- llation, if libgdk_pixbuf-2.0.la is regenerating and at the same time libpixbufloader-png.la links it, the error will happen. Error message is: * usr/bin/ld: cannot find -lgdk_pixbuf-2.0 * collect2: ld returned 1 exit status Make an explicit dependency to the libs install targets would fix this issue. [YOCTO #2883] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15gdk-pixbuf: Fix lsb builds where dependency may be missingRichard Purdie
We turn on the xlib depdendency for linuxstdbase builds but were missing the dependency on libx11. This adds the missing dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15gdk-pixbuf: Allow empty -xlib packageRichard Purdie
There are things that depend on the -xlib package. There are two possible ways to fix this, either recommend them instead of depending on them, or allow the package to be empty. I'm doing the latter since its a bit cleaner and less invasive. This library is a bit pointless which is why there is little point in adding the x dependency in the non-lsb case. If it becomes widly used we can rethink this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-12gdk-pixbuf: Drop unneeded RPROVIDESRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-11gdk-pixbuf: Add --with-x11 when building lsb imageXiaofeng Yan
LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. Use the linuxstdbase override and also make it conditional on x11 \ being in DISTRO_FEATURES for passing lsb test. Split libgdk_pixbuf_xlib to a single package. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-30gdk-pixbuf: Fix checksum warning issueRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21gdk-pixbuf: upgrade to 2.24.1Shane Wang
Signed-off-by: Shane Wang <shane.wang@intel.com>
2012-03-19gdk-pixbuf: Disable xlib library since we don't have anything needing this ↵Richard Purdie
as yet and no libx11 DEPENDS This is currently causing builds not to be deterministic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08gdk-pixbuf: Pick up ${NM} from the environment.James Limbouris
Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie
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-02-21recipes: bump PR to rebuild .la files without libz.laMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-10zlib: Upgrade 1.2.5 -> 1.2.6Khem Raj
Dont use autotools, it really not so autoconf like. the configure script gets updated with every release of zlib and we overwrite that. Instead use the upstream provided configure copyright year was changed in zlib.h which caused change in LIC_FILE_CHECKSUM fix.inverted.LFS.logic.patch is already applied upstream so drop it Drop the configure.ac and Makefile.am scripts since we do not autoreconf anymore and do not inherit autotools anymore Bump PR for depending recipes so a rebuild it ensues so that they dont depend on .la anymore and add missing dependencies discovered during incremental build Signed-off-by: Khem Raj <raj.khem@gmail.com>