1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Kay Sievers
079de71475 gudev: silent gtk-doc warnings 2011-05-16 16:24:08 +02:00
David Zeuthen
d4c2307cc2 gudev: Add Device.get_usec_since_initialized
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-15 10:46:34 -05:00
David Zeuthen
ab17a7ef55 Add g_udev_device_get_is_initialized() method
Also nuke the "Index of deprecated symbols" since we have no
deprecated symbols just yet.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14 12:50:04 -05:00
David Zeuthen
0976fd063e Add GUdevEnumerator type and Device.get_tags() method
Also add JS example to check the added API works.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14 12:37:40 -05:00
Torsten Schoenfeld
daef8ae33c gudev: add a few annotations that newer gobject-introspection versions demand 2010-09-20 10:25:55 +02:00
David Zeuthen
cbdf255e25 gudev: Deliver ::uevent signal in the thread-default main loop
... that the GUdevClient object was constructed in. This change makes
GUdev follow the GLib guidelines and, more importantly, makes it
possible to actually use the library in a multi-threaded
application. Prior to this patch, signals were emitted in the thread
that ran the "default" main loop.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-07 11:04:57 -04:00
Martin Pitt
e4dcdc4ab2 gudev: fix crash if netlink is not available
gudev_client_new() assumes that priv->monitor is never NULL, but this happens
on older kernels. Let's not crash client programs because of that.

https://launchpad.net/bugs/581527
2010-08-27 18:12:59 +02:00
Martin Pitt
dcaa863948 Revert "add Vala vapi for gudev-1.0"
Argh, recent vala already ships with a gudev vapi.

This reverts commit 6a7b5ec771.
2010-06-13 10:08:22 +02:00
Martin Pitt
6a7b5ec771 add Vala vapi for gudev-1.0
Add gudev-1.0.vapi. This is based on the output of

  vapigen  --library gudev-1.0 GUdev-1.0.gir

with fixes to array/list semantics and include file names.
2010-06-13 00:47:16 +02:00
Kay Sievers
23325a66cc add LGPL COPYING to libudev and GUdev 2010-03-18 09:57:44 +01:00
Kay Sievers
43cb1551d5 work around gtk-doc which breaks distcheck 2010-01-07 17:11:06 +01:00
David Zeuthen
58e31304a4 gudev: Remove LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE from priv header
Since libudev is no longer unstable either.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-11-09 16:31:26 -05:00
David Zeuthen
4e3664f22b gudev: Fix up GUdevDeviceNumber
Actually dev_t is an unsigned quad type (e.g. 64-bit even on 32-bit
x86) so defining it to be an integer is wrong and not future
proof. Thus, redefine it to actually be a dev_t (as originally wanted)
and instead add a work-around for GNOME bug #584517, see

https://bugzilla.gnome.org/show_bug.cgi?id=584517

for details. This way, GObject Introspection will still work.

This change is technically an API/ABI break but

 - all released GUdev versions requires the user to understand that
   the API/ABI is unstable by requiring the G_UDEV_API_IS_SUBJECT_TO_CHANGE
   symbols to be defined

 - functions using GUdevDeviceNumber are rarely used

so we don't bump the so number.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-11-08 12:31:35 -05:00
David Zeuthen
5448cc56f6 gudev: remove G_UDEV_API_IS_SUBJECT_TO_CHANGE since API is now stable
Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-10-29 18:46:50 +01:00
Alan Jenkins
214a6c791c fix spelling
Fix spelling in docbook comments, code comments, and a local variable
name.  Thanks to "ispell -h" for docbook HTML and "scspell" for source
code.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-08-08 15:42:05 +02:00
Diego Elio 'Flameeyes' Pettenò
bd2dab9ce5 Fix building of documentation when doing out-of-source builds.
Since gtk-mkhtml is executed in a sub-directory of the build directory, and
make does not know of that, the $(buildir) variable will still be "." and
the $(srcdir) will not properly be found. For this reason, use the absolute
variants for the two functions, which won't be changing.
2009-08-07 21:54:35 +02:00
Diego Elio 'Flameeyes' Pettenò
33eb18305d Finally, also merge gudev into the top-level Makefile.am.
The Introspection rules are not tested yet; more touch-ups have been made
for them.
2009-08-07 19:15:30 +02:00
Kay Sievers
fc8933f7f6 build: do not delete .la files 2009-07-04 04:12:06 +02:00
Kay Sievers
a6c06e57a2 configure.ac: add AM_SILENT_RULES 2009-06-20 03:57:26 +02:00
Kay Sievers
6133f3432f cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
Kay Sievers
c283f81cb7 gudev: fix typo in configure option 2009-06-16 19:56:31 +02:00
Kay Sievers
c5a9680ee7 v4l_id: move from udev-extras 2009-06-16 18:41:05 +02:00
David Zeuthen
bf05675a20 gudev: move from udev-extras
GObject libudev access. Initial version from Bastien Nocera, current
version by David Zeuthen.
2009-06-16 17:52:15 +02:00