summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript
Commit message (Collapse)AuthorAgeFilesLines
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: remove unrecognised optionRobert Yang2014-01-021-3/+5
| | | | | | | | | | | | | | | Remove --without-jasper since the jasper had been removed: commit 6070a6f33bebf7538e48219010bc1e4de8341ea8 Author: Ray Johnston <ray.johnston@artifex.com> Date: Fri Aug 3 00:32:32 2012 -0700 Rip out jasper -- openjpeg is our JPX implementation. (From OE-Core rev: 711ec79d118e0d116b14d48a08820e4f88979ed5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Add missing dependency to resolve parallel make issueRichard Purdie2013-09-061-0/+13
| | | | | | (From OE-Core rev: a24027321b99dffd79b1f0c009ce89f0be7cc384) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix patch failure with some versions of patchPaul Eggleton2013-07-021-2/+2
| | | | | | | | | | | | | | | | | | Some versions of patch (e.g. 2.6.1.136-31a7 on OpenSUSE 12.2) will refuse to patch a file via a symlink (probably a fairly sensible security precaution). The "base/" subdirectory specified within the ghostscript-9.05-NOT-check-endian.patch file was being lost by the default application with -p1, but this was not caught on most systems due to the symlink. Fix the path so that we always patch the file directly. Fixes [YOCTO #4773]. (From OE-Core rev: 96a009da2456a03c65c198d8dca7d2af8b228f4f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: upgrade to 9.07Wenzong Fan2013-06-257-429/+421
| | | | | | | | | | | | | | | | | | Remove unuseful patch: * 0001-make-ghostscript-work-with-long-building-directory.patch Port applicable patches: * ghostscript-9.02-genarch.patch * ghostscript-9.02-parallel-make.patch * ghostscript-9.02-prevent_recompiling.patch * ghostscript-9.05-NOT-check-endian.patch * ghostscript-native-fix-disable-system-libtiff.patch (From OE-Core rev: aea8f29275fd7c2341c429b46c25e17afe532b3e) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix endianness detectionJesse Zhang2013-02-082-32/+17
| | | | | | | | | | | | | | | | [ CQID: WIND00394747 ] The original patch removes endianness detection completely, causing lcms to be built against the wrong endian. Instead, pass the correct endian through the recipe using SITEINFO_ENDIANNESS. (From OE-Core rev: 0a07ec7d13becc7ce87c502e75a006300a7090a5) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: add pregenerated objarch for mipsel/mips64/mips64elJesse Zhang2013-02-084-1/+121
| | | | | | | | | | | | | | [ CQID: WIND00389504 ] Generated by building and running base/genarch.c. (From OE-Core rev: 78a13ba170c1de6d7ef077854e3e34e18d17099f) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: add AArch64 supportMarcin Juszkiewicz2013-01-071-0/+40
| | | | | | | (From OE-Core rev: e3065f681720abd79b4f4cf545460f249276f3e8) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript-native:fix host underlinking issuesHongxu Jia2012-12-172-3/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ghostscript-native will check libtiff automatically at configure time and libtiff needs libjpeg. If libtiff and libjpeg is just populated to staging native directories and the host doesn't install them, the libjpeg could not be linked, fail with: |libjpeg.so.8, needed by libtiff.so, not found |libtiff.so: undefined reference to `jpeg_set_defaults@LIBJPEG_8.0' |collect2: error: ld returned 1 exit status Disable libtiff support to fix this issue and modify configure to let disable system libtiff could work. We also explicity disable fontconfig, freetype, cups for ghostscript-native to avoid the similar issues. [YOCTO #3562] (From OE-Core rev: c00778dd0d9c3b62657057e92c868ad2257d72d3) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-native & ghostscript: update upstream status for their patchesChen Qi2012-12-061-1/+4
| | | | | | | | | | Update the upstream status for patches of long building path. (From OE-Core rev: 58b83f7dad8f0d252f8028349d734987081b7507) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: make ghostscript work with long building pathChen Qi2012-12-032-6/+23
| | | | | | | | | | | | | | | | If TMPDIR has more than 256 chars, building ghostscript fails. This violates the 410 length limit of TMPDIR. This patch makes building ghostscript succeed by changing its MAX_TOKEN from 256 to 512. [YOCTO #2766] (From OE-Core rev: 30a19b7c791abcbf09193c678866df66d470a6d9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-5/+5
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 528b4ab831c7b0bc1412318d29e2b7f9cf711d57) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: disable libidn supportKang Kai2012-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | If libidn is just populated to sysroot but rpm packages are not created, build ghostscript will check libidn automatically and then depends on libidn. But package libidn doesn't exist, so build image which contains ghostscript will fail with: | error: Failed dependencies: | libidn11 >= 1.25 is needed by ghostscript-9.05-r2.i586 | libidn.so.11(LIBIDN_1.0) is needed by ghostscript-9.05-r2.i586 | libidn.so.11 is needed by ghostscript-9.05-r2.i586 Disable libidn support to fix this issue. (From OE-Core rev: 509eb624c89249ff169de24fed448e8d7894a6f6) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix remaining CP_ prallel make racesRichard Purdie2012-03-292-47/+89
| | | | | | (From OE-Core rev: 8fe53bdc807184bc41469d8587368b31192e6252) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fixes for parallel_makeRichard Purdie2012-03-282-10/+844
| | | | | | (From OE-Core rev: e3408adc6912629f268795a1d3adb9df7134979b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix typo in packagingSaul Wold2012-03-191-2/+2
| | | | | | | (From OE-Core rev: 410784aa6ed80a26d1f2cff1219548909af87cff) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix patch related build issuesRichard Purdie2012-03-152-4/+4
| | | | | | | | | | | The file ${S}/configure.ac is a symlink which seems to confuse some patch application tools but not in all cases. Whilst I'd love to understand why there is a difference, this fixes the build failures by applying the patch to the real file rather than the symlink. (From OE-Core rev: 34f3127bac9e5a15c33d21a6a6ac83c6060dcac9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: update to 9.05Kang Kai2012-03-143-10/+65
| | | | | | | | | | | | Update ghostscript to 9.05, and update ghostscript-9.02-genarch.patch at same time because it can't be applied. Add patch ghostscript/ghostscript-9.05-NOT-check-endian.patch to forbid checking endianese. (From OE-Core rev: 7e7bdb9dc4ca61f8427f07f2ff220767385085c5) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* More quoting fixesMartin Jansa2012-02-261-1/+1
| | | | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. (From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: build cups filtersJames Limbouris2012-01-171-5/+24
| | | | | | | | | | | | | | | Cups filters are no longer built by default. Since ghostscript already depends on cups, build the filters and package them as ghostscript-cups. Ghostscript uses the cups-config script from the oe sysroots to determine some of the target install paths, as well as to determine the linker path. The config script gives out paths pointing to the sysroot, so some of the paths needed to be adjusted in the Makefile. (From OE-Core rev: 8c457ea44dc75a01826b070c8b41d1ca5e712171) Signed-off-by: James Limbouris <james@digitalmatter.com.au> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Ensure we run reautoconfRichard Purdie2011-11-271-16/+16
| | | | | | | | | | Avoding the autoreconf with a hardcoded do_configure is bad practise since it can hide various errors. This patch ensures we do use the standard do_configure. (From OE-Core rev: 54c4b4fd10c104641bb7ae087b2230aa6c6085f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript-native: Ensure the sys/time/h fix is applied for native buildsRichard Purdie2011-11-271-0/+1
| | | | | | | | | | On my system, the sys/time.h header is in a subdir off /usr/include which causes a build failure. Apply the target CFLAGS fix to native builds as well to address this. (From OE-Core rev: 67176378266767cd0cca4f8ecafa865907ca4bdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Really fix parallel make raceRichard Purdie2011-11-272-1/+20
| | | | | | | | | | | | | There continue to be parallel make race issues showing up on the autobuilder. This patch removes some potential sources of these. The rm is unrequired since we're using cp -f. The || true ensures that if we did race against someone it becomes harmless. [YOCTO #1202] (From OE-Core rev: 32840cd95fcde92433fbb0271b82d0f4048a823a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: update to 9.04Kang Kai2011-10-208-290/+49
| | | | | | | | | | | | | | Remove the old version and update ghostscript to 9.04. * update ghostscript-9.02-prevent_recompiling.patch * because soobj is not used any more, remove soobj related work * gs provides a configure option --with-install-cups to install cups related files but disabled by default, so need update post install scripts (From OE-Core rev: a1728fef998d43dc952e42d4c787304086578608) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: renamed x86_64 to x86-64 for patch to workSaul Wold2011-10-202-0/+0
| | | | | | | (From OE-Core rev: 3585b21f39489fa8eccc08df3adfbd81e7df4d48) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Disable parallel make due to install issuesSaul Wold2011-10-201-0/+4
| | | | | | | | | | | | | ghostscript uses a script called instcopy to install files first to temp dir and then rm's and copies dirs|files to the final destination. When parallel make happens multiple threads of this runs and tries to remove existing directories with contents, not a good thing, therefore disable parallel make for install. (From OE-Core rev: 9ef39459383f38cd45203e1f9be046d6100268b8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix ghostscript on powerpc64Matthew McClintock2011-09-292-0/+80
| | | | | | | | | This adds pregenerated files for powerpc64 (From OE-Core rev: 30b91a530e7dbabc4cef24525691aa2c34ecf47b) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: disable check for time.hJoshua Lock2011-09-281-0/+5
| | | | | | | | | | | | | | | ghostscript has it's own hacky check for time.h which hard-codes paths, this means in the native case it fails on systems such as Ubuntu 11.10 where the location of time.h has changed. Further it means the target build has had a host-intrusion issue. This patch disables the check for time.h, future releases of ghostscript use standard autotools checks for time.h's location. (From OE-Core rev: 737daaf83b3c2b4382dc518fda8c2d38085bb1bb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fixed the incorrect DEPENDS.Lianhao Lu2011-08-051-1/+1
| | | | | | | | | | | [YOCTO #1337] Using ghostscript-native instead of ${PN}-native in DEPENDS to correct the invalid DEPENDS in multilib cases. (From OE-Core rev: d8d412ff1beee4c820cc6e7b6124280db920cccd) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix parallel build issueKang Kai2011-07-272-1/+19
| | | | | | | | | | | | ghostscript fails some time on autobuilder, it seems a parallel build issue. Add patch to fix it. Fixes [Yocto #1202] (From OE-Core rev: 90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix owner/group of /etc/cupsMark Hatle2011-06-231-1/+3
| | | | | | | | | | | /etc/cups is owned by root:lp from the cups package, the associated ghostscript was creating the /etc/cups directory as root:root. /etc/cups is the authoritative source. (From OE-Core rev: 7ebe9412e66bb56b51bd6e757f3ea2acd839f667) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: update SRC_URIKang Kai2011-06-141-9/+10
| | | | | | | | | | | | | | | | | Build ghostscript-native fails on a i686 machine because it can't get the source objarch.h and soobjarch.h, and .h files are not needed for native package, so update the SRC_URI to fix it. (From OE-Core rev: 4091e811c04245d53bc1bb82087e3e476c7c8c1a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Removed the do_configure_prepend and folded into the target do_configure since the native was picking it up for the do_configure_virtclass/native() and then failing on i686. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: Fix up file locations and add i686Saul Wold2011-06-0211-0/+1
| | | | | | | (From OE-Core rev: 3e6b6b0d290c2389e2a84b65cacd447c24309c97) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Upstream-status --> Upstream-Status: for multiple patchesDexuan Cui2011-06-022-2/+2
| | | | | | | | | As a keyword, Upstream-Status is case sensitive. (From OE-Core rev: 874038469e28d011b60b2d4bfd5a6fada6e754c4) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: fix run failure on mpc8315eKang Kai2011-05-2512-3/+448
| | | | | | | | | | | | | | | | | When run gs on mpc8315, it fails with: GPL Ghostscript 9.02: ./psi/interp.c(291): Fatal error -20 in gs_interp_init! It is caused by cross compile. Accoding to the ghostscript document on: http://pages.cs.wisc.edu/~ghost/doc/cvs/Make.htm#Cross-compiling it needs some manual work, so import patches from WindRiver Linux. Update to using oe way to add arch.h, thanks to Richard. (From OE-Core rev: debee5134a2ca505e968a6ddfb5c2f6434e3007a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: added to pass LSB commands checkKang Kai2011-05-052-0/+162
Add ghostscript to pass LSB commands check and Printing test, and ghostscript-native is added to help cross compilation. (From OE-Core rev: 2f375be2982f83dec154eeb0a9ac37144da1496a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>