pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mtpaint: Update to 3.50.11



Module Name:	pkgsrc-wip
Committed By:	adr <adr%sdf.org@localhost>
Pushed By:	adr
Date:		Sat Jan 25 16:32:13 2025 +0000
Changeset:	128c04a26f46c879ae8264d8cb8e84ff13a48ec4

Modified Files:
	mtpaint/COMMIT_MSG
	mtpaint/DESCR
	mtpaint/Makefile
	mtpaint/distinfo
Added Files:
	mtpaint/options.mk

Log Message:
mtpaint: Update to 3.50.11

Add options to build with all versions of gtk.
Change the port to use commits as releases:

https://github.com/wjaguar/mtPaint/issues/79

Version 3.50.11

Made mouse events keep their toplevel widget alive until done
Replaced GLib2's weakrefs, for them doing not what the docs say
Made window contents' destruction wait until all events are done with it
Fixed display of horizontal separators and menu separators on GTK+ 3.20+
Silenced deprecation warnings in png.c
Fixed configuring with gcc-14 or clang-16
Added a workaround for broken strncasecmp() in glibc 2.15 and 2.16

Version 3.50.10

Fixed possible input congestion and rendering stalls on GTK+3
Fixed unescaping of tabs in inifile string values under GTK+1 (since forever)
Added SVGZ support
Fixed sticking extensions onto possibly max-length filenames
Silenced deprecation warnings in thread.c
Fixed compiling with FreeType 2.8+ and GTK+1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=128c04a26f46c879ae8264d8cb8e84ff13a48ec4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mtpaint/COMMIT_MSG |  2 +-
 mtpaint/DESCR      |  7 +++----
 mtpaint/Makefile   | 17 +++++++++++------
 mtpaint/distinfo   |  6 +++---
 mtpaint/options.mk | 23 +++++++++++++++++++++++
 5 files changed, 41 insertions(+), 14 deletions(-)

diffs:
diff --git a/mtpaint/COMMIT_MSG b/mtpaint/COMMIT_MSG
index 59ad15bd37..ed9c2fa6e0 100644
--- a/mtpaint/COMMIT_MSG
+++ b/mtpaint/COMMIT_MSG
@@ -1,3 +1,3 @@
-graphics/mtpaint: Add mtpaint version 0.0.0.419
+graphics/mtpaint: Add mtpaint version 3.50.11
 
 Packaged in wip by adr
diff --git a/mtpaint/DESCR b/mtpaint/DESCR
index d6a21f3d84..82ce69ddf1 100644
--- a/mtpaint/DESCR
+++ b/mtpaint/DESCR
@@ -1,4 +1,3 @@
-mtPaint is a GTK based painting program designed for creating icons
-and pixel based artwork. It can edit indexed palette or 24 bit RGB
-images and offers basic painting and palette manipulation tools.
-It can handle PNG, JPEG, GIF, TIFF, BMP, XPM, and XBM files.
+mtPaint is a GTK+1/2/3 based painting program designed for creating
+icons and pixel based artwork. It can edit indexed palette or 24
+bit RGB images and offers painting and palette manipulation tools.
diff --git a/mtpaint/Makefile b/mtpaint/Makefile
index fadcb3c64b..e81c1e1ed4 100644
--- a/mtpaint/Makefile
+++ b/mtpaint/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD
+# $NetBSD$
 
-COMMITS=	419
-DISTNAME=	mtpaint-0.0.0.${COMMITS}
+# mtpaint's maintainer uses commits as releases.
+DISTNAME=	mtpaint-3.50.11
 MASTER_SITES=	${MASTER_SITE_GITHUB:=wjaguar/}
-GITHUB_TAG=	199472ad6a4ecee6c8583fb5a504a2e99712b4fc
+GITHUB_TAG=	f37cf09c02b0ebd81d29c67be9741f54d76a9171
 WRKSRC=		${WRKDIR}/mtPaint-${GITHUB_TAG}
 CATEGORIES=	graphics
 
@@ -18,14 +18,19 @@ CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
 CONFIGURE_ARGS+=	cflags gtk3 jpeg jp2v2 webp intl tiff man
 USE_TOOLS+=		gmake pkg-config
 
-TOOL_DEPENDS+=	glib2-[0-9]*:../../devel/glib2
+.include "options.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../archivers/libzip/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/giflib/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/libwebp/buildlink3.mk"
 .include "../../graphics/openjpeg/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
-.include "../../x11/gtk3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mtpaint/distinfo b/mtpaint/distinfo
index a67599847e..0a8a3ca274 100644
--- a/mtpaint/distinfo
+++ b/mtpaint/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2012/05/22 02:20:47 jeremy-c-reed Exp $
 
-BLAKE2s (mtpaint-0.0.0.419-199472ad6a4ecee6c8583fb5a504a2e99712b4fc.tar.gz) = 3f65d5de72567533f7fda26cdf3ba1699c4e3e44ea43804de5699daf5b1dc1a1
-SHA512 (mtpaint-0.0.0.419-199472ad6a4ecee6c8583fb5a504a2e99712b4fc.tar.gz) = f82dcc072eab6330e2db0f22f3ec39ff94c2d588a2429fa8d5a03dd7ad8b29580607f7e16ff1033686e73595ff113a1635d47df3928d64c778d2bf54ae7245b7
-Size (mtpaint-0.0.0.419-199472ad6a4ecee6c8583fb5a504a2e99712b4fc.tar.gz) = 1206348 bytes
+BLAKE2s (mtpaint-3.50.11-f37cf09c02b0ebd81d29c67be9741f54d76a9171.tar.gz) = c36963138cf3d156dae44757544a9feff0e59f22d125187913ccee7888aef77c
+SHA512 (mtpaint-3.50.11-f37cf09c02b0ebd81d29c67be9741f54d76a9171.tar.gz) = 748e8c8bb7503ac70b69943b68daea1cb94dfc146a435148dcdff95d9bd8ef64fcfb24e98accd05b3c8303183c12f143c29c49a66e79acd5cd13c66bacfd1e50
+Size (mtpaint-3.50.11-f37cf09c02b0ebd81d29c67be9741f54d76a9171.tar.gz) = 1208090 bytes
diff --git a/mtpaint/options.mk b/mtpaint/options.mk
new file mode 100644
index 0000000000..4107312333
--- /dev/null
+++ b/mtpaint/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.mtpaint
+PKG_OPTIONS_OPTIONAL_GROUPS=	toolkit
+PKG_OPTIONS_GROUP.toolkit=	gtk gtk2 gtk3
+PKG_SUGGESTED_OPTIONS=		gtk3
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk)
+.  include "../../x11/gtk/buildlink3.mk"
+CONFIGURE_ARGS+=	gtk1
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk2)
+.  include "../../x11/gtk2/buildlink3.mk"
+CONFIGURE_ARGS+=	gtk2
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk3)
+.  include "../../x11/gtk3/buildlink3.mk"
+CONFIGURE_ARGS+=	gtk3
+.endif


Home | Main Index | Thread Index | Old Index