Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_F3 / qpdf
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               qpdf
4 VERSION=                11.8.0
5 KEYWORDS=               print
6 VARIANTS=               standard
7 SDESC[standard]=        Command-line tools for transforming PDF files
8 HOMEPAGE=               none
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            SF/qpdf/qpdf/11.8.0
13 DISTFILE[1]=            qpdf-11.8.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         tools
18                         dev
19                         man
20                         docs
21                         examples
22
23 OPTIONS_AVAILABLE=      none
24 OPTIONS_STANDARD=       none
25
26 EXRUN[tools]=           qpdf:primary:standard
27
28 USES=                   cpe cmake jpeg zlib c++:primary
29
30 LICENSE=                ART20:primary APACHE20:primary
31 LICENSE_TERMS=          primary:{{WRKSRC}}/NOTICE.md
32 LICENSE_FILE=           ART20:{{WRKSRC}}/Artistic-2.0
33                         APACHE20:{{WRKSRC}}/LICENSE.txt
34 LICENSE_SCHEME=         dual
35
36 CPE_VENDOR=             qpdf_project
37 FPC_EQUIVALENT=         print/qpdf
38
39 SOVERSION=              29.8.0
40
41 post-install:
42         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
43         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libqpdf.so
44         # put examples in the correct spot
45         ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
46         ${MV} ${STAGEDIR}${STD_DOCDIR}/examples/* ${STAGEDIR}${STD_EXAMPLESDIR}/
47         ${RMDIR} ${STAGEDIR}${STD_DOCDIR}/examples
48
49 [FILE:933:descriptions/desc.primary]
50 QPDF is a program that can be used to linearize (web-optimize), encrypt
51 (password-protect), decrypt, and inspect PDF files from the command-line. 
52 It does these and other structural, content-preserving transformations on
53 PDF files, reading a PDF file as input and creating a new one as output. 
54 It also provides many useful capabilities to developers of PDF-producing
55 software or for people who just want to look at the innards of a PDF file
56 to learn more about how they work.
57
58 QPDF understands PDF files that use compressed object streams (supported
59 by newer PDF applications) and can convert such files into those that can
60 be read with older viewers.  It can also be used for checking PDF files
61 for structural errors, inspecting stream contents, or extracting objects
62 from PDF files.  QPDF is not PDF content creation or viewing software --
63 it does not have the capability to create PDF files from scratch or to
64 display PDF files.
65
66
67 [FILE:34:descriptions/desc.tools]
68 This package contains qpdf tools.
69
70
71 [FILE:97:distinfo]
72 d9321f5fbc50251803630a5604ddc5ed9a4d93bc023d9a7436a302e7c9741259     18150965 qpdf-11.8.0.tar.gz
73
74
75 [FILE:55:manifests/plist.primary]
76 lib/
77  libqpdf.so.%%SOMAJOR%%
78  libqpdf.so.%%SOVERSION%%
79
80
81 [FILE:32:manifests/plist.tools]
82 bin/
83  fix-qdf
84  qpdf
85  zlib-flate
86
87
88 [FILE:1477:manifests/plist.dev]
89 include/qpdf/
90  Buffer.hh
91  BufferInputSource.hh
92  ClosedFileInputSource.hh
93  Constants.h
94  DLL.h
95  FileInputSource.hh
96  InputSource.hh
97  JSON.hh
98  PDFVersion.hh
99  Pipeline.hh
100  Pl_Buffer.hh
101  Pl_Concatenate.hh
102  Pl_Count.hh
103  Pl_DCT.hh
104  Pl_Discard.hh
105  Pl_Flate.hh
106  Pl_Function.hh
107  Pl_OStream.hh
108  Pl_QPDFTokenizer.hh
109  Pl_RunLength.hh
110  Pl_StdioFile.hh
111  Pl_String.hh
112  PointerHolder.hh
113  QIntC.hh
114  QPDF.hh
115  QPDFAcroFormDocumentHelper.hh
116  QPDFAnnotationObjectHelper.hh
117  QPDFCryptoImpl.hh
118  QPDFCryptoProvider.hh
119  QPDFDocumentHelper.hh
120  QPDFEFStreamObjectHelper.hh
121  QPDFEmbeddedFileDocumentHelper.hh
122  QPDFExc.hh
123  QPDFFileSpecObjectHelper.hh
124  QPDFFormFieldObjectHelper.hh
125  QPDFJob.hh
126  QPDFLogger.hh
127  QPDFMatrix.hh
128  QPDFNameTreeObjectHelper.hh
129  QPDFNumberTreeObjectHelper.hh
130  QPDFObjGen.hh
131  QPDFObject.hh
132  QPDFObjectHandle.hh
133  QPDFObjectHelper.hh
134  QPDFOutlineDocumentHelper.hh
135  QPDFOutlineObjectHelper.hh
136  QPDFPageDocumentHelper.hh
137  QPDFPageLabelDocumentHelper.hh
138  QPDFPageObjectHelper.hh
139  QPDFStreamFilter.hh
140  QPDFSystemError.hh
141  QPDFTokenizer.hh
142  QPDFUsage.hh
143  QPDFWriter.hh
144  QPDFXRefEntry.hh
145  QTC.hh
146  QUtil.hh
147  RandomDataProvider.hh
148  Types.h
149  auto_job_c_att.hh
150  auto_job_c_copy_att.hh
151  auto_job_c_enc.hh
152  auto_job_c_main.hh
153  auto_job_c_pages.hh
154  auto_job_c_set_page_labels.hh
155  auto_job_c_uo.hh
156  qpdf-c.h
157  qpdfjob-c.h
158  qpdflogger-c.h
159 lib/
160  libqpdf.a
161  libqpdf.so
162 lib/cmake/qpdf/
163  libqpdfTargets-release.cmake
164  libqpdfTargets.cmake
165  qpdfConfig.cmake
166  qpdfConfigVersion.cmake
167 lib/pkgconfig/libqpdf.pc
168
169
170 [FILE:58:manifests/plist.man]
171 share/man/man1/
172  fix-qdf.1.gz
173  qpdf.1.gz
174  zlib-flate.1.gz
175
176
177 [FILE:30:manifests/plist.docs]
178 share/doc/qpdf/README-doc.txt
179
180
181 [FILE:533:manifests/plist.examples]
182 share/examples/qpdf/
183  extend-c-api-impl.cc
184  extend-c-api.c
185  extend-c-api.h
186  pdf-attach-file.cc
187  pdf-bookmarks.cc
188  pdf-c-objects.c
189  pdf-count-strings.cc
190  pdf-create.cc
191  pdf-custom-filter.cc
192  pdf-double-page-size.cc
193  pdf-filter-tokens.cc
194  pdf-invert-images.cc
195  pdf-linearize.c
196  pdf-mod-info.cc
197  pdf-name-number-tree.cc
198  pdf-npages.cc
199  pdf-overlay-page.cc
200  pdf-parse-content.cc
201  pdf-set-form-values.cc
202  pdf-split-pages.cc
203  qpdf-job.cc
204  qpdfjob-c-save-attachment.c
205  qpdfjob-c.c
206  qpdfjob-remove-annotations.cc
207  qpdfjob-save-attachment.cc
208
209
210 [FILE:520:patches/patch-libqpdf_QUtil.cc]
211 --- libqpdf/QUtil.cc.orig       2024-01-08 15:56:41 UTC
212 +++ libqpdf/QUtil.cc
213 @@ -893,6 +893,9 @@ QUtil::get_current_qpdf_time()
214  # if HAVE_TM_GMTOFF
215      // tm_gmtoff is seconds after UTC
216      int tzoff = -static_cast<int>(ltime.tm_gmtoff / 60);
217 +# elif defined(__FreeBSD__)
218 +    // On FreeBSD, timezone is a character and the next line breaks
219 +    int tzoff = 0;
220  # elif HAVE_EXTERN_LONG_TIMEZONE
221      // timezone is seconds before UTC, not adjusted for daylight saving time
222      int tzoff = static_cast<int>(timezone / 60);
223