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-60diff -r1.4 -r1.5 pkgsrc/devel/gdbus-codegen/distinfo
(adam)
@@ -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 | |||
3 | SHA1 (glib-2.60.6.tar.xz) = b6b9bd8a9fa5fe68f972614d9bbb98a3e67c444d | 3 | SHA1 (glib-2.60.7.tar.xz) = d0b21a9358ef03e9e90bcb8beb878cab21bec4f2 | |
4 | RMD160 (glib-2.60.6.tar.xz) = b268c9616e72275ec9aa4cc9187be396b454e215 | 4 | RMD160 (glib-2.60.7.tar.xz) = 099608f6af4ce4a75fa24673b10f344829831be8 | |
5 | SHA512 (glib-2.60.6.tar.xz) = 2e079d2268e0cd4dd234501c03e7784a69258ea2303e62baa4869ff7a442d121c2ffdc742467e3b0b46ad953b831962e1dd847463d66b2b28745ba0f0bfd28d9 | 5 | SHA512 (glib-2.60.7.tar.xz) = d56d805a5abf6f7aeb8bf5be06b60ad049177ee23f78eacef4ce2ea88a8be49966a95e48fed17c752649f6e80937fd0ebc8f959709f623ec1f2f43ffd42d078a | |
6 | Size (glib-2.60.6.tar.xz) = 4589516 bytes | 6 | Size (glib-2.60.7.tar.xz) = 4590568 bytes | |
7 | SHA1 (patch-meson.build) = 6877b395f02619ea93b648119373ac1b53438c59 | 7 | SHA1 (patch-meson.build) = 6877b395f02619ea93b648119373ac1b53438c59 |
@@ -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 | |||
5 | CATEGORIES= devel gnome | 5 | CATEGORIES= devel gnome | |
6 | COMMENT= Some useful routines for C programming (glib2) | 6 | COMMENT= Some useful routines for C programming (glib2) | |
7 | 7 | |||
8 | .include "options.mk" | 8 | .include "options.mk" | |
9 | 9 | |||
10 | MESON_ARGS+= -Dinstalled_tests=false | 10 | MESON_ARGS+= -Dinstalled_tests=false | |
11 | # Avoid linux dependency on libmount-dev | 11 | # Avoid linux dependency on libmount-dev | |
12 | MESON_ARGS+= -Dlibmount=false | 12 | MESON_ARGS+= -Dlibmount=false | |
13 | 13 | |||
14 | LDFLAGS.SunOS+= -lintl -lnsl | 14 | LDFLAGS.SunOS+= -lintl -lnsl | |
@@ -50,27 +50,21 @@ PKGCONFIG_OVERRIDE+= output/meson-privat | @@ -50,27 +50,21 @@ PKGCONFIG_OVERRIDE+= output/meson-privat | |||
50 | PKGCONFIG_OVERRIDE+= output/meson-private/glib-2.0.pc | 50 | PKGCONFIG_OVERRIDE+= output/meson-private/glib-2.0.pc | |
51 | PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-2.0.pc | 51 | PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-2.0.pc | |
52 | PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-export-2.0.pc | 52 | PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-export-2.0.pc | |
53 | PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-no-export-2.0.pc | 53 | PKGCONFIG_OVERRIDE+= output/meson-private/gmodule-no-export-2.0.pc | |
54 | PKGCONFIG_OVERRIDE+= output/meson-private/gobject-2.0.pc | 54 | PKGCONFIG_OVERRIDE+= output/meson-private/gobject-2.0.pc | |
55 | PKGCONFIG_OVERRIDE+= output/meson-private/gthread-2.0.pc | 55 | PKGCONFIG_OVERRIDE+= output/meson-private/gthread-2.0.pc | |
56 | 56 | |||
57 | PKGCONFIG_OVERRIDE_STAGE= post-configure | 57 | PKGCONFIG_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} | |
60 | TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | 60 | TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | |
61 | PYTHON_FOR_BUILD_ONLY= yes | 61 | PYTHON_FOR_BUILD_ONLY= yes | |
62 | 62 | |||
63 | .include "../../mk/bsd.prefs.mk" | |||
64 | PLIST_VARS+= nococoa | |||
65 | .if ${OPSYS} != "Darwin" | |||
66 | PLIST.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" |
@@ -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 | |||
6 | DISTNAME= glib-2.60.6 | 6 | DISTNAME= glib-2.60.7 | |
7 | PKGNAME= ${DISTNAME:S/glib/glib2/} | 7 | PKGNAME= ${DISTNAME:S/glib/glib2/} | |
8 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/} | 8 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/} | |
9 | EXTRACT_SUFX= .tar.xz | 9 | EXTRACT_SUFX= .tar.xz | |
10 | 10 | |||
11 | MAINTAINER= prlw1@cam.ac.uk | 11 | MAINTAINER= prlw1@cam.ac.uk | |
12 | HOMEPAGE= https://developer.gnome.org/glib/ | 12 | HOMEPAGE= https://developer.gnome.org/glib/ | |
13 | LICENSE= gnu-lgpl-v2.1 | 13 | LICENSE= gnu-lgpl-v2.1 | |
14 | 14 | |||
15 | USE_LANGUAGES= c c++ c99 | 15 | USE_LANGUAGES= c c++ c99 | |
16 | USE_TOOLS+= msgfmt pkg-config | 16 | USE_TOOLS+= msgfmt pkg-config | |
17 | 17 | |||
18 | # does snprintf %d with pid_t... | 18 | # does snprintf %d with pid_t... | |
19 | BUILDLINK_TRANSFORM+= rm:-Werror=format=2 | 19 | BUILDLINK_TRANSFORM+= rm:-Werror=format=2 |
@@ -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 | |
3 | bin/gdbus | 3 | bin/gdbus | |
4 | bin/gio | 4 | bin/gio | |
5 | ${PLIST.nococoa}bin/gio-launch-desktop | 5 | ${PLIST.nococoa}bin/gio-launch-desktop | |
6 | bin/gio-querymodules | 6 | bin/gio-querymodules | |
7 | bin/glib-compile-resources | 7 | bin/glib-compile-resources | |
8 | bin/glib-compile-schemas | 8 | bin/glib-compile-schemas | |
9 | bin/glib-gettextize | 9 | bin/glib-gettextize | |
10 | bin/gobject-query | 10 | bin/gobject-query | |
11 | bin/gresource | 11 | bin/gresource | |
12 | bin/gsettings | 12 | bin/gsettings | |
13 | include/gio-unix-2.0/gio/gdesktopappinfo.h | 13 | ${PLIST.nococoa}include/gio-unix-2.0/gio/gdesktopappinfo.h | |
14 | include/gio-unix-2.0/gio/gfiledescriptorbased.h | 14 | include/gio-unix-2.0/gio/gfiledescriptorbased.h | |
15 | include/gio-unix-2.0/gio/gunixconnection.h | 15 | include/gio-unix-2.0/gio/gunixconnection.h | |
16 | include/gio-unix-2.0/gio/gunixcredentialsmessage.h | 16 | include/gio-unix-2.0/gio/gunixcredentialsmessage.h | |
17 | include/gio-unix-2.0/gio/gunixfdlist.h | 17 | include/gio-unix-2.0/gio/gunixfdlist.h | |
18 | include/gio-unix-2.0/gio/gunixfdmessage.h | 18 | include/gio-unix-2.0/gio/gunixfdmessage.h | |
19 | include/gio-unix-2.0/gio/gunixinputstream.h | 19 | include/gio-unix-2.0/gio/gunixinputstream.h | |
20 | include/gio-unix-2.0/gio/gunixmounts.h | 20 | include/gio-unix-2.0/gio/gunixmounts.h | |
21 | include/gio-unix-2.0/gio/gunixoutputstream.h | 21 | include/gio-unix-2.0/gio/gunixoutputstream.h | |
22 | include/gio-unix-2.0/gio/gunixsocketaddress.h | 22 | include/gio-unix-2.0/gio/gunixsocketaddress.h | |
23 | include/glib-2.0/gio/gaction.h | 23 | include/glib-2.0/gio/gaction.h | |
24 | include/glib-2.0/gio/gactiongroup.h | 24 | include/glib-2.0/gio/gactiongroup.h | |
25 | include/glib-2.0/gio/gactiongroupexporter.h | 25 | include/glib-2.0/gio/gactiongroupexporter.h | |
26 | include/glib-2.0/gio/gactionmap.h | 26 | include/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 | |||
103 | include/glib-2.0/gio/gmemoryinputstream.h | 103 | include/glib-2.0/gio/gmemoryinputstream.h | |
104 | include/glib-2.0/gio/gmemoryoutputstream.h | 104 | include/glib-2.0/gio/gmemoryoutputstream.h | |
105 | include/glib-2.0/gio/gmenu.h | 105 | include/glib-2.0/gio/gmenu.h | |
106 | include/glib-2.0/gio/gmenuexporter.h | 106 | include/glib-2.0/gio/gmenuexporter.h | |
107 | include/glib-2.0/gio/gmenumodel.h | 107 | include/glib-2.0/gio/gmenumodel.h | |
108 | include/glib-2.0/gio/gmount.h | 108 | include/glib-2.0/gio/gmount.h | |
109 | include/glib-2.0/gio/gmountoperation.h | 109 | include/glib-2.0/gio/gmountoperation.h | |
110 | include/glib-2.0/gio/gnativevolumemonitor.h | 110 | include/glib-2.0/gio/gnativevolumemonitor.h | |
111 | include/glib-2.0/gio/gnetworkaddress.h | 111 | include/glib-2.0/gio/gnetworkaddress.h | |
112 | include/glib-2.0/gio/gnetworking.h | 112 | include/glib-2.0/gio/gnetworking.h | |
113 | include/glib-2.0/gio/gnetworkmonitor.h | 113 | include/glib-2.0/gio/gnetworkmonitor.h | |
114 | include/glib-2.0/gio/gnetworkservice.h | 114 | include/glib-2.0/gio/gnetworkservice.h | |
115 | include/glib-2.0/gio/gnotification.h | 115 | include/glib-2.0/gio/gnotification.h | |
116 | ${PLIST.cocoa}include/glib-2.0/gio/gosxappinfo.h | |||
116 | include/glib-2.0/gio/goutputstream.h | 117 | include/glib-2.0/gio/goutputstream.h | |
117 | include/glib-2.0/gio/gpermission.h | 118 | include/glib-2.0/gio/gpermission.h | |
118 | include/glib-2.0/gio/gpollableinputstream.h | 119 | include/glib-2.0/gio/gpollableinputstream.h | |
119 | include/glib-2.0/gio/gpollableoutputstream.h | 120 | include/glib-2.0/gio/gpollableoutputstream.h | |
120 | include/glib-2.0/gio/gpollableutils.h | 121 | include/glib-2.0/gio/gpollableutils.h | |
121 | include/glib-2.0/gio/gpropertyaction.h | 122 | include/glib-2.0/gio/gpropertyaction.h | |
122 | include/glib-2.0/gio/gproxy.h | 123 | include/glib-2.0/gio/gproxy.h | |
123 | include/glib-2.0/gio/gproxyaddress.h | 124 | include/glib-2.0/gio/gproxyaddress.h | |
124 | include/glib-2.0/gio/gproxyaddressenumerator.h | 125 | include/glib-2.0/gio/gproxyaddressenumerator.h | |
125 | include/glib-2.0/gio/gproxyresolver.h | 126 | include/glib-2.0/gio/gproxyresolver.h | |
126 | include/glib-2.0/gio/gremoteactiongroup.h | 127 | include/glib-2.0/gio/gremoteactiongroup.h | |
127 | include/glib-2.0/gio/gresolver.h | 128 | include/glib-2.0/gio/gresolver.h | |
128 | include/glib-2.0/gio/gresource.h | 129 | include/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 | |||
270 | include/glib-2.0/gobject/gsignal.h | 271 | include/glib-2.0/gobject/gsignal.h | |
271 | include/glib-2.0/gobject/gsourceclosure.h | 272 | include/glib-2.0/gobject/gsourceclosure.h | |
272 | include/glib-2.0/gobject/gtype.h | 273 | include/glib-2.0/gobject/gtype.h | |
273 | include/glib-2.0/gobject/gtypemodule.h | 274 | include/glib-2.0/gobject/gtypemodule.h | |
274 | include/glib-2.0/gobject/gtypeplugin.h | 275 | include/glib-2.0/gobject/gtypeplugin.h | |
275 | include/glib-2.0/gobject/gvalue.h | 276 | include/glib-2.0/gobject/gvalue.h | |
276 | include/glib-2.0/gobject/gvaluearray.h | 277 | include/glib-2.0/gobject/gvaluearray.h | |
277 | include/glib-2.0/gobject/gvaluecollector.h | 278 | include/glib-2.0/gobject/gvaluecollector.h | |
278 | include/glib-2.0/gobject/gvaluetypes.h | 279 | include/glib-2.0/gobject/gvaluetypes.h | |
279 | ${PLIST.fam}lib/gio/modules/libgiofam.so | 280 | ${PLIST.fam}lib/gio/modules/libgiofam.so | |
280 | lib/glib-2.0/include/glibconfig.h | 281 | lib/glib-2.0/include/glibconfig.h | |
281 | lib/libgio-2.0.so | 282 | lib/libgio-2.0.so | |
282 | lib/libgio-2.0.so.0 | 283 | lib/libgio-2.0.so.0 | |
283 | lib/libgio-2.0.so.0.6000.6 | 284 | lib/libgio-2.0.so.0.6000.7 | |
284 | lib/libglib-2.0.so | 285 | lib/libglib-2.0.so | |
285 | lib/libglib-2.0.so.0 | 286 | lib/libglib-2.0.so.0 | |
286 | lib/libglib-2.0.so.0.6000.6 | 287 | lib/libglib-2.0.so.0.6000.7 | |
287 | lib/libgmodule-2.0.so | 288 | lib/libgmodule-2.0.so | |
288 | lib/libgmodule-2.0.so.0 | 289 | lib/libgmodule-2.0.so.0 | |
289 | lib/libgmodule-2.0.so.0.6000.6 | 290 | lib/libgmodule-2.0.so.0.6000.7 | |
290 | lib/libgobject-2.0.so | 291 | lib/libgobject-2.0.so | |
291 | lib/libgobject-2.0.so.0 | 292 | lib/libgobject-2.0.so.0 | |
292 | lib/libgobject-2.0.so.0.6000.6 | 293 | lib/libgobject-2.0.so.0.6000.7 | |
293 | lib/libgthread-2.0.so | 294 | lib/libgthread-2.0.so | |
294 | lib/libgthread-2.0.so.0 | 295 | lib/libgthread-2.0.so.0 | |
295 | lib/libgthread-2.0.so.0.6000.6 | 296 | lib/libgthread-2.0.so.0.6000.7 | |
296 | lib/pkgconfig/gio-2.0.pc | 297 | lib/pkgconfig/gio-2.0.pc | |
297 | lib/pkgconfig/gio-unix-2.0.pc | 298 | lib/pkgconfig/gio-unix-2.0.pc | |
298 | lib/pkgconfig/glib-2.0.pc | 299 | lib/pkgconfig/glib-2.0.pc | |
299 | lib/pkgconfig/gmodule-2.0.pc | 300 | lib/pkgconfig/gmodule-2.0.pc | |
300 | lib/pkgconfig/gmodule-export-2.0.pc | 301 | lib/pkgconfig/gmodule-export-2.0.pc | |
301 | lib/pkgconfig/gmodule-no-export-2.0.pc | 302 | lib/pkgconfig/gmodule-no-export-2.0.pc | |
302 | lib/pkgconfig/gobject-2.0.pc | 303 | lib/pkgconfig/gobject-2.0.pc | |
303 | lib/pkgconfig/gthread-2.0.pc | 304 | lib/pkgconfig/gthread-2.0.pc | |
304 | share/aclocal/glib-2.0.m4 | 305 | share/aclocal/glib-2.0.m4 | |
305 | share/aclocal/glib-gettext.m4 | 306 | share/aclocal/glib-gettext.m4 | |
306 | share/aclocal/gsettings.m4 | 307 | share/aclocal/gsettings.m4 | |
307 | share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.6000.6-gdb.py | 308 | share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.6000.7-gdb.py | |
308 | share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.6000.6-gdb.py | 309 | share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.6000.7-gdb.py | |
309 | share/gettext/its/gschema.its | 310 | share/gettext/its/gschema.its | |
310 | share/gettext/its/gschema.loc | 311 | share/gettext/its/gschema.loc | |
311 | share/glib-2.0/gdb/glib_gdb.py | 312 | share/glib-2.0/gdb/glib_gdb.py | |
312 | share/glib-2.0/gdb/gobject_gdb.py | 313 | share/glib-2.0/gdb/gobject_gdb.py | |
313 | share/glib-2.0/gettext/po/Makefile.in.in | 314 | share/glib-2.0/gettext/po/Makefile.in.in | |
314 | share/glib-2.0/schemas/gschema.dtd | 315 | share/glib-2.0/schemas/gschema.dtd | |
315 | share/glib-2.0/valgrind/glib.supp | 316 | share/glib-2.0/valgrind/glib.supp | |
316 | share/locale/af/LC_MESSAGES/glib20.mo | 317 | share/locale/af/LC_MESSAGES/glib20.mo | |
317 | share/locale/am/LC_MESSAGES/glib20.mo | 318 | share/locale/am/LC_MESSAGES/glib20.mo | |
318 | share/locale/an/LC_MESSAGES/glib20.mo | 319 | share/locale/an/LC_MESSAGES/glib20.mo | |
319 | share/locale/ar/LC_MESSAGES/glib20.mo | 320 | share/locale/ar/LC_MESSAGES/glib20.mo | |
320 | share/locale/as/LC_MESSAGES/glib20.mo | 321 | share/locale/as/LC_MESSAGES/glib20.mo | |
321 | share/locale/ast/LC_MESSAGES/glib20.mo | 322 | share/locale/ast/LC_MESSAGES/glib20.mo |
@@ -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 | |||
3 | SHA1 (glib-2.60.6.tar.xz) = b6b9bd8a9fa5fe68f972614d9bbb98a3e67c444d | 3 | SHA1 (glib-2.60.7.tar.xz) = d0b21a9358ef03e9e90bcb8beb878cab21bec4f2 | |
4 | RMD160 (glib-2.60.6.tar.xz) = b268c9616e72275ec9aa4cc9187be396b454e215 | 4 | RMD160 (glib-2.60.7.tar.xz) = 099608f6af4ce4a75fa24673b10f344829831be8 | |
5 | SHA512 (glib-2.60.6.tar.xz) = 2e079d2268e0cd4dd234501c03e7784a69258ea2303e62baa4869ff7a442d121c2ffdc742467e3b0b46ad953b831962e1dd847463d66b2b28745ba0f0bfd28d9 | 5 | SHA512 (glib-2.60.7.tar.xz) = d56d805a5abf6f7aeb8bf5be06b60ad049177ee23f78eacef4ce2ea88a8be49966a95e48fed17c752649f6e80937fd0ebc8f959709f623ec1f2f43ffd42d078a | |
6 | Size (glib-2.60.6.tar.xz) = 4589516 bytes | 6 | Size (glib-2.60.7.tar.xz) = 4590568 bytes | |
7 | SHA1 (patch-gio_gcredentialsprivate.h) = dab92e07f8357a7dc1a569e37f65f9b199aee281 | 7 | SHA1 (patch-gio_gcredentialsprivate.h) = dab92e07f8357a7dc1a569e37f65f9b199aee281 | |
8 | SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 21c806f1a9884000b6a1683bc2fd1276b3c3544f | 8 | SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 21c806f1a9884000b6a1683bc2fd1276b3c3544f | |
9 | SHA1 (patch-gio_giomodule.c) = d704699b2f457a08fff9219fe697e5fd2cc582ed | 9 | SHA1 (patch-gio_giomodule.c) = d704699b2f457a08fff9219fe697e5fd2cc582ed | |
10 | SHA1 (patch-gio_gresource-tool.c) = ad0e59f48f5f98ea66be568dbe2e5a5d1ac602fc | 10 | SHA1 (patch-gio_gresource-tool.c) = ad0e59f48f5f98ea66be568dbe2e5a5d1ac602fc | |
11 | SHA1 (patch-gio_gunixcredentialsmessage.c) = c13119ddd6262db7c03e53857e987f0c495d3312 | 11 | SHA1 (patch-gio_gunixcredentialsmessage.c) = c13119ddd6262db7c03e53857e987f0c495d3312 | |
12 | SHA1 (patch-gio_gunixmounts.c) = 13af07fffe898457edd0d8db4296a60fccba913d | 12 | SHA1 (patch-gio_gunixmounts.c) = 13af07fffe898457edd0d8db4296a60fccba913d | |
13 | SHA1 (patch-gio_inotify_inotify-kernel.c) = 24deec33a1ad5e3c1a4f2d1397440d26b0f23b84 | 13 | SHA1 (patch-gio_inotify_inotify-kernel.c) = 24deec33a1ad5e3c1a4f2d1397440d26b0f23b84 | |
14 | SHA1 (patch-gio_meson.build) = 56b86a0b8ade34ebd155b2d530a19bf3eac97b76 | 14 | SHA1 (patch-gio_meson.build) = 7eb21bd0a0af539f13459f2aeb5e32624ceb93f2 | |
15 | SHA1 (patch-gio_tests_gdbus-export.c) = 59d85ca079d02b52e33153c7d2ac1cc48c26707a | 15 | SHA1 (patch-gio_tests_gdbus-export.c) = 59d85ca079d02b52e33153c7d2ac1cc48c26707a | |
16 | SHA1 (patch-glib_gatomic.c) = 875ad9c828dcf2add356d4988d14fb4f1985aef8 | 16 | SHA1 (patch-glib_gatomic.c) = 875ad9c828dcf2add356d4988d14fb4f1985aef8 | |
17 | SHA1 (patch-glib_gatomic.h) = 21294cac483c3379198283c54fe6e24af3e630b1 | 17 | SHA1 (patch-glib_gatomic.h) = 21294cac483c3379198283c54fe6e24af3e630b1 | |
18 | SHA1 (patch-glib_ghash.c) = 938135c3a71199e61d1cd1dffa6e1d63864150d6 | 18 | SHA1 (patch-glib_ghash.c) = 938135c3a71199e61d1cd1dffa6e1d63864150d6 | |
19 | SHA1 (patch-glib_glibconfig.h.in) = 1964b5fb15317e681dad426d4862e3f48c4274f7 | 19 | SHA1 (patch-glib_glibconfig.h.in) = 1964b5fb15317e681dad426d4862e3f48c4274f7 | |
20 | SHA1 (patch-glib_gmain.c) = 2ab4b59e438d9f764bee62e0c1fa8bbd231b6e8d | 20 | SHA1 (patch-glib_gmain.c) = 2ab4b59e438d9f764bee62e0c1fa8bbd231b6e8d | |
21 | SHA1 (patch-glib_gtypes.h) = a659b770c55a8071a6e6afd8a9fccdf723e086e6 | 21 | SHA1 (patch-glib_gtypes.h) = a659b770c55a8071a6e6afd8a9fccdf723e086e6 | |
22 | SHA1 (patch-glib_meson.build) = 119e48efd8aaabf06b62c6e1897261b470cf7355 | 22 | SHA1 (patch-glib_meson.build) = 6cb2d8eb2d19ef1290df2adde5675b36bf037b22 | |
23 | SHA1 (patch-glib_tests_hash.c) = e928b22926ad917a7a201882a5105b25533554ae | 23 | SHA1 (patch-glib_tests_hash.c) = e928b22926ad917a7a201882a5105b25533554ae | |
24 | SHA1 (patch-gmodule_gmodule-ar.c) = e382a0ada232e083d51cbede7f689a50ebeff4d8 | 24 | SHA1 (patch-gmodule_gmodule-ar.c) = e382a0ada232e083d51cbede7f689a50ebeff4d8 | |
25 | SHA1 (patch-gmodule_gmodule-dl.c) = b678a04debbc79ebb67d91db7716990658e76da4 | 25 | SHA1 (patch-gmodule_gmodule-dl.c) = b678a04debbc79ebb67d91db7716990658e76da4 | |
26 | SHA1 (patch-gmodule_gmodule-dyld.c) = 5adf62970d9cff22d451307aaa0b00d975dab138 | 26 | SHA1 (patch-gmodule_gmodule-dyld.c) = 5adf62970d9cff22d451307aaa0b00d975dab138 | |
27 | SHA1 (patch-gmodule_gmodule-win32.c) = 477a861f8590a62c3dbc0aa4ad728cc86ebb34dd | 27 | SHA1 (patch-gmodule_gmodule-win32.c) = 477a861f8590a62c3dbc0aa4ad728cc86ebb34dd | |
28 | SHA1 (patch-gmodule_gmodule.c) = 55c5f9d16e3517f3fdc04d40922f50d9c66b0b9a | 28 | SHA1 (patch-gmodule_gmodule.c) = 55c5f9d16e3517f3fdc04d40922f50d9c66b0b9a | |
29 | SHA1 (patch-gobject_glib-mkenums.in) = c177cf9b1ea81542665240678f47f68351a3760d | 29 | SHA1 (patch-gobject_glib-mkenums.in) = c177cf9b1ea81542665240678f47f68351a3760d | |
30 | SHA1 (patch-gobject_meson.build) = 58ee162e44047bf20c66067fd3edbe98cc13af50 | 30 | SHA1 (patch-gobject_meson.build) = 3cf17f5a60b2b15e62ad9287a6660e1c7e8af0d9 | |
31 | SHA1 (patch-meson.build) = 125d98082c9bf2b6403bbda1c12e0fa695031ee6 | 31 | SHA1 (patch-meson.build) = 7b734de6bcc2dd78d8b028ba107d15bf89a3ac36 | |
32 | SHA1 (patch-meson_options.txt) = 23e215e44190a2e701b83e280ce235cf117e14ac |
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.glib2 | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.glib2 | |
4 | PKG_SUPPORTED_OPTIONS= fam | 4 | PKG_SUPPORTED_OPTIONS= fam | |
5 | PKG_SUGGESTED_OPTIONS= | 5 | ||
6 | .include "../../mk/bsd.prefs.mk" | |||
7 | .if ${OPSYS} == "Darwin" | |||
8 | PKG_SUPPORTED_OPTIONS+= cocoa | |||
9 | .endif | |||
6 | 10 | |||
7 | .include "../../mk/bsd.options.mk" | 11 | .include "../../mk/bsd.options.mk" | |
8 | 12 | |||
13 | PLIST_VARS+= cocoa nococoa | |||
14 | ||||
15 | # if this options is enabled, use quartz for gtk{2,3} | |||
16 | .if !empty(PKG_OPTIONS:Mcocoa) | |||
17 | MESON_ARGS+= -Duse_cocoa=true | |||
18 | PLIST.cocoa= yes | |||
19 | .else | |||
20 | PLIST.nococoa= yes | |||
21 | .endif | |||
22 | ||||
9 | PLIST_VARS+= fam | 23 | PLIST_VARS+= fam | |
10 | .if !empty(PKG_OPTIONS:Mfam) | 24 | .if !empty(PKG_OPTIONS:Mfam) | |
11 | MESON_ARGS+= -Dfam=true | 25 | MESON_ARGS+= -Dfam=true | |
12 | PLIST.fam= yes | 26 | PLIST.fam= yes | |
13 | .include "../../mk/fam.buildlink3.mk" | 27 | .include "../../mk/fam.buildlink3.mk" | |
14 | .endif | 28 | .endif |
@@ -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 | |||
3 | Don't build tests, as have strong dependency on libdl. | 3 | Don't build tests, as have strong dependency on libdl. | |
4 | Disable inotify on SunOS. | 4 | Disable inotify on SunOS. | |
5 | Install 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') |
@@ -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 |
@@ -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) |
@@ -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 | |||
3 | Leave glib-genmarshal and glib-mkenums to devel/glib2-tools. | 3 | Leave 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 |
$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')