1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Some useful routines of C programming
8 HOMEPAGE= https://www.gtk.org/
12 SITES[main]= GNOME/glib/2.78
13 DISTFILE[1]= glib-2.78.4.tar.xz:main
16 SPKGS[standard]= complete
22 OPTIONS_AVAILABLE= none
23 OPTIONS_STANDARD= none
25 BUILD_DEPENDS= xmlto:single:standard
27 BUILDRUN_DEPENDS= libffi:primary:standard
28 EXRUN[dev]= zlib:dev:standard
32 USES= pcre2 gettext gmake libtool perl:build pkgconfig
33 python:build shebangfix zlib meson iconv cpe
35 LICENSE= LGPL21+:primary
36 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
37 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
38 LICENSE_AWK= TERMS:"__G_LIB_H__"
39 LICENSE_SOURCE= TERMS:{{WRKSRC}}/glib/glib.h
43 FPC_EQUIVALENT= devel/glib20
44 MESON_ARGS= -Dselinux=disabled
55 INSTALL_TARGET= install-strip
56 INSTALL_REQ_TOOLCHAIN= yes
57 PLIST_SUB= LIBVERSION=0.7800.4
58 RESETPREFIX={{PREFIX}}
62 VAR_OPSYS[sunos]= CFLAGS=-fPIC
67 VAR_OPSYS[darwin]= MAKE_ENV=DYLD_FALLBACK_LIBRARY_PATH="$$DYLD_FALLBACK_LIBRARY_PATH:{{WRKSRC}}/_build/glib:{{WRKSRC}}/_build/gio:{{WRKSRC}}/_build/gobject:{{WRKSRC}}/_build/gmodule"
70 for F in ${pyscripts}; do \
71 ${CHMOD} ${BINMODE} ${WRKSRC}/$$F; \
75 ${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
76 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gio/modules
77 ${RM} -r ${STAGEDIR}${PREFIX}/libexec
80 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
81 s|/usr/share/locale/locale|${LOCALBASE}/share/locale/locale|g' \
82 ${WRKSRC}/glib/gutils.c
83 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
84 ${WRKSRC}/gio/gunixmounts.c \
85 ${WRKSRC}/gio/xdgmime/xdgmime.c \
86 ${WRKSRC}/glib/tests/utils.c
88 -e "s|http://docbook.sourceforge.net/release/xsl/current/|file://${LOCALBASE}/share/xsl/docbook/|" \
91 [FILE:205:descriptions/desc.primary]
92 GLib provides a simple, abstract, and highly portable set of C support
93 routines such as lists, trees, hashes, memory allocation, and much, much
94 more. It is a foundation for writing portable applications.
98 24b8e0672dca120cc32d394bccb85844e732e04fe75d18bb0573b2dbc7548f63 5331892 gnome2/glib-2.78.4.tar.xz
101 [FILE:1588:manifests/plist.primary]
102 @comment share/glib-2.0/codegen auto-generated
103 %%ONLY-LINUX%%share/bash-completion/completions/
109 %%ONLY-SUNOS%%share/bash-completion/completions/
121 glib-compile-resources
132 libgio-2.0.so.%%LIBVERSION%%
134 libglib-2.0.so.%%LIBVERSION%%
136 libgmodule-2.0.so.%%LIBVERSION%%
138 libgobject-2.0.so.%%LIBVERSION%%
140 libgthread-2.0.so.%%LIBVERSION%%
142 lib/glib-2.0/include/glibconfig.h
143 share/gdb/auto-load%%RESETPREFIX%%/lib/
144 libglib-2.0.so.%%LIBVERSION%%-gdb.py
145 libgobject-2.0.so.%%LIBVERSION%%-gdb.py
149 share/glib-2.0/codegen/
160 share/glib-2.0/dtds/gresource.dtd
164 share/glib-2.0/gettext/po/Makefile.in.in
165 share/glib-2.0/schemas/gschema.dtd
166 share/glib-2.0/valgrind/glib.supp
168 @dir share/GConf/gsettings
169 @postexec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true
170 @postexec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas 2>/dev/null || /usr/bin/true
171 @postunexec /bin/rm -f %D/share/glib-2.0/schemas/gschemas.compiled || /usr/bin/true
174 [FILE:4915:manifests/plist.dev]
175 include/gio-unix-2.0/gio/
177 gfiledescriptorbased.h
187 include/glib-2.0/gio/
190 gactiongroupexporter.h
194 gapplicationcommandline.h
197 gbufferedinputstream.h
198 gbufferedoutputstream.h
204 gconverterinputstream.h
205 gconverteroutputstream.h
216 gdbusinterfaceskeleton.h
220 gdbusmethodinvocation.h
225 gdbusobjectmanagerclient.h
226 gdbusobjectmanagerserver.h
228 gdbusobjectskeleton.h
233 gdebugcontrollerdbus.h
235 gdtlsclientconnection.h
237 gdtlsserverconnection.h
251 gfilteroutputstream.h
273 gmemoryoutputstream.h
279 gnativesocketaddress.h
280 gnativevolumemonitor.h
288 gpollableinputstream.h
289 gpollableoutputstream.h
291 gpowerprofilemonitor.h
295 gproxyaddressenumerator.h
309 gsimpleproxyresolver.h
312 gsocketaddressenumerator.h
316 gsocketcontrolmessage.h
321 gsubprocesslauncher.h
324 gtcpwrapperconnection.h
327 gthreadedsocketservice.h
330 gtlsclientconnection.h
336 gtlsserverconnection.h
338 gunixcredentialsmessage.h
346 include/glib-2.0/glib/
428 include/glib-2.0/glib/deprecated/
435 include/glib-2.0/gmodule/gmodule-visibility.h
436 include/glib-2.0/gobject/
445 gobject-autocleanups.h
472 gmodule-export-2.0.pc
473 gmodule-no-export-2.0.pc
482 [FILE:306:manifests/plist.man]
487 gio-querymodules.1.gz
489 glib-compile-resources.1.gz
490 glib-compile-schemas.1.gz
501 [FILE:3855:manifests/plist.nls]
502 share/locale/ab/LC_MESSAGES/glib20.mo
503 share/locale/af/LC_MESSAGES/glib20.mo
504 share/locale/am/LC_MESSAGES/glib20.mo
505 share/locale/an/LC_MESSAGES/glib20.mo
506 share/locale/ar/LC_MESSAGES/glib20.mo
507 share/locale/as/LC_MESSAGES/glib20.mo
508 share/locale/ast/LC_MESSAGES/glib20.mo
509 share/locale/az/LC_MESSAGES/glib20.mo
510 share/locale/be/LC_MESSAGES/glib20.mo
511 share/locale/be@latin/LC_MESSAGES/glib20.mo
512 share/locale/bg/LC_MESSAGES/glib20.mo
513 share/locale/bn/LC_MESSAGES/glib20.mo
514 share/locale/bn_IN/LC_MESSAGES/glib20.mo
515 share/locale/bs/LC_MESSAGES/glib20.mo
516 share/locale/ca/LC_MESSAGES/glib20.mo
517 share/locale/ca@valencia/LC_MESSAGES/glib20.mo
518 share/locale/cs/LC_MESSAGES/glib20.mo
519 share/locale/cy/LC_MESSAGES/glib20.mo
520 share/locale/da/LC_MESSAGES/glib20.mo
521 share/locale/de/LC_MESSAGES/glib20.mo
522 share/locale/dz/LC_MESSAGES/glib20.mo
523 share/locale/el/LC_MESSAGES/glib20.mo
524 share/locale/en@shaw/LC_MESSAGES/glib20.mo
525 share/locale/en_CA/LC_MESSAGES/glib20.mo
526 share/locale/en_GB/LC_MESSAGES/glib20.mo
527 share/locale/eo/LC_MESSAGES/glib20.mo
528 share/locale/es/LC_MESSAGES/glib20.mo
529 share/locale/et/LC_MESSAGES/glib20.mo
530 share/locale/eu/LC_MESSAGES/glib20.mo
531 share/locale/fa/LC_MESSAGES/glib20.mo
532 share/locale/fi/LC_MESSAGES/glib20.mo
533 share/locale/fr/LC_MESSAGES/glib20.mo
534 share/locale/fur/LC_MESSAGES/glib20.mo
535 share/locale/ga/LC_MESSAGES/glib20.mo
536 share/locale/gd/LC_MESSAGES/glib20.mo
537 share/locale/gl/LC_MESSAGES/glib20.mo
538 share/locale/gu/LC_MESSAGES/glib20.mo
539 share/locale/he/LC_MESSAGES/glib20.mo
540 share/locale/hi/LC_MESSAGES/glib20.mo
541 share/locale/hr/LC_MESSAGES/glib20.mo
542 share/locale/hu/LC_MESSAGES/glib20.mo
543 share/locale/hy/LC_MESSAGES/glib20.mo
544 share/locale/id/LC_MESSAGES/glib20.mo
545 share/locale/ie/LC_MESSAGES/glib20.mo
546 share/locale/is/LC_MESSAGES/glib20.mo
547 share/locale/it/LC_MESSAGES/glib20.mo
548 share/locale/ja/LC_MESSAGES/glib20.mo
549 share/locale/ka/LC_MESSAGES/glib20.mo
550 share/locale/kk/LC_MESSAGES/glib20.mo
551 share/locale/kn/LC_MESSAGES/glib20.mo
552 share/locale/ko/LC_MESSAGES/glib20.mo
553 share/locale/ku/LC_MESSAGES/glib20.mo
554 share/locale/lt/LC_MESSAGES/glib20.mo
555 share/locale/lv/LC_MESSAGES/glib20.mo
556 share/locale/mai/LC_MESSAGES/glib20.mo
557 share/locale/mg/LC_MESSAGES/glib20.mo
558 share/locale/mk/LC_MESSAGES/glib20.mo
559 share/locale/ml/LC_MESSAGES/glib20.mo
560 share/locale/mn/LC_MESSAGES/glib20.mo
561 share/locale/mr/LC_MESSAGES/glib20.mo
562 share/locale/ms/LC_MESSAGES/glib20.mo
563 share/locale/nb/LC_MESSAGES/glib20.mo
564 share/locale/nds/LC_MESSAGES/glib20.mo
565 share/locale/ne/LC_MESSAGES/glib20.mo
566 share/locale/nl/LC_MESSAGES/glib20.mo
567 share/locale/nn/LC_MESSAGES/glib20.mo
568 share/locale/oc/LC_MESSAGES/glib20.mo
569 share/locale/or/LC_MESSAGES/glib20.mo
570 share/locale/pa/LC_MESSAGES/glib20.mo
571 share/locale/pl/LC_MESSAGES/glib20.mo
572 share/locale/ps/LC_MESSAGES/glib20.mo
573 share/locale/pt/LC_MESSAGES/glib20.mo
574 share/locale/pt_BR/LC_MESSAGES/glib20.mo
575 share/locale/ro/LC_MESSAGES/glib20.mo
576 share/locale/ru/LC_MESSAGES/glib20.mo
577 share/locale/rw/LC_MESSAGES/glib20.mo
578 share/locale/si/LC_MESSAGES/glib20.mo
579 share/locale/sk/LC_MESSAGES/glib20.mo
580 share/locale/sl/LC_MESSAGES/glib20.mo
581 share/locale/sq/LC_MESSAGES/glib20.mo
582 share/locale/sr/LC_MESSAGES/glib20.mo
583 share/locale/sr@ije/LC_MESSAGES/glib20.mo
584 share/locale/sr@latin/LC_MESSAGES/glib20.mo
585 share/locale/sv/LC_MESSAGES/glib20.mo
586 share/locale/ta/LC_MESSAGES/glib20.mo
587 share/locale/te/LC_MESSAGES/glib20.mo
588 share/locale/tg/LC_MESSAGES/glib20.mo
589 share/locale/th/LC_MESSAGES/glib20.mo
590 share/locale/tl/LC_MESSAGES/glib20.mo
591 share/locale/tr/LC_MESSAGES/glib20.mo
592 share/locale/tt/LC_MESSAGES/glib20.mo
593 share/locale/ug/LC_MESSAGES/glib20.mo
594 share/locale/uk/LC_MESSAGES/glib20.mo
595 share/locale/vi/LC_MESSAGES/glib20.mo
596 share/locale/wa/LC_MESSAGES/glib20.mo
597 share/locale/xh/LC_MESSAGES/glib20.mo
598 share/locale/yi/LC_MESSAGES/glib20.mo
599 share/locale/zh_CN/LC_MESSAGES/glib20.mo
600 share/locale/zh_HK/LC_MESSAGES/glib20.mo
601 share/locale/zh_TW/LC_MESSAGES/glib20.mo
604 [FILE:631:patches/patch-gio_glib-compile-schemas.c]
605 --- gio/glib-compile-schemas.c.orig 2023-12-06 18:03:55 UTC
606 +++ gio/glib-compile-schemas.c
607 @@ -1232,6 +1232,7 @@ parse_state_start_schema (ParseState *s
612 if (path && (g_str_has_prefix (path, "/apps/") ||
613 g_str_has_prefix (path, "/desktop/") ||
614 g_str_has_prefix (path, "/system/")))
615 @@ -1244,6 +1245,7 @@ parse_state_start_schema (ParseState *s
616 g_printerr ("%s\n", message);
621 state->schema_state = schema_state_new (path, gettext_domain,
622 extends, extends_name, list_of);
625 [FILE:232:patches/patch-gio_glocalfileinfo.c]
626 --- gio/glocalfileinfo.c.orig 2023-12-06 18:03:55 UTC
627 +++ gio/glocalfileinfo.c
633 +# define _POSIX_PTHREAD_SEMANTICS 1
638 #ifdef HAVE_SYS_TIME_H
641 [FILE:285:patches/patch-gio_gsocket.c]
642 --- gio/gsocket.c.orig 2023-12-06 18:03:55 UTC
652 #define GOBJECT_COMPILATION
653 #include "gobject/gtype-private.h" /* For _PRELUDE type define */
654 #undef GOBJECT_COMPILATION
657 [FILE:675:patches/patch-gio_gunixmount.c]
658 --- gio/gunixmount.c.orig 2023-12-06 18:03:55 UTC
660 @@ -360,12 +360,17 @@ g_unix_mount_eject (GMount *
663 GUnixMount *unix_mount = G_UNIX_MOUNT (mount);
664 +#if ! defined(__FreeBSD__) && ! defined(__DragonFly__)
665 char *argv[] = {"eject", NULL, NULL};
667 if (unix_mount->mount_path != NULL)
668 argv[1] = unix_mount->mount_path;
670 argv[1] = unix_mount->device_path;
672 + char *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
673 + argv[2] = unix_mount->device_path;
676 eject_unmount_do (mount, cancellable, callback, user_data, argv, "[gio] eject mount");
680 [FILE:292:patches/patch-gio_gunixmounts.c]
681 --- gio/gunixmounts.c.orig 2023-12-06 18:03:55 UTC
682 +++ gio/gunixmounts.c
683 @@ -74,6 +74,10 @@ extern char* hasmntopt(const struct mnte
688 +#define mnt_opts mnt_mntopts
691 #include "gunixmounts.h"
693 #include "gfilemonitor.h"
696 [FILE:593:patches/patch-gio_gunixvolume.c]
697 --- gio/gunixvolume.c.orig 2023-12-06 18:03:55 UTC
698 +++ gio/gunixvolume.c
699 @@ -369,9 +369,14 @@ g_unix_volume_eject (GVolume
702 GUnixVolume *unix_volume = G_UNIX_VOLUME (volume);
703 +#if defined(__FreeBSD__) || defined(__DragonFly__)
704 + const gchar *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
705 + argv[2] = unix_volume->device_path;
707 const gchar *argv[] = { "eject", NULL, NULL };
709 argv[1] = unix_volume->device_path;
712 eject_mount_do (volume, cancellable, callback, user_data, argv, "[gio] eject volume");
716 [FILE:452:patches/patch-gio_xdgmime_xdgmime.c]
717 The /usr/local value is replaced by post-patch target
719 --- gio/xdgmime/xdgmime.c.orig 2023-12-06 18:03:55 UTC
720 +++ gio/xdgmime/xdgmime.c
721 @@ -228,7 +228,7 @@ xdg_init_dirs (void)
722 xdg_data_dirs = getenv ("XDG_DATA_DIRS");
724 if (xdg_data_dirs == NULL)
725 - xdg_data_dirs = "/usr/local/share/:/usr/share/";
726 + xdg_data_dirs = "/usr/local/share/";
728 /* Work out how many dirs we’re dealing with. */
729 if (xdg_data_home != NULL || home != NULL)
732 [FILE:766:patches/patch-gio_xdgmime_xdgmimecache.h]
733 --- gio/xdgmime/xdgmimecache.h.orig 2023-12-06 18:03:55 UTC
734 +++ gio/xdgmime/xdgmimecache.h
735 @@ -30,6 +30,9 @@ typedef struct _XdgMimeCache XdgMimeCach
736 #define _xdg_mime_cache_get_icon XDG_RESERVED_ENTRY(cache_get_icon)
737 #define _xdg_mime_cache_get_generic_icon XDG_RESERVED_ENTRY(cache_get_generic_icon)
738 #define _xdg_mime_cache_glob_dump XDG_RESERVED_ENTRY(cache_glob_dump)
739 +#define _xdg_mime_cache_is_valid_mime_type XDG_RESERVED_ENTRY(cache_is_valid_mime_type)
740 +#define _xdg_mime_cache_mime_type_equal XDG_RESERVED_ENTRY(cache_mime_type_equal)
741 +#define _xdg_mime_cache_media_type_equal XDG_RESERVED_ENTRY(cache_media_type_equal)
744 extern XdgMimeCache **_caches;
747 [FILE:386:patches/patch-glib_fix_hidden]
748 --- glib/gmem.c.orig 2023-12-06 18:03:55 UTC
752 #if defined(HAVE_MEMALIGN) || defined(HAVE__ALIGNED_MALLOC)
753 /* Required for _aligned_malloc() and _aligned_free() on Windows */
754 +#if !defined(__FreeBSD__)
759 #ifdef HAVE__ALIGNED_MALLOC
760 /* _aligned_malloc() takes parameters of aligned_malloc() in reverse order */
763 [FILE:352:patches/patch-glib_gcharset.c]
764 --- glib/gcharset.c.orig 2023-12-06 18:03:55 UTC
766 @@ -288,6 +288,11 @@ _g_get_ctype_charset (const char **chars
768 #ifdef HAVE_LANGINFO_CODESET
769 raw = nl_langinfo (CODESET);
770 +# if defined __NetBSD__
771 + if (strcmp(raw, "646") == 0) {
777 raw = _g_locale_charset_raw ();
780 [FILE:608:patches/patch-glib_gconvert.c]
781 --- glib/gconvert.c.orig 2023-12-06 18:03:55 UTC
783 @@ -216,6 +216,18 @@ g_iconv_open (const gchar *to_codeset,
784 const gchar *from_codeset)
787 +#if defined __NetBSD__
789 + const char * nbsd_new_codeset;
790 + const char * nbsd_old_codeset;
792 + nbsd_new_codeset = (strcmp(to_codeset, "646")) ? to_codeset : "ASCII";
793 + nbsd_old_codeset = (strcmp(from_codeset, "646")) ? from_codeset : "ASCII";
795 + if (try_conversion (nbsd_new_codeset, nbsd_old_codeset, &cd))
800 if (!try_conversion (to_codeset, from_codeset, &cd))
804 [FILE:228:patches/patch-glib_giounix.c]
805 --- glib/giounix.c.orig 2023-12-06 18:03:55 UTC
812 #define _POSIX_SOURCE /* for SSIZE_MAX */
815 #include <sys/types.h>
816 #include <sys/stat.h>
819 [FILE:274:patches/patch-glib_glib-unix.c]
820 --- glib/glib-unix.c.orig 2023-12-06 18:03:55 UTC
825 #include <sys/types.h>
827 +#define _POSIX_PTHREAD_SEMANTICS 1
831 G_STATIC_ASSERT (sizeof (ssize_t) == GLIB_SIZEOF_SSIZE_T);
834 [FILE:854:patches/patch-glib_gutils.c]
835 /usr/local value is replaced by post-patch target
837 --- glib/gutils.c.orig 2023-12-06 18:03:55 UTC
844 +# define _POSIX_PTHREAD_SEMANTICS 1
845 +# undef HAVE_SYS_AUXV_H
848 #include "gutilsprivate.h"
850 @@ -2695,7 +2699,7 @@ g_build_system_data_dirs (void)
853 if (!data_dirs || !data_dirs[0])
854 - data_dirs = "/usr/local/share/:/usr/share/";
855 + data_dirs = "/usr/local/share/";
857 data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
859 @@ -2792,7 +2796,7 @@ g_build_system_config_dirs (void)
862 if (!conf_dirs || !conf_dirs[0])
863 - conf_dirs = "/etc/xdg";
864 + conf_dirs = "/usr/local/etc/xdg:/etc/xdg";
866 conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
870 [FILE:524:patches/patch-glib_libcharset_localcharset.c]
871 --- glib/libcharset/localcharset.c.orig 2023-12-06 18:03:55 UTC
872 +++ glib/libcharset/localcharset.c
873 @@ -287,6 +287,12 @@ _g_locale_charset_raw (void)
875 /* Most systems support nl_langinfo (CODESET) nowadays. */
876 codeset = nl_langinfo (CODESET);
877 +# if defined(__NetBSD__)
878 + /* If "646" is returned on NetBSD iconv cannot convert it so override. */
879 + if (strcmp(codeset, "646") == 0) {
885 /* Cygwin 2006 does not have locales. nl_langinfo (CODESET) always
888 [FILE:295:patches/patch-glib_tests_include.c]
889 --- glib/tests/include.c.orig 2023-12-06 18:03:55 UTC
890 +++ glib/tests/include.c
892 /* Test case for bug 659866 */
895 #define _POSIX_C_SOURCE 199309L
899 +#include <sys/types.h>
905 [FILE:287:patches/patch-glib_tests_utils.c]
906 --- glib/tests/utils.c.orig 2023-12-06 18:03:55 UTC
907 +++ glib/tests/utils.c
908 @@ -850,7 +850,7 @@ test_xdg_dirs (void)
910 xdg = (gchar *)g_getenv ("XDG_CONFIG_DIRS");
913 + xdg = "/usr/local/etc/xdg:/etc/xdg";
915 dirs = g_get_system_config_dirs ();
919 [FILE:474:patches/patch-gmodule_gmodule-dl.c]
920 --- gmodule/gmodule-dl.c.orig 2023-12-06 18:03:55 UTC
921 +++ gmodule/gmodule-dl.c
922 @@ -153,6 +153,7 @@ _g_module_open (const gchar *file_name,
924 _g_module_self (void)
926 +#if ! defined(__FreeBSD__) && ! defined(__DragonFly__)
929 /* to query symbols from the program itself, special link options
930 @@ -177,6 +178,9 @@ _g_module_self (void)
935 + return RTLD_DEFAULT;
942 [FILE:877:patches/patch-meson.build]
943 --- meson.build.orig 2023-12-06 18:03:55 UTC
945 @@ -2147,7 +2147,7 @@ if libintl.found() and libintl.type_name
947 # Meson's builtin dependency lookup as of 0.60.0 doesn't check for
948 # pthread, so we do this manually here.
949 - if cc.has_function('ngettext', dependencies : libintl, prefix: libintl_prefix)
950 + if cc.has_function('ngettext', dependencies : libintl, prefix: libintl_prefix) and host_system != 'sunos'
951 libintl_deps += [libintl]
953 libintl_iconv = cc.find_library('iconv', required : false)
954 @@ -2348,8 +2348,7 @@ env_program = find_program('env', requir
956 # FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578
957 if host_system == 'sunos'
958 - glib_conf.set('_XOPEN_SOURCE_EXTENDED', 1)
959 - glib_conf.set('_XOPEN_SOURCE', 2)
960 + glib_conf.set('_XOPEN_SOURCE', 600)
961 glib_conf.set('__EXTENSIONS__',1)
966 [FILE:532:files/special.mk]
967 glib_MAN= gtester.1 gtester-report.1 glib-gettextize.1
968 gio_MAN= gdbus.1 gsettings.1 gio-querymodules.1 \
969 glib-compile-schemas.1 gapplication.1 \
970 glib-compile-resources.1 gresource.1 gdbus-codegen.1
971 gobject_MAN= glib-genmarshal.1 glib-mkenums.1 gobject-query.1
972 pyscripts= gio/tests/gengiotypefuncs.py \
973 glib/update-gtranslit.py \
976 POST_PLIST_TARGET= my-autolist
979 (cd ${STAGEDIR}${PREFIX} && ${FIND} share/glib-2.0/codegen \
980 \( -type f -o -type l \) 2>/dev/null | ${SORT}) \
981 >> ${WRKDIR}/.manifest.single.mktmp
984 [FILE:877:darwin/patch-meson.build]
985 --- meson.build.orig 2023-12-06 18:03:55 UTC
987 @@ -2147,7 +2147,7 @@ if libintl.found() and libintl.type_name
989 # Meson's builtin dependency lookup as of 0.60.0 doesn't check for
990 # pthread, so we do this manually here.
991 - if cc.has_function('ngettext', dependencies : libintl, prefix: libintl_prefix)
992 + if cc.has_function('ngettext', dependencies : libintl, prefix: libintl_prefix) and host_system != 'sunos'
993 libintl_deps += [libintl]
995 libintl_iconv = cc.find_library('iconv', required : false)
996 @@ -2348,8 +2348,7 @@ env_program = find_program('env', requir
998 # FIXME: How to detect Solaris? https://github.com/mesonbuild/meson/issues/1578
999 if host_system == 'sunos'
1000 - glib_conf.set('_XOPEN_SOURCE_EXTENDED', 1)
1001 - glib_conf.set('_XOPEN_SOURCE', 2)
1002 + glib_conf.set('_XOPEN_SOURCE', 600)
1003 glib_conf.set('__EXTENSIONS__',1)