From d4a0f8800826e7bbdf699b986ea1ce90663245e0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 21 Nov 2024 08:12:39 +0000 Subject: automatic import of poppler --- .gitignore | 1 + poppler.spec | 11 ++++++----- sources | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 92fcbf6..a3a486e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /poppler-24.03.0.tar.xz /poppler-test-2021-01-11-03a4b9eb854a06a83c465e82de601796c458bbe9.tar.xz +/test-ff3133cdb6cb496ee1d2c3231bfa35006a5e8410.tar.bz2 diff --git a/poppler.spec b/poppler.spec index 1fd7207..743aa0e 100644 --- a/poppler.spec +++ b/poppler.spec @@ -1,5 +1,4 @@ -%global test_sha 03a4b9eb854a06a83c465e82de601796c458bbe9 -%global test_date 2021-01-11 +%global test_sha ff3133cdb6cb496ee1d2c3231bfa35006a5e8410 %global qt6 1 Name: poppler @@ -9,7 +8,7 @@ Summary: PDF rendering library License: GPLv2+ and LGPLv2+ and MIT URL: http://poppler.freedesktop.org/ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz -Source1: %{name}-test-%{test_date}-%{test_sha}.tar.xz +Source1: https://gitlab.freedesktop.org/poppler/test/-/archive/%{test_sha}/test-%{test_sha}.tar.bz2 Patch1: poppler-0.90.0-position-independent-code.patch Patch3: poppler-21.01.0-glib-introspection.patch @@ -151,7 +150,8 @@ other formats. %package_help %prep -%autosetup -p1 -b 1 +%autosetup -p1 +tar xf %{S:1} chmod -x poppler/CairoFontEngine.cc %build @@ -161,7 +161,8 @@ chmod -x poppler/CairoFontEngine.cc -DENABLE_GTK_DOC=ON \ -DENABLE_LIBOPENJPEG=openjpeg2 \ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ - -DENABLE_ZLIB=OFF + -DENABLE_ZLIB=OFF \ + -DTESTDATADIR=test-%{test_sha} %cmake_build %install diff --git a/sources b/sources index 88bc530..559117b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 2d50c3c8e0011d1fa14572c744cd33bb poppler-24.03.0.tar.xz -6f49d1fd3bf4ce124a3d1a3d10337d9f poppler-test-2021-01-11-03a4b9eb854a06a83c465e82de601796c458bbe9.tar.xz +d260dfc1d762f4482d4cf46b7586b81a test-ff3133cdb6cb496ee1d2c3231bfa35006a5e8410.tar.bz2 -- cgit v1.2.3