diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-10-18 16:04:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-20 17:13:39 +0100 |
commit | 8f024357960cfefd9861960f2091abcebd27a5d8 (patch) | |
tree | ae31b6d96bc55e9b72bf91100d2fee43a7db6ab0 /meta/recipes-extended/ghostscript | |
parent | 2f21384d09bb9b3fe96b7a410e1ae35d8e34f7c1 (diff) | |
download | poky-8f024357960cfefd9861960f2091abcebd27a5d8.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/ghostscript')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/arm/soobjarch.h | 40 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch | 74 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/i586/soobjarch.h | 41 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/mips/soobjarch.h | 40 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/powerpc/soobjarch.h | 40 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/powerpc64/soobjarch.h | 40 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/x86-64/soobjarch.h | 40 | ||||
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.04.bb (renamed from meta/recipes-extended/ghostscript/ghostscript_9.02.bb) | 24 |
8 files changed, 49 insertions, 290 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/arm/soobjarch.h b/meta/recipes-extended/ghostscript/ghostscript/arm/soobjarch.h deleted file mode 100644 index e8772cd958..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/arm/soobjarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch index 8fde77fefb..c37e4c40a4 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch | |||
@@ -6,39 +6,39 @@ Upstream-Status: Pending | |||
6 | 6 | ||
7 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | 7 | Signed-off-by: Kang Kai <kai.kang@windriver.com> |
8 | 8 | ||
9 | --- a/base/unix-aux.mak.orig 2011-05-03 15:35:55.196887997 +0800 | 9 | --- a/base/unix-aux.mak.orig 2011-10-17 16:12:20.354167007 +0800 |
10 | +++ b/base/unix-aux.mak 2011-05-03 15:37:57.766888003 +0800 | 10 | +++ a/base/unix-aux.mak 2011-10-17 16:16:26.774167008 +0800 |
11 | @@ -57,45 +57,45 @@ $(GLOBJ)gp_sysv.$(OBJ): $(GLSRC)gp_sysv. | 11 | @@ -67,45 +67,45 @@ |
12 | 12 | ||
13 | # -------------------------- Auxiliary programs --------------------------- # | 13 | # -------------------------- Auxiliary programs --------------------------- # |
14 | 14 | ||
15 | -$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h) | 15 | -$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h) $(MAKEDIRS) |
16 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c | 16 | - $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c |
17 | - | 17 | - |
18 | -# On the RS/6000 (at least), compiling genarch.c with gcc with -O | 18 | -# On the RS/6000 (at least), compiling genarch.c with gcc with -O |
19 | -# produces a buggy executable. | 19 | -# produces a buggy executable. |
20 | -$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS) | 20 | -$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS) $(MAKEDIRS) |
21 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c | 21 | - $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c |
22 | - | 22 | - |
23 | -$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS) | 23 | -$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS) $(MAKEDIRS) |
24 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c | 24 | - $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c |
25 | - | 25 | - |
26 | -$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS) | 26 | -$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS) $(MAKEDIRS) |
27 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c | 27 | - $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c |
28 | - | 28 | - |
29 | -$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS) | 29 | -$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS) $(MAKEDIRS) |
30 | - $(CCAUX) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c | 30 | - $(CCAUX_) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c |
31 | - | 31 | - |
32 | -# To get GS to use the system zlib, you remove/hide the gs/zlib directory | 32 | -# To get GS to use the system zlib, you remove/hide the gs/zlib directory |
33 | -# which means that the mkromfs build can't find the zlib source it needs. | 33 | -# which means that the mkromfs build can't find the zlib source it needs. |
34 | -# So it's split into two targets, one using the zlib source directly..... | 34 | -# So it's split into two targets, one using the zlib source directly..... |
35 | -MKROMFS_OBJS_0=$(MKROMFS_ZLIB_OBJS) $(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ | 35 | -MKROMFS_OBJS_0=$(MKROMFS_ZLIB_OBJS) $(AUX)gscdefs.$(OBJ) $(AUX)gsmisc.$(OBJ) \ |
36 | - $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \ | 36 | - $(AUX)gpmisc.$(OBJ) $(AUX)gslibctx.$(OBJ) $(AUX)gp_getnv.$(OBJ) \ |
37 | - $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \ | 37 | - $(AUX)gp_unix.$(OBJ) $(AUX)gp_unifs.$(OBJ) $(AUX)gp_unifn.$(OBJ) \ |
38 | - $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | 38 | - $(AUX)gp_stdia.$(OBJ) $(AUX)gsutil.$(OBJ) $(AUX)memento.$(OBJ) |
39 | - | 39 | - |
40 | -$(MKROMFS_XE)_0: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_0) | 40 | -$(MKROMFS_XE)_0: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_0) |
41 | - $(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_0 $(MKROMFS_OBJS_0) -lm $(EXTRALIBS) | 41 | - $(CCAUX_) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_0 $(MKROMFS_OBJS_0) -lm $(EXTRALIBS) |
42 | - | 42 | - |
43 | -# .... and one using the zlib library linked via the command line | 43 | -# .... and one using the zlib library linked via the command line |
44 | -MKROMFS_OBJS_1=$(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ | 44 | -MKROMFS_OBJS_1=$(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ |
@@ -47,37 +47,37 @@ Signed-off-by: Kang Kai <kai.kang@windriver.com> | |||
47 | - $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | 47 | - $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) |
48 | - | 48 | - |
49 | -$(MKROMFS_XE)_1: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_1) | 49 | -$(MKROMFS_XE)_1: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_1) |
50 | - $(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_1 $(MKROMFS_OBJS_1) -lm $(EXTRALIBS) | 50 | - $(CCAUX_) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_1 $(MKROMFS_OBJS_1) -lm $(EXTRALIBS) |
51 | - | 51 | - |
52 | -$(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) | 52 | -$(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) $(MAKEDIRS) |
53 | - $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) | 53 | - $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) |
54 | +#$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h) | 54 | +#$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h) $(MAKEDIRS) |
55 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c | 55 | +# $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c |
56 | +# | 56 | +# |
57 | +## On the RS/6000 (at least), compiling genarch.c with gcc with -O | 57 | +## On the RS/6000 (at least), compiling genarch.c with gcc with -O |
58 | +## produces a buggy executable. | 58 | +## produces a buggy executable. |
59 | +#$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS) | 59 | +#$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS) $(MAKEDIRS) |
60 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c | 60 | +# $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c |
61 | +# | 61 | +# |
62 | +#$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS) | 62 | +#$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS) $(MAKEDIRS) |
63 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c | 63 | +# $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c |
64 | +# | 64 | +# |
65 | +#$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS) | 65 | +#$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS) $(MAKEDIRS) |
66 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c | 66 | +# $(CCAUX_) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c |
67 | +# | 67 | +# |
68 | +#$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS) | 68 | +#$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS) $(MAKEDIRS) |
69 | +# $(CCAUX) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c | 69 | +# $(CCAUX_) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c |
70 | +# | 70 | +# |
71 | +## To get GS to use the system zlib, you remove/hide the gs/zlib directory | 71 | +## To get GS to use the system zlib, you remove/hide the gs/zlib directory |
72 | +## which means that the mkromfs build can't find the zlib source it needs. | 72 | +## which means that the mkromfs build can't find the zlib source it needs. |
73 | +## So it's split into two targets, one using the zlib source directly..... | 73 | +## So it's split into two targets, one using the zlib source directly..... |
74 | +#MKROMFS_OBJS_0=$(MKROMFS_ZLIB_OBJS) $(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ | 74 | +#MKROMFS_OBJS_0=$(MKROMFS_ZLIB_OBJS) $(AUX)gscdefs.$(OBJ) $(AUX)gsmisc.$(OBJ) \ |
75 | +# $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \ | 75 | +# $(AUX)gpmisc.$(OBJ) $(AUX)gslibctx.$(OBJ) $(AUX)gp_getnv.$(OBJ) \ |
76 | +# $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \ | 76 | +# $(AUX)gp_unix.$(OBJ) $(AUX)gp_unifs.$(OBJ) $(AUX)gp_unifn.$(OBJ) \ |
77 | +# $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | 77 | +# $(AUX)gp_stdia.$(OBJ) $(AUX)gsutil.$(OBJ) $(AUX)memento.$(OBJ) |
78 | +# | 78 | +# |
79 | +#$(MKROMFS_XE)_0: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_0) | 79 | +#$(MKROMFS_XE)_0: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_0) |
80 | +# $(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_0 $(MKROMFS_OBJS_0) -lm $(EXTRALIBS) | 80 | +# $(CCAUX_) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_0 $(MKROMFS_OBJS_0) -lm $(EXTRALIBS) |
81 | +# | 81 | +# |
82 | +## .... and one using the zlib library linked via the command line | 82 | +## .... and one using the zlib library linked via the command line |
83 | +#MKROMFS_OBJS_1=$(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ | 83 | +#MKROMFS_OBJS_1=$(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ |
@@ -86,9 +86,9 @@ Signed-off-by: Kang Kai <kai.kang@windriver.com> | |||
86 | +# $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | 86 | +# $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) |
87 | +# | 87 | +# |
88 | +#$(MKROMFS_XE)_1: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_1) | 88 | +#$(MKROMFS_XE)_1: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_1) |
89 | +# $(CCAUX) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_1 $(MKROMFS_OBJS_1) -lm $(EXTRALIBS) | 89 | +# $(CCAUX_) $(GENOPT) $(CFLAGS) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_1 $(MKROMFS_OBJS_1) -lm $(EXTRALIBS) |
90 | +# | 90 | +# |
91 | +#$(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) | 91 | +#$(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) $(MAKEDIRS) |
92 | +# $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) | 92 | +# $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) |
93 | 93 | ||
94 | # Query the environment to construct gconfig_.h. | 94 | # Query the environment to construct gconfig_.h. |
diff --git a/meta/recipes-extended/ghostscript/ghostscript/i586/soobjarch.h b/meta/recipes-extended/ghostscript/ghostscript/i586/soobjarch.h deleted file mode 100644 index 5817b7a6d7..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/i586/soobjarch.h +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 4 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
41 | |||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mips/soobjarch.h b/meta/recipes-extended/ghostscript/ghostscript/mips/soobjarch.h deleted file mode 100644 index 359097f356..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/mips/soobjarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/powerpc/soobjarch.h b/meta/recipes-extended/ghostscript/ghostscript/powerpc/soobjarch.h deleted file mode 100644 index 359097f356..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/powerpc/soobjarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 4 | ||
9 | #define ARCH_ALIGN_PTR_MOD 4 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 2 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 4 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/powerpc64/soobjarch.h b/meta/recipes-extended/ghostscript/ghostscript/powerpc64/soobjarch.h deleted file mode 100644 index 0d0a16bfa3..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/powerpc64/soobjarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/x86-64/soobjarch.h b/meta/recipes-extended/ghostscript/ghostscript/x86-64/soobjarch.h deleted file mode 100644 index a05de29def..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/x86-64/soobjarch.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb index 1d48cce2b8..dba92e9aba 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb | |||
@@ -15,24 +15,24 @@ SECTION = "console/utils" | |||
15 | LICENSE = "GPLv3" | 15 | LICENSE = "GPLv3" |
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" |
17 | 17 | ||
18 | PR = "r4" | 18 | PR = "r0" |
19 | 19 | ||
20 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" | 20 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" |
21 | DEPENDS_virtclass-native = "" | 21 | DEPENDS_virtclass-native = "" |
22 | 22 | ||
23 | SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2" | 23 | SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz" |
24 | 24 | ||
25 | SRC_URI = "${SRC_URI_BASE} \ | 25 | SRC_URI = "${SRC_URI_BASE} \ |
26 | file://ghostscript-9.02-prevent_recompiling.patch \ | 26 | file://ghostscript-9.02-prevent_recompiling.patch \ |
27 | file://ghostscript-9.02-genarch.patch \ | 27 | file://ghostscript-9.02-genarch.patch \ |
28 | file://objarch.h \ | 28 | file://objarch.h \ |
29 | file://soobjarch.h \ | ||
30 | file://ghostscript-9.02-parallel-make.patch \ | 29 | file://ghostscript-9.02-parallel-make.patch \ |
31 | " | 30 | " |
31 | |||
32 | SRC_URI_virtclass-native = "${SRC_URI_BASE}" | 32 | SRC_URI_virtclass-native = "${SRC_URI_BASE}" |
33 | 33 | ||
34 | SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" | 34 | SRC_URI[md5sum] = "9c2fb4af1eb609d09dba5bb0fa76173a" |
35 | SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" | 35 | SRC_URI[sha256sum] = "f1e333738c41c3bf2b47ceb9806abb8045bcdc7353002c32736150425a7c1ef4" |
36 | 36 | ||
37 | EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts" | 37 | EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts" |
38 | 38 | ||
@@ -47,15 +47,13 @@ do_configure () { | |||
47 | mkdir -p obj | 47 | mkdir -p obj |
48 | mkdir -p soobj | 48 | mkdir -p soobj |
49 | cp ${WORKDIR}/objarch.h obj/arch.h | 49 | cp ${WORKDIR}/objarch.h obj/arch.h |
50 | cp ${WORKDIR}/soobjarch.h soobj/arch.h | ||
51 | 50 | ||
52 | oe_runconf | 51 | oe_runconf |
53 | 52 | ||
54 | # copy tools from the native ghostscript build | 53 | # copy tools from the native ghostscript build |
55 | mkdir -p obj soobj | 54 | mkdir -p obj/aux soobj |
56 | for i in genarch genconf mkromfs echogs gendev genht; do | 55 | for i in genarch genconf mkromfs echogs gendev genht; do |
57 | cp ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i obj/$i | 56 | cp ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i obj/aux/$i |
58 | cp ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i soobj/$i | ||
59 | done | 57 | done |
60 | } | 58 | } |
61 | 59 | ||
@@ -64,7 +62,9 @@ do_install_append () { | |||
64 | cp -r Resource ${D}${datadir}/ghostscript/${PV}/ | 62 | cp -r Resource ${D}${datadir}/ghostscript/${PV}/ |
65 | cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ | 63 | cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ |
66 | 64 | ||
67 | chown -R root:lp ${D}${sysconfdir}/cups | 65 | if [ -f ${D}${sysconfdir}/cups ]; then |
66 | chown -R root:lp ${D}${sysconfdir}/cups | ||
67 | fi | ||
68 | } | 68 | } |
69 | 69 | ||
70 | python do_patch_virtclass-native () { | 70 | python do_patch_virtclass-native () { |
@@ -78,14 +78,14 @@ do_configure_virtclass-native () { | |||
78 | do_compile_virtclass-native () { | 78 | do_compile_virtclass-native () { |
79 | mkdir -p obj | 79 | mkdir -p obj |
80 | for i in genarch genconf mkromfs echogs gendev genht; do | 80 | for i in genarch genconf mkromfs echogs gendev genht; do |
81 | oe_runmake obj/$i | 81 | oe_runmake obj/aux/$i |
82 | done | 82 | done |
83 | } | 83 | } |
84 | 84 | ||
85 | do_install_virtclass-native () { | 85 | do_install_virtclass-native () { |
86 | install -d ${D}${bindir}/ghostscript-${PV} | 86 | install -d ${D}${bindir}/ghostscript-${PV} |
87 | for i in genarch genconf mkromfs echogs gendev genht; do | 87 | for i in genarch genconf mkromfs echogs gendev genht; do |
88 | install -m 755 obj/$i ${D}${bindir}/ghostscript-${PV}/$i | 88 | install -m 755 obj/aux/$i ${D}${bindir}/ghostscript-${PV}/$i |
89 | done | 89 | done |
90 | } | 90 | } |
91 | 91 | ||