Commit Graph

174 Commits

Author SHA1 Message Date
ajacoutot
cc7b2981f0 Only continue when kevent() fails when we get EINTR; and return NULL
otherwise. This prevent the calling process to go into a loop.
2012-02-16 22:08:39 +00:00
ajacoutot
9852adda0e Implement platform_get_argv0.
We are using autohell to put '-Wstrict-aliasing' into Makefile.am.

ok sthen@
2012-02-02 07:10:17 +00:00
ajacoutot
7e96a56543 Compile the gobject parts with -O0 on 64bit arches. There is a nasty
SEGFAULT when using g_closure() on at least amd64; unclear whether this
is a gcc/binutils/glib... bug yet but we want to be on the safe side for
the release.
Hopefully someone will be able to figure this out, I haven't...

Thanks to Stuart for teaching me PROPERTIES.
ok sthen@ naddy@
2012-01-29 17:28:01 +00:00
ajacoutot
ecfd97cfa9 New revision of the gio-kqueue backend patch that fixes an issue when
unmounting devices that would make gvfsd-trash go into a loop.
Courtesy of Dmitry Matveev.
2012-01-17 16:50:29 +00:00
ajacoutot
88f403097e Integrate the GLib kqueue(2) backend from Dmitry Matveev's GSoC 2011.
As a consequence, explicitely disable the FAM backend.
This bring a huge improvement compared to what we've been using before
(gio-fam+gamin): file / directory monitoring and notifications are next
to instantaneous without any cpu overhead like it was before.

This means we can also drop the bootstrap FLAVOR of gamin that was
needed because of the cyclic dependency (gamin->glib2->gamin).
2012-01-01 09:00:46 +00:00
ajacoutot
60dbfbb427 Fix obvious mistake in a patch. 2011-11-16 15:34:54 +00:00
ajacoutot
4af9f2a2cf Re-add the GDB py macros now that the gdb from ports can use them. 2011-11-13 15:16:17 +00:00
ajacoutot
0f092bc18f Bugfix update to glib2-2.30.2. 2011-11-12 13:14:21 +00:00
ajacoutot
b643ba1dba unix_signal_helper_thread: loop in read(2) on EINTR. 2011-10-19 15:04:45 +00:00
robert
1ab5c21fcb fix patch 2011-10-19 06:42:44 +00:00
robert
e0a578ac22 Replace HAVE_MONOTONIC_CLOCK with CLOCK_MONOTONIC in an ifdef
ok ajacoutot@
2011-10-19 06:38:16 +00:00
espie
56902f8f20 fix build: prevent infinite recursion thru python.
also annotate gamin for bootstrap property, and mark haddock,no_deps as
a "real flavor", since it's only used for bootstrap anyways AND significantly
changes the build.
2011-10-18 06:46:24 +00:00
ajacoutot
75974108f8 Bugfix update to glib2-2.30.1. 2011-10-14 15:25:40 +00:00
ajacoutot
9736aa70d0 Sync, no pkg change. 2011-10-08 15:14:17 +00:00
ajacoutot
079b669f60 Enable test_peer regress test on OpenBSD. 2011-10-08 09:51:44 +00:00
ajacoutot
a9b2902d6d Regress tests require higher limits. 2011-10-08 08:29:56 +00:00
ajacoutot
7d2f3c8c89 Remove gratuitous patch. 2011-10-08 07:51:23 +00:00
ajacoutot
0436e7a85f Enable all regress tests.
Remove some _g_snprintf patches that were left over.
2011-10-07 17:19:51 +00:00
ajacoutot
c3d1e686e7 sync 2011-10-04 14:39:10 +00:00
nigel
e279341c39 Correct typo in glib-gettext.m4
ok landry@ aja@ (maintainer)
2011-10-04 09:37:09 +00:00
ajacoutot
e8fb0d9bbd Fix DATADIRNAME in glib-gettext.m4: on OpenBSD we install translation
files under share/locale, not lib/locale.
2011-10-03 06:40:28 +00:00
ajacoutot
2f8583e9da Update to stable glib2-2.30.0. 2011-09-27 06:05:28 +00:00
naddy
236cf755ee fix build with gcc3; with ajacoutot@ 2011-09-25 16:45:07 +00:00
ajacoutot
cd736da792 This now needs python. 2011-09-21 13:10:18 +00:00
ajacoutot
2df26f8e57 Fix gdbus-codegen. 2011-09-21 11:29:44 +00:00
ajacoutot
490464118a Stupid maintainer-mode is stupid. 2011-09-20 22:55:04 +00:00
ajacoutot
d5e540e2e4 Update to glib2-2.29.92 (2.30 coming in the next few days).
Committing now (along with upcoming atk, pango and gtk+3 updates) during
the hackathon where we have time to fix all the eventual fallout (bulk
running).

ok jasper@ robert@
2011-09-20 21:09:34 +00:00
espie
c5a475ebe0 normalize pkgpath 2011-09-16 09:24:48 +00:00
ajacoutot
d7c1501255 Remove uneeded part of patch. 2011-08-22 15:26:40 +00:00
ajacoutot
a836414f94 open(2): POSIX compatibility.
This fixes icedtea-web which landry@ is working on.

from kurt@
2011-08-16 15:03:46 +00:00
ajacoutot
52bfd5c7c9 Fix some warnings. 2011-07-03 17:14:23 +00:00
ajacoutot
52866d0dcb Rework the mount/unmount functions.
Remove useless patches while here.
2011-06-28 09:40:13 +00:00
ajacoutot
d9768049fa Typo. 2011-06-15 12:41:33 +00:00
ajacoutot
3be8bdfc2e Bugfix update to glib2-2.28.8.
Remove patches applied upstream.
2011-06-06 06:22:19 +00:00
ajacoutot
f0783ed916 Fix path to machine-id. 2011-06-03 16:54:05 +00:00
kili
27f99a5541 --disable-silent-rules is now added to CONFIGURE_ARGS per default,
if CONFIGURE_STYLE = gnu.
2011-06-02 17:09:31 +00:00
jasper
803dd6b93b missed bump with previous cleaning
ok aja@
2011-05-31 07:53:30 +00:00
ajacoutot
c871551211 Summer cleaning:
* use MODPY_ADJ_FILES
* use REGRESS_FLAGS instead of 4 patches...
* use post-install to remove files we don't ship, 2 less patches
* install gtester-report(1) -- it's a python script but we do not
  enforce a run dependency on python
2011-05-28 21:15:47 +00:00
ajacoutot
81c428a12d Redirect the glib-compile-schemas goo stdout to /dev/null, no need to
be chatty here.
2011-05-28 08:15:33 +00:00
ajacoutot
def1350a98 Don't hardcode path to true(1).
glib-compile-schemas: write informational messages to stdout instead of
stderr.
2011-05-28 07:38:01 +00:00
ajacoutot
e336dd0283 Rewrite / add glib credentials support to OpenBSD.
Joint work with upstream.
2011-05-28 07:32:06 +00:00
ajacoutot
6500851a05 Fix comment, no pkg change. 2011-05-27 09:13:09 +00:00
ajacoutot
f5fb423708 Remove useless patch. 2011-05-27 08:25:14 +00:00
ajacoutot
e288a13063 Rework patches and adapt comment about our monotonic clock support. 2011-05-24 09:10:23 +00:00
ajacoutot
476aeea50e Missing ifdef. 2011-05-23 16:36:13 +00:00
ajacoutot
b737aa2e7c Bugfix update to glib2-2.28.7. 2011-05-21 07:05:09 +00:00
ajacoutot
561d6fe9bc Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and remove remove everything under the @sample'd directory instead
of the directory itself to prevent a warning from pkg_delete(1) trying
to remove a non existing directory and to help preventing left-over
files and directories.
2011-05-11 06:22:16 +00:00
ajacoutot
88d6f78b4c Don't use the hardcoded /usr/share value but use LOCALBASE/share instead. 2011-05-09 12:37:04 +00:00
ajacoutot
8c8429a47c Workaround the fact that we cannot pass SCM_CREDS over unix sockets:
implement the "intended" SCM_CREDS stack as if we had support for that
in the kernel (by-pass it almost completely).
send/recv a single null byte without creds, but on recv, just do a
getsockopt(SO_PEERCRED) and return that as if it coming from the cmsg.
This works as long as creds are not retreived from an fd which has
already been handed over to a different process via SCM_RIGHTS. It will
probably not be enough in the future but we'll see then.
all this work done by eric@ (thanks!) and tested by myself

Enable support for g_credential*
Fix a couple of warnings.

ok eric@ jasper@
2011-04-28 13:07:53 +00:00
ajacoutot
22f97c7995 Bugfix update to glib2-2.28.6.
* Fix a possible crash when using g_settings_delay()
* Translation and documentations updates
2011-04-14 14:02:17 +00:00