git: a9a2f55a6b66 - main - graphics/poppler: fix poppler-glib
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Jul 2022 19:54:52 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=a9a2f55a6b66aa2fb87c406e072eea8fe00705bd commit a9a2f55a6b66aa2fb87c406e072eea8fe00705bd Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-07-06 19:53:26 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-07-06 19:54:46 +0000 graphics/poppler: fix poppler-glib - last minute typo Reported by: Barbara <barbara.freebsd@gmail.com> --- .../0001-graphics-poppler-glib-fix-build.patch.v3 | 40 ++++++++++++++++++++++ graphics/poppler/Makefile | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/graphics/poppler/0001-graphics-poppler-glib-fix-build.patch.v3 b/graphics/poppler/0001-graphics-poppler-glib-fix-build.patch.v3 new file mode 100644 index 000000000000..64a97d24efcf --- /dev/null +++ b/graphics/poppler/0001-graphics-poppler-glib-fix-build.patch.v3 @@ -0,0 +1,40 @@ +From 582c9315bf9a2c38e69413d6d632384a02016550 Mon Sep 17 00:00:00 2001 +From: "Tobias C. Berner" <tcberner@FreeBSD.org> +Date: Wed, 6 Jul 2022 19:53:29 +0200 +Subject: [PATCH] graphics/poppler-glib: fix build + +--- + graphics/poppler/Makefile | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile +index 7aa604f204eb..7ddf93fda852 100644 +--- a/graphics/poppler/Makefile ++++ b/graphics/poppler/Makefile +@@ -18,10 +18,11 @@ LIB_DEPENDS= libnspr4.so:devel/nspr \ + libfreetype.so:print/freetype2 \ + libnss3.so:security/nss \ + libfontconfig.so:x11-fonts/fontconfig +-BUILD_DEPENDS= ${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs ++BUILD_DEPENDS= ${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs \ ++ gsed:textproc/gsed + RUN_DEPENDS= poppler-data>0:graphics/poppler-data + +-USES= cmake:insource compiler:c++17-lang cpe gnome jpeg libtool \ ++USES= cmake:insource compiler:c++17-lang cpe gnome gperf jpeg libtool \ + localbase pathfix pkgconfig tar:xz + CPE_VENDOR= freedesktop + USE_GNOME= cairo libxml2 +@@ -44,6 +45,9 @@ CMAKE_ARGS+= -DCMAKE_IGNORE_PATH:PATH=${PREFIX}/lib/openjpeg-1.5 + _POPPLER_SLAVES= library glib qt5 utils + _SLAVE_PORT?= library + ++BINARY_ALIAS= gperf=${GPERF} \ ++ sed=${LOCALBASE}/bin/gsed ++ + # Activate the wanted module, and deactivate the others. + CMAKE_ON+= ENABLE_${_SLAVE_PORT:tu} + CMAKE_OFF+= ${_POPPLER_SLAVES:N${_SLAVE_PORT}:tu:S/^/ENABLE_/} +-- +2.37.0 + diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index 7ddf93fda852..46f6226234cb 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -76,7 +76,7 @@ CMAKE_ARGS+= -DENABLE_LIBOPENJPEG:STRING="none" \ . if ${_SLAVE_PORT} == glib USES+= python:build USE_GNOME+= glib20 introspection:Build -BINARY_ALIAS= python3=${PYTHON_CMD} +BINARY_ALIAS+= python3=${PYTHON_CMD} . elif ${_SLAVE_PORT} == qt5 USES+= qt:5 USE_QT= core gui widgets xml \