git: 822ee78df335 - main - graphics/libwpg03: update to 0.3.4 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 07 May 2023 20:39:11 UTC
The branch main has been updated by fluffy:

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

commit 822ee78df335125809a3dd8888e437cf46b6037f
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-05-07 20:18:09 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-05-07 20:38:58 +0000

    graphics/libwpg03: update to 0.3.4 release (+)
    
    CHANGES:
    - WPG2: Incomplete implementation of handlePenForeColor (bdo#155057) + leftovers of refactoring
    - Correct a problem concerning HAVE_VISIBILITY not defined when compiling for Windows...
    - WPG1: fix vertical position of text line
    - WPG1: improve output of aligned text
    - WPG1: handle font size
    - WPG1: parse more graphic text attrs
    - WPG1: make text type 2 handler build again
    - Add note for text position
    - WPG1: handle text color
    - WPG1: parse some bits of text attrs record
    - Drop pointless cast
    - WPG1: handle line style
    - Drop a pointless cast
    - WPG1: parse page format record
    - WPG1: handle groups
    - Fix too small loop variables
---
 graphics/libwpg03/Makefile  | 9 ++++++---
 graphics/libwpg03/distinfo  | 6 +++---
 graphics/libwpg03/pkg-plist | 2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/graphics/libwpg03/Makefile b/graphics/libwpg03/Makefile
index 9be75933d1c1..1240f740aa55 100644
--- a/graphics/libwpg03/Makefile
+++ b/graphics/libwpg03/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libwpg
-PORTVERSION=	0.3.3
-PORTREVISION=	1
+PORTVERSION=	0.3.4
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 PKGNAMESUFFIX=	03
@@ -14,14 +13,18 @@ LICENSE_COMB=	dual
 LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LGPL
 LICENSE_FILE_MPL20=	${WRKSRC}/COPYING.MPL
 
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs
 LIB_DEPENDS=	librevenge-0.0.so:textproc/librevenge \
 		libwpd-0.10.so:textproc/libwpd010
 
-USES=		compiler:c++11-lang libtool pathfix perl5 pkgconfig shebangfix tar:bzip2
+USES=		compiler:c++11-lang localbase libtool pathfix perl5 pkgconfig \
+		shebangfix tar:bzip2
 SHEBANG_FILES=	${WRKSRC}/src/conv/svg/wpg2svgbatch.pl
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 CONFIGURE_ARGS=	--disable-werror --without-docs
 
+PLIST_SUB=	VERSION=${PORTVERSION:E}
+
 .include <bsd.port.mk>
diff --git a/graphics/libwpg03/distinfo b/graphics/libwpg03/distinfo
index fef3ab39c7f5..66c278235348 100644
--- a/graphics/libwpg03/distinfo
+++ b/graphics/libwpg03/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546523309
-SHA256 (libwpg-0.3.3.tar.bz2) = afb38dbf6094e16f3f3cf4f92f43ff470b55a1073947c3d5791b6600c9a3b398
-SIZE (libwpg-0.3.3.tar.bz2) = 411921
+TIMESTAMP = 1683411080
+SHA256 (libwpg-0.3.4.tar.bz2) = 282ecf09ea0f60e1ac89992e26d813bfdc4c1cbc12d535037baf663c102b3349
+SIZE (libwpg-0.3.4.tar.bz2) = 411695
diff --git a/graphics/libwpg03/pkg-plist b/graphics/libwpg03/pkg-plist
index a57a9852c88c..246d466e3f1c 100644
--- a/graphics/libwpg03/pkg-plist
+++ b/graphics/libwpg03/pkg-plist
@@ -5,5 +5,5 @@ include/libwpg-0.3/libwpg/WPGraphics.h
 include/libwpg-0.3/libwpg/libwpg.h
 lib/libwpg-0.3.so
 lib/libwpg-0.3.so.3
-lib/libwpg-0.3.so.3.0.3
+lib/libwpg-0.3.so.3.0.%%VERSION%%
 libdata/pkgconfig/libwpg-0.3.pc