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.58
13 DISTFILE[1]= glib-2.58.0.tar.xz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILD_DEPENDS= xmlto:single:standard
22 BUILDRUN_DEPENDS= pcre:static:standard
24 libffi:single:standard
26 USES= gettext-tools gettext-runtime gmake libtool
27 perl:build pkgconfig python:build shebangfix zlib
30 LICENSE= LGPL21+:single
31 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
32 LICENSE_FILE= LGPL21+:{{WRKSRC}}/COPYING
33 LICENSE_AWK= TERMS:"__G_LIB_H__"
34 LICENSE_SOURCE= TERMS:{{WRKSRC}}/glib/glib.h
37 FPC_EQUIVALENT= devel/glib20
38 MESON_ARGS= -Diconv=gnu
48 MESON_INSERT_RPATH= gio/meson.build
56 INSTALL_TARGET= install-strip
57 INSTALL_REQ_TOOLCHAIN= yes
58 PLIST_SUB= LIBVERSION=0.5800.0
59 RESETPREFIX={{PREFIX}}
65 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
66 s|/usr/share/locale/locale|${LOCALBASE}/share/locale/locale|g' \
67 ${WRKSRC}/glib/gutils.c
68 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
69 ${WRKSRC}/gio/gunixmounts.c \
70 ${WRKSRC}/gio/xdgmime/xdgmime.c \
71 ${WRKSRC}/glib/tests/utils.c
72 ${REINPLACE_CMD} -e "s|python3|python${PYTHON_VER}|g" \
73 -e 's|/docbook.sourceforge.net/|/cdn.docbook.org/|' \
75 for F in ${pyscripts}; do \
76 ${CHMOD} ${BINMODE} ${WRKSRC}/$$F; \
80 @${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
81 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gio/modules
83 [FILE:205:descriptions/desc.single]
84 GLib provides a simple, abstract, and highly portable set of C support
85 routines such as lists, trees, hashes, memory allocation, and much, much
86 more. It is a foundation for writing portable applications.
90 c0f4ce0730b4f95c47b711613b5406a887c2ee13ea6d25930d72a4fa7fdb77f6 4900456 gnome2/glib-2.58.0.tar.xz
93 [FILE:9908:manifests/plist.single]
94 @comment share/glib-2.0/codegen auto-generated
102 glib-compile-resources
112 include/gio-unix-2.0/gio/
114 gfiledescriptorbased.h
116 gunixcredentialsmessage.h
128 include/glib-2.0/gio/
131 gactiongroupexporter.h
135 gapplicationcommandline.h
138 gbufferedinputstream.h
139 gbufferedoutputstream.h
145 gconverterinputstream.h
146 gconverteroutputstream.h
157 gdbusinterfaceskeleton.h
161 gdbusmethodinvocation.h
166 gdbusobjectmanagerclient.h
167 gdbusobjectmanagerserver.h
169 gdbusobjectskeleton.h
174 gdtlsclientconnection.h
176 gdtlsserverconnection.h
190 gfilteroutputstream.h
210 gmemoryoutputstream.h
216 gnativevolumemonitor.h
224 gpollableinputstream.h
225 gpollableoutputstream.h
230 gproxyaddressenumerator.h
244 gsimpleproxyresolver.h
247 gsocketaddressenumerator.h
251 gsocketcontrolmessage.h
256 gsubprocesslauncher.h
259 gtcpwrapperconnection.h
262 gthreadedsocketservice.h
265 gtlsclientconnection.h
271 gtlsserverconnection.h
277 include/glib-2.0/glib/
355 include/glib-2.0/glib/deprecated/
362 include/glib-2.0/gobject/
369 gobject-autocleanups.h
385 libgio-2.0.so.%%LIBVERSION%%
388 libglib-2.0.so.%%LIBVERSION%%
391 libgmodule-2.0.so.%%LIBVERSION%%
394 libgobject-2.0.so.%%LIBVERSION%%
397 libgthread-2.0.so.%%LIBVERSION%%
399 lib/glib-2.0/include/glibconfig.h
405 gmodule-export-2.0.pc
406 gmodule-no-export-2.0.pc
413 share/gdb/auto-load%%RESETPREFIX%%/lib/
414 libglib-2.0.so.%%LIBVERSION%%-gdb.py
415 libgobject-2.0.so.%%LIBVERSION%%-gdb.py
422 share/glib-2.0/gettext/po/Makefile.in.in
423 share/glib-2.0/schemas/gschema.dtd
424 share/glib-2.0/valgrind/glib.supp
425 share/locale/af/LC_MESSAGES/glib20.mo
426 share/locale/am/LC_MESSAGES/glib20.mo
427 share/locale/an/LC_MESSAGES/glib20.mo
428 share/locale/ar/LC_MESSAGES/glib20.mo
429 share/locale/as/LC_MESSAGES/glib20.mo
430 share/locale/ast/LC_MESSAGES/glib20.mo
431 share/locale/az/LC_MESSAGES/glib20.mo
432 share/locale/be/LC_MESSAGES/glib20.mo
433 share/locale/be@latin/LC_MESSAGES/glib20.mo
434 share/locale/bg/LC_MESSAGES/glib20.mo
435 share/locale/bn/LC_MESSAGES/glib20.mo
436 share/locale/bn_IN/LC_MESSAGES/glib20.mo
437 share/locale/bs/LC_MESSAGES/glib20.mo
438 share/locale/ca/LC_MESSAGES/glib20.mo
439 share/locale/ca@valencia/LC_MESSAGES/glib20.mo
440 share/locale/cs/LC_MESSAGES/glib20.mo
441 share/locale/cy/LC_MESSAGES/glib20.mo
442 share/locale/da/LC_MESSAGES/glib20.mo
443 share/locale/de/LC_MESSAGES/glib20.mo
444 share/locale/dz/LC_MESSAGES/glib20.mo
445 share/locale/el/LC_MESSAGES/glib20.mo
446 share/locale/en@shaw/LC_MESSAGES/glib20.mo
447 share/locale/en_CA/LC_MESSAGES/glib20.mo
448 share/locale/en_GB/LC_MESSAGES/glib20.mo
449 share/locale/eo/LC_MESSAGES/glib20.mo
450 share/locale/es/LC_MESSAGES/glib20.mo
451 share/locale/et/LC_MESSAGES/glib20.mo
452 share/locale/eu/LC_MESSAGES/glib20.mo
453 share/locale/fa/LC_MESSAGES/glib20.mo
454 share/locale/fi/LC_MESSAGES/glib20.mo
455 share/locale/fr/LC_MESSAGES/glib20.mo
456 share/locale/fur/LC_MESSAGES/glib20.mo
457 share/locale/ga/LC_MESSAGES/glib20.mo
458 share/locale/gd/LC_MESSAGES/glib20.mo
459 share/locale/gl/LC_MESSAGES/glib20.mo
460 share/locale/gu/LC_MESSAGES/glib20.mo
461 share/locale/he/LC_MESSAGES/glib20.mo
462 share/locale/hi/LC_MESSAGES/glib20.mo
463 share/locale/hr/LC_MESSAGES/glib20.mo
464 share/locale/hu/LC_MESSAGES/glib20.mo
465 share/locale/hy/LC_MESSAGES/glib20.mo
466 share/locale/id/LC_MESSAGES/glib20.mo
467 share/locale/is/LC_MESSAGES/glib20.mo
468 share/locale/it/LC_MESSAGES/glib20.mo
469 share/locale/ja/LC_MESSAGES/glib20.mo
470 share/locale/ka/LC_MESSAGES/glib20.mo
471 share/locale/kk/LC_MESSAGES/glib20.mo
472 share/locale/kn/LC_MESSAGES/glib20.mo
473 share/locale/ko/LC_MESSAGES/glib20.mo
474 share/locale/ku/LC_MESSAGES/glib20.mo
475 share/locale/lt/LC_MESSAGES/glib20.mo
476 share/locale/lv/LC_MESSAGES/glib20.mo
477 share/locale/mai/LC_MESSAGES/glib20.mo
478 share/locale/mg/LC_MESSAGES/glib20.mo
479 share/locale/mk/LC_MESSAGES/glib20.mo
480 share/locale/ml/LC_MESSAGES/glib20.mo
481 share/locale/mn/LC_MESSAGES/glib20.mo
482 share/locale/mr/LC_MESSAGES/glib20.mo
483 share/locale/ms/LC_MESSAGES/glib20.mo
484 share/locale/nb/LC_MESSAGES/glib20.mo
485 share/locale/nds/LC_MESSAGES/glib20.mo
486 share/locale/ne/LC_MESSAGES/glib20.mo
487 share/locale/nl/LC_MESSAGES/glib20.mo
488 share/locale/nn/LC_MESSAGES/glib20.mo
489 share/locale/oc/LC_MESSAGES/glib20.mo
490 share/locale/or/LC_MESSAGES/glib20.mo
491 share/locale/pa/LC_MESSAGES/glib20.mo
492 share/locale/pl/LC_MESSAGES/glib20.mo
493 share/locale/ps/LC_MESSAGES/glib20.mo
494 share/locale/pt/LC_MESSAGES/glib20.mo
495 share/locale/pt_BR/LC_MESSAGES/glib20.mo
496 share/locale/ro/LC_MESSAGES/glib20.mo
497 share/locale/ru/LC_MESSAGES/glib20.mo
498 share/locale/rw/LC_MESSAGES/glib20.mo
499 share/locale/si/LC_MESSAGES/glib20.mo
500 share/locale/sk/LC_MESSAGES/glib20.mo
501 share/locale/sl/LC_MESSAGES/glib20.mo
502 share/locale/sq/LC_MESSAGES/glib20.mo
503 share/locale/sr/LC_MESSAGES/glib20.mo
504 share/locale/sr@ije/LC_MESSAGES/glib20.mo
505 share/locale/sr@latin/LC_MESSAGES/glib20.mo
506 share/locale/sv/LC_MESSAGES/glib20.mo
507 share/locale/ta/LC_MESSAGES/glib20.mo
508 share/locale/te/LC_MESSAGES/glib20.mo
509 share/locale/tg/LC_MESSAGES/glib20.mo
510 share/locale/th/LC_MESSAGES/glib20.mo
511 share/locale/tl/LC_MESSAGES/glib20.mo
512 share/locale/tr/LC_MESSAGES/glib20.mo
513 share/locale/tt/LC_MESSAGES/glib20.mo
514 share/locale/ug/LC_MESSAGES/glib20.mo
515 share/locale/uk/LC_MESSAGES/glib20.mo
516 share/locale/vi/LC_MESSAGES/glib20.mo
517 share/locale/wa/LC_MESSAGES/glib20.mo
518 share/locale/xh/LC_MESSAGES/glib20.mo
519 share/locale/yi/LC_MESSAGES/glib20.mo
520 share/locale/zh_CN/LC_MESSAGES/glib20.mo
521 share/locale/zh_HK/LC_MESSAGES/glib20.mo
522 share/locale/zh_TW/LC_MESSAGES/glib20.mo
527 gio-querymodules.1.gz
529 glib-compile-resources.1.gz
530 glib-compile-schemas.1.gz
540 @dir share/GConf/gsettings
541 @postexec %D/bin/gio-querymodules %D/lib/gio/modules 2>/dev/null || /usr/bin/true
542 @postexec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas 2>/dev/null || /usr/bin/true
543 @postunexec /bin/rm -f %D/share/glib-2.0/schemas/gschemas.compiled || /usr/bin/true
546 [FILE:631:patches/patch-gio_glib-compile-schemas.c]
547 --- gio/glib-compile-schemas.c.orig 2018-08-30 17:12:08 UTC
548 +++ gio/glib-compile-schemas.c
549 @@ -1233,6 +1233,7 @@ parse_state_start_schema (ParseState *s
554 if (path && (g_str_has_prefix (path, "/apps/") ||
555 g_str_has_prefix (path, "/desktop/") ||
556 g_str_has_prefix (path, "/system/")))
557 @@ -1245,6 +1246,7 @@ parse_state_start_schema (ParseState *s
558 g_printerr ("%s\n", message);
563 state->schema_state = schema_state_new (path, gettext_domain,
564 extends, extends_name, list_of);
567 [FILE:285:patches/patch-gio_gsocket.c]
568 --- gio/gsocket.c.orig 2018-08-30 17:12:08 UTC
578 #define GOBJECT_COMPILATION
579 #include "gobject/gtype-private.h" /* For _PRELUDE type define */
580 #undef GOBJECT_COMPILATION
583 [FILE:654:patches/patch-gio_gunixmount.c]
584 --- gio/gunixmount.c.orig 2018-08-30 17:12:08 UTC
586 @@ -356,12 +356,17 @@ g_unix_mount_eject (GMount *
589 GUnixMount *unix_mount = G_UNIX_MOUNT (mount);
590 +#if ! defined(__FreeBSD__) && ! defined(__DragonFly__)
591 char *argv[] = {"eject", NULL, NULL};
593 if (unix_mount->mount_path != NULL)
594 argv[1] = unix_mount->mount_path;
596 argv[1] = unix_mount->device_path;
598 + char *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
599 + argv[2] = unix_mount->device_path;
602 eject_unmount_do (mount, cancellable, callback, user_data, argv);
606 [FILE:571:patches/patch-gio_gunixvolume.c]
607 --- gio/gunixvolume.c.orig 2018-08-30 17:12:08 UTC
608 +++ gio/gunixvolume.c
609 @@ -365,9 +365,14 @@ g_unix_volume_eject (GVolume
612 GUnixVolume *unix_volume = G_UNIX_VOLUME (volume);
613 +#if defined(__FreeBSD__) || defined(__DragonFly__)
614 + const gchar *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
615 + argv[2] = unix_volume->device_path;
617 const gchar *argv[] = { "eject", NULL, NULL };
619 argv[1] = unix_volume->device_path;
622 eject_mount_do (volume, cancellable, callback, user_data, argv);
626 [FILE:237:patches/patch-gio_tests_include.c]
627 --- glib/tests/include.c.orig 2018-08-30 17:12:09 UTC
628 +++ glib/tests/include.c
630 #define _POSIX_C_SOURCE 199309L
633 +#include <sys/types.h>
639 [FILE:343:patches/patch-gio_xdgmime_xdgmime.c]
640 --- gio/xdgmime/xdgmime.c.orig 2018-08-30 17:12:08 UTC
641 +++ gio/xdgmime/xdgmime.c
642 @@ -255,7 +255,7 @@ xdg_run_command_on_dirs (XdgDirectoryFun
644 xdg_data_dirs = getenv ("XDG_DATA_DIRS");
645 if (xdg_data_dirs == NULL)
646 - xdg_data_dirs = "/usr/local/share/:/usr/share/";
647 + xdg_data_dirs = "/usr/local/share/";
653 [FILE:766:patches/patch-gio_xdgmime_xdgmimecache.h]
654 --- gio/xdgmime/xdgmimecache.h.orig 2018-08-30 17:12:08 UTC
655 +++ gio/xdgmime/xdgmimecache.h
656 @@ -44,6 +44,9 @@ typedef struct _XdgMimeCache XdgMimeCach
657 #define _xdg_mime_cache_get_icon XDG_RESERVED_ENTRY(cache_get_icon)
658 #define _xdg_mime_cache_get_generic_icon XDG_RESERVED_ENTRY(cache_get_generic_icon)
659 #define _xdg_mime_cache_glob_dump XDG_RESERVED_ENTRY(cache_glob_dump)
660 +#define _xdg_mime_cache_is_valid_mime_type XDG_RESERVED_ENTRY(cache_is_valid_mime_type)
661 +#define _xdg_mime_cache_mime_type_equal XDG_RESERVED_ENTRY(cache_mime_type_equal)
662 +#define _xdg_mime_cache_media_type_equal XDG_RESERVED_ENTRY(cache_media_type_equal)
665 extern XdgMimeCache **_caches;
668 [FILE:228:patches/patch-glib_fix_hidden]
669 --- glib/gmem.c.orig 2018-08-30 17:12:08 UTC
672 #include "gbacktrace.h"
673 #include "gtestutils.h"
675 +#include "gthreadprivate.h"
676 #include "glib_trace.h"
681 [FILE:534:patches/patch-glib_gconvert.c]
682 Work around our situation of having both libiconv in libc and libiconv from
685 --- glib/gconvert.c.orig 2018-08-30 17:12:08 UTC
688 #error GNU libiconv in use but included iconv.h not from libiconv
690 #if !defined(USE_LIBICONV_GNU) && defined (_LIBICONV_H) \
691 - && !defined (__APPLE_CC__) && !defined (__LP_64__)
692 + && !defined (LIBICONV_PLUG) && !defined (__APPLE_CC__) && !defined (__LP_64__)
693 #error GNU libiconv not in use but included iconv.h is from libiconv
698 [FILE:290:patches/patch-glib_giounix.c]
699 --- glib/giounix.c.orig 2018-08-30 17:12:08 UTC
704 #define _POSIX_SOURCE /* for SSIZE_MAX */
706 +#undef _XOPEN_SOURCE
707 +#define _XOPEN_SOURCE 600
711 #include <sys/types.h>
712 #include <sys/stat.h>
715 [FILE:648:patches/patch-glib_gutils.c]
716 --- glib/gutils.c.orig 2018-08-30 17:12:09 UTC
718 @@ -2043,7 +2043,7 @@ g_get_system_data_dirs (void)
721 if (!data_dirs || !data_dirs[0])
722 - data_dirs = "/usr/local/share/:/usr/share/";
723 + data_dirs = "/usr/local/share/";
725 data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
727 @@ -2119,7 +2119,7 @@ g_get_system_config_dirs (void)
730 if (!conf_dirs || !conf_dirs[0])
731 - conf_dirs = "/etc/xdg";
732 + conf_dirs = "/usr/local/etc/xdg:/etc/xdg";
734 conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
738 [FILE:615:patches/patch-glib_tests_gdatetime.c]
739 --- glib/tests/gdatetime.c.orig 2018-08-30 17:12:09 UTC
740 +++ glib/tests/gdatetime.c
741 @@ -2047,7 +2047,7 @@ test_find_interval (void)
745 - tz = g_time_zone_new ("America/Toronto");
746 + tz = g_time_zone_new ("America/Toronto Eastern");
747 #elif defined G_OS_WIN32
748 tz = g_time_zone_new ("Eastern Standard Time");
750 @@ -2080,7 +2080,7 @@ test_adjust_time (void)
754 - tz = g_time_zone_new ("America/Toronto");
755 + tz = g_time_zone_new ("America/Toronto Eastern");
756 #elif defined G_OS_WIN32
757 tz = g_time_zone_new ("Eastern Standard Time");
761 [FILE:287:patches/patch-glib_tests_utils.c]
762 --- glib/tests/utils.c.orig 2018-08-30 17:12:09 UTC
763 +++ glib/tests/utils.c
764 @@ -441,7 +441,7 @@ test_xdg_dirs (void)
766 xdg = (gchar *)g_getenv ("XDG_CONFIG_DIRS");
769 + xdg = "/usr/local/etc/xdg:/etc/xdg";
771 dirs = g_get_system_config_dirs ();
775 [FILE:500:patches/patch-gmodule_gmodule-dl.c]
776 --- gmodule/gmodule-dl.c.orig 2018-08-30 17:12:09 UTC
777 +++ gmodule/gmodule-dl.c
778 @@ -106,6 +106,7 @@ _g_module_open (const gchar *file_name,
780 _g_module_self (void)
782 +#if ! defined(__FreeBSD__) && ! defined(__DragonFly__)
785 /* to query symbols from the program itself, special link options
786 @@ -128,6 +129,9 @@ _g_module_self (void)
787 g_module_set_error (fetch_dlerror (TRUE));
791 + return RTLD_DEFAULT;
798 [FILE:638:patches/patch-m4macros_attributes.m4]
799 --- m4macros/attributes.m4.orig 2018-08-30 17:12:09 UTC
800 +++ m4macros/attributes.m4
801 @@ -86,7 +86,7 @@ AC_DEFUN([CC_NOUNDEFINED], [
802 dnl FreeBSD (et al.) does not complete linking for shared objects when pthreads
803 dnl are requested, as different implementations are present; to avoid problems
804 dnl use -Wl,-z,defs only for those platform not behaving this way.
805 - *-freebsd* | *-openbsd*) ;;
806 + *-freebsd* | *-openbsd* | *-dragonfly*) ;;
808 dnl First of all check for the --no-undefined variant of GNU ld. This allows
809 dnl for a much more readable commandline, so that people can understand what
812 [FILE:648:files/special.mk]
813 glib_MAN= gtester.1 gtester-report.1 glib-gettextize.1
814 gio_MAN= gdbus.1 gsettings.1 gio-querymodules.1 \
815 glib-compile-schemas.1 gapplication.1 \
816 glib-compile-resources.1 gresource.1 gdbus-codegen.1
817 gobject_MAN= glib-genmarshal.1 glib-mkenums.1 gobject-query.1
818 pyscripts= gio/tests/gengiotypefuncs.py \
819 gio/gio-querymodules-wrapper.py \
820 glib/update-gtranslit.py \
821 glib/gtester-report \
822 tests/gen-casefold-txt.py \
823 tests/gen-casemap-txt.py
825 POST_PLIST_TARGET= my-autolist
828 (cd ${STAGEDIR}${PREFIX} && ${FIND} share/glib-2.0/codegen \
829 \( -type f -o -type l \) 2>/dev/null | ${SORT}) \
830 >> ${WRKDIR}/.manifest.single.mktmp