summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/ghostscript
AgeCommit message (Collapse)AuthorFiles
2016-06-14ghostscript: upgrade to 9.19Hongxu Jia6
- Ghostscript and GhostPDL releases from version 9.19 have been moved to GitHub hosting, tweak download site - Drop 0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch, and 0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch, ghostscript 9.19 has fixed them. - Fix QA Warning unrecognised options: --enable-little-endian. It use AC_C_BIGENDIAN to detect big/little endian. http://www.delorie.com/gnu/docs/autoconf/autoconf_64.html Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-30ghostcript: Set UPSTREAM_CHECK_URI variableLeonardo Sandoval1
Set UPSTREAM_CHECK_URI (a github location), so package checking system gets the latest version of the package. Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-22ghostscript: Update URL_SRI considered as 'old release'Leonardo Sandoval1
The Ghostcript project started to place their tarballs in two places starting at 9.19 as explained in [1]. 9.18 version is considered old, so including the 'old-gs-releases' in the URL. [1] http://downloads.ghostscript.com/public/ [YOCTO #9573] Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-09ghostscript: 9.16 -> 9.18Hongxu Jia4
- Backport patches to fix build failure caused by '--without-jbig2dec' and '--without-jbig2dec'. ... |make[1]: *** No rule to make target `obj/sjbig2_.dev', needed by `obj/sjbig2.dev'. Stop. ... http://bugs.ghostscript.com/show_bug.cgi?id=696497 - Previously, it did not build the whole local libpng source in ghostscript, only picked up specific files and compile them. But on ghostscript 9.18, when the arm's FPU has been set to NEON (-mfpu=neon * with GCC), the selected file "libpng/pngrutil.c" needs to link 'png_init_filter_functions_neon' which should be compiled by a non-selected file "libpng/arm/arm_init.c". ... |./obj/pngrutil.o: In function `png_init_filter_functions': |armv7a-neon-poky-linux-gnueabi/ghostscript/9.18-r0/build/../ ghostscript-9.18/libpng/pngrutil.c:3921: undefined reference to `png_init_filter_functions_neon' ... So do not compile local libpng source in ghostscript, use shared libpng to instead. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08ghostscript: add dependency for pnglibconf.hJoe Slater2
When using parallel make jobs, we need to be sure that pnglibconf.h is created before we try to reference it, so add a rule to png.mak. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-08ghostscript: Add NIOS2 supportMarek Vasut1
Add objarch.h for NIOS2 architecture. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <lftan@altera.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Cc: Walter Goossens <waltergoossens@home.nl> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-14ghostscript: 9.15 -> 9.16Robert Yang4
* Update LICENSE's md5sum, the new version added a "of" in the file, the license is the same. * Remove ghostscript-9.02-parallel-make.patch, it has 932 lines and modified 24 files, which is hard to maintain, and it can't be applied since the code has changed, and if we meet parallel issues again, we need fix it in other ways. * Fix a build error of -Werror=return-type. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-05-05ghostscript: Add MicroBlaze supportNathan Rossi2
* Add objarch.h for MicroBlaze big and little endian Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-24ghostscript: add objarch.h for armebKrishnanjanappa, Jagadeesh1
ghostscript application fails to fetch objarch.h file while building for armeb. The fetch failure is due to absence of this file in the default set of directories that the OpenEmbedded build system searches (i.e FILESPATH) for patches and files. This patch adds the required objarch.h file for armeb in one of the default locations where OpenEmbedded build system searches. Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14ghostscript: fix and enable parallel buildRobert Yang2
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-01-29arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCHMark Hatle2
[YOCTO #7230] In certain system configurations TRANSLATED_TARGET_ARCH will not expand in the right order for gcc-cross-candian-mips64n32 to be generated properly. This will cause SDKs to fail to generate properly. Changing the global definition of TRANSLATED_TARGET_ARCH always expands the ABIEXTENSION, which causes the OVERRIDES to pick it up as well. This effectively defines a new class of overrides for the 'n32'. The side effect is that we need to duplicate some mips64 overrides, and redefine others that were previously 'n32' or 'mips64' exclusive to have the correct semantics. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2015-01-16ghostscript: fix B != SRobert Yang1
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-11-20ghostscript: upgrade to 9.15Hongxu Jia3
Rebase cups-no-gcrypt.patch and ghostscript-9.02-parallel-make.patch to 9.15 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-01ghostscript: Don't build-depend on libgcrypt for the local cupsJackie Huang2
Backported for the ghostscript supplied cups code from http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch This addresses the cryto dependency seen during build. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06ghostscript: Remove bogus gsfonts reference from DESCRIPTIONRichard Purdie1
[YOCTO #5586] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17ghostscript: fix sizeof(GX_COLOR_INDEX_TYPE) not equal to ↵Hongxu Jia1
ARCH_SIZEOF_GX_COLOR_INDEX on mips The commit: http://ghostscript.com/pipermail/gs-cvs/2014-February/017271.html newly added a 'compile time assert' on 9.14 that causes the build to fail if the sizeof(GX_COLOR_INDEX_TYPE) is not equal to ARCH_SIZEOF_GX_COLOR_INDEX. Disscuss on IRC: http://ghostscript.com/irclogs/2014/02/06.html The commit from OE-Core rev: 78a13ba170c1de6d7ef077854e3e34e18d17099f ... ghostscript: add pregenerated objarch for mipsel/mips64/mips64el ... has defined ARCH_SIZEOF_GX_COLOR_INDEX according to the type of archs, and assigned 4 for mips/mipsel (8 for others). The GX_COLOR_INDEX_TYPE was defined at do_configure time, which used large color index (with 8) by default. We should manually choose the opposite one (with 4) for mips/mipsel. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17ghostscript: upgrade to 9.14Hongxu Jia5
- The LICENSE added AGPL for the font files (in Resource/Font); - Rebase ghostscript-9.02-parallel-make.patch to 9.14 - Rebase ghostscript-native-fix-disable-system-libtiff.patch since base/configure.ac has been moved to configure.ac. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f1488c5aff54f37ee67759827d4298592af5dbc8 - Obsolete ghostscript-9.05-NOT-check-endian.patch, and add option '--enable-little-endian'/'--enable-big-endian' conditionally to intead. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e76dc46756e89a14a3348bce12a633d32e4fa831 - Add base-genht.c-add-a-preprocessor-define-to-allow-fope.patch for native, since the upstream replace all fopen calls with gp_fopen and add a preprocessor define so that any unintential calls directly to fopen will cause an error. This patch add a preprocessor define to allow fopen calling in base/genht.c as exceptions. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643 - Remove package ghostscript-cups, since CUPS filters gstoraster and gstopxl has been moved to cups-filters which is a free software package hosted by OpenPrinting. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9304a21699a6c17579fae32f44f5c92a37c13e2d http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02ghostscript: remove unrecognised optionRobert Yang1
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2013-09-06ghostscript: Add missing dependency to resolve parallel make issueRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-02ghostscript: fix patch failure with some versions of patchPaul Eggleton1
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-25ghostscript: upgrade to 9.07Wenzong Fan7
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 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-08ghostscript: fix endianness detectionJesse Zhang2
[ 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. 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>
2013-02-08ghostscript: add pregenerated objarch for mipsel/mips64/mips64elJesse Zhang4
[ CQID: WIND00389504 ] Generated by building and running base/genarch.c. 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>
2013-01-07ghostscript: add AArch64 supportMarcin Juszkiewicz1
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-14ghostscript-native:fix host underlinking issuesHongxu Jia2
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06qt4-native & ghostscript: update upstream status for their patchesChen Qi1
Update the upstream status for patches of long building path. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-03ghostscript: make ghostscript work with long building pathChen Qi2
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] 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>
2012-11-02recipes-extended: replace virtclass-native(sdk) with class-native(sdk)Robert Yang1
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-09-03ghostscript: disable libidn supportKang Kai1
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. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-29ghostscript: Fix remaining CP_ prallel make racesRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-28ghostscript: Fixes for parallel_makeRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-19ghostscript: fix typo in packagingSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-15ghostscript: Fix patch related build issuesRichard Purdie2
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14ghostscript: update to 9.05Kang Kai3
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. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26More quoting fixesMartin Jansa1
* 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. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-17ghostscript: build cups filtersJames Limbouris1
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. Signed-off-by: James Limbouris <james@digitalmatter.com.au>
2011-11-26ghostscript: Ensure we run reautoconfRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-26ghostscript-native: Ensure the sys/time/h fix is applied for native buildsRichard Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-26ghostscript: Really fix parallel make raceRichard Purdie2
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-20ghostscript: update to 9.04Kang Kai8
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 Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-10-19ghostscript: renamed x86_64 to x86-64 for patch to workSaul Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-10-19ghostscript: Disable parallel make due to install issuesSaul Wold1
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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-29Fix ghostscript on powerpc64Matthew McClintock2
This adds pregenerated files for powerpc64 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28ghostscript: disable check for time.hJoshua Lock1
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. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-08-05ghostscript: Fixed the incorrect DEPENDS.Lianhao Lu1
[YOCTO #1337] Using ghostscript-native instead of ${PN}-native in DEPENDS to correct the invalid DEPENDS in multilib cases. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2011-07-27ghostscript: fix parallel build issueKang Kai2
ghostscript fails some time on autobuilder, it seems a parallel build issue. Add patch to fix it. Fixes [Yocto #1202] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23ghostscript: Fix owner/group of /etc/cupsMark Hatle1
/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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-14ghostscript: update SRC_URIKang Kai1
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. 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>
2011-06-02ghostscript: Fix up file locations and add i686Saul Wold11
Signed-off-by: Saul Wold <sgw@linux.intel.com>