Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2021 12:23:30 GMT
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d8d6d6af0c75 - main - graphics/poppler: make boost a build-time dependency
Message-ID:  <202107051223.165CNUll085087@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d8d6d6af0c7555b0bb2af494ba2b74c92bb7db92

commit d8d6d6af0c7555b0bb2af494ba2b74c92bb7db92
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-07-05 09:09:18 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-07-05 12:23:28 +0000

    graphics/poppler: make boost a build-time dependency
    
    Poppler uses Boost small-vectors for efficiency (over std::vector)
    when the Splash renderer is enabled. Small-vectors are header-only,
    so there is no need to depend on the whole boost-libs at runtime.
    
    The PR asks to drop Boost entirely; we're not going to do that,
    but as a build-dep it avoids installed-size bloat.
    
    Bump PORTREVISION also of related ports to make sure they are
    rebuilt; don't need to re-do all consumers because Boost was not
    linked anyway.
    
    PR:             256821
---
 graphics/poppler-glib/Makefile  | 2 +-
 graphics/poppler-qt5/Makefile   | 2 +-
 graphics/poppler-utils/Makefile | 2 +-
 graphics/poppler/Makefile       | 5 +++--
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/graphics/poppler-glib/Makefile b/graphics/poppler-glib/Makefile
index 639d50d648ea..3a0237c47bfc 100644
--- a/graphics/poppler-glib/Makefile
+++ b/graphics/poppler-glib/Makefile
@@ -1,6 +1,6 @@
 # Created by: Michael Johnson <ahze@FreeBSD.org>
 
-PORTREVISION=	0
+PORTREVISION=	1
 
 COMMENT=	GLib bindings to poppler
 
diff --git a/graphics/poppler-qt5/Makefile b/graphics/poppler-qt5/Makefile
index 5817eaf3853e..16d3aeb64d90 100644
--- a/graphics/poppler-qt5/Makefile
+++ b/graphics/poppler-qt5/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-qt5
 
 COMMENT=	Qt 5 bindings to poppler
diff --git a/graphics/poppler-utils/Makefile b/graphics/poppler-utils/Makefile
index e762bf7224b8..e9579593b9b2 100644
--- a/graphics/poppler-utils/Makefile
+++ b/graphics/poppler-utils/Makefile
@@ -1,6 +1,6 @@
 # Created by: Michael Nottebrock <lofi@FreeBSD.org>
 
-PORTREVISION=	0
+PORTREVISION=	1
 
 COMMENT=	Poppler's xpdf-workalike command line utilities # '
 
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index bfa291c0f17a..bbb54dad755f 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	poppler
 DISTVERSION=	21.06.1
+PORTREVISION=	1
 CATEGORIES=	graphics print
 MASTER_SITES=	https://poppler.freedesktop.org/
 
@@ -17,8 +18,8 @@ LIB_DEPENDS=	libnspr4.so:devel/nspr \
 		libtiff.so:graphics/tiff \
 		libfreetype.so:print/freetype2 \
 		libnss3.so:security/nss \
-		libfontconfig.so:x11-fonts/fontconfig \
-		libboost_system.so:devel/boost-libs
+		libfontconfig.so:x11-fonts/fontconfig
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs
 RUN_DEPENDS=	poppler-data>0:graphics/poppler-data
 
 USES=		compiler:c++11-lang cpe cmake:insource gnome jpeg libtool \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107051223.165CNUll085087>