Files
bpfire/lfs/qpdf
Adolf Belka d28dbdc0c0 qpdf: Update to version 11.9.0
- Update from version 11.7.0 to 11.9.0
- Update of rootfile
- Changelog
    11.9.0
	* Add ENABLE_COVERAGE cmake option to assist with generating
	  coverage reports.
	* From M. Holger: add QPDFObjectHandle::writeJSON to directly
	  write a JSON representation to a pipeline. This is much faster
	  than writing the serialized result of getJSON.
	* The previous fix to #1056 was incomplete. When setting a check
	  box value, the previous fix allowed any value other than /Off to
	  mean checked. Now we also set the actual value based on the
	  allowable non-/Off value in the normal appearance dictionary.
	  Fixes #1056.
	* Add fuzz testing for JSON.
	* Add JSON::getDictItem (from m-holger)
	* Allow --overlay and --underlay to be repeated. They may appear
	  multiple times on the command-line and will be stacked in the
	  order in which they appear. In QPDFJob JSON, the overlay and
	  underlay keys may contain arrays. For compatibility, they may also
	  contain a single dictionary.
	* Add new command-line arguments --file and --range which can be
	  used within --pages in place of positional arguments. Allow --file
	  to be used inside of --overlay and --underlay as well. These new
	  options can be freely intermixed with positional arguments. Also
	  add file(), range(), and password() to QPDFJob::PagesConfig as an
	  alternative to pageSpec.
    11.8.0
	* Bug fix: treat references to older generations of objects as
	  null.
	* When recovering a file's xref table, attempt to find xref
	  streams if a traditional trailer dictionary is not found. Fixes
	  #1103.
	* Add --set-page-labels command-line argument and supporting API.
	  Fixes #939.
		  - QPDFJob::Config::setPageLabels
		  - pdf_page_label_e enumerated type
		  - QPDFPageLabelDocumentHelper::pageLabelDict
	* Support comma-separated numeric values with --collate to select
	  different group sizes from different files. Fixes #505.
	* Support "x" before a group in a numeric range to exclude a group
	  from the previous group. Details are in the manual. Fixes #564,
	  #790.
	* When flattening annotations, preserve annotations without any
	  appearance information at all, such as types /Link, /Popup, and
	  /Projection. Fixes #1039.
	* Detect overlong UTF-8 in the UTF-8 decoder, and fix detection of
	  8-bit characters in erroneous UTF-8 strings.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-03-06 21:34:48 +00:00

82 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 11.9.0
THISAPP = qpdf-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 3f79bef4b8d276cb73db1a08eb72cc67dec803c942c5e6f5322ecfc2fb017c7169aebb6b0790f1789970c86f4c8790465d0315ff8b355dd7e395a02192a605cb
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && mkdir -pv build
cd $(DIR_APP)/build && cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC_LIBS=FALSE \
-DINSTALL_EXAMPLES=OFF
cd $(DIR_APP)/build && make $(MAKETUNING)
cd $(DIR_APP)/build && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)