Ravenports generated: 05 Sep 2018 00:24
[ravenports.git] / bucket_73 / glib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               glib
4 VERSION=                2.58.0
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Some useful routines of C programming
8 HOMEPAGE=               https://www.gtk.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GNOME/glib/2.58
13 DISTFILE[1]=            glib-2.58.0.tar.xz:main
14 DIST_SUBDIR=            gnome2
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILD_DEPENDS=          xmlto:single:standard
22 BUILDRUN_DEPENDS=       pcre:static:standard
23                         pcre:shared:standard
24                         libffi:single:standard
25
26 USES=                   gettext-tools gettext-runtime gmake libtool
27                         perl:build pkgconfig python:build shebangfix zlib
28                         meson
29
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
35 LICENSE_SCHEME=         solo
36
37 FPC_EQUIVALENT=         devel/glib20
38 MESON_ARGS=             -Diconv=gnu
39                         -Dselinux=false
40                         -Dxattr=false
41                         -Dlibmount=false
42                         -Ddtrace=false
43                         -Dman=true
44                         -Dgtk_doc=false
45                         -Dfam=false
46                         -Dinternal_pcre=false
47                         -Db_lundef=false
48 MESON_INSERT_RPATH=     gio/meson.build
49                         glib/meson.build
50                         gobject/meson.build
51                         gmodule/meson.build
52                         gthread/meson.build
53 SHEBANG_FILES=          */*.pl
54                         {{pyscripts}}
55
56 INSTALL_TARGET=         install-strip
57 INSTALL_REQ_TOOLCHAIN=  yes
58 PLIST_SUB=              LIBVERSION=0.5800.0
59                         RESETPREFIX={{PREFIX}}
60
61 SET_DEBUGGING_ON=       yes
62 OPTIMIZER_LEVEL=        0
63
64 post-patch:
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/|' \
74                 ${WRKSRC}/meson.build
75         for F in ${pyscripts}; do \
76                 ${CHMOD} ${BINMODE} ${WRKSRC}/$$F; \
77         done
78
79 post-install:
80         @${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
81         @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gio/modules
82
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.
87
88
89 [FILE:104:distinfo]
90 c0f4ce0730b4f95c47b711613b5406a887c2ee13ea6d25930d72a4fa7fdb77f6      4900456 gnome2/glib-2.58.0.tar.xz
91
92
93 [FILE:9908:manifests/plist.single]
94 @comment share/glib-2.0/codegen auto-generated
95 bin/
96  gapplication
97  gdbus
98  gdbus-codegen
99  gio
100  gio-launch-desktop
101  gio-querymodules
102  glib-compile-resources
103  glib-compile-schemas
104  glib-genmarshal
105  glib-gettextize
106  glib-mkenums
107  gobject-query
108  gresource
109  gsettings
110  gtester
111  gtester-report
112 include/gio-unix-2.0/gio/
113  gdesktopappinfo.h
114  gfiledescriptorbased.h
115  gunixconnection.h
116  gunixcredentialsmessage.h
117  gunixfdlist.h
118  gunixfdmessage.h
119  gunixinputstream.h
120  gunixmounts.h
121  gunixoutputstream.h
122  gunixsocketaddress.h
123 include/glib-2.0/
124  glib-object.h
125  glib-unix.h
126  glib.h
127  gmodule.h
128 include/glib-2.0/gio/
129  gaction.h
130  gactiongroup.h
131  gactiongroupexporter.h
132  gactionmap.h
133  gappinfo.h
134  gapplication.h
135  gapplicationcommandline.h
136  gasyncinitable.h
137  gasyncresult.h
138  gbufferedinputstream.h
139  gbufferedoutputstream.h
140  gbytesicon.h
141  gcancellable.h
142  gcharsetconverter.h
143  gcontenttype.h
144  gconverter.h
145  gconverterinputstream.h
146  gconverteroutputstream.h
147  gcredentials.h
148  gdatagrambased.h
149  gdatainputstream.h
150  gdataoutputstream.h
151  gdbusactiongroup.h
152  gdbusaddress.h
153  gdbusauthobserver.h
154  gdbusconnection.h
155  gdbuserror.h
156  gdbusinterface.h
157  gdbusinterfaceskeleton.h
158  gdbusintrospection.h
159  gdbusmenumodel.h
160  gdbusmessage.h
161  gdbusmethodinvocation.h
162  gdbusnameowning.h
163  gdbusnamewatching.h
164  gdbusobject.h
165  gdbusobjectmanager.h
166  gdbusobjectmanagerclient.h
167  gdbusobjectmanagerserver.h
168  gdbusobjectproxy.h
169  gdbusobjectskeleton.h
170  gdbusproxy.h
171  gdbusserver.h
172  gdbusutils.h
173  gdrive.h
174  gdtlsclientconnection.h
175  gdtlsconnection.h
176  gdtlsserverconnection.h
177  gemblem.h
178  gemblemedicon.h
179  gfile.h
180  gfileattribute.h
181  gfileenumerator.h
182  gfileicon.h
183  gfileinfo.h
184  gfileinputstream.h
185  gfileiostream.h
186  gfilemonitor.h
187  gfilenamecompleter.h
188  gfileoutputstream.h
189  gfilterinputstream.h
190  gfilteroutputstream.h
191  gicon.h
192  ginetaddress.h
193  ginetaddressmask.h
194  ginetsocketaddress.h
195  ginitable.h
196  ginputstream.h
197  gio-autocleanups.h
198  gio.h
199  gioenums.h
200  gioenumtypes.h
201  gioerror.h
202  giomodule.h
203  gioscheduler.h
204  giostream.h
205  giotypes.h
206  glistmodel.h
207  gliststore.h
208  gloadableicon.h
209  gmemoryinputstream.h
210  gmemoryoutputstream.h
211  gmenu.h
212  gmenuexporter.h
213  gmenumodel.h
214  gmount.h
215  gmountoperation.h
216  gnativevolumemonitor.h
217  gnetworkaddress.h
218  gnetworking.h
219  gnetworkmonitor.h
220  gnetworkservice.h
221  gnotification.h
222  goutputstream.h
223  gpermission.h
224  gpollableinputstream.h
225  gpollableoutputstream.h
226  gpollableutils.h
227  gpropertyaction.h
228  gproxy.h
229  gproxyaddress.h
230  gproxyaddressenumerator.h
231  gproxyresolver.h
232  gremoteactiongroup.h
233  gresolver.h
234  gresource.h
235  gseekable.h
236  gsettings.h
237  gsettingsbackend.h
238  gsettingsschema.h
239  gsimpleaction.h
240  gsimpleactiongroup.h
241  gsimpleasyncresult.h
242  gsimpleiostream.h
243  gsimplepermission.h
244  gsimpleproxyresolver.h
245  gsocket.h
246  gsocketaddress.h
247  gsocketaddressenumerator.h
248  gsocketclient.h
249  gsocketconnectable.h
250  gsocketconnection.h
251  gsocketcontrolmessage.h
252  gsocketlistener.h
253  gsocketservice.h
254  gsrvtarget.h
255  gsubprocess.h
256  gsubprocesslauncher.h
257  gtask.h
258  gtcpconnection.h
259  gtcpwrapperconnection.h
260  gtestdbus.h
261  gthemedicon.h
262  gthreadedsocketservice.h
263  gtlsbackend.h
264  gtlscertificate.h
265  gtlsclientconnection.h
266  gtlsconnection.h
267  gtlsdatabase.h
268  gtlsfiledatabase.h
269  gtlsinteraction.h
270  gtlspassword.h
271  gtlsserverconnection.h
272  gvfs.h
273  gvolume.h
274  gvolumemonitor.h
275  gzlibcompressor.h
276  gzlibdecompressor.h
277 include/glib-2.0/glib/
278  galloca.h
279  garray.h
280  gasyncqueue.h
281  gatomic.h
282  gbacktrace.h
283  gbase64.h
284  gbitlock.h
285  gbookmarkfile.h
286  gbytes.h
287  gcharset.h
288  gchecksum.h
289  gconvert.h
290  gdataset.h
291  gdate.h
292  gdatetime.h
293  gdir.h
294  genviron.h
295  gerror.h
296  gfileutils.h
297  ggettext.h
298  ghash.h
299  ghmac.h
300  ghook.h
301  ghostutils.h
302  gi18n-lib.h
303  gi18n.h
304  giochannel.h
305  gkeyfile.h
306  glib-autocleanups.h
307  glist.h
308  gmacros.h
309  gmain.h
310  gmappedfile.h
311  gmarkup.h
312  gmem.h
313  gmessages.h
314  gnode.h
315  goption.h
316  gpattern.h
317  gpoll.h
318  gprimes.h
319  gprintf.h
320  gqsort.h
321  gquark.h
322  gqueue.h
323  grand.h
324  grcbox.h
325  grefcount.h
326  grefstring.h
327  gregex.h
328  gscanner.h
329  gsequence.h
330  gshell.h
331  gslice.h
332  gslist.h
333  gspawn.h
334  gstdio.h
335  gstrfuncs.h
336  gstring.h
337  gstringchunk.h
338  gtestutils.h
339  gthread.h
340  gthreadpool.h
341  gtimer.h
342  gtimezone.h
343  gtrashstack.h
344  gtree.h
345  gtypes.h
346  gunicode.h
347  gurifuncs.h
348  gutils.h
349  guuid.h
350  gvariant.h
351  gvarianttype.h
352  gversion.h
353  gversionmacros.h
354  gwin32.h
355 include/glib-2.0/glib/deprecated/
356  gallocator.h
357  gcache.h
358  gcompletion.h
359  gmain.h
360  grel.h
361  gthread.h
362 include/glib-2.0/gobject/
363  gbinding.h
364  gboxed.h
365  gclosure.h
366  genums.h
367  glib-types.h
368  gmarshal.h
369  gobject-autocleanups.h
370  gobject.h
371  gobjectnotifyqueue.c
372  gparam.h
373  gparamspecs.h
374  gsignal.h
375  gsourceclosure.h
376  gtype.h
377  gtypemodule.h
378  gtypeplugin.h
379  gvalue.h
380  gvaluearray.h
381  gvaluecollector.h
382  gvaluetypes.h
383 lib/
384  libgio-2.0.so
385  libgio-2.0.so.%%LIBVERSION%%
386  libgio-2.0.so.0
387  libglib-2.0.so
388  libglib-2.0.so.%%LIBVERSION%%
389  libglib-2.0.so.0
390  libgmodule-2.0.so
391  libgmodule-2.0.so.%%LIBVERSION%%
392  libgmodule-2.0.so.0
393  libgobject-2.0.so
394  libgobject-2.0.so.%%LIBVERSION%%
395  libgobject-2.0.so.0
396  libgthread-2.0.so
397  libgthread-2.0.so.%%LIBVERSION%%
398  libgthread-2.0.so.0
399 lib/glib-2.0/include/glibconfig.h
400 lib/pkgconfig/
401  gio-2.0.pc
402  gio-unix-2.0.pc
403  glib-2.0.pc
404  gmodule-2.0.pc
405  gmodule-export-2.0.pc
406  gmodule-no-export-2.0.pc
407  gobject-2.0.pc
408  gthread-2.0.pc
409 share/aclocal/
410  glib-2.0.m4
411  glib-gettext.m4
412  gsettings.m4
413 share/gdb/auto-load%%RESETPREFIX%%/lib/
414  libglib-2.0.so.%%LIBVERSION%%-gdb.py
415  libgobject-2.0.so.%%LIBVERSION%%-gdb.py
416 share/gettext/its/
417  gschema.its
418  gschema.loc
419 share/glib-2.0/gdb/
420  glib_gdb.py
421  gobject_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
523 share/man/man1/
524  gapplication.1.gz
525  gdbus-codegen.1.gz
526  gdbus.1.gz
527  gio-querymodules.1.gz
528  gio.1.gz
529  glib-compile-resources.1.gz
530  glib-compile-schemas.1.gz
531  glib-genmarshal.1.gz
532  glib-gettextize.1.gz
533  glib-mkenums.1.gz
534  gobject-query.1.gz
535  gresource.1.gz
536  gsettings.1.gz
537  gtester-report.1.gz
538  gtester.1.gz
539 @dir lib/gio/modules
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
544
545
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
550        return;
551      }
552  
553 +#if 0
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);
559        g_free (message);
560      }
561 +#endif
562  
563    state->schema_state = schema_state_new (path, gettext_domain,
564                                            extends, extends_name, list_of);
565
566
567 [FILE:285:patches/patch-gio_gsocket.c]
568 --- gio/gsocket.c.orig  2018-08-30 17:12:08 UTC
569 +++ gio/gsocket.c
570 @@ -56,6 +56,10 @@
571  #include <sys/uio.h>
572  #endif
573  
574 +#ifdef __sun__
575 +#define _XPG4_2        1
576 +#endif
577 +
578  #define GOBJECT_COMPILATION
579  #include "gobject/gtype-private.h" /* For _PRELUDE type define */
580  #undef GOBJECT_COMPILATION
581
582
583 [FILE:654:patches/patch-gio_gunixmount.c]
584 --- gio/gunixmount.c.orig       2018-08-30 17:12:08 UTC
585 +++ gio/gunixmount.c
586 @@ -356,12 +356,17 @@ g_unix_mount_eject (GMount             *
587                      gpointer             user_data)
588  {
589    GUnixMount *unix_mount = G_UNIX_MOUNT (mount);
590 +#if ! defined(__FreeBSD__) && ! defined(__DragonFly__)
591    char *argv[] = {"eject", NULL, NULL};
592  
593    if (unix_mount->mount_path != NULL)
594      argv[1] = unix_mount->mount_path;
595    else
596      argv[1] = unix_mount->device_path;
597 +#else
598 +   char *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
599 +   argv[2] = unix_mount->device_path;
600 +#endif
601  
602    eject_unmount_do (mount, cancellable, callback, user_data, argv);
603  }
604
605
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
610                       gpointer             user_data)
611  {
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;
616 +#else
617    const gchar *argv[] = { "eject", NULL, NULL };
618  
619    argv[1] = unix_volume->device_path;
620 +#endif
621  
622    eject_mount_do (volume, cancellable, callback, user_data, argv);
623  }
624
625
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
629 @@ -3,6 +3,7 @@
630  #define _POSIX_C_SOURCE 199309L
631  #undef _GNU_SOURCE
632  #undef _XOPEN_SOURCE
633 +#include <sys/types.h>
634  #include <pthread.h>
635  #include <glib.h>
636  
637
638
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
643  
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/";
648  
649    ptr = xdg_data_dirs;
650  
651
652
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)
663  #endif
664  
665  extern XdgMimeCache **_caches;
666
667
668 [FILE:228:patches/patch-glib_fix_hidden]
669 --- glib/gmem.c.orig    2018-08-30 17:12:08 UTC
670 +++ glib/gmem.c
671 @@ -38,6 +38,7 @@
672  #include "gbacktrace.h"
673  #include "gtestutils.h"
674  #include "gthread.h"
675 +#include "gthreadprivate.h"
676  #include "glib_trace.h"
677  
678  /* notes on macros:
679
680
681 [FILE:534:patches/patch-glib_gconvert.c]
682 Work around our situation of having both libiconv in libc and libiconv from
683 ports installed.
684
685 --- glib/gconvert.c.orig        2018-08-30 17:12:08 UTC
686 +++ glib/gconvert.c
687 @@ -55,7 +55,7 @@
688  #error GNU libiconv in use but included iconv.h not from libiconv
689  #endif
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
694  #endif
695  
696
697
698 [FILE:290:patches/patch-glib_giounix.c]
699 --- glib/giounix.c.orig 2018-08-30 17:12:08 UTC
700 +++ glib/giounix.c
701 @@ -32,6 +32,11 @@
702  #include "config.h"
703  
704  #define _POSIX_SOURCE          /* for SSIZE_MAX */
705 +#ifdef __sun__
706 +#undef _XOPEN_SOURCE
707 +#define _XOPEN_SOURCE  600
708 +#define _XPG6
709 +#endif
710  
711  #include <sys/types.h>
712  #include <sys/stat.h>
713
714
715 [FILE:648:patches/patch-glib_gutils.c]
716 --- glib/gutils.c.orig  2018-08-30 17:12:09 UTC
717 +++ glib/gutils.c
718 @@ -2043,7 +2043,7 @@ g_get_system_data_dirs (void)
719  
720  #ifndef G_OS_WIN32
721        if (!data_dirs || !data_dirs[0])
722 -          data_dirs = "/usr/local/share/:/usr/share/";
723 +          data_dirs = "/usr/local/share/";
724  
725        data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
726  #else
727 @@ -2119,7 +2119,7 @@ g_get_system_config_dirs (void)
728         }
729  #else
730        if (!conf_dirs || !conf_dirs[0])
731 -          conf_dirs = "/etc/xdg";
732 +          conf_dirs = "/usr/local/etc/xdg:/etc/xdg";
733  
734        conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
735  #endif
736
737
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)
742    gint i1, i2;
743  
744  #ifdef G_OS_UNIX
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");
749  #endif
750 @@ -2080,7 +2080,7 @@ test_adjust_time (void)
751    gint i1, i2;
752  
753  #ifdef G_OS_UNIX
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");
758  #endif
759
760
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)
765  
766    xdg = (gchar *)g_getenv ("XDG_CONFIG_DIRS");
767    if (!xdg)
768 -    xdg = "/etc/xdg";
769 +    xdg = "/usr/local/etc/xdg:/etc/xdg";
770  
771    dirs = g_get_system_config_dirs ();
772  
773
774
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,
779  static gpointer
780  _g_module_self (void)
781  {
782 +#if ! defined(__FreeBSD__) && ! defined(__DragonFly__)
783    gpointer handle;
784    
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));
788    
789    return handle;
790 +#else
791 +  return RTLD_DEFAULT;
792 +#endif
793  }
794  
795  static void
796
797
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*) ;;
807       *)
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
810
811
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
824
825 POST_PLIST_TARGET=      my-autolist
826
827 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
831