Commit 6b15579ace057c24040184357a4419261e095600
1 parent
1dc235e5
Update release notes
Showing
1 changed file
with
82 additions
and
0 deletions
manual/qpdf-manual.xml
| ... | ... | @@ -251,6 +251,56 @@ make |
| 251 | 251 | top-level <filename>Makefile</filename>. |
| 252 | 252 | </para> |
| 253 | 253 | </sect1> |
| 254 | + <sect1 id="ref.packaging"> | |
| 255 | + <title>Notes for Packagers</title> | |
| 256 | + <para> | |
| 257 | + If you are packaging qpdf for an operating system distribution, | |
| 258 | + here are some things you may want to keep in mind: | |
| 259 | + <itemizedlist> | |
| 260 | + <listitem> | |
| 261 | + <para> | |
| 262 | + Passing <option>--enable-show-failed-test-output</option> to | |
| 263 | + <command>./configure</command> will cause any failed test | |
| 264 | + output to be written to the console. This can be very useful | |
| 265 | + for seeing test failures generated by autobuilders where you | |
| 266 | + can't access qtest.log after the fact. | |
| 267 | + </para> | |
| 268 | + </listitem> | |
| 269 | + <listitem> | |
| 270 | + <para> | |
| 271 | + If qpdf's build environment detects the presence of autoconf | |
| 272 | + and related tools, it will check to ensure that automatically | |
| 273 | + generated files are up-to-date with recorded checksums and fail | |
| 274 | + if it detects a discrepancy. This feature is intended to | |
| 275 | + prevent you from accidentally forgetting to regenerate | |
| 276 | + automatic files after modifying their sources. If your | |
| 277 | + packaging environment automatically refreshes automatic files, | |
| 278 | + it can cause this check to fail. Supress qpdf's checks by | |
| 279 | + passing <option>--disable-check-autofiles</option> to | |
| 280 | + <command>/.configure</command>. This is safe since qpdf's | |
| 281 | + <command>autogen.sh</command> just runs autotools in the normal | |
| 282 | + way. | |
| 283 | + </para> | |
| 284 | + </listitem> | |
| 285 | + <listitem> | |
| 286 | + <para> | |
| 287 | + QPDF's <command>make install</command> does not install | |
| 288 | + completion files by default, but as a packager, it's good if | |
| 289 | + you install them wherever your distribution expects such files | |
| 290 | + to go. You can find completion files to install in the | |
| 291 | + <filename>completions</filename> directory. | |
| 292 | + </para> | |
| 293 | + </listitem> | |
| 294 | + <listitem> | |
| 295 | + <para> | |
| 296 | + Packagers are encouraged to install the source files from the | |
| 297 | + <filename>examples</filename> directory along with qpdf | |
| 298 | + development packages. | |
| 299 | + </para> | |
| 300 | + </listitem> | |
| 301 | + </itemizedlist> | |
| 302 | + </para> | |
| 303 | + </sect1> | |
| 254 | 304 | </chapter> |
| 255 | 305 | <chapter id="ref.using"> |
| 256 | 306 | <title>Running QPDF</title> |
| ... | ... | @@ -4183,6 +4233,38 @@ print "\n"; |
| 4183 | 4233 | </listitem> |
| 4184 | 4234 | </itemizedlist> |
| 4185 | 4235 | </listitem> |
| 4236 | + <listitem> | |
| 4237 | + <para> | |
| 4238 | + Notes for Packagers | |
| 4239 | + </para> | |
| 4240 | + <itemizedlist> | |
| 4241 | + <listitem> | |
| 4242 | + <para> | |
| 4243 | + A new section has been added to the documentation with notes | |
| 4244 | + for packagers. Please see <xref linkend="ref.packaging"/>. | |
| 4245 | + </para> | |
| 4246 | + </listitem> | |
| 4247 | + <listitem> | |
| 4248 | + <para> | |
| 4249 | + The qpdf detects out-of-date automatically generated files. | |
| 4250 | + If your packaging system automatically refreshes libtool or | |
| 4251 | + autoconf files, it could cause this check to fail. To avoid | |
| 4252 | + this problem, pass | |
| 4253 | + <option>--disable-check-autofiles</option> to | |
| 4254 | + <command>configure</command>. | |
| 4255 | + </para> | |
| 4256 | + </listitem> | |
| 4257 | + <listitem> | |
| 4258 | + <para> | |
| 4259 | + If you would like to have qpdf completion enabled | |
| 4260 | + automatically, you can install completion files in the | |
| 4261 | + distribution's default location. You can find sample | |
| 4262 | + completion files to install in the | |
| 4263 | + <filename>completions</filename> directory. | |
| 4264 | + </para> | |
| 4265 | + </listitem> | |
| 4266 | + </itemizedlist> | |
| 4267 | + </listitem> | |
| 4186 | 4268 | </itemizedlist> |
| 4187 | 4269 | </listitem> |
| 4188 | 4270 | </varlistentry> | ... | ... |