~ubuntu-branches/debian/experimental/cups-filters/experimental

« back to all changes in this revision

Viewing changes to pdftopdf/Makefile

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-07-22 18:57:32 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20120722185732-26kkte5p1lth3rt5
Tags: 1.0.20-0bzr1
* New upstream release
   - pdftops: Added another workaround for Kyocera printers: Some
     models get very slow on images which request interpolation,
     so now we remove the image interpolation requests by additional
     PostScript code only inserted for Kyocera printers (LP: #1026974).
   - Made the Poppler-based filters pdftopdf and pdftoopvp build with
     both Poppler 0.18.x and 0.20.x (Upstream bug #1055).
   - Fixes according to Coverity scan results (Upstream bug #1054).
   - Switched build system to autotools. This especially fixes several
     build problems in Gentoo. Also build-tested with CUPS 1.6.0b1.
   - Fixes for compatibility with clang/gcc-4.7.
   - textonly: Filter did not work as a pipe with copies=1 (Upstream bug
     #1032).
   - texttopdf: Avoid trimming the results of FcFontSort(), as this may
     miss some reasonable candidates under certain circumstances. BTW,
     fix passing a non-pointer as a pointer to "result" (Closes: #670055).
   - Corrected documentation. The option for the maximum image rendering
     resolution in pdftops is "pdftops-max-image-resolution", not
     "pdftops-max-image-resolution-default".
* debian/patches/fcfontsort-no-trim.patch: Removed, fixed upstream.
* debian/rules: Updated options for ./configure and make for the new autotools
  build system.
* debian/watch: Switched to bz2 upstream packages.
* debian/rules, debian/copyright, debian/cups-filters.docs: Updated for
  renamed documentation files.
* debian/control, debian/libfontembed1.install,
  debian/libfontembed-dev.install: Added new binary packages for libfontembed.
* debian/copyright: Updated for recent file additions, and rearrangement of
  directories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# "$Id: Makefile 6649 2007-07-11 21:46:42Z till $"
3
 
#
4
 
#   pdftopdf filter Makefile for the Common UNIX Printing System (CUPS).
5
 
#
6
 
 
7
 
include ../Makedefs
8
 
 
9
 
#
10
 
# Object files...
11
 
#
12
 
 
13
 
LIBOBJS =       \
14
 
                P2PCatalog.o \
15
 
                P2PDoc.o \
16
 
                P2PGfx.o \
17
 
                P2PObject.o \
18
 
                P2POutput.o \
19
 
                P2POutputStream.o \
20
 
                P2PPage.o \
21
 
                P2PPageTree.o \
22
 
                P2PResources.o \
23
 
                P2PXRef.o \
24
 
                P2PFont.o \
25
 
                PDFFTrueTypeFont.o \
26
 
                P2PPattern.o \
27
 
                P2PCharCodeToUnicode.o \
28
 
                P2PCMap.o \
29
 
                P2PForm.o \
30
 
                parseargs.o \
31
 
                UGooString.o
32
 
 
33
 
OBJS    =       pdftopdf.o $(LIBOBJS)
34
 
 
35
 
TARGETS =       pdftopdf
36
 
 
37
 
 
38
 
#
39
 
# Make everything...
40
 
#
41
 
 
42
 
all:    $(TARGETS)
43
 
 
44
 
 
45
 
#
46
 
# Blank targets to satisfy the main Makefile of CUPS ...
47
 
#
48
 
 
49
 
libs:
50
 
apihelp:
51
 
framedhelp:
52
 
 
53
 
 
54
 
#
55
 
# Clean all object files...
56
 
#
57
 
 
58
 
clean:
59
 
        $(RM) $(OBJS)
60
 
        $(RM) pdftopdf
61
 
 
62
 
 
63
 
#
64
 
# Update dependencies (without system header dependencies...)
65
 
#
66
 
 
67
 
depend:
68
 
        makedepend -Y -I.. -fDependencies $(OBJS:.o=.cxx) >/dev/null 2>&1
69
 
 
70
 
 
71
 
#
72
 
# Install the filter...
73
 
#
74
 
 
75
 
install:        install-data install-headers install-libs install-exec
76
 
 
77
 
install-data:
78
 
 
79
 
install-exec:   all
80
 
        echo Installing filters in $(SERVERBIN)/filter...
81
 
        $(INSTALL_DIR) -m 755 $(SERVERBIN)/filter
82
 
        $(INSTALL_BIN) pdftopdf $(SERVERBIN)/filter
83
 
 
84
 
install-headers:
85
 
 
86
 
install-libs:
87
 
 
88
 
#
89
 
# Uninstall the filter...
90
 
#
91
 
 
92
 
uninstall:
93
 
        $(RM) $(SERVERBIN)/filter/pdftopdf
94
 
        -$(RMDIR) $(SERVERBIN)/filter
95
 
        -$(RMDIR) $(SERVERBIN)
96
 
 
97
 
 
98
 
#
99
 
# pdftopdf
100
 
#
101
 
 
102
 
pdftopdf:       pdftopdf.o $(LIBOBJS)
103
 
        echo Linking $@...
104
 
        $(CXX) $(LDFLAGS) -o $@ pdftopdf.o $(LIBOBJS) $(POPPLER_LIBS) $(CXXLIBS) -lm -lz
105
 
 
106
 
 
107
 
#
108
 
# Dependencies...
109
 
#
110
 
 
111
 
include Dependencies
112
 
 
113
 
#
114
 
# Dependencies...
115
 
#
116
 
 
117
 
include Dependencies
118
 
 
119
 
#
120
 
# Make unit tests...
121
 
#
122
 
 
123
 
unittests:
124
 
 
125
 
#
126
 
# End of "$Id: Makefile 6649 2007-07-11 21:46:42Z till $".
127
 
#