diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-05-03 16:50:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-05 12:26:42 +0100 |
commit | ca63a0158ae42010477080ad6bb776329f1230b0 (patch) | |
tree | 4b40e0aafe671df5e9ff21104ffce9a0e9f828a3 /meta/recipes-extended/ghostscript/ghostscript | |
parent | 2ebb1fbb14b465924a6fa710fd2d73e5fca18a68 (diff) | |
download | poky-ca63a0158ae42010477080ad6bb776329f1230b0.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch | 95 |
1 files changed, 95 insertions, 0 deletions
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 new file mode 100644 index 0000000000..def8596a32 --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-prevent_recompiling.patch | |||
@@ -0,0 +1,95 @@ | |||
1 | Just use commands provided by ghostscript-native, preventing recompile them when | ||
2 | compile ghostscript. | ||
3 | Way to enable cross compile. | ||
4 | |||
5 | Upstream-status: Pending | ||
6 | |||
7 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
8 | |||
9 | --- a/base/unix-aux.mak.orig 2011-05-03 15:35:55.196887997 +0800 | ||
10 | +++ b/base/unix-aux.mak 2011-05-03 15:37:57.766888003 +0800 | ||
11 | @@ -57,45 +57,45 @@ $(GLOBJ)gp_sysv.$(OBJ): $(GLSRC)gp_sysv. | ||
12 | |||
13 | # -------------------------- Auxiliary programs --------------------------- # | ||
14 | |||
15 | -$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h) | ||
16 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c | ||
17 | - | ||
18 | -# On the RS/6000 (at least), compiling genarch.c with gcc with -O | ||
19 | -# produces a buggy executable. | ||
20 | -$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS) | ||
21 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c | ||
22 | - | ||
23 | -$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS) | ||
24 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c | ||
25 | - | ||
26 | -$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS) | ||
27 | - $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c | ||
28 | - | ||
29 | -$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS) | ||
30 | - $(CCAUX) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c | ||
31 | - | ||
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. | ||
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) \ | ||
36 | - $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \ | ||
37 | - $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \ | ||
38 | - $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | ||
39 | - | ||
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) | ||
42 | - | ||
43 | -# .... and one using the zlib library linked via the command line | ||
44 | -MKROMFS_OBJS_1=$(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ | ||
45 | - $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \ | ||
46 | - $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \ | ||
47 | - $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | ||
48 | - | ||
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) | ||
51 | - | ||
52 | -$(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) | ||
53 | - $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) | ||
54 | +#$(ECHOGS_XE): $(GLSRC)echogs.c $(AK) $(stdpre_h) | ||
55 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(ECHOGS_XE) $(GLSRC)echogs.c | ||
56 | +# | ||
57 | +## On the RS/6000 (at least), compiling genarch.c with gcc with -O | ||
58 | +## produces a buggy executable. | ||
59 | +#$(GENARCH_XE): $(GLSRC)genarch.c $(AK) $(GENARCH_DEPS) | ||
60 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENARCH_XE) $(GLSRC)genarch.c | ||
61 | +# | ||
62 | +#$(GENCONF_XE): $(GLSRC)genconf.c $(AK) $(GENCONF_DEPS) | ||
63 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENCONF_XE) $(GLSRC)genconf.c | ||
64 | +# | ||
65 | +#$(GENDEV_XE): $(GLSRC)gendev.c $(AK) $(GENDEV_DEPS) | ||
66 | +# $(CCAUX) $(I_)$(GLSRCDIR)$(_I) $(O_)$(GENDEV_XE) $(GLSRC)gendev.c | ||
67 | +# | ||
68 | +#$(GENHT_XE): $(GLSRC)genht.c $(AK) $(GENHT_DEPS) | ||
69 | +# $(CCAUX) $(GENHT_CFLAGS) $(O_)$(GENHT_XE) $(GLSRC)genht.c | ||
70 | +# | ||
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. | ||
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) \ | ||
75 | +# $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \ | ||
76 | +# $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \ | ||
77 | +# $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | ||
78 | +# | ||
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) | ||
81 | +# | ||
82 | +## .... and one using the zlib library linked via the command line | ||
83 | +#MKROMFS_OBJS_1=$(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ | ||
84 | +# $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) $(GLOBJ)gp_getnv.$(OBJ) \ | ||
85 | +# $(GLOBJ)gp_unix.$(OBJ) $(GLOBJ)gp_unifs.$(OBJ) $(GLOBJ)gp_unifn.$(OBJ) \ | ||
86 | +# $(GLOBJ)gp_stdia.$(OBJ) $(GLOBJ)gsutil.$(OBJ) | ||
87 | +# | ||
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) | ||
90 | +# | ||
91 | +#$(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) | ||
92 | +# $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) | ||
93 | |||
94 | # Query the environment to construct gconfig_.h. | ||
95 | # The "else true;" is required because Ultrix's implementation of sh -e | ||