~ubuntu-branches/ubuntu/quantal/ghostscript/quantal-proposed

« back to all changes in this revision

Viewing changes to .pc/1002_cms_typos.patch/base/lcms2.mak

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-06-08 11:06:51 UTC
  • mfrom: (14.1.36 sid)
  • Revision ID: package-import@ubuntu.com-20120608110651-hetjpmtjru0xtxj2
Tags: 9.05~dfsg-6ubuntu1
* Merge with Debian; remaining changes:
  - debian/patches/020120329-be64563-pdfwrite-when-a-charstring-is-not-found-for-a-glyph-use-the-notdef-width-instead-of-0.patch:
    The "pdfwrite" output device uses zero and not the width of /.notdef when
    using /.notdef for a glyph not found in an embedded font. This leads to
    wrong spacing in a PostScript file missing a space glyph.
  - debian/ghostscript-cups.postinst: Removed the post-install script which
    was only there to update the PPDs of existing print queues.
  - debian/rules, debian/ghostscript-cups.ppd-updater: Added data file to
    trigger the update of the PPD files of existing print queues by CUPS and
    to tell CUPS which PPD files to use for the update and how to match them
    with the PPDs of the existing queues.
  - debian/ghostscript-doc.install, debian/ghostscript-doc.doc-base: Install
    the Ghostscript documentation into /usr/share/doc/ghostscript-doc instead
    of /usr/share/doc/ghostscript.
  - debian/control, debian/rules, debian/libgs__VER__.install.in,
    debian/libgs-dev.install: Stop using d-shlibmove, it is not compatible
    with liblcms2.
  - debian/libgs__VER__-common.postinst.in,
    debian/libgs__VER__-common.prerm.in: Create a symlink
    /usr/share/ghostscript/current to the /usr/share/ghostscript/<version>
    directory of the newest installed libgs<version>-common package, to have
    version-independent access to the Ghostscript files.
  - debian/rules: Generate ABI version number (variable "abi") correctly,
    cutting off repackaging and pre-release parts.
  - debian/rules: update tarball MD5 value to what we already have uploaded
    in Ubuntu.
  - debian/rules, debian/control: Removed build dependency on liblcms1-dev,
    icc34.h is shipped with Ghostscript now.
  - debian/rules: Install ghostscript-cups.ppd-updater and remove the
    dependency on cups-client from ghostscript-cups.
  - debian/rules: clean up after leftover gstoraster/gstopxl instead of the
    pstoraster/pstopxl old names.
  - debian/rules, debian/ubuntu/apport-hook.py: Apport hook.
  - debian/symbols.common: added DoubleGlyphList@Base.
* debian/rules: remove the ./Resource/CMap/Identity-UTF16-H files from the
  DEB_UPSTREAM_REPACKAGE_EXCLUDES list. Due to an error in the previous
  upload it found its way in the source tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  Copyright (C) 2009 Artifex Software, Inc.
 
2
#  All Rights Reserved.
 
3
#
 
4
#  This software is provided AS-IS with no warranty, either express or
 
5
#  implied.
 
6
#
 
7
#  This software is distributed under license and may not be copied, modified
 
8
#  or distributed except as expressly authorized under the terms of that
 
9
#  license.  Refer to licensing information at http://www.artifex.com/
 
10
#  or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
 
11
#  San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
 
12
#
 
13
# $Id$
 
14
 
 
15
# makefile for the lcms library code.
 
16
# Users of this makefile must define the following:
 
17
#       SHARE_LCMS2 - whether to compile in or link to the library
 
18
#       LCMS2SRCDIR - the library source directory
 
19
#
 
20
# gs.mak and friends define the following:
 
21
#       LCMS2OBJDIR - the output obj directory
 
22
#       LCMS2GENDIR - generated (.dev) file directory
 
23
#       LCMS2I_ LCMS2_CFLAGS - include and cflags for compiling the lib
 
24
 
 
25
# We define the lcms2.dev target and its dependencies
 
26
#
 
27
# This partial makefile compiles the lcms library for use in
 
28
# Ghostscript.
 
29
 
 
30
# Define the name of this makefile.
 
31
LCMS2_MAK=$(GLSRC)lcms2.mak
 
32
 
 
33
LCMS2SRC=$(LCMS2SRCDIR)$(D)src$(D)
 
34
LCMS2GEN=$(LCMS2GENDIR)$(D)
 
35
LCMS2OBJ=$(LCMS2OBJDIR)$(D)
 
36
 
 
37
# This makefile was is targetted at lcms-2.1 (stolen from the one
 
38
# for lcms1.18 and tweaked).
 
39
# Other versions may require adjustments to the OBJS list below
 
40
 
 
41
lcms2_OBJS=\
 
42
        $(LCMS2OBJ)cmscam02.$(OBJ) \
 
43
        $(LCMS2OBJ)cmscgats.$(OBJ) \
 
44
        $(LCMS2OBJ)cmscnvrt.$(OBJ) \
 
45
        $(LCMS2OBJ)cmserr.$(OBJ) \
 
46
        $(LCMS2OBJ)cmsgamma.$(OBJ) \
 
47
        $(LCMS2OBJ)cmsgmt.$(OBJ) \
 
48
        $(LCMS2OBJ)cmsintrp.$(OBJ) \
 
49
        $(LCMS2OBJ)cmsio0.$(OBJ) \
 
50
        $(LCMS2OBJ)cmsio1.$(OBJ) \
 
51
        $(LCMS2OBJ)cmslut.$(OBJ) \
 
52
        $(LCMS2OBJ)cmsmd5.$(OBJ) \
 
53
        $(LCMS2OBJ)cmsmtrx.$(OBJ) \
 
54
        $(LCMS2OBJ)cmsnamed.$(OBJ) \
 
55
        $(LCMS2OBJ)cmsopt.$(OBJ) \
 
56
        $(LCMS2OBJ)cmspack.$(OBJ) \
 
57
        $(LCMS2OBJ)cmspcs.$(OBJ) \
 
58
        $(LCMS2OBJ)cmsplugin.$(OBJ) \
 
59
        $(LCMS2OBJ)cmsps2.$(OBJ) \
 
60
        $(LCMS2OBJ)cmssamp.$(OBJ) \
 
61
        $(LCMS2OBJ)cmstypes.$(OBJ) \
 
62
        $(LCMS2OBJ)cmsvirt.$(OBJ) \
 
63
        $(LCMS2OBJ)cmswtpnt.$(OBJ) \
 
64
        $(LCMS2OBJ)cmsxform.$(OBJ)
 
65
 
 
66
lcms2_HDRS=\
 
67
        $(LCMS2SRCDIR)$(D)include$(D)lcms2.h \
 
68
        $(GLSRC)icc34.h
 
69
 
 
70
lcms2.clean : lcms2.config-clean lcms2.clean-not-config-clean
 
71
 
 
72
lcms2.clean-not-config-clean :
 
73
        $(EXP)$(ECHOGS_XE) $(LCMS2SRCDIR) $(LCMS2OBJDIR)
 
74
        $(RM_) $(lcms2_OBJS)
 
75
 
 
76
lcms2.config-clean :
 
77
        $(RMN_) $(LCMS2GEN)$(D)lcms2*.dev
 
78
 
 
79
# NB: we can't use the normal $(CC_) here because msvccmd.mak
 
80
# adds /Za which conflicts with the lcms source.
 
81
LCMS2_CC=$(CC) $(CFLAGS) $(LCMS2_CFLAGS) $(I_)$(LCMS2SRCDIR)$(D)include $(LCMS2CF_)
 
82
LCMS2O_=$(O_)$(LCMS2OBJ)
 
83
 
 
84
# switch in the version of lcms2.dev we're actually using
 
85
$(LCMS2GEN)lcms2.dev : $(TOP_MAKEFILES) $(LCMS2GEN)lcms2_$(SHARE_LCMS).dev
 
86
        $(CP_) $(LCMS2GEN)lcms2_$(SHARE_LCMS).dev $(LCMS2GEN)lcms2.dev
 
87
 
 
88
# dev file for shared (separately built) lcms library
 
89
$(LCMS2GEN)lcms2_1.dev : $(TOP_MAKEFILES) $(LCMS2_MAK) $(ECHOGS_XE)
 
90
        $(SETMOD) $(LCMS2GEN)lcms2_1 -lib lcms2
 
91
 
 
92
# dev file for compiling our own from source
 
93
$(LCMS2GEN)lcms2_0.dev : $(TOP_MAKEFILES) $(LCMS2_MAK) $(ECHOGS_XE) $(lcms2_OBJS)
 
94
        $(SETMOD) $(LCMS2GEN)lcms2_0 $(lcms2_OBJS)
 
95
 
 
96
# explicit rules for building the source files.
 
97
 
 
98
$(LCMS2OBJ)cmscam02.$(OBJ) : $(LCMS2SRC)cmscam02.c $(lcms2_HDRS)
 
99
        $(LCMS2_CC) $(LCMS2O_)cmscam02.$(OBJ) $(C_) $(LCMS2SRC)cmscam02.c
 
100
 
 
101
$(LCMS2OBJ)cmscgats.$(OBJ) : $(LCMS2SRC)cmscgats.c $(lcms2_HDRS)
 
102
        $(LCMS2_CC) $(LCMS2O_)cmscgats.$(OBJ) $(C_) $(LCMS2SRC)cmscgats.c
 
103
 
 
104
$(LCMS2OBJ)cmscnvrt.$(OBJ) : $(LCMS2SRC)cmscnvrt.c $(lcms2_HDRS)
 
105
        $(LCMS2_CC) $(LCMS2O_)cmscnvrt.$(OBJ) $(C_) $(LCMS2SRC)cmscnvrt.c
 
106
 
 
107
$(LCMS2OBJ)cmserr.$(OBJ) : $(LCMS2SRC)cmserr.c $(lcms2_HDRS)
 
108
        $(LCMS2_CC) $(LCMS2O_)cmserr.$(OBJ) $(C_) $(LCMS2SRC)cmserr.c
 
109
 
 
110
$(LCMS2OBJ)cmsgamma.$(OBJ) : $(LCMS2SRC)cmsgamma.c $(lcms2_HDRS)
 
111
        $(LCMS2_CC) $(LCMS2O_)cmsgamma.$(OBJ) $(C_) $(LCMS2SRC)cmsgamma.c
 
112
 
 
113
$(LCMS2OBJ)cmsgmt.$(OBJ) : $(LCMS2SRC)cmsgmt.c $(lcms2_HDRS)
 
114
        $(LCMS2_CC) $(LCMS2O_)cmsgmt.$(OBJ) $(C_) $(LCMS2SRC)cmsgmt.c
 
115
 
 
116
$(LCMS2OBJ)cmsintrp.$(OBJ) : $(LCMS2SRC)cmsintrp.c $(lcms2_HDRS)
 
117
        $(LCMS2_CC) $(LCMS2O_)cmsintrp.$(OBJ) $(C_) $(LCMS2SRC)cmsintrp.c
 
118
 
 
119
$(LCMS2OBJ)cmsio0.$(OBJ) : $(LCMS2SRC)cmsio0.c $(lcms2_HDRS)
 
120
        $(LCMS2_CC) $(LCMS2O_)cmsio0.$(OBJ) $(C_) $(LCMS2SRC)cmsio0.c
 
121
 
 
122
$(LCMS2OBJ)cmsio1.$(OBJ) : $(LCMS2SRC)cmsio1.c $(lcms2_HDRS)
 
123
        $(LCMS2_CC) $(LCMS2O_)cmsio1.$(OBJ) $(C_) $(LCMS2SRC)cmsio1.c
 
124
 
 
125
$(LCMS2OBJ)cmslut.$(OBJ) : $(LCMS2SRC)cmslut.c $(lcms2_HDRS)
 
126
        $(LCMS2_CC) $(LCMS2O_)cmslut.$(OBJ) $(C_) $(LCMS2SRC)cmslut.c
 
127
 
 
128
$(LCMS2OBJ)cmsmd5.$(OBJ) : $(LCMS2SRC)cmsmd5.c $(lcms2_HDRS)
 
129
        $(LCMS2_CC) $(LCMS2O_)cmsmd5.$(OBJ) $(C_) $(LCMS2SRC)cmsmd5.c
 
130
 
 
131
$(LCMS2OBJ)cmsmtrx.$(OBJ) : $(LCMS2SRC)cmsmtrx.c $(lcms2_HDRS)
 
132
        $(LCMS2_CC) $(LCMS2O_)cmsmtrx.$(OBJ) $(C_) $(LCMS2SRC)cmsmtrx.c
 
133
 
 
134
$(LCMS2OBJ)cmsnamed.$(OBJ) : $(LCMS2SRC)cmsnamed.c $(lcms2_HDRS)
 
135
        $(LCMS2_CC) $(LCMS2O_)cmsnamed.$(OBJ) $(C_) $(LCMS2SRC)cmsnamed.c
 
136
 
 
137
$(LCMS2OBJ)cmsopt.$(OBJ) : $(LCMS2SRC)cmsopt.c $(lcms2_HDRS)
 
138
        $(LCMS2_CC) $(LCMS2O_)cmsopt.$(OBJ) $(C_) $(LCMS2SRC)cmsopt.c
 
139
 
 
140
$(LCMS2OBJ)cmspack.$(OBJ) : $(LCMS2SRC)cmspack.c $(lcms2_HDRS)
 
141
        $(LCMS2_CC) $(LCMS2O_)cmspack.$(OBJ) $(C_) $(LCMS2SRC)cmspack.c
 
142
 
 
143
$(LCMS2OBJ)cmspcs.$(OBJ) : $(LCMS2SRC)cmspcs.c $(lcms2_HDRS)
 
144
        $(LCMS2_CC) $(LCMS2O_)cmspcs.$(OBJ) $(C_) $(LCMS2SRC)cmspcs.c
 
145
 
 
146
$(LCMS2OBJ)cmsplugin.$(OBJ) : $(LCMS2SRC)cmsplugin.c $(lcms2_HDRS)
 
147
        $(LCMS2_CC) $(LCMS2O_)cmsplugin.$(OBJ) $(C_) $(LCMS2SRC)cmsplugin.c
 
148
 
 
149
$(LCMS2OBJ)cmsps2.$(OBJ) : $(LCMS2SRC)cmsps2.c $(lcms2_HDRS)
 
150
        $(LCMS2_CC) $(LCMS2O_)cmsps2.$(OBJ) $(C_) $(LCMS2SRC)cmsps2.c
 
151
 
 
152
$(LCMS2OBJ)cmssamp.$(OBJ) : $(LCMS2SRC)cmssamp.c $(lcms2_HDRS)
 
153
        $(LCMS2_CC) $(LCMS2O_)cmssamp.$(OBJ) $(C_) $(LCMS2SRC)cmssamp.c
 
154
 
 
155
$(LCMS2OBJ)cmstypes.$(OBJ) : $(LCMS2SRC)cmstypes.c $(lcms2_HDRS)
 
156
        $(LCMS2_CC) $(LCMS2O_)cmstypes.$(OBJ) $(C_) $(LCMS2SRC)cmstypes.c
 
157
 
 
158
$(LCMS2OBJ)cmswtpnt.$(OBJ) : $(LCMS2SRC)cmswtpnt.c $(lcms2_HDRS)
 
159
        $(LCMS2_CC) $(LCMS2O_)cmswtpnt.$(OBJ) $(C_) $(LCMS2SRC)cmswtpnt.c
 
160
 
 
161
$(LCMS2OBJ)cmsvirt.$(OBJ) : $(LCMS2SRC)cmsvirt.c $(lcms2_HDRS)
 
162
        $(LCMS2_CC) $(LCMS2O_)cmsvirt.$(OBJ) $(C_) $(LCMS2SRC)cmsvirt.c
 
163
 
 
164
$(LCMS2OBJ)cmsxform.$(OBJ) : $(LCMS2SRC)cmsxform.c $(LCMS2SRC)cmsxform.h $(lcms2_HDRS)
 
165
        $(LCMS2_CC) $(LCMS2O_)cmsxform.$(OBJ) $(C_) $(LCMS2SRC)cmsxform.c