From patchwork Tue Aug 25 09:50:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3402 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4BbPPt3myvz3x16 for ; Tue, 25 Aug 2020 09:50:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4BbPPm2C0Hzw1; Tue, 25 Aug 2020 09:50:52 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BbPPl23n8z30XD; Tue, 25 Aug 2020 09:50:51 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4BbPPj1M6pz2xmg for ; Tue, 25 Aug 2020 09:50:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4BbPPj0G7Zzm4; Tue, 25 Aug 2020 09:50:49 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1598349049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P8h+kV8ZQujBFS3w6r1xJaPazudfC9RWGmsJwD+7IkU=; b=vr6zcYvSfBhWnUarndjOfMG7lcuAH92EeSSEZ/bBzOFd+2SGzr4PyJ2NRu4UKThwIBbEbi c2A2jSt2swApakAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1598349049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P8h+kV8ZQujBFS3w6r1xJaPazudfC9RWGmsJwD+7IkU=; b=chsJFBoEL5B6fcbjUPasQtYEbrHvtwXoFl7S5QLUtw9aM+wHqK98gdIk1rkAhRbRIRh+G3 9PEwWop6A5oRurHp1v1svgHdJ9fu/hoFy25tLHcyavIAv4LD3xAIG+FcQDaqx4CskelYEl 00kfnzRarxtkVTExrn97EogwuXZfavSC2IhogRInc+JdPYgeFqQ0hZenv/xA7PPmC8CfhE SvGYR8Od0jnJKV+1hmZBycb0yUdqAG05Wn68SKU4NUq+ItrXjb60fyN2Y+RlfhSKd4nBzC dCVhe/1gkNY1XL8pHaTXmYBYVKOkVK0rlcIjTLxkDzjt4NlI27q9oKVh2IhC1w== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 06/12] poppler: Update to 0.89.0 Date: Tue, 25 Aug 2020 09:50:34 +0000 Message-Id: <20200825095040.3854-6-michael.tremer@ipfire.org> In-Reply-To: <20200825095040.3854-1-michael.tremer@ipfire.org> References: <20200825095040.3854-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- config/rootfiles/common/poppler | 25 ++++++++++++++++++++----- lfs/poppler | 27 ++++++++++++++------------- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/config/rootfiles/common/poppler b/config/rootfiles/common/poppler index 332ee52cb..5ceb9f4d8 100644 --- a/config/rootfiles/common/poppler +++ b/config/rootfiles/common/poppler @@ -1,3 +1,4 @@ +usr/bin/pdfattach usr/bin/pdfdetach usr/bin/pdffonts usr/bin/pdfimages @@ -12,14 +13,21 @@ usr/bin/pdfunite #usr/include/poppler #usr/include/poppler/Annot.h #usr/include/poppler/Array.h ++usr/include/poppler/BBoxOutputDev.h #usr/include/poppler/BuiltinFont.h #usr/include/poppler/BuiltinFontTables.h #usr/include/poppler/CMap.h #usr/include/poppler/CachedFile.h +#usr/include/poppler/CairoFontEngine.h +#usr/include/poppler/CairoOutputDev.h +#usr/include/poppler/CairoRescaleBox.h #usr/include/poppler/Catalog.h +#usr/include/poppler/CertificateInfo.h #usr/include/poppler/CharCodeToUnicode.h #usr/include/poppler/CharTypes.h #usr/include/poppler/CompactFontTables.h +#usr/include/poppler/CurlCachedFile.h +#usr/include/poppler/CurlPDFDocBuilder.h #usr/include/poppler/DateInfo.h #usr/include/poppler/Decrypt.h #usr/include/poppler/Dict.h @@ -38,6 +46,7 @@ usr/bin/pdfunite #usr/include/poppler/Hints.h #usr/include/poppler/JArithmeticDecoder.h #usr/include/poppler/JBIG2Stream.h +#usr/include/poppler/JPEG2000Stream.h #usr/include/poppler/Lexer.h #usr/include/poppler/Linearization.h #usr/include/poppler/Link.h @@ -80,15 +89,18 @@ usr/bin/pdfunite #usr/include/poppler/UnicodeCompTables.h #usr/include/poppler/UnicodeDecompTables.h #usr/include/poppler/UnicodeMap.h +#usr/include/poppler/UnicodeMapFuncs.h #usr/include/poppler/UnicodeMapTables.h #usr/include/poppler/UnicodeTypeTable.h #usr/include/poppler/ViewerPreferences.h #usr/include/poppler/XRef.h #usr/include/poppler/XpdfPluginAPI.h #usr/include/poppler/cpp +#usr/include/poppler/cpp/poppler-destination.h #usr/include/poppler/cpp/poppler-document.h #usr/include/poppler/cpp/poppler-embedded-file.h #usr/include/poppler/cpp/poppler-font.h +#usr/include/poppler/cpp/poppler-font-private.h #usr/include/poppler/cpp/poppler-global.h #usr/include/poppler/cpp/poppler-image.h #usr/include/poppler/cpp/poppler-page-renderer.h @@ -114,6 +126,7 @@ usr/bin/pdfunite #usr/include/poppler/glib/poppler-features.h #usr/include/poppler/glib/poppler-form-field.h #usr/include/poppler/glib/poppler-layer.h +#usr/include/poppler/glib/poppler-macros.h #usr/include/poppler/glib/poppler-media.h #usr/include/poppler/glib/poppler-movie.h #usr/include/poppler/glib/poppler-page.h @@ -121,6 +134,7 @@ usr/bin/pdfunite #usr/include/poppler/glib/poppler.h #usr/include/poppler/goo #usr/include/poppler/goo/FixedPoint.h +#usr/include/poppler/goo/GooCheckedOps.h #usr/include/poppler/goo/GooHash.h #usr/include/poppler/goo/GooLikely.h #usr/include/poppler/goo/GooList.h @@ -132,6 +146,7 @@ usr/bin/pdfunite #usr/include/poppler/goo/NetPBMWriter.h #usr/include/poppler/goo/PNGWriter.h #usr/include/poppler/goo/TiffWriter.h +#usr/include/poppler/goo/gdir.h #usr/include/poppler/goo/gfile.h #usr/include/poppler/goo/gmem.h #usr/include/poppler/goo/grandom.h @@ -152,7 +167,6 @@ usr/bin/pdfunite #usr/include/poppler/splash/SplashFontFileID.h #usr/include/poppler/splash/SplashGlyphBitmap.h #usr/include/poppler/splash/SplashMath.h -#usr/include/poppler/splash/SplashPath.h #usr/include/poppler/splash/SplashPattern.h #usr/include/poppler/splash/SplashScreen.h #usr/include/poppler/splash/SplashState.h @@ -166,17 +180,17 @@ usr/bin/pdfunite #usr/lib/libpoppler-cpp.la #usr/lib/libpoppler-cpp.so usr/lib/libpoppler-cpp.so.0 -usr/lib/libpoppler-cpp.so.0.3.0 +usr/lib/libpoppler-cpp.so.0.9.0 #usr/lib/libpoppler-glib.a #usr/lib/libpoppler-glib.la #usr/lib/libpoppler-glib.so usr/lib/libpoppler-glib.so.8 -usr/lib/libpoppler-glib.so.8.8.0 +usr/lib/libpoppler-glib.so.8.17.0 #usr/lib/libpoppler.a #usr/lib/libpoppler.la #usr/lib/libpoppler.so -usr/lib/libpoppler.so.66 -usr/lib/libpoppler.so.66.0.0 +usr/lib/libpoppler.so.100 +usr/lib/libpoppler.so.100.0.0 #usr/lib/pkgconfig/poppler-cairo.pc #usr/lib/pkgconfig/poppler-cpp.pc #usr/lib/pkgconfig/poppler-glib.pc @@ -220,6 +234,7 @@ usr/lib/libpoppler.so.66.0.0 #usr/share/gtk-doc/html/poppler/style.css #usr/share/gtk-doc/html/poppler/up-insensitive.png #usr/share/gtk-doc/html/poppler/up.png +#usr/share/man/man1/pdfattach.1 #usr/share/man/man1/pdfdetach.1 #usr/share/man/man1/pdffonts.1 #usr/share/man/man1/pdfimages.1 diff --git a/lfs/poppler b/lfs/poppler index c8fdd65e7..b03702146 100644 --- a/lfs/poppler +++ b/lfs/poppler @@ -24,7 +24,7 @@ include Config -VER = 0.52.0 +VER = 0.89.0 THISAPP = poppler-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = dfdd55d5df39685bbb82b0c08fa4ef66 +$(DL_FILE)_MD5 = 92ac57f60ae8c3a1f8bfe01c9530b7b5 install : $(TARGET) @@ -70,16 +70,17 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && \ - ./configure \ - --prefix=/usr \ - --enable-cairo-output \ - --enable-cms=lcms2 \ - --enable-libjpeg \ - --enable-libpng \ - --enable-xpdf-headers - - cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && make install + cd $(DIR_APP) && mkdir -pv build + cd $(DIR_APP)/build && cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DTESTDATADIR=$PWD/testfiles \ + -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ + -ENABLE_QT5=OFF \ + .. + + cd $(DIR_APP)/build && make $(MAKETUNING) + cd $(DIR_APP)/build && make install + @rm -rf $(DIR_APP) @$(POSTBUILD)