mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/poppler: needs zlib
Buildroot commitcdd1c5ca55bumped the package from version 22.12.0 to 25.10.0 but forgot to change zlib into a mandatory dependency. This is necessary due to upstream commit7d87c7d2c6since version 23.07.0. Fixes: https://autobuild.buildroot.net/results/85f/85fb6c2945101b8d4ee86dbc32700293e7b35a86/ CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindZLIB.cmake:242 (find_package_handle_standard_args) CMakeLists.txt:309 (find_package) Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ba8016aa03
commit
7a9486d7d6
@@ -6,6 +6,7 @@ config BR2_PACKAGE_POPPLER
|
|||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
||||||
select BR2_PACKAGE_FONTCONFIG
|
select BR2_PACKAGE_FONTCONFIG
|
||||||
|
select BR2_PACKAGE_ZLIB
|
||||||
help
|
help
|
||||||
Poppler is a PDF rendering library based on the xpdf-3.0
|
Poppler is a PDF rendering library based on the xpdf-3.0
|
||||||
code base.
|
code base.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
POPPLER_VERSION = 25.10.0
|
POPPLER_VERSION = 25.10.0
|
||||||
POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
|
POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
|
||||||
POPPLER_SITE = https://poppler.freedesktop.org
|
POPPLER_SITE = https://poppler.freedesktop.org
|
||||||
POPPLER_DEPENDENCIES = fontconfig host-pkgconf
|
POPPLER_DEPENDENCIES = fontconfig host-pkgconf zlib
|
||||||
POPPLER_LICENSE = GPL-2.0+
|
POPPLER_LICENSE = GPL-2.0+
|
||||||
POPPLER_LICENSE_FILES = COPYING
|
POPPLER_LICENSE_FILES = COPYING
|
||||||
POPPLER_CPE_ID_VENDOR = freedesktop
|
POPPLER_CPE_ID_VENDOR = freedesktop
|
||||||
@@ -95,13 +95,6 @@ else
|
|||||||
POPPLER_CONF_OPTS += -DENABLE_UTILS=OFF
|
POPPLER_CONF_OPTS += -DENABLE_UTILS=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
||||||
POPPLER_DEPENDENCIES += zlib
|
|
||||||
POPPLER_CONF_OPTS += -DENABLE_ZLIB_UNCOMPRESS=ON
|
|
||||||
else
|
|
||||||
POPPLER_CONF_OPTS += -DENABLE_ZLIB_UNCOMPRESS=OFF
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
||||||
POPPLER_DEPENDENCIES += cairo
|
POPPLER_DEPENDENCIES += cairo
|
||||||
POPPLER_CONF_OPTS += -DWITH_Cairo=ON
|
POPPLER_CONF_OPTS += -DWITH_Cairo=ON
|
||||||
|
|||||||
Reference in New Issue
Block a user