head	1.16;
access;
symbols
	pkgsrc-2023Q1:1.14.0.2
	pkgsrc-2023Q1-base:1.14
	pkgsrc-2022Q4:1.12.0.4
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.12.0.2
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.8.0.2
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.6.0.4
	pkgsrc-2022Q1-base:1.6
	pkgsrc-2021Q4:1.6.0.2
	pkgsrc-2021Q4-base:1.6
	pkgsrc-2021Q3:1.4.0.4
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.2
	pkgsrc-2021Q2-base:1.4;
locks; strict;
comment	@# @;


1.16
date	2023.06.08.05.30.59;	author wiz;	state dead;
branches;
next	1.15;
commitid	V51Rp4XJIWi1w6sE;

1.15
date	2023.06.06.12.34.25;	author wiz;	state Exp;
branches;
next	1.14;
commitid	e9NLLVJ5nhQ3VSrE;

1.14
date	2023.01.29.21.15.20;	author ryoon;	state Exp;
branches;
next	1.13;
commitid	QL7aBXsBGmQvUtbE;

1.13
date	2023.01.03.17.36.40;	author wiz;	state Exp;
branches;
next	1.12;
commitid	vvAqE6UmuqFFx78E;

1.12
date	2022.09.20.06.44.49;	author nia;	state Exp;
branches;
next	1.11;
commitid	t0GbSfegPNuwjzUD;

1.11
date	2022.08.11.05.09.34;	author gutteridge;	state Exp;
branches;
next	1.10;
commitid	yKydzoO42ClN3qPD;

1.10
date	2022.07.14.23.46.27;	author dholland;	state Exp;
branches;
next	1.9;
commitid	FGS7TmcEnqsq9VLD;

1.9
date	2022.06.28.11.37.59;	author wiz;	state Exp;
branches;
next	1.8;
commitid	D2UoJrTHpoHEANJD;

1.8
date	2022.06.07.18.48.34;	author adam;	state Exp;
branches;
next	1.7;
commitid	THCWU6Jd98j2H8HD;

1.7
date	2022.05.30.16.31.10;	author adam;	state Exp;
branches;
next	1.6;
commitid	cR5pZ6bXvThOb6GD;

1.6
date	2021.12.08.16.03.03;	author adam;	state Exp;
branches;
next	1.5;
commitid	2PyWjHx5T8rqARjD;

1.5
date	2021.11.15.22.54.34;	author wiz;	state Exp;
branches;
next	1.4;
commitid	IwFN8B1K5bPMBWgD;

1.4
date	2021.05.24.19.56.05;	author wiz;	state Exp;
branches;
next	1.3;
commitid	qokaiStTApGMcrUC;

1.3
date	2021.05.14.10.19.13;	author nia;	state Exp;
branches;
next	1.2;
commitid	xK0iL7xUzO8Dn6TC;

1.2
date	2021.04.02.10.26.17;	author wiz;	state Exp;
branches;
next	1.1;
commitid	SJVEGjn2afuILHNC;

1.1
date	2021.04.02.10.06.27;	author wiz;	state Exp;
branches;
next	;
commitid	S29Nvtqym8cXEHNC;


desc
@@


1.16
log
@wxGTK31: remove, development version for wxGTK32

All pkgsrc users switched.
@
text
@# $NetBSD: Makefile,v 1.15 2023/06/06 12:34:25 wiz Exp $

DISTNAME=	wxWidgets-3.1.7
PKGNAME=	${DISTNAME:S/wxWidgets/wxGTK31/}
PKGREVISION=	6
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=wxWidgets/}
GITHUB_PROJECT=	wxWidgets
GITHUB_RELEASE=	v${PKGVERSION_NOREV}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	dbj@@NetBSD.org
HOMEPAGE=	https://www.wxwidgets.org/
COMMENT=	Cross-platform wxWidgets GUI library (3.1 development branch)
# LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows
LICENSE=	gnu-lgpl-v2

USE_TOOLS+=		pkg-config msgfmt
USE_LANGUAGES=		c c++
GNU_CONFIGURE=		YES
USE_GNU_CONFIGURE_HOST=	no
CONFIGURE_ARGS+=	--with-libpng=sys
CONFIGURE_ARGS+=	--with-libjpeg=sys
CONFIGURE_ARGS+=	--with-libtiff=sys
CONFIGURE_ARGS+=	--with-opengl
# until glew supports EGL, see
# https://github.com/nigels-com/glew/issues/372
# breaks dependencies like hugin or prusaslicer
CONFIGURE_ARGS+=	--disable-glcanvasegl
CONFIGURE_ARGS+=	--with-expat=sys
CONFIGURE_ARGS+=	--with-zlib=sys
CONFIGURE_ARGS+=	--with-regex=builtin
CONFIGURE_ARGS+=	--enable-mediactrl
# wxregexu symbols are not exported properly as of 3.0.1
# http://trac.wxwidgets.org/ticket/16571
CONFIGURE_ARGS+=	--disable-visibility
CONFIGURE_ARGS+=	--bindir=${PREFIX}/libexec/wx-3.1
CONFIGURE_ARGS+=	--datarootdir=${PREFIX}/share/wx-3.1

CONFIGURE_ENV.SunOS+=	wx_cv_inotify_usable=no

DOCDIR=			share/wx-3.1/doc/wxWidgets

INSTALL_MAKE_FLAGS+=	LN_S="ln -fs"

INSTALLATION_DIRS+=	${DOCDIR}
INSTALLATION_DIRS+=	bin

REPLACE_SH=		wx-config.in wx-config-inplace.in

SUBST_CLASSES+=			fix-paths
SUBST_STAGE.fix-paths=		pre-configure
SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
SUBST_FILES.fix-paths=		configure
SUBST_SED.fix-paths=		-e 's,/usr/pkg/include,${PREFIX}/include,g'
SUBST_VARS.fix-paths=		PREFIX

.include "../../mk/bsd.prefs.mk"

PLIST_SRC+=		${PLIST_SRC_DFLT}

.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+=	--with-osx_cocoa
CONFIGURE_ARGS+=	--without-macosx-sdk
CONFIGURE_ARGS+=	--without-macosx-version-min
CPPFLAGS+=		-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1
.else
CONFIGURE_ARGS+=	--with-gtk=3
PLIST_SRC+=		PLIST.gtk3
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.endif

CONFIGURE_ARGS.SunOS+=	--disable-xlocale

post-configure:
	${ECHO} 'install_qadll: install_xmldll' >> ${WRKSRC}/Makefile

post-build:
	set -e; cd ${WRKSRC}/locale; \
	for lang in *.po; do \
		[ "$${lang}" = "wxstd.po" ] && continue; \
		${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \
	done

post-install:
	${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/lgpl.txt ${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/changes.txt ${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/readme.txt ${DESTDIR}${PREFIX}/${DOCDIR}
	# Create symlinks for now.  Eventually we may want to use ALTERNATIVES
	${LN} -sf ../libexec/wx-3.1/wxrc-3.1 ${DESTDIR}${PREFIX}/bin/wxrc-3.1
	${LN} -sf ../libexec/wx-3.1/wx-config ${DESTDIR}${PREFIX}/bin/wx-config-3.1

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
# XXX: built-in version gets configured
#.include "../../devel/pcre2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.if ${OPSYS} != "Darwin"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
@


1.15
log
@wxGTK31: disable glcanvasegl

From Paul Ripke on pkgsrc-users
https://mail-index.netbsd.org/pkgsrc-users/2023/06/06/msg037444.html

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/01/29 21:15:20 ryoon Exp $
@


1.14
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/01/03 17:36:40 wiz Exp $
d5 1
a5 1
PKGREVISION=	5
d26 4
@


1.13
log
@*: recursive bump for tiff shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/09/20 06:44:49 nia Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.12
log
@wxGTK*: Don't attempt to use inotify on SunOS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/08/11 05:09:34 gutteridge Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.11
log
@Bump all dependent packages of wayland (belatedly)

The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/07/14 23:46:27 dholland Exp $
d36 2
@


1.10
log
@Bump everything affected by the jpeg.buildlink3.mk fix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/06/28 11:37:59 wiz Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.9
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/06/07 18:48:34 adam Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.8
log
@wxGTK31: updated to 3.1.7

3.1.7

CMake build system improvements (better precompiled headers support).
New wxFileDialog customization API working with IFileDialog in wxMSW.
Many updated translations and new wxTRANSLATE_IN_CONTEXT().
Fixes for bad interactions with new macOS 12 features in wxOSX.
Several previously missing attributes added to multiple XRC handlers.
Row reordering by dragging and UI enhancements in wxGrid.
Ability to suppress selected (or all) GTK warning messages in wxGTK.
And many, many bugs fixes, including for the regressions in 3.1.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/05/30 16:31:10 adam Exp $
d5 1
@


1.7
log
@wxGTK31: updated to 3.1.6

wxWidgets 3.1.6

New wxBitmapBundle class allowing to provide art work for both normal and high DPI in a simple way.
New wxUILocale class replacing the old (but still available) wxLocale, but not suffering from its multiple problems and providing more functionality.
Support for using native spell-checking in wxTextCtrl.
Support for undo/redo in wxTextCtrl in wxOSX.
Better drag-and-drop implementation in wxOSX.
Fixes for important bugs in wxDataViewCtrl under all platforms.
Many improvements and bug fixes for Wayland support in wxGTK.
Support for the latest OS versions (Windows 11, macOS 12) and compilers (MSVS 2022, gcc 12, clang 13).
Project bug tracker has been moved to GitHub Issues.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2021/12/08 16:03:03 adam Exp $
d3 1
a3 1
DISTNAME=	wxWidgets-3.1.6
@


1.6
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/11/15 22:54:34 wiz Exp $
d3 1
a3 1
DISTNAME=	wxWidgets-3.1.4
a4 1
PKGREVISION=	3
d63 1
a77 4
	set -e; cd ${WRKSRC}/locale/msw; \
	for lang in it; do \
	    ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \
	done
d90 2
a92 1
.include "../../graphics/glu/buildlink3.mk"
d101 4
@


1.5
log
@*: recursive bump for gstreamer 1.18.5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/05/24 19:56:05 wiz Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.4
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/05/14 10:19:13 nia Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.3
log
@wxGTK31: needs glu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/04/02 10:26:17 wiz Exp $
d5 1
@


1.2
log
@wxGTK*: be more explicit about differences
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/04/02 10:06:27 wiz Exp $
d94 1
@


1.1
log
@x11/wxGTK31: import wxGTK31-3.1.4

wxWidgets is a set of libraries that allows C++ applications to compile and
run on several different types of computer, with minimal source code changes.
There is one library per supported GUI (such as Windows, GTK+, Motif, and Mac).
As well as providing a common API (Application Programming Interface) for GUI
functionality, it provides functionality for accessing some commonly-used
operating system facilities, from copying and deleting files to socket and
thread support. wxWidgets is a 'framework' in the sense that it provides a lot
of built-in functionality, which the application can use or replace as required,
thus saving a great deal of coding effort. Basic data structures such as
strings, arrays, linked lists and hash tables are also supported.

Such a toolkit is not unique - there are others to choose from - but wxWidgets
is free, well-established, well-documented, and very broad in its coverage of
GUI functionality. It has some extras that make it stand out from the crowd,
such as the many convenience dialogs, built-in HTML display and printing,
virtual filesystems, easy-to-use OLE automation controller class, Open GL
support, and many other features that make it easier to write modern and
user-friendly applications.

This package contains the 3.1 branch of the library.
@
text
@d1 1
a1 1
# $NetBSD$
d13 1
a13 1
COMMENT=	Cross-platform wxWidgets GUI library (3.1 branch)
@

