From nobody Wed Apr 19 08:54:00 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1ZMr4dZTz45CTq; Wed, 19 Apr 2023 08:54:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1ZMr4C1Qz419c; Wed, 19 Apr 2023 08:54:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681894440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GqjXLWsfXctbXywZiv/BbWa7emQqMM+2/q7Hy7j0g/s=; b=snjya3BSUhZlXElI3lK4ye3lr7hXjupT+N0X2AWpoNoJkWLbzAbCIUbj+fUVpII1iVIlR8 Ok4ZXC7DE+I/81Sq6yn+bofJl5Ub1scRnriXnZuo315Xq03Mexpt9N29zOisp3z05lDXeG 4yN92LgIJi33JiAxbN2Cp2DcXFwHMsHDuq+62JVw5jFFeFT0c5ZZAwXJbp1q/bekpPxF00 mOpEuobNOnVIucbY8z5Re9qTQTqpbhCffVfj2EzP3M1dtXq/BLygX6I5HbYxpyFtZUMEzt lsc0TB/xJdm8E2y/WqLBwoydFylz1HfpXmY6rjinkq8eVNhz15ZIMpTPFvc46g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681894440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GqjXLWsfXctbXywZiv/BbWa7emQqMM+2/q7Hy7j0g/s=; b=wGArJPojlagUYGsuk9rstYSY5uoPVe21H3bbNJBJYX9CYhUYPlyoxtnQez7WLqKGKKlZHm 0IGbn3mB8KB6T2yEI4vbfJ88RuNuQKDCySsCIJuuMyTxeinHAG242Ilxpqyd22fV26qQiu nKEObWkXeJZ72JEGm9S/fOX1MOjl9r4Y0NjezRG1y3yUH1BvdjAOAPhop1KtRlT08a4TV9 IhAO/3jY+qvPRYbuSxr/T4Ma5pI6WTU1YtkPQr5KU9P/tHZ5gcSUqXpbHcsLFiPI8ugT+c I2sFTY1rjBxLmJsPt5yeMa1BWtJTIlkmHcsXtuNFDxEB+vsDDJBOa59xEKevvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681894440; a=rsa-sha256; cv=none; b=gHsrGhB2+19kgTGmeN+kqsLG1RRT77oP+/fEo3hxXG31sjFd4IqZyEg1gsSiB+jXeDGxPV EyGyxFdTWg7d4OseoWqDdeRCPPgAmJ+Yz0jn4urZ4QNDPc+s/ZHkB07XLcqmZVMr+m8aMH ZOU29NRMELcfp1UUUk/1OWvgTmiQtc92ZpmKIweEseyugqYETrUgce0stWwZg58Sh4jI7Z 5N43nu7B5I9g9Iw3eyiIUoEDZ7WOfVK+a5vSwL93+BZkQeodi/iMlDjaFXE0lkfjAuZMFr ntd4bkYmutPYQwuZgu5GMMgKYau+EhRi3eaykMOQmoKRkUPfp2cDDCkcvOlQTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1ZMr3HpLzp26; Wed, 19 Apr 2023 08:54:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33J8s01F048894; Wed, 19 Apr 2023 08:54:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33J8s0qY048893; Wed, 19 Apr 2023 08:54:00 GMT (envelope-from git) Date: Wed, 19 Apr 2023 08:54:00 GMT Message-Id: <202304190854.33J8s0qY048893@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 809d0d3911ab - main - graphics/libwmf: update to 0.2.13 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 809d0d3911ab6b34d61c2b16b8ac6dae44829aa6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=809d0d3911ab6b34d61c2b16b8ac6dae44829aa6 commit 809d0d3911ab6b34d61c2b16b8ac6dae44829aa6 Author: Fernando ApesteguĂ­a AuthorDate: 2023-04-18 07:58:54 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-04-19 08:49:04 +0000 graphics/libwmf: update to 0.2.13 ChangeLog: https://github.com/caolanm/libwmf/releases/tag/v0.2.13 Fixes two crashes, one in gimp the other if no appropriate GS fonts are found. Reported by: portscout MFH: 2023Q2 (bugfixes) --- graphics/libwmf/Makefile | 21 ++++++++++----------- graphics/libwmf/distinfo | 6 +++--- graphics/libwmf/files/patch-configure.ac | 32 ++++++++++++++++++-------------- graphics/libwmf/pkg-plist | 4 ++-- 4 files changed, 33 insertions(+), 30 deletions(-) diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile index 6afcbfd7b43b..cc7d1ef7f7dc 100644 --- a/graphics/libwmf/Makefile +++ b/graphics/libwmf/Makefile @@ -1,7 +1,6 @@ PORTNAME= libwmf DISTVERSIONPREFIX= v -DISTVERSION= 0.2.12 -PORTREVISION= 1 +DISTVERSION= 0.2.13 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org @@ -18,8 +17,8 @@ LIB_DEPENDS= libpng.so:graphics/png \ USES= autoreconf:build cpe gnome jpeg libtool localbase pkgconfig USE_GITHUB= yes -USE_GNOME= gdkpixbuf2 GH_ACCOUNT= caolanm +USE_GNOME= gdkpixbuf2 USE_LDCONFIG= yes CPE_VENDOR= wvware @@ -27,10 +26,10 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts INSTALL_TARGET= install-strip -PORTDOCS= * - CONFLICTS?= libwmf-nox11 +PORTDOCS= * + OPTIONS_DEFINE= X11 DOCS OPTIONS_DEFAULT=X11 OPTIONS_SUB= yes @@ -39,6 +38,12 @@ X11_USES= xorg X11_USE= XORG=x11 X11_CONFIGURE_OFF=--with-x=no +post-patch: + @${REINPLACE_CMD} -e \ + 's|@LIBWMF_GDK_PIXBUF_TRUE@|#|g ; \ + s|@LIBWMF_GDK_PIXBUF_FALSE@||g ; \ + s|: install-loaderLTLIBRARIES|:|g' ${WRKSRC}/src/Makefile.in + pre-configure: @(cd ${CONFIGURE_WRKSRC} && ${SETENV} AUTOHEADER="${TRUE}" \ ${LOCALBASE}/bin/autoreconf -vif -Ipatches) @@ -47,12 +52,6 @@ post-configure: @${REINPLACE_CMD} -e 's|autoheader|autoheader -Ipatches|g' \ ${WRKSRC}/Makefile -post-patch: - @${REINPLACE_CMD} -e \ - 's|@LIBWMF_GDK_PIXBUF_TRUE@|#|g ; \ - s|@LIBWMF_GDK_PIXBUF_FALSE@||g ; \ - s|: install-loaderLTLIBRARIES|:|g' ${WRKSRC}/src/Makefile.in - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . | \ diff --git a/graphics/libwmf/distinfo b/graphics/libwmf/distinfo index 30f217e17626..2c7aa31eeedf 100644 --- a/graphics/libwmf/distinfo +++ b/graphics/libwmf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608812851 -SHA256 (caolanm-libwmf-v0.2.12_GH0.tar.gz) = 464ff63605d7eaf61a4a12dbd420f7a41a4d854675d8caf37729f5bc744820e2 -SIZE (caolanm-libwmf-v0.2.12_GH0.tar.gz) = 3043572 +TIMESTAMP = 1681804461 +SHA256 (caolanm-libwmf-v0.2.13_GH0.tar.gz) = 18ba69febd2f515d98a2352de284a8051896062ac9728d2ead07bc39ea75a068 +SIZE (caolanm-libwmf-v0.2.13_GH0.tar.gz) = 3044235 diff --git a/graphics/libwmf/files/patch-configure.ac b/graphics/libwmf/files/patch-configure.ac index ce69d9f28219..a0f0de3256d0 100644 --- a/graphics/libwmf/files/patch-configure.ac +++ b/graphics/libwmf/files/patch-configure.ac @@ -1,6 +1,13 @@ ---- configure.ac.orig 2019-02-01 17:51:32 UTC +--- configure.ac.orig 2023-04-17 11:39:47 UTC +++ configure.ac -@@ -391,40 +391,19 @@ AC_ARG_WITH(freetype,[ --with-freetype=DIR use fr +@@ -1,5 +1,5 @@ +-dnl Process this file with autoconf to produce a configure script. + AC_INIT(src/player.c) ++dnl Process this file with autoconf to produce a configure script. AC_INIT(src/player.c) + + LIBWMF_PACKAGE=libwmf + AC_SUBST(LIBWMF_PACKAGE) +@@ -391,37 +391,16 @@ AC_ARG_WITH(freetype,[ --with-freetype=DIR use fr fi ]) @@ -36,16 +43,13 @@ -CPPFLAGS="$freetype_cflags $CPPFLAGS" -LDFLAGS="$LDFLAGS $freetype_libs" - - AC_CHECK_LIB(freetype,FT_Init_FreeType,[ -- WMF_FT_LDFLAGS="$freetype_libs" -+ WMF_FT_LDFLAGS="$FREETYPE2_LIBS" - ],[ AC_MSG_ERROR([* * * freetype(2) is required * * *]) - ]) - AC_CHECK_HEADER(ft2build.h,[ -- WMF_FT_CFLAGS="$freetype_cflags" -- WMF_FT_CONFIG_CFLAGS="$freetype_cflags" -+ WMF_FT_CFLAGS="$FREETYPE2_CFLAGS" -+ WMF_FT_CONFIG_CFLAGS="$FREETYPE2_CFLAGS" - ],[ AC_MSG_ERROR([* * * freetype(2) is required * * *]) - ]) + PKG_CHECK_MODULES(FT2, freetype2) +-WMF_FT_LDFLAGS=$FT2_LIBS +-WMF_FT_CFLAGS=$FT2_CFLAGS +-WMF_FT_CONFIG_CFLAGS=$FT2_CFLAGS ++WMF_FT_LDFLAGS="$FREETYPE2_LIBS" ++WMF_FT_CFLAGS="$FREETYPE2_CFLAGS" ++WMF_FT_CONFIG_CFLAGS="$FREETYPE2_CFLAGS" + + GD_DEFS="$GD_DEFS -DHAVE_LIBFREETYPE" diff --git a/graphics/libwmf/pkg-plist b/graphics/libwmf/pkg-plist index 7c0377430d47..838166ad5cda 100644 --- a/graphics/libwmf/pkg-plist +++ b/graphics/libwmf/pkg-plist @@ -32,11 +32,11 @@ include/libwmf/x.h lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/io-wmf.a lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/io-wmf.so lib/libwmf-0.2.so.7 -lib/libwmf-0.2.so.7.1.4 +lib/libwmf-0.2.so.7.1.5 lib/libwmf.a lib/libwmf.so lib/libwmflite-0.2.so.7 -lib/libwmflite-0.2.so.7.0.5 +lib/libwmflite-0.2.so.7.0.6 lib/libwmflite.a lib/libwmflite.so libdata/pkgconfig/libwmf.pc