377 Commits

Author SHA1 Message Date
ajacoutot
15b005053f Add link to PR. 2019-07-14 17:26:48 +00:00
ajacoutot
e49cfb7988 Tweak comment a bit. 2019-07-14 16:58:25 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
ajacoutot
765f6ede90 Update to glib2-2.60.5. 2019-07-09 13:26:51 +00:00
ajacoutot
4fd7158573 SECURITY update to glib2-2.60.4.
CVE-2019-12450: file_copy_fallback in gio/gfile.c does not properly restrict
file permissions while a copy operation is in progress. Instead, default
permissions are used.
2019-06-15 08:52:08 +00:00
ajacoutot
da18143f1a Update to glib2-2.60.3. 2019-05-22 21:01:18 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
robert
dfe82af9db remove the check for non-existent XDG directories as
they are going to be moved to gtk+3

ok ajacoutot@
2019-05-13 20:24:14 +00:00
jca
48f5813cb8 Tweak types detection, make gint64 and int64_t match on 64 bits base-gcc archs.
Fixes www/webkitgtk4 on sparc64.  Help and ok ajacoutot@
2019-05-12 22:03:53 +00:00
ajacoutot
e0ec8c8ffb Add link to merge requests. 2019-05-12 16:24:04 +00:00
ajacoutot
fc37276c79 Link to issue URL. 2019-05-12 04:04:12 +00:00
ajacoutot
284f938797 Update to glib2-2.60.2. 2019-05-03 16:31:36 +00:00
robert
a1bd036cbd re-introduce the patch which was removed by the previous update so that
XDG directories are actually checked if they exist before adding them to
the list which is important for programs using unveil(2).

ok ajacoutot@
2019-05-01 12:09:11 +00:00
ajacoutot
42b40502de Merged upstream. 2019-04-30 07:15:06 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
ajacoutot
0a4d1614cc Update to glib2-2.60.1.
First step in updating GNOME to version 3.32 (which should happen during
g2k19).
2019-04-28 06:28:17 +00:00
ajacoutot
12a4aa33ad Merged upstream. 2019-04-04 09:28:30 +00:00
ajacoutot
176e1366b3 Remove g_get_system_data_dirs patch chunk. update-desktop-database is now
properly pledged and unveiled.
2019-03-27 12:54:47 +00:00
stsp
35b0796e29 Update my glib2 use-after-free patch to a version which passes
upstream's regression tests.
ok ajacoutot@
2019-03-25 09:18:54 +00:00
stsp
5665f58009 Fix a use-after-free in glib2 which got triggered by gnome-session-binary.
ok ajacoutot@
2019-03-23 08:51:15 +00:00
ajacoutot
7dc78ba2f9 Tweak comment. 2019-03-10 09:00:29 +00:00
robert
ecae7c4df4 Help programs using unveil(2) by fixing and modyfing the code of
glib by doing the following:

- Modify the g_mkdir_with_parents() function so that it will try to
  create the specified path directly and if g_mkdir() fails, it will
  fall back to walking the path one by one.

- In case of walking the path one by one, ignore ENOENT for all path
  elements except for the last one, because g_mkdir_with_parents()
  will fail with programs using unveil(2) (with statlie removed).
  Ignoring ENOENT is completely fine because we really only care about
  the last element of the path and this modification will also have the
  benefit of avoiding useless stat calls

- My initial tests show that by just firing up a simple file dialog
  this modification saves an average of 110 system calls, now imagine
  running GNOME or Chrome with that. Each and every program using glib's
  g_mkdir_with_parents() before opening the needed files (most do this)
  will benefit from this.

- Check if the XDG directories actually exist before adding them to the
  list used by file dialogs.
  This is also useful if you are not running a complete desktop environment
  and you simply do not have these directories.

ok ajacoutot@
2019-02-19 14:53:17 +00:00
ajacoutot
85a2ea0f9e NULLify callback in the call to g_unix_mount_unmount when ejecting to
prevent a bus error.
2019-02-10 14:42:38 +00:00
ajacoutot
4d14f23aa6 Fix eject(1) support. 2019-02-10 13:02:46 +00:00
jca
15f9099d0a Move to libelf from base
Initial diff from jsg@, ok jasper@ (maintainer of
libdwarf/ctftools/libelf).
2019-02-04 23:34:10 +00:00
ajacoutot
f75f8368d7 Rework the gunixmount.c patch and add more checks. 2019-01-23 10:06:21 +00:00
ajacoutot
a88625b0b2 sysutils/toad is coming back, teach glib to use pkexec(1). 2019-01-23 03:37:09 +00:00
ajacoutot
54401f636c Update to glib2-2.58.3. 2019-01-21 21:52:58 +00:00
jca
b445abf2ab Unbreak on gcc archs after the update to 2.58.2
glib2 checks for __sync_bool_compare_and_swap, and requires
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 to be defined if the function is
available... except with special cases like Linux armv5.  base gcc
implements __sync_bool_compare_and_swap on many of our archs but doesn't
provide __GCC_HAVE_* macros, so glib2 is confused.  Extend the
existing workaround to unbreak.

ok ajacoutot@ (maintainer)
2019-01-10 13:36:26 +00:00
sthen
5ddfd9e61b unbreak some glib2 users on 32-bit arches, ok aja@
The old autoconf build has the following additional check after
determining a valid type for gsize, which is not present in meson.build.:

dnl If int/long are the same size, we see which one produces
dnl warnings when used in the location as size_t. (This matters
dnl on AIX with xlc)
dnl
AS_IF([test $ac_cv_sizeof_size_t = $ac_cv_sizeof_int &&
       test $ac_cv_sizeof_size_t = $ac_cv_sizeof_long],

It matters on OpenBSD too. Since my meson-fu is lacking, the patch
simply reorders the if statement to put the one we need earlier.
2019-01-05 22:00:20 +00:00
ajacoutot
58d7383993 Needs shells/bash at build time to install the completion snippets. 2019-01-01 12:48:06 +00:00
ajacoutot
f2f94c039a Update to glib2-2.58.2.
This is the first step towards the GNOME 3.30 update which will happen
this month.
This and subsequent updates have been tested in an amd64 bulk.
2019-01-01 11:32:15 +00:00
ajacoutot
343054bed8 Update to glib2-2.56.4. 2018-12-19 10:36:04 +00:00
jasper
9c62776c59 /usr/share is not a valid data directory on OpenBSD for xdg/glib purposes
so remove it from the list returned by g_get_system_data_dirs().

ok aja@
2018-09-24 20:00:59 +00:00
ajacoutot
706d1c70f3 Update to glib2-2.56.3. 2018-09-22 08:39:31 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
ajacoutot
6353ef3978 Put back the "un-harcode /usr/local" fix in. This will leave an empty
${PREFIX}/<...>/usr directory at delete time in case PREFIX != /usr/local but
espie@ says it's OK.

prodded by espie@
2018-08-23 08:36:07 +00:00
ajacoutot
8aab46a20b We're using autoreconf(1) etc. so we must patch Makefile.am, not .in. 2018-08-23 07:16:36 +00:00
ajacoutot
a5faaf5992 Update to glib2-2.56.2. 2018-08-17 08:03:57 +00:00
ajacoutot
2ede011167 Err, revert previous. There's still /usr to handle. 2018-08-15 15:33:39 +00:00
ajacoutot
31d6a953a8 Un-hardcode /usr/local.
spotted by espie@
2018-08-15 15:27:35 +00:00
espie
bb921d2165 use AUTOCONF_ENV and add correct env variables, so that those ports work
even if /usr/local is not part of the builder's path.
2018-08-10 10:19:18 +00:00
ajacoutot
6d59cf24f8 Fix issues number. 2018-08-09 07:29:38 +00:00
ajacoutot
1250129c77 Re-add @tag at the top (next to define-tag).
This way the associated command will be run on update (at-end) and at
delete time (at the time it is encountered in the PLIST).

discussed wth espie@
2018-07-30 08:34:07 +00:00
ajacoutot
ddd7fdcb77 Make sure gint64 matches int64_t so that C++ is happy
with and OK espie@
2018-07-11 12:03:22 +00:00
espie
72bc1e0558 when we delete this, we don't need to run tag a last time 2018-07-11 11:21:12 +00:00
espie
cd12df3943 misc small tags:
- gio-querymodules
- gtk-query-immodules*
2018-07-07 22:39:42 +00:00
espie
2a95b6e111 tag glib-compile-schemas 2018-07-06 06:04:41 +00:00
ajacoutot
966f798401 Committed upstream. 2018-04-23 19:51:21 +00:00
ajacoutot
78f5a5025d Update to glib2-2.56.1.
First step of the GNOME 3.28.2 update work that will happen at p2k18.
2018-04-22 13:27:25 +00:00