Commit Graph

22 Commits

Author SHA1 Message Date
Richard Purdie 5ddec10f16 ghostscript: Add missing dependency to resolve parallel make issue
(From OE-Core rev: a24027321b99dffd79b1f0c009ce89f0be7cc384)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06 23:56:27 +01:00
Paul Eggleton 61bfb25241 ghostscript: fix patch failure with some versions of patch
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>
2013-07-02 22:26:58 +01:00
Wenzong Fan fb52e2f957 ghostscript: upgrade to 9.07
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>
2013-06-25 17:44:59 +01:00
Jesse Zhang 981bd3a297 ghostscript: fix endianness detection
[ 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>
2013-02-08 14:50:37 +00:00
Jesse Zhang 3fd9c5636a ghostscript: add pregenerated objarch for mipsel/mips64/mips64el
[ 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>
2013-02-08 14:50:37 +00:00
Marcin Juszkiewicz 3cf3a952a7 ghostscript: add AArch64 support
(From OE-Core rev: e3065f681720abd79b4f4cf545460f249276f3e8)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07 19:26:28 +00:00
Hongxu Jia ea2a7ae8c6 ghostscript-native:fix host underlinking issues
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>
2012-12-17 17:24:54 +00:00
Chen Qi 99e36acfdf qt4-native & ghostscript: update upstream status for their patches
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>
2012-12-06 12:31:18 +00:00
Chen Qi e5f6b33b00 ghostscript: make ghostscript work with long building path
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>
2012-12-03 14:32:43 +00:00
Richard Purdie 331f7fa3f2 ghostscript: Fix remaining CP_ prallel make races
(From OE-Core rev: 8fe53bdc807184bc41469d8587368b31192e6252)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-29 09:44:46 +01:00
Richard Purdie c39e0dbf3b ghostscript: Fixes for parallel_make
(From OE-Core rev: e3408adc6912629f268795a1d3adb9df7134979b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-28 16:53:08 +01:00
Richard Purdie 50466b6cc3 ghostscript: Fix patch related build issues
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>
2012-03-15 00:11:40 +00:00
Kang Kai ae2c5f2477 ghostscript: update to 9.05
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>
2012-03-14 13:17:43 +00:00
Richard Purdie b06b1b0811 ghostscript: Really fix parallel make race
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>
2011-11-27 10:25:33 +00:00
Kang Kai 8f02435796 ghostscript: update to 9.04
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>
2011-10-20 17:13:39 +01:00
Saul Wold 8cf683bf76 ghostscript: renamed x86_64 to x86-64 for patch to work
(From OE-Core rev: 3585b21f39489fa8eccc08df3adfbd81e7df4d48)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-20 17:13:37 +01:00
Matthew McClintock 73120fba5f Fix ghostscript on powerpc64
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>
2011-09-29 16:54:38 +01:00
Kang Kai 052f04e460 ghostscript: fix parallel build issue
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>
2011-07-27 16:46:30 +01:00
Saul Wold 13bc4eb6f3 ghostscript: Fix up file locations and add i686
(From OE-Core rev: 3e6b6b0d290c2389e2a84b65cacd447c24309c97)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-02 16:02:57 +01:00
Dexuan Cui dba1a791a5 recipes: Upstream-status --> Upstream-Status: for multiple patches
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>
2011-06-02 14:55:56 +01:00
Kang Kai c2d187065e ghostscript: fix run failure on mpc8315e
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>
2011-05-25 15:50:54 +01:00
Kang Kai ca63a0158a ghostscript: added to pass LSB commands check
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>
2011-05-05 12:26:42 +01:00