summaryrefslogtreecommitdiff
path: root/print/poppler/patches/patch-ab
blob: 7cd37a722fc31f665c977d30efb2bb0b579a2268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
$NetBSD: patch-ab,v 1.20 2016/05/22 18:17:17 wiz Exp $

Use installed poppler library so we can have a separate poppler-utils
package.

Always build pdftoppm.

--- utils/Makefile.in.orig	2016-05-21 16:59:39.000000000 +0000
+++ utils/Makefile.in
@@ -96,10 +96,10 @@ host_triplet = @host@
 @BUILD_UTILS_TRUE@	pdfunite$(EXEEXT) $(am__EXEEXT_1) \
 @BUILD_UTILS_TRUE@	$(am__EXEEXT_2) $(am__EXEEXT_3)
 @BUILD_NSS_TRUE@@BUILD_UTILS_TRUE@am__append_1 = pdfsig
-@BUILD_SPLASH_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__append_2 = pdftoppm
+am__append_2 = pdftoppm
 @BUILD_CAIRO_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__append_3 = pdftocairo
 @BUILD_NSS_TRUE@@BUILD_UTILS_TRUE@am__append_4 = pdfsig.1
-@BUILD_SPLASH_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__append_5 = pdftoppm.1
+am__append_5 = pdftoppm.1
 @BUILD_CAIRO_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__append_6 = pdftocairo.1
 @BUILD_CAIRO_OUTPUT_TRUE@@USE_CMS_TRUE@am__append_7 = $(LCMS_CFLAGS)
 @BUILD_CAIRO_OUTPUT_TRUE@@USE_CMS_TRUE@am__append_8 = $(LCMS_LIBS)
@@ -129,8 +129,8 @@ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
 am__v_lt_1 = 
 @BUILD_NSS_TRUE@@BUILD_UTILS_TRUE@am__EXEEXT_1 = pdfsig$(EXEEXT)
-@BUILD_SPLASH_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__EXEEXT_2 =  \
-@BUILD_SPLASH_OUTPUT_TRUE@@BUILD_UTILS_TRUE@	pdftoppm$(EXEEXT)
+am__EXEEXT_2 =  \
+	pdftoppm$(EXEEXT)
 @BUILD_CAIRO_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__EXEEXT_3 = pdftocairo$(EXEEXT)
 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
 PROGRAMS = $(bin_PROGRAMS)
@@ -138,44 +138,44 @@ am_pdfdetach_OBJECTS = pdfdetach.$(OBJEX
 pdfdetach_OBJECTS = $(am_pdfdetach_OBJECTS)
 pdfdetach_LDADD = $(LDADD)
 pdfdetach_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdffonts_OBJECTS = pdffonts.$(OBJEXT)
 pdffonts_OBJECTS = $(am_pdffonts_OBJECTS)
 pdffonts_LDADD = $(LDADD)
 pdffonts_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdfimages_OBJECTS = pdfimages.$(OBJEXT) ImageOutputDev.$(OBJEXT) \
 	JSInfo.$(OBJEXT)
 pdfimages_OBJECTS = $(am_pdfimages_OBJECTS)
 pdfimages_LDADD = $(LDADD)
 pdfimages_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdfinfo_OBJECTS = pdfinfo.$(OBJEXT) printencodings.$(OBJEXT) \
 	JSInfo.$(OBJEXT)
 pdfinfo_OBJECTS = $(am_pdfinfo_OBJECTS)
 pdfinfo_LDADD = $(LDADD)
 pdfinfo_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdfseparate_OBJECTS = pdfseparate.$(OBJEXT)
 pdfseparate_OBJECTS = $(am_pdfseparate_OBJECTS)
 pdfseparate_LDADD = $(LDADD)
 pdfseparate_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdfsig_OBJECTS = pdfsig.$(OBJEXT)
 pdfsig_OBJECTS = $(am_pdfsig_OBJECTS)
 pdfsig_LDADD = $(LDADD)
 pdfsig_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdftocairo_OBJECTS = pdftocairo-pdftocairo.$(OBJEXT) \
 	pdftocairo-pdftocairo-win32.$(OBJEXT)
 pdftocairo_OBJECTS = $(am_pdftocairo_OBJECTS)
 am__DEPENDENCIES_1 = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am__DEPENDENCIES_2 =
 @BUILD_CAIRO_OUTPUT_TRUE@@USE_CMS_TRUE@am__DEPENDENCIES_3 =  \
 @BUILD_CAIRO_OUTPUT_TRUE@@USE_CMS_TRUE@	$(am__DEPENDENCIES_2)
 am__DEPENDENCIES_4 = $(am__DEPENDENCIES_3)
-pdftocairo_DEPENDENCIES = $(top_builddir)/poppler/libpoppler-cairo.la \
+pdftocairo_DEPENDENCIES = $(prefix)/lib/libpoppler-cairo.la \
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_4) \
 	$(am__DEPENDENCIES_2)
 am_pdftohtml_OBJECTS = pdftohtml-pdftohtml.$(OBJEXT) \
@@ -184,7 +184,7 @@ am_pdftohtml_OBJECTS = pdftohtml-pdftoht
 pdftohtml_OBJECTS = $(am_pdftohtml_OBJECTS)
 pdftohtml_LDADD = $(LDADD)
 pdftohtml_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 pdftohtml_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
 	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(pdftohtml_CXXFLAGS) \
 	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
@@ -192,22 +192,22 @@ am_pdftoppm_OBJECTS = pdftoppm.$(OBJEXT)
 pdftoppm_OBJECTS = $(am_pdftoppm_OBJECTS)
 pdftoppm_LDADD = $(LDADD)
 pdftoppm_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdftops_OBJECTS = pdftops.$(OBJEXT)
 pdftops_OBJECTS = $(am_pdftops_OBJECTS)
 pdftops_LDADD = $(LDADD)
 pdftops_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdftotext_OBJECTS = pdftotext.$(OBJEXT) printencodings.$(OBJEXT)
 pdftotext_OBJECTS = $(am_pdftotext_OBJECTS)
 pdftotext_LDADD = $(LDADD)
 pdftotext_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 am_pdfunite_OBJECTS = pdfunite.$(OBJEXT)
 pdfunite_OBJECTS = $(am_pdfunite_OBJECTS)
 pdfunite_LDADD = $(LDADD)
 pdfunite_DEPENDENCIES = libparseargs.la \
-	$(top_builddir)/poppler/libpoppler.la
+	$(prefix)/lib/libpoppler.la
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -550,8 +550,9 @@ AM_CPPFLAGS = \
 
 LDADD = \
 	libparseargs.la				\
-	$(top_builddir)/poppler/libpoppler.la	\
-	$(UTILS_LIBS)
+	$(prefix)/lib/libpoppler.la	\
+	$(UTILS_LIBS)			\
+	$(PTHREAD_STUBLIB)
 
 @BUILD_UTILS_TRUE@dist_man1_MANS = pdfdetach.1 pdffonts.1 pdfimages.1 \
 @BUILD_UTILS_TRUE@	pdfinfo.1 pdftops.1 pdftotext.1 pdftohtml.1 \
@@ -616,7 +617,7 @@ pdftocairo_SOURCES = \
 	pdftocairo-win32.h
 
 pdftocairo_LDADD = \
-	$(top_builddir)/poppler/libpoppler-cairo.la	\
+	$(prefix)/lib/libpoppler-cairo.la	\
 	$(LDADD)					\
 	$(PDFTOCAIRO_LIBS)				\
 	$(PTHREAD_LIBS)