Tue Oct 29 09:22:25 2019 UTC ()
glib2: updated to 2.60.7

Overview of changes in GLib 2.60.7
* Bugs fixed:
 - Invalid characters in Open Location dialog crashes GIMP
 - Setting GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to before 2.56 triggers warnings
 - Backport !1009 “gapplication: remove inactivity_timeout source on finalize” to glib-2-60
 - Backport !1008 “gmessages: Only use structured logs if GLIB_VERSION_MAX_ALLOWED is ≥2.56” to glib-2-60
 - Backport !966 “Resolve "Invalid characters in Open Location dialog crashes GIMP"” to glib-2-60
 - Backport !1040 “GSettingsBackend - Fix thread-safety during destruction of GSettings instances...” to glib-2-60
 - Backport !1017 “gdatetime: Avoid an assertion failure when parsing some ISO 8601 dates” to glib-2-60


(adam)
diff -r1.4 -r1.5 pkgsrc/devel/gdbus-codegen/distinfo
diff -r1.261 -r1.262 pkgsrc/devel/glib2/Makefile
diff -r1.72 -r1.73 pkgsrc/devel/glib2/Makefile.common
diff -r1.106 -r1.107 pkgsrc/devel/glib2/PLIST
diff -r1.1 -r0 pkgsrc/devel/glib2/PLIST.Darwin
diff -r1.254 -r1.255 pkgsrc/devel/glib2/distinfo
diff -r1.21 -r1.22 pkgsrc/devel/glib2/options.mk
diff -r1.5 -r1.6 pkgsrc/devel/glib2/patches/patch-gio_meson.build
diff -r1.5 -r1.6 pkgsrc/devel/glib2/patches/patch-meson.build
diff -r1.3 -r1.4 pkgsrc/devel/glib2/patches/patch-glib_meson.build
diff -r1.3 -r1.4 pkgsrc/devel/glib2/patches/patch-gobject_meson.build
diff -r0 -r1.1 pkgsrc/devel/glib2/patches/patch-meson_options.txt

cvs diff -r1.4 -r1.5 pkgsrc/devel/gdbus-codegen/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/gdbus-codegen/distinfo 2019/08/20 14:06:46 1.4
+++ pkgsrc/devel/gdbus-codegen/distinfo 2019/10/29 09:22:25 1.5
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.4 2019/08/20 14:06:46 wiz Exp $ 1$NetBSD: distinfo,v 1.5 2019/10/29 09:22:25 adam Exp $
2 2
3SHA1 (glib-2.60.6.tar.xz) = b6b9bd8a9fa5fe68f972614d9bbb98a3e67c444d 3SHA1 (glib-2.60.7.tar.xz) = d0b21a9358ef03e9e90bcb8beb878cab21bec4f2
4RMD160 (glib-2.60.6.tar.xz) = b268c9616e72275ec9aa4cc9187be396b454e215 4RMD160 (glib-2.60.7.tar.xz) = 099608f6af4ce4a75fa24673b10f344829831be8
5SHA512 (glib-2.60.6.tar.xz) = 2e079d2268e0cd4dd234501c03e7784a69258ea2303e62baa4869ff7a442d121c2ffdc742467e3b0b46ad953b831962e1dd847463d66b2b28745ba0f0bfd28d9 5SHA512 (glib-2.60.7.tar.xz) = d56d805a5abf6f7aeb8bf5be06b60ad049177ee23f78eacef4ce2ea88a8be49966a95e48fed17c752649f6e80937fd0ebc8f959709f623ec1f2f43ffd42d078a
6Size (glib-2.60.6.tar.xz) = 4589516 bytes 6Size (glib-2.60.7.tar.xz) = 4590568 bytes
7SHA1 (patch-meson.build) = 6877b395f02619ea93b648119373ac1b53438c59 7SHA1 (patch-meson.build) = 6877b395f02619ea93b648119373ac1b53438c59

cvs diff -r1.261 -r1.262 pkgsrc/devel/glib2/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/glib2/Makefile 2019/10/08 10:58:17 1.261
+++ pkgsrc/devel/glib2/Makefile 2019/10/29 09:22:24 1.262
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.261 2019/10/08 10:58:17 prlw1 Exp $ 1# $NetBSD: Makefile,v 1.262 2019/10/29 09:22:24 adam Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4 4
5CATEGORIES= devel gnome 5CATEGORIES= devel gnome
6COMMENT= Some useful routines for C programming (glib2) 6COMMENT= Some useful routines for C programming (glib2)
7 7
8.include "options.mk" 8.include "options.mk"
9 9
10MESON_ARGS+= -Dinstalled_tests=false 10MESON_ARGS+= -Dinstalled_tests=false
11# Avoid linux dependency on libmount-dev 11# Avoid linux dependency on libmount-dev
12MESON_ARGS+= -Dlibmount=false 12MESON_ARGS+= -Dlibmount=false
13 13
14LDFLAGS.SunOS+= -lintl -lnsl 14LDFLAGS.SunOS+= -lintl -lnsl
@@ -50,27 +50,21 @@ PKGCONFIG_OVERRIDE+= output/meson-privat @@ -50,27 +50,21 @@ PKGCONFIG_OVERRIDE+= output/meson-privat
50PKGCONFIG_OVERRIDE+= output/meson-private/glib-2.0.pc 50PKGCONFIG_OVERRIDE+= output/meson-private/glib-2.0.pc
51PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-2.0.pc 51PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-2.0.pc
52PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-export-2.0.pc 52PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-export-2.0.pc
53PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-no-export-2.0.pc 53PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-no-export-2.0.pc
54PKGCONFIG_OVERRIDE+= output/meson-private/gobject-2.0.pc 54PKGCONFIG_OVERRIDE+= output/meson-private/gobject-2.0.pc
55PKGCONFIG_OVERRIDE+= output/meson-private/gthread-2.0.pc 55PKGCONFIG_OVERRIDE+= output/meson-private/gthread-2.0.pc
56 56
57PKGCONFIG_OVERRIDE_STAGE= post-configure 57PKGCONFIG_OVERRIDE_STAGE= post-configure
58 58
59# to run gdbus-codegen to generate gdbus-daemon-generated.{h,c} 59# to run gdbus-codegen to generate gdbus-daemon-generated.{h,c}
60TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 60TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
61PYTHON_FOR_BUILD_ONLY= yes 61PYTHON_FOR_BUILD_ONLY= yes
62 62
63.include "../../mk/bsd.prefs.mk" 
64PLIST_VARS+= nococoa 
65.if ${OPSYS} != "Darwin" 
66PLIST.nococoa= yes 
67.endif 
68 
69.include "../../converters/libiconv/buildlink3.mk" 63.include "../../converters/libiconv/buildlink3.mk"
70.include "../../devel/gettext-lib/buildlink3.mk" 64.include "../../devel/gettext-lib/buildlink3.mk"
71.include "../../devel/pcre/buildlink3.mk" 65.include "../../devel/pcre/buildlink3.mk"
72.include "../../devel/meson/build.mk" 66.include "../../devel/meson/build.mk"
73.include "../../devel/libffi/buildlink3.mk" 67.include "../../devel/libffi/buildlink3.mk"
74.include "../../devel/zlib/buildlink3.mk" 68.include "../../devel/zlib/buildlink3.mk"
75.include "../../lang/python/application.mk" 69.include "../../lang/python/application.mk"
76.include "../../mk/bsd.pkg.mk" 70.include "../../mk/bsd.pkg.mk"

cvs diff -r1.72 -r1.73 pkgsrc/devel/glib2/Makefile.common (expand / switch to unified diff)

--- pkgsrc/devel/glib2/Makefile.common 2019/09/08 10:43:43 1.72
+++ pkgsrc/devel/glib2/Makefile.common 2019/10/29 09:22:24 1.73
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile.common,v 1.72 2019/09/08 10:43:43 nia Exp $ 1# $NetBSD: Makefile.common,v 1.73 2019/10/29 09:22:24 adam Exp $
2# used by devel/gdbus-codegen/Makefile 2# used by devel/gdbus-codegen/Makefile
3# used by devel/glib2/Makefile 3# used by devel/glib2/Makefile
4# used by devel/glib2-tools/Makefile 4# used by devel/glib2-tools/Makefile
5 5
6DISTNAME= glib-2.60.6 6DISTNAME= glib-2.60.7
7PKGNAME= ${DISTNAME:S/glib/glib2/} 7PKGNAME= ${DISTNAME:S/glib/glib2/}
8MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/} 8MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/}
9EXTRACT_SUFX= .tar.xz 9EXTRACT_SUFX= .tar.xz
10 10
11MAINTAINER= prlw1@cam.ac.uk 11MAINTAINER= prlw1@cam.ac.uk
12HOMEPAGE= https://developer.gnome.org/glib/ 12HOMEPAGE= https://developer.gnome.org/glib/
13LICENSE= gnu-lgpl-v2.1 13LICENSE= gnu-lgpl-v2.1
14 14
15USE_LANGUAGES= c c++ c99 15USE_LANGUAGES= c c++ c99
16USE_TOOLS+= msgfmt pkg-config 16USE_TOOLS+= msgfmt pkg-config
17 17
18# does snprintf %d with pid_t... 18# does snprintf %d with pid_t...
19BUILDLINK_TRANSFORM+= rm:-Werror=format=2 19BUILDLINK_TRANSFORM+= rm:-Werror=format=2

cvs diff -r1.106 -r1.107 pkgsrc/devel/glib2/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/glib2/PLIST 2019/08/20 14:06:46 1.106
+++ pkgsrc/devel/glib2/PLIST 2019/10/29 09:22:24 1.107
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1@comment $NetBSD: PLIST,v 1.106 2019/08/20 14:06:46 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.107 2019/10/29 09:22:24 adam Exp $
2${PLIST.nococoa}bin/gapplication 2${PLIST.nococoa}bin/gapplication
3bin/gdbus 3bin/gdbus
4bin/gio 4bin/gio
5${PLIST.nococoa}bin/gio-launch-desktop 5${PLIST.nococoa}bin/gio-launch-desktop
6bin/gio-querymodules 6bin/gio-querymodules
7bin/glib-compile-resources 7bin/glib-compile-resources
8bin/glib-compile-schemas 8bin/glib-compile-schemas
9bin/glib-gettextize 9bin/glib-gettextize
10bin/gobject-query 10bin/gobject-query
11bin/gresource 11bin/gresource
12bin/gsettings 12bin/gsettings
13include/gio-unix-2.0/gio/gdesktopappinfo.h 13${PLIST.nococoa}include/gio-unix-2.0/gio/gdesktopappinfo.h
14include/gio-unix-2.0/gio/gfiledescriptorbased.h 14include/gio-unix-2.0/gio/gfiledescriptorbased.h
15include/gio-unix-2.0/gio/gunixconnection.h 15include/gio-unix-2.0/gio/gunixconnection.h
16include/gio-unix-2.0/gio/gunixcredentialsmessage.h 16include/gio-unix-2.0/gio/gunixcredentialsmessage.h
17include/gio-unix-2.0/gio/gunixfdlist.h 17include/gio-unix-2.0/gio/gunixfdlist.h
18include/gio-unix-2.0/gio/gunixfdmessage.h 18include/gio-unix-2.0/gio/gunixfdmessage.h
19include/gio-unix-2.0/gio/gunixinputstream.h 19include/gio-unix-2.0/gio/gunixinputstream.h
20include/gio-unix-2.0/gio/gunixmounts.h 20include/gio-unix-2.0/gio/gunixmounts.h
21include/gio-unix-2.0/gio/gunixoutputstream.h 21include/gio-unix-2.0/gio/gunixoutputstream.h
22include/gio-unix-2.0/gio/gunixsocketaddress.h 22include/gio-unix-2.0/gio/gunixsocketaddress.h
23include/glib-2.0/gio/gaction.h 23include/glib-2.0/gio/gaction.h
24include/glib-2.0/gio/gactiongroup.h 24include/glib-2.0/gio/gactiongroup.h
25include/glib-2.0/gio/gactiongroupexporter.h 25include/glib-2.0/gio/gactiongroupexporter.h
26include/glib-2.0/gio/gactionmap.h 26include/glib-2.0/gio/gactionmap.h
@@ -103,26 +103,27 @@ include/glib-2.0/gio/gloadableicon.h @@ -103,26 +103,27 @@ include/glib-2.0/gio/gloadableicon.h
103include/glib-2.0/gio/gmemoryinputstream.h 103include/glib-2.0/gio/gmemoryinputstream.h
104include/glib-2.0/gio/gmemoryoutputstream.h 104include/glib-2.0/gio/gmemoryoutputstream.h
105include/glib-2.0/gio/gmenu.h 105include/glib-2.0/gio/gmenu.h
106include/glib-2.0/gio/gmenuexporter.h 106include/glib-2.0/gio/gmenuexporter.h
107include/glib-2.0/gio/gmenumodel.h 107include/glib-2.0/gio/gmenumodel.h
108include/glib-2.0/gio/gmount.h 108include/glib-2.0/gio/gmount.h
109include/glib-2.0/gio/gmountoperation.h 109include/glib-2.0/gio/gmountoperation.h
110include/glib-2.0/gio/gnativevolumemonitor.h 110include/glib-2.0/gio/gnativevolumemonitor.h
111include/glib-2.0/gio/gnetworkaddress.h 111include/glib-2.0/gio/gnetworkaddress.h
112include/glib-2.0/gio/gnetworking.h 112include/glib-2.0/gio/gnetworking.h
113include/glib-2.0/gio/gnetworkmonitor.h 113include/glib-2.0/gio/gnetworkmonitor.h
114include/glib-2.0/gio/gnetworkservice.h 114include/glib-2.0/gio/gnetworkservice.h
115include/glib-2.0/gio/gnotification.h 115include/glib-2.0/gio/gnotification.h
 116${PLIST.cocoa}include/glib-2.0/gio/gosxappinfo.h
116include/glib-2.0/gio/goutputstream.h 117include/glib-2.0/gio/goutputstream.h
117include/glib-2.0/gio/gpermission.h 118include/glib-2.0/gio/gpermission.h
118include/glib-2.0/gio/gpollableinputstream.h 119include/glib-2.0/gio/gpollableinputstream.h
119include/glib-2.0/gio/gpollableoutputstream.h 120include/glib-2.0/gio/gpollableoutputstream.h
120include/glib-2.0/gio/gpollableutils.h 121include/glib-2.0/gio/gpollableutils.h
121include/glib-2.0/gio/gpropertyaction.h 122include/glib-2.0/gio/gpropertyaction.h
122include/glib-2.0/gio/gproxy.h 123include/glib-2.0/gio/gproxy.h
123include/glib-2.0/gio/gproxyaddress.h 124include/glib-2.0/gio/gproxyaddress.h
124include/glib-2.0/gio/gproxyaddressenumerator.h 125include/glib-2.0/gio/gproxyaddressenumerator.h
125include/glib-2.0/gio/gproxyresolver.h 126include/glib-2.0/gio/gproxyresolver.h
126include/glib-2.0/gio/gremoteactiongroup.h 127include/glib-2.0/gio/gremoteactiongroup.h
127include/glib-2.0/gio/gresolver.h 128include/glib-2.0/gio/gresolver.h
128include/glib-2.0/gio/gresource.h 129include/glib-2.0/gio/gresource.h
@@ -270,52 +271,52 @@ include/glib-2.0/gobject/gparamspecs.h @@ -270,52 +271,52 @@ include/glib-2.0/gobject/gparamspecs.h
270include/glib-2.0/gobject/gsignal.h 271include/glib-2.0/gobject/gsignal.h
271include/glib-2.0/gobject/gsourceclosure.h 272include/glib-2.0/gobject/gsourceclosure.h
272include/glib-2.0/gobject/gtype.h 273include/glib-2.0/gobject/gtype.h
273include/glib-2.0/gobject/gtypemodule.h 274include/glib-2.0/gobject/gtypemodule.h
274include/glib-2.0/gobject/gtypeplugin.h 275include/glib-2.0/gobject/gtypeplugin.h
275include/glib-2.0/gobject/gvalue.h 276include/glib-2.0/gobject/gvalue.h
276include/glib-2.0/gobject/gvaluearray.h 277include/glib-2.0/gobject/gvaluearray.h
277include/glib-2.0/gobject/gvaluecollector.h 278include/glib-2.0/gobject/gvaluecollector.h
278include/glib-2.0/gobject/gvaluetypes.h 279include/glib-2.0/gobject/gvaluetypes.h
279${PLIST.fam}lib/gio/modules/libgiofam.so 280${PLIST.fam}lib/gio/modules/libgiofam.so
280lib/glib-2.0/include/glibconfig.h 281lib/glib-2.0/include/glibconfig.h
281lib/libgio-2.0.so 282lib/libgio-2.0.so
282lib/libgio-2.0.so.0 283lib/libgio-2.0.so.0
283lib/libgio-2.0.so.0.6000.6 284lib/libgio-2.0.so.0.6000.7
284lib/libglib-2.0.so 285lib/libglib-2.0.so
285lib/libglib-2.0.so.0 286lib/libglib-2.0.so.0
286lib/libglib-2.0.so.0.6000.6 287lib/libglib-2.0.so.0.6000.7
287lib/libgmodule-2.0.so 288lib/libgmodule-2.0.so
288lib/libgmodule-2.0.so.0 289lib/libgmodule-2.0.so.0
289lib/libgmodule-2.0.so.0.6000.6 290lib/libgmodule-2.0.so.0.6000.7
290lib/libgobject-2.0.so 291lib/libgobject-2.0.so
291lib/libgobject-2.0.so.0 292lib/libgobject-2.0.so.0
292lib/libgobject-2.0.so.0.6000.6 293lib/libgobject-2.0.so.0.6000.7
293lib/libgthread-2.0.so 294lib/libgthread-2.0.so
294lib/libgthread-2.0.so.0 295lib/libgthread-2.0.so.0
295lib/libgthread-2.0.so.0.6000.6 296lib/libgthread-2.0.so.0.6000.7
296lib/pkgconfig/gio-2.0.pc 297lib/pkgconfig/gio-2.0.pc
297lib/pkgconfig/gio-unix-2.0.pc 298lib/pkgconfig/gio-unix-2.0.pc
298lib/pkgconfig/glib-2.0.pc 299lib/pkgconfig/glib-2.0.pc
299lib/pkgconfig/gmodule-2.0.pc 300lib/pkgconfig/gmodule-2.0.pc
300lib/pkgconfig/gmodule-export-2.0.pc 301lib/pkgconfig/gmodule-export-2.0.pc
301lib/pkgconfig/gmodule-no-export-2.0.pc 302lib/pkgconfig/gmodule-no-export-2.0.pc
302lib/pkgconfig/gobject-2.0.pc 303lib/pkgconfig/gobject-2.0.pc
303lib/pkgconfig/gthread-2.0.pc 304lib/pkgconfig/gthread-2.0.pc
304share/aclocal/glib-2.0.m4 305share/aclocal/glib-2.0.m4
305share/aclocal/glib-gettext.m4 306share/aclocal/glib-gettext.m4
306share/aclocal/gsettings.m4 307share/aclocal/gsettings.m4
307share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.6000.6-gdb.py 308share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.6000.7-gdb.py
308share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.6000.6-gdb.py 309share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.6000.7-gdb.py
309share/gettext/its/gschema.its 310share/gettext/its/gschema.its
310share/gettext/its/gschema.loc 311share/gettext/its/gschema.loc
311share/glib-2.0/gdb/glib_gdb.py 312share/glib-2.0/gdb/glib_gdb.py
312share/glib-2.0/gdb/gobject_gdb.py 313share/glib-2.0/gdb/gobject_gdb.py
313share/glib-2.0/gettext/po/Makefile.in.in 314share/glib-2.0/gettext/po/Makefile.in.in
314share/glib-2.0/schemas/gschema.dtd 315share/glib-2.0/schemas/gschema.dtd
315share/glib-2.0/valgrind/glib.supp 316share/glib-2.0/valgrind/glib.supp
316share/locale/af/LC_MESSAGES/glib20.mo 317share/locale/af/LC_MESSAGES/glib20.mo
317share/locale/am/LC_MESSAGES/glib20.mo 318share/locale/am/LC_MESSAGES/glib20.mo
318share/locale/an/LC_MESSAGES/glib20.mo 319share/locale/an/LC_MESSAGES/glib20.mo
319share/locale/ar/LC_MESSAGES/glib20.mo 320share/locale/ar/LC_MESSAGES/glib20.mo
320share/locale/as/LC_MESSAGES/glib20.mo 321share/locale/as/LC_MESSAGES/glib20.mo
321share/locale/ast/LC_MESSAGES/glib20.mo 322share/locale/ast/LC_MESSAGES/glib20.mo

File Deleted: pkgsrc/devel/glib2/Attic/PLIST.Darwin

cvs diff -r1.254 -r1.255 pkgsrc/devel/glib2/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/glib2/distinfo 2019/08/20 14:06:46 1.254
+++ pkgsrc/devel/glib2/distinfo 2019/10/29 09:22:24 1.255
@@ -1,31 +1,32 @@ @@ -1,31 +1,32 @@
1$NetBSD: distinfo,v 1.254 2019/08/20 14:06:46 wiz Exp $ 1$NetBSD: distinfo,v 1.255 2019/10/29 09:22:24 adam Exp $
2 2
3SHA1 (glib-2.60.6.tar.xz) = b6b9bd8a9fa5fe68f972614d9bbb98a3e67c444d 3SHA1 (glib-2.60.7.tar.xz) = d0b21a9358ef03e9e90bcb8beb878cab21bec4f2
4RMD160 (glib-2.60.6.tar.xz) = b268c9616e72275ec9aa4cc9187be396b454e215 4RMD160 (glib-2.60.7.tar.xz) = 099608f6af4ce4a75fa24673b10f344829831be8
5SHA512 (glib-2.60.6.tar.xz) = 2e079d2268e0cd4dd234501c03e7784a69258ea2303e62baa4869ff7a442d121c2ffdc742467e3b0b46ad953b831962e1dd847463d66b2b28745ba0f0bfd28d9 5SHA512 (glib-2.60.7.tar.xz) = d56d805a5abf6f7aeb8bf5be06b60ad049177ee23f78eacef4ce2ea88a8be49966a95e48fed17c752649f6e80937fd0ebc8f959709f623ec1f2f43ffd42d078a
6Size (glib-2.60.6.tar.xz) = 4589516 bytes 6Size (glib-2.60.7.tar.xz) = 4590568 bytes
7SHA1 (patch-gio_gcredentialsprivate.h) = dab92e07f8357a7dc1a569e37f65f9b199aee281 7SHA1 (patch-gio_gcredentialsprivate.h) = dab92e07f8357a7dc1a569e37f65f9b199aee281
8SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 21c806f1a9884000b6a1683bc2fd1276b3c3544f 8SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 21c806f1a9884000b6a1683bc2fd1276b3c3544f
9SHA1 (patch-gio_giomodule.c) = d704699b2f457a08fff9219fe697e5fd2cc582ed 9SHA1 (patch-gio_giomodule.c) = d704699b2f457a08fff9219fe697e5fd2cc582ed
10SHA1 (patch-gio_gresource-tool.c) = ad0e59f48f5f98ea66be568dbe2e5a5d1ac602fc 10SHA1 (patch-gio_gresource-tool.c) = ad0e59f48f5f98ea66be568dbe2e5a5d1ac602fc
11SHA1 (patch-gio_gunixcredentialsmessage.c) = c13119ddd6262db7c03e53857e987f0c495d3312 11SHA1 (patch-gio_gunixcredentialsmessage.c) = c13119ddd6262db7c03e53857e987f0c495d3312
12SHA1 (patch-gio_gunixmounts.c) = 13af07fffe898457edd0d8db4296a60fccba913d 12SHA1 (patch-gio_gunixmounts.c) = 13af07fffe898457edd0d8db4296a60fccba913d
13SHA1 (patch-gio_inotify_inotify-kernel.c) = 24deec33a1ad5e3c1a4f2d1397440d26b0f23b84 13SHA1 (patch-gio_inotify_inotify-kernel.c) = 24deec33a1ad5e3c1a4f2d1397440d26b0f23b84
14SHA1 (patch-gio_meson.build) = 56b86a0b8ade34ebd155b2d530a19bf3eac97b76 14SHA1 (patch-gio_meson.build) = 7eb21bd0a0af539f13459f2aeb5e32624ceb93f2
15SHA1 (patch-gio_tests_gdbus-export.c) = 59d85ca079d02b52e33153c7d2ac1cc48c26707a 15SHA1 (patch-gio_tests_gdbus-export.c) = 59d85ca079d02b52e33153c7d2ac1cc48c26707a
16SHA1 (patch-glib_gatomic.c) = 875ad9c828dcf2add356d4988d14fb4f1985aef8 16SHA1 (patch-glib_gatomic.c) = 875ad9c828dcf2add356d4988d14fb4f1985aef8
17SHA1 (patch-glib_gatomic.h) = 21294cac483c3379198283c54fe6e24af3e630b1 17SHA1 (patch-glib_gatomic.h) = 21294cac483c3379198283c54fe6e24af3e630b1
18SHA1 (patch-glib_ghash.c) = 938135c3a71199e61d1cd1dffa6e1d63864150d6 18SHA1 (patch-glib_ghash.c) = 938135c3a71199e61d1cd1dffa6e1d63864150d6
19SHA1 (patch-glib_glibconfig.h.in) = 1964b5fb15317e681dad426d4862e3f48c4274f7 19SHA1 (patch-glib_glibconfig.h.in) = 1964b5fb15317e681dad426d4862e3f48c4274f7
20SHA1 (patch-glib_gmain.c) = 2ab4b59e438d9f764bee62e0c1fa8bbd231b6e8d 20SHA1 (patch-glib_gmain.c) = 2ab4b59e438d9f764bee62e0c1fa8bbd231b6e8d
21SHA1 (patch-glib_gtypes.h) = a659b770c55a8071a6e6afd8a9fccdf723e086e6 21SHA1 (patch-glib_gtypes.h) = a659b770c55a8071a6e6afd8a9fccdf723e086e6
22SHA1 (patch-glib_meson.build) = 119e48efd8aaabf06b62c6e1897261b470cf7355 22SHA1 (patch-glib_meson.build) = 6cb2d8eb2d19ef1290df2adde5675b36bf037b22
23SHA1 (patch-glib_tests_hash.c) = e928b22926ad917a7a201882a5105b25533554ae 23SHA1 (patch-glib_tests_hash.c) = e928b22926ad917a7a201882a5105b25533554ae
24SHA1 (patch-gmodule_gmodule-ar.c) = e382a0ada232e083d51cbede7f689a50ebeff4d8 24SHA1 (patch-gmodule_gmodule-ar.c) = e382a0ada232e083d51cbede7f689a50ebeff4d8
25SHA1 (patch-gmodule_gmodule-dl.c) = b678a04debbc79ebb67d91db7716990658e76da4 25SHA1 (patch-gmodule_gmodule-dl.c) = b678a04debbc79ebb67d91db7716990658e76da4
26SHA1 (patch-gmodule_gmodule-dyld.c) = 5adf62970d9cff22d451307aaa0b00d975dab138 26SHA1 (patch-gmodule_gmodule-dyld.c) = 5adf62970d9cff22d451307aaa0b00d975dab138
27SHA1 (patch-gmodule_gmodule-win32.c) = 477a861f8590a62c3dbc0aa4ad728cc86ebb34dd 27SHA1 (patch-gmodule_gmodule-win32.c) = 477a861f8590a62c3dbc0aa4ad728cc86ebb34dd
28SHA1 (patch-gmodule_gmodule.c) = 55c5f9d16e3517f3fdc04d40922f50d9c66b0b9a 28SHA1 (patch-gmodule_gmodule.c) = 55c5f9d16e3517f3fdc04d40922f50d9c66b0b9a
29SHA1 (patch-gobject_glib-mkenums.in) = c177cf9b1ea81542665240678f47f68351a3760d 29SHA1 (patch-gobject_glib-mkenums.in) = c177cf9b1ea81542665240678f47f68351a3760d
30SHA1 (patch-gobject_meson.build) = 58ee162e44047bf20c66067fd3edbe98cc13af50 30SHA1 (patch-gobject_meson.build) = 3cf17f5a60b2b15e62ad9287a6660e1c7e8af0d9
31SHA1 (patch-meson.build) = 125d98082c9bf2b6403bbda1c12e0fa695031ee6 31SHA1 (patch-meson.build) = 7b734de6bcc2dd78d8b028ba107d15bf89a3ac36
 32SHA1 (patch-meson_options.txt) = 23e215e44190a2e701b83e280ce235cf117e14ac

cvs diff -r1.21 -r1.22 pkgsrc/devel/glib2/options.mk (expand / switch to unified diff)

--- pkgsrc/devel/glib2/options.mk 2019/06/03 09:53:50 1.21
+++ pkgsrc/devel/glib2/options.mk 2019/10/29 09:22:24 1.22
@@ -1,14 +1,28 @@ @@ -1,14 +1,28 @@
1# $NetBSD: options.mk,v 1.21 2019/06/03 09:53:50 prlw1 Exp $ 1# $NetBSD: options.mk,v 1.22 2019/10/29 09:22:24 adam Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.glib2 3PKG_OPTIONS_VAR= PKG_OPTIONS.glib2
4PKG_SUPPORTED_OPTIONS= fam 4PKG_SUPPORTED_OPTIONS= fam
5PKG_SUGGESTED_OPTIONS= 5
 6.include "../../mk/bsd.prefs.mk"
 7.if ${OPSYS} == "Darwin"
 8PKG_SUPPORTED_OPTIONS+= cocoa
 9.endif
6 10
7.include "../../mk/bsd.options.mk" 11.include "../../mk/bsd.options.mk"
8 12
 13PLIST_VARS+= cocoa nococoa
 14
 15# if this options is enabled, use quartz for gtk{2,3}
 16.if !empty(PKG_OPTIONS:Mcocoa)
 17MESON_ARGS+= -Duse_cocoa=true
 18PLIST.cocoa= yes
 19.else
 20PLIST.nococoa= yes
 21.endif
 22
9PLIST_VARS+= fam 23PLIST_VARS+= fam
10.if !empty(PKG_OPTIONS:Mfam) 24.if !empty(PKG_OPTIONS:Mfam)
11MESON_ARGS+= -Dfam=true 25MESON_ARGS+= -Dfam=true
12PLIST.fam= yes 26PLIST.fam= yes
13.include "../../mk/fam.buildlink3.mk" 27.include "../../mk/fam.buildlink3.mk"
14.endif 28.endif

cvs diff -r1.5 -r1.6 pkgsrc/devel/glib2/patches/patch-gio_meson.build (expand / switch to unified diff)

--- pkgsrc/devel/glib2/patches/patch-gio_meson.build 2019/06/28 19:42:05 1.5
+++ pkgsrc/devel/glib2/patches/patch-gio_meson.build 2019/10/29 09:22:24 1.6
@@ -1,29 +1,20 @@ @@ -1,29 +1,20 @@
1$NetBSD: patch-gio_meson.build,v 1.5 2019/06/28 19:42:05 schmonz Exp $ 1$NetBSD: patch-gio_meson.build,v 1.6 2019/10/29 09:22:24 adam Exp $
2 2
3Don't build tests, as have strong dependency on libdl. 3Don't build tests, as have strong dependency on libdl.
4Disable inotify on SunOS. 4Disable inotify on SunOS.
5Install gio/gdesktopappinfo.h on OS X. 
6 5
7--- gio/meson.build.orig 2019-06-10 17:47:20.000000000 +0000 6--- gio/meson.build.orig 2019-06-10 17:47:20.000000000 +0000
8+++ gio/meson.build 7+++ gio/meson.build
9@@ -421,6 +421,7 @@ if host_system != 'windows' 
10 unix_sources += files('gcocoanotificationbackend.m') 
11 endif 
12 application_headers += files('gosxappinfo.h') 
13+ gio_unix_include_headers += files('gdesktopappinfo.h') 
14 else 
15 contenttype_sources += files('gcontenttype.c') 
16 appinfo_sources += files('gdesktopappinfo.c') 
17@@ -758,7 +759,7 @@ gioenumtypes_c = custom_target('gioenumt 8@@ -758,7 +759,7 @@ gioenumtypes_c = custom_target('gioenumt
18 gioenumtypes_dep = declare_dependency(sources : [gioenumtypes_h, glib_enumtypes_h]) 9 gioenumtypes_dep = declare_dependency(sources : [gioenumtypes_h, glib_enumtypes_h])
19  10
20 # inotify 11 # inotify
21-if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1 12-if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1
22+if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1 and host_system != 'sunos' 13+if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1 and host_system != 'sunos'
23 subdir('inotify') 14 subdir('inotify')
24 internal_deps += [ inotify_lib ] 15 internal_deps += [ inotify_lib ]
25 internal_objects += [inotify_lib.extract_all_objects()] 16 internal_objects += [inotify_lib.extract_all_objects()]
26@@ -994,4 +995,3 @@ if enable_systemtap 17@@ -994,4 +995,3 @@ if enable_systemtap
27 endif 18 endif
28  19
29 subdir('fam') 20 subdir('fam')

cvs diff -r1.5 -r1.6 pkgsrc/devel/glib2/patches/patch-meson.build (expand / switch to unified diff)

--- pkgsrc/devel/glib2/patches/patch-meson.build 2019/06/26 10:42:50 1.5
+++ pkgsrc/devel/glib2/patches/patch-meson.build 2019/10/29 09:22:24 1.6
@@ -1,32 +1,44 @@ @@ -1,32 +1,44 @@
1$NetBSD: patch-meson.build,v 1.5 2019/06/26 10:42:50 prlw1 Exp $ 1$NetBSD: patch-meson.build,v 1.6 2019/10/29 09:22:24 adam Exp $
2 2
3- Don't insist that python binary is called "python3". 3- On Darwin, optionally use Cocoa (needed for X11 users).
 4
 5- Don't insist that Python binary is called "python3".
4 (Requires meson >= 0.50.0) 6 (Requires meson >= 0.50.0)
 7
5- Don't install bash completion scripts. 8- Don't install bash completion scripts.
6 9
7- Tolerate getxattr not existing (smartOS) 10- Tolerate getxattr not existing (smartOS)
8 https://gitlab.gnome.org/GNOME/glib/merge_requests/888 11 https://gitlab.gnome.org/GNOME/glib/merge_requests/888
9 12
10- Define a newer POSIX, as we build this package with -std=gnu99 13- Define a newer POSIX, as we build this package with -std=gnu99
 14
11- auto-detect GNU iconv, even if no arguments are passed. 15- auto-detect GNU iconv, even if no arguments are passed.
12 (by checking if iconv.h might in fact be a gnu one) 16 (by checking if iconv.h might in fact be a gnu one)
13 17
14- Ignore __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 as is already done 18- Ignore __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 as is already done
15 for android and linux. PR pkg/54298 19 for android and linux. PR pkg/54298
16 20
17--- meson.build.orig 2019-06-10 17:47:20.000000000 +0000 21--- meson.build.orig 2019-07-24 10:52:04.000000000 +0000
18+++ meson.build 22+++ meson.build
19@@ -1570,28 +1570,15 @@ atomictest = '''int main() { 23@@ -643,6 +643,7 @@ if host_system == 'darwin'
 24 #error "Detected GNUstep, not Cocoa"
 25 #endif''',
 26 name : 'Mac OS X Cocoa support')
 27+ glib_have_cocoa = glib_have_cocoa and get_option('use_cocoa')
 28
 29 if glib_have_cocoa
 30 glib_conf.set('HAVE_COCOA', true)
 31@@ -1570,28 +1571,15 @@ atomictest = '''int main() {
20 } 32 }
21 ''' 33 '''
22  34
23-atomicdefine = ''' 35-atomicdefine = '''
24-#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 36-#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
25-#error "compiler has atomic ops, but doesn't define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4" 37-#error "compiler has atomic ops, but doesn't define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4"
26-#endif 38-#endif
27-''' 39-'''
28- 40-
29 # We know that we can always use real ("lock free") atomic operations with MSVC 41 # We know that we can always use real ("lock free") atomic operations with MSVC
30 if cc.get_id() == 'msvc' or cc.links(atomictest, name : 'atomic ops') 42 if cc.get_id() == 'msvc' or cc.links(atomictest, name : 'atomic ops')
31- have_atomic_lock_free = true 43- have_atomic_lock_free = true
32- if (host_system == 'android' or host_system == 'linux') and not cc.compiles(atomicdefine, name : 'atomic ops define') 44- if (host_system == 'android' or host_system == 'linux') and not cc.compiles(atomicdefine, name : 'atomic ops define')
@@ -37,97 +49,97 @@ $NetBSD: patch-meson.build,v 1.5 2019/06 @@ -37,97 +49,97 @@ $NetBSD: patch-meson.build,v 1.5 2019/06
37- endif 49- endif
38+ glibconfig_conf.set('G_ATOMIC_LOCK_FREE', true) 50+ glibconfig_conf.set('G_ATOMIC_LOCK_FREE', true)
39 else 51 else
40- have_atomic_lock_free = false 52- have_atomic_lock_free = false
41 if host_machine.cpu_family() == 'x86' and cc.links(atomictest, args : '-march=i486') 53 if host_machine.cpu_family() == 'x86' and cc.links(atomictest, args : '-march=i486')
42 error('GLib must be built with -march=i486 or later.') 54 error('GLib must be built with -march=i486 or later.')
43 endif 55 endif
44+ glibconfig_conf.set('G_ATOMIC_LOCK_FREE', false) 56+ glibconfig_conf.set('G_ATOMIC_LOCK_FREE', false)
45 endif 57 endif
46-glibconfig_conf.set('G_ATOMIC_LOCK_FREE', have_atomic_lock_free) 58-glibconfig_conf.set('G_ATOMIC_LOCK_FREE', have_atomic_lock_free)
47  59
48 # === Threads === 60 # === Threads ===
49  61
50@@ -1696,14 +1683,14 @@ else 62@@ -1696,14 +1684,14 @@ else
51 found_iconv = false 63 found_iconv = false
52 if iconv_opt == 'libc' 64 if iconv_opt == 'libc'
53 if cc.has_function('iconv_open') 65 if cc.has_function('iconv_open')
54- libiconv = [] 66- libiconv = []
55- found_iconv = true 67- found_iconv = true
56- endif 68- endif
57- elif iconv_opt == 'gnu' 69- elif iconv_opt == 'gnu'
58- if cc.has_header_symbol('iconv.h', 'libiconv_open') 70- if cc.has_header_symbol('iconv.h', 'libiconv_open')
59- glib_conf.set('USE_LIBICONV_GNU', true) 71- glib_conf.set('USE_LIBICONV_GNU', true)
60- libiconv = [cc.find_library('iconv')] 72- libiconv = [cc.find_library('iconv')]
61- found_iconv = true 73- found_iconv = true
62+ if cc.has_header_symbol('iconv.h', 'libiconv_open') 74+ if cc.has_header_symbol('iconv.h', 'libiconv_open')
63+ glib_conf.set('USE_LIBICONV_GNU', true) 75+ glib_conf.set('USE_LIBICONV_GNU', true)
64+ libiconv = [cc.find_library('iconv')] 76+ libiconv = [cc.find_library('iconv')]
65+ found_iconv = true 77+ found_iconv = true
66+ else 78+ else
67+ libiconv = [] 79+ libiconv = []
68+ found_iconv = true 80+ found_iconv = true
69+ endif 81+ endif
70 endif 82 endif
71 elif iconv_opt == 'native' 83 elif iconv_opt == 'native'
72 if cc.has_header_symbol('iconv.h', 'iconv_open') 84 if cc.has_header_symbol('iconv.h', 'iconv_open')
73@@ -1785,7 +1772,7 @@ endif 85@@ -1785,7 +1773,7 @@ endif
74 # proxy-libintl subproject. 86 # proxy-libintl subproject.
75 # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible 87 # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
76 # implementations. This could be extended if issues are found in some platforms. 88 # implementations. This could be extended if issues are found in some platforms.
77-if cc.has_function('ngettext') 89-if cc.has_function('ngettext')
78+if cc.has_function('ngettext') and host_system != 'sunos' 90+if cc.has_function('ngettext') and host_system != 'sunos'
79 libintl = [] 91 libintl = []
80 have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset') 92 have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
81 else 93 else
82@@ -1836,16 +1823,15 @@ if host_system != 'windows' and get_opti 94@@ -1836,16 +1824,15 @@ if host_system != 'windows' and get_opti
83 if cc.has_function('getxattr') and cc.has_header('sys/xattr.h') 95 if cc.has_function('getxattr') and cc.has_header('sys/xattr.h')
84 glib_conf.set('HAVE_SYS_XATTR_H', 1) 96 glib_conf.set('HAVE_SYS_XATTR_H', 1)
85 glib_conf_prefix = glib_conf_prefix + '#define @0@ 1\n'.format('HAVE_SYS_XATTR_H') 97 glib_conf_prefix = glib_conf_prefix + '#define @0@ 1\n'.format('HAVE_SYS_XATTR_H')
86+ glib_conf.set('HAVE_XATTR', 1) 98+ glib_conf.set('HAVE_XATTR', 1)
87 #failure. try libattr 99 #failure. try libattr
88 elif cc.has_header_symbol('attr/xattr.h', 'getxattr') 100 elif cc.has_header_symbol('attr/xattr.h', 'getxattr')
89 glib_conf.set('HAVE_ATTR_XATTR_H', 1) 101 glib_conf.set('HAVE_ATTR_XATTR_H', 1)
90 glib_conf_prefix = glib_conf_prefix + '#define @0@ 1\n'.format('HAVE_ATTR_XATTR_H') 102 glib_conf_prefix = glib_conf_prefix + '#define @0@ 1\n'.format('HAVE_ATTR_XATTR_H')
91 xattr_dep = [cc.find_library('xattr')] 103 xattr_dep = [cc.find_library('xattr')]
92- else 104- else
93- error('No getxattr implementation found in C library or libxattr') 105- error('No getxattr implementation found in C library or libxattr')
94+ glib_conf.set('HAVE_XATTR', 1) 106+ glib_conf.set('HAVE_XATTR', 1)
95 endif 107 endif
96  108
97- glib_conf.set('HAVE_XATTR', 1) 109- glib_conf.set('HAVE_XATTR', 1)
98 if cc.compiles(glib_conf_prefix + ''' 110 if cc.compiles(glib_conf_prefix + '''
99 #include <stdio.h> 111 #include <stdio.h>
100 #ifdef HAVE_SYS_TYPES_H 112 #ifdef HAVE_SYS_TYPES_H
101@@ -1886,9 +1872,11 @@ elif meson.get_cross_property('have_strl 113@@ -1886,9 +1873,11 @@ elif meson.get_cross_property('have_strl
102 glib_conf.set('HAVE_STRLCPY', 1) 114 glib_conf.set('HAVE_STRLCPY', 1)
103 endif 115 endif
104  116
105-python = import('python').find_installation('python3') 117-python = import('python').find_installation('python3')
106-# used for '#!/usr/bin/env <name>' 118-# used for '#!/usr/bin/env <name>'
107-python_name = 'python3' 119-python_name = 'python3'
108+python = import('python').find_installation('python3', required: false) 120+python = import('python').find_installation('python3', required: false)
109+if not python.found() 121+if not python.found()
110+ python = import('python').find_installation() 122+ python = import('python').find_installation()
111+endif 123+endif
112+python_name = python.path() 124+python_name = python.path()
113  125
114 python_version = python.language_version() 126 python_version = python.language_version()
115 python_version_req = '>=3.4' 127 python_version_req = '>=3.4'
116@@ -1897,7 +1885,7 @@ if not python_version.version_compare(py 128@@ -1897,7 +1886,7 @@ if not python_version.version_compare(py
117 endif 129 endif
118  130
119 # Determine which user environment-dependent files that we want to install 131 # Determine which user environment-dependent files that we want to install
120-have_bash = find_program('bash', required : false).found() # For completion scripts 132-have_bash = find_program('bash', required : false).found() # For completion scripts
121+have_bash = false # For completion scripts 133+have_bash = false # For completion scripts
122 have_sh = find_program('sh', required : false).found() # For glib-gettextize 134 have_sh = find_program('sh', required : false).found() # For glib-gettextize
123  135
124 # Some installed tests require a custom environment 136 # Some installed tests require a custom environment
125@@ -1906,7 +1894,7 @@ env_program = find_program('env', requir 137@@ -1906,7 +1895,7 @@ env_program = find_program('env', requir
126 # FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578 138 # FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578
127 if host_system == 'sunos' 139 if host_system == 'sunos'
128 glib_conf.set('_XOPEN_SOURCE_EXTENDED', 1) 140 glib_conf.set('_XOPEN_SOURCE_EXTENDED', 1)
129- glib_conf.set('_XOPEN_SOURCE', 2) 141- glib_conf.set('_XOPEN_SOURCE', 2)
130+ glib_conf.set('_POSIX_C_SOURCE',200809) 142+ glib_conf.set('_POSIX_C_SOURCE',200809)
131 glib_conf.set('__EXTENSIONS__',1) 143 glib_conf.set('__EXTENSIONS__',1)
132 endif 144 endif
133  145

cvs diff -r1.3 -r1.4 pkgsrc/devel/glib2/patches/patch-glib_meson.build (expand / switch to unified diff)

--- pkgsrc/devel/glib2/patches/patch-glib_meson.build 2019/06/16 15:28:12 1.3
+++ pkgsrc/devel/glib2/patches/patch-glib_meson.build 2019/10/29 09:22:24 1.4
@@ -1,21 +1,31 @@ @@ -1,21 +1,31 @@
1$NetBSD: patch-glib_meson.build,v 1.3 2019/06/16 15:28:12 leot Exp $ 1$NetBSD: patch-glib_meson.build,v 1.4 2019/10/29 09:22:24 adam Exp $
2 2
 3- On Darwin, allow building without Cocoa.
3- Don't bother with gtester as it's slated for deprecation anyway: 4- Don't bother with gtester as it's slated for deprecation anyway:
4 https://gitlab.gnome.org/GNOME/glib/issues/1441 5 https://gitlab.gnome.org/GNOME/glib/issues/1441
5- Don't build tests 6- Don't build tests
6 7
7--- glib/meson.build.orig 2019-06-10 17:47:20.000000000 +0000 8--- glib/meson.build.orig 2019-07-24 10:52:04.000000000 +0000
8+++ glib/meson.build 9+++ glib/meson.build
 10@@ -230,7 +230,7 @@ else
 11 platform_deps = []
 12 endif
 13
 14-if host_system == 'darwin'
 15+if host_system == 'darwin' and glib_have_cocoa
 16 glib_sources += files('gosxutils.m')
 17 endif
 18
9@@ -324,24 +324,8 @@ if host_system == 'windows' 19@@ -324,24 +324,8 @@ if host_system == 'windows'
10 include_directories : configinc, 20 include_directories : configinc,
11 dependencies : [libglib_dep]) 21 dependencies : [libglib_dep])
12 endif 22 endif
13-else 23-else
14- gtester = executable('gtester', 'gtester.c', 24- gtester = executable('gtester', 'gtester.c',
15- install : true, 25- install : true,
16- include_directories : configinc, 26- include_directories : configinc,
17- dependencies : [libglib_dep]) 27- dependencies : [libglib_dep])
18 endif 28 endif
19  29
20-report_conf = configuration_data() 30-report_conf = configuration_data()
21-report_conf.set('GLIB_VERSION', glib_version) 31-report_conf.set('GLIB_VERSION', glib_version)

cvs diff -r1.3 -r1.4 pkgsrc/devel/glib2/patches/patch-gobject_meson.build (expand / switch to unified diff)

--- pkgsrc/devel/glib2/patches/patch-gobject_meson.build 2019/06/16 15:28:12 1.3
+++ pkgsrc/devel/glib2/patches/patch-gobject_meson.build 2019/10/29 09:22:24 1.4
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-gobject_meson.build,v 1.3 2019/06/16 15:28:12 leot Exp $ 1$NetBSD: patch-gobject_meson.build,v 1.4 2019/10/29 09:22:24 adam Exp $
2 2
3Leave glib-genmarshal and glib-mkenums to devel/glib2-tools. 3Leave glib-genmarshal and glib-mkenums to devel/glib2-tools.
4  4
5--- gobject/meson.build.orig 2019-06-10 17:47:20.000000000 +0000 5--- gobject/meson.build.orig 2019-06-10 17:47:20.000000000 +0000
6+++ gobject/meson.build 6+++ gobject/meson.build
7@@ -75,7 +75,7 @@ foreach tool: python_tools 7@@ -75,7 +75,7 @@ foreach tool: python_tools
8 input : tool + '.in', 8 input : tool + '.in',
9 output : tool, 9 output : tool,
10 configuration : python_tools_conf, 10 configuration : python_tools_conf,
11- install : true, 11- install : true,
12+ install : false, 12+ install : false,
13 install_dir : glib_bindir, 13 install_dir : glib_bindir,
14 ) 14 )
15  15

File Added: pkgsrc/devel/glib2/patches/patch-meson_options.txt
$NetBSD: patch-meson_options.txt,v 1.1 2019/10/29 09:22:24 adam Exp $

Add use_cocoa option.

--- meson_options.txt.orig	2019-08-03 12:15:12.000000000 +0000
+++ meson_options.txt
@@ -89,3 +89,8 @@ option('nls',
        value : 'auto',
        yield: true,
        description : 'Enable native language support (translations)')
+
+option('use_cocoa',
+       type : 'boolean',
+       value : false,
+       description : 'Use Cocoa on macOS')