diff --git a/print/libmspub01/Makefile b/print/libmspub01/Makefile index f0ae63491daf..cecc588d97e0 100644 --- a/print/libmspub01/Makefile +++ b/print/libmspub01/Makefile @@ -1,26 +1,25 @@ PORTNAME= libmspub -PORTVERSION= 0.1.4 -PORTREVISION= 25 +PORTVERSION= 0.1.5 CATEGORIES= print graphics devel MASTER_SITES= LODEV/${PORTNAME} PKGNAMESUFFIX= 01 MAINTAINER= office@FreeBSD.org COMMENT= Library and tools for parsing Microsoft Publisher file format WWW= https://wiki.documentfoundation.org/DLP/Libraries/libmspub LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING.MPL BUILD_DEPENDS= ${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs LIB_DEPENDS= libicui18n.so:devel/icu \ librevenge-0.0.so:textproc/librevenge USES= compiler:c++11-lib libtool localbase pathfix pkgconfig tar:xz CONFIGURE_ARGS= --disable-werror --without-docs GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include diff --git a/print/libmspub01/distinfo b/print/libmspub01/distinfo index a2411138a20a..6eaea881f780 100644 --- a/print/libmspub01/distinfo +++ b/print/libmspub01/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1519868413 -SHA256 (libmspub-0.1.4.tar.xz) = ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba -SIZE (libmspub-0.1.4.tar.xz) = 377472 +TIMESTAMP = 1783951726 +SHA256 (libmspub-0.1.5.tar.xz) = 3671095f5a10bee8a755052a30576952c5b16d8b0f2ba9f2fb998338c18cb119 +SIZE (libmspub-0.1.5.tar.xz) = 393340 diff --git a/print/libmspub01/files/patch-configure b/print/libmspub01/files/patch-configure index 44c9a1679326..9764e181faa6 100644 --- a/print/libmspub01/files/patch-configure +++ b/print/libmspub01/files/patch-configure @@ -1,52 +1,61 @@ ---- configure.orig 2018-02-28 12:02:05 UTC +--- configure.orig 2026-05-26 09:22:27 UTC +++ configure -@@ -18856,12 +18856,12 @@ if test -n "$ICU_CFLAGS"; then +@@ -21960,19 +21960,19 @@ pkg_failed=no + # ======== + + pkg_failed=no +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icu-i18n" >&5 +-printf %s "checking for icu-i18n... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icu-i18n icu-uc" >&5 ++printf %s "checking for icu-i18n icu-uc... " >&6; } + + if test -n "$ICU_CFLAGS"; then pkg_cv_ICU_CFLAGS="$ICU_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5 +- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5 - ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5 + ($PKG_CONFIG --exists --print-errors "icu-i18n icu-uc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n" 2>/dev/null` + pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n icu-uc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes -@@ -18873,12 +18873,12 @@ if test -n "$ICU_LIBS"; then +@@ -21984,12 +21984,12 @@ if test -n "$ICU_LIBS"; then pkg_cv_ICU_LIBS="$ICU_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5 +- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5 - ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5 + ($PKG_CONFIG --exists --print-errors "icu-i18n icu-uc") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n" 2>/dev/null` + pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n icu-uc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes -@@ -18899,14 +18899,14 @@ fi +@@ -22010,14 +22010,14 @@ fi _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then -- ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n" 2>&1` -+ ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1` +- ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n" 2>&1` ++ ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1` else -- ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n" 2>&1` -+ ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1` +- ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n" 2>&1` ++ ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$ICU_PKG_ERRORS" >&5 + # Put the nasty error message in config.log where it belongs + echo "$ICU_PKG_ERRORS" >&5 -- as_fn_error $? "Package requirements (icu-i18n) were not met: -+ as_fn_error $? "Package requirements (icu-i18n icu-uc) were not met: +- as_fn_error $? "Package requirements (icu-i18n) were not met: ++ as_fn_error $? "Package requirements (icu-i18n icu-uc) were not met: $ICU_PKG_ERRORS diff --git a/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h b/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h index 9ff4c0b77164..a085facc07e0 100644 --- a/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h +++ b/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h @@ -1,10 +1,10 @@ ---- src/lib/MSPUBMetaData.h.orig 2021-02-22 20:49:29 UTC +--- src/lib/MSPUBMetaData.h.orig 2026-05-26 09:20:32 UTC +++ src/lib/MSPUBMetaData.h -@@ -13,6 +13,7 @@ +@@ -14,6 +14,7 @@ #include #include #include +#include #include diff --git a/print/libmspub01/pkg-plist b/print/libmspub01/pkg-plist index c29bc1996754..bbc50131a179 100644 --- a/print/libmspub01/pkg-plist +++ b/print/libmspub01/pkg-plist @@ -1,8 +1,8 @@ bin/pub2raw bin/pub2xhtml include/libmspub-0.1/libmspub/MSPUBDocument.h include/libmspub-0.1/libmspub/libmspub.h lib/libmspub-0.1.so lib/libmspub-0.1.so.1 -lib/libmspub-0.1.so.1.0.4 +lib/libmspub-0.1.so.1.0.5 libdata/pkgconfig/libmspub-0.1.pc