platform/upstream/libgudev.git
7 years agoGBS build setup 62/116662/6 accepted/tizen/common/20170228.065338 accepted/tizen/ivi/20170228.071955 accepted/tizen/mobile/20170228.071936 accepted/tizen/tv/20170228.071940 accepted/tizen/wearable/20170228.071944 submit/tizen/20170228.043442
Hyotaek Shim [Mon, 27 Feb 2017 12:01:19 +0000 (21:01 +0900)]
GBS build setup

Change-Id: I4da1103fc21613b2ec95671857eebb695d842ca6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agotests: Fix crash on plenty of architectures upstream upstream/231
Bastien Nocera [Mon, 20 Feb 2017 15:17:50 +0000 (16:17 +0100)]
tests: Fix crash on plenty of architectures

umockdev_testbed_add_device() expects 2 sentinels, one for the sysfs
attributes, one for the udev properties.

Spotted by Martin Pitt <martinpitt@gnome.org>

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

7 years ago231
Bastien Nocera [Mon, 13 Feb 2017 18:29:13 +0000 (19:29 +0100)]
231

7 years agoenumerator: Ensure client subsystems are implicitly matched
Ray Strode [Wed, 19 Oct 2016 14:01:45 +0000 (10:01 -0400)]
enumerator: Ensure client subsystems are implicitly matched

g_udev_client_new takes an optional list of subsystems
(and device types) to filter the udev event stream on. These
subsystems aren't automatically matched for device enumeration,
though, which is unexpected.

This commit changes gudevenumerator to get its udev_enumerate object
from gudevclient with the appropriate subsystem and device matches
already set up.

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

7 years agotests: Preload umockdev before running tests
Bastien Nocera [Wed, 2 Nov 2016 17:30:45 +0000 (18:30 +0100)]
tests: Preload umockdev before running tests

Otherwise it's as if we were outside the test environment, which we
don't want to be.

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

7 years agotests: Add test suite
Bastien Nocera [Wed, 2 Nov 2016 16:27:44 +0000 (17:27 +0100)]
tests: Add test suite

With the first test for a GUdevEnumerator bug.

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

7 years agogudev: Use generic marshaller
Bastien Nocera [Wed, 2 Nov 2016 16:40:02 +0000 (17:40 +0100)]
gudev: Use generic marshaller

And require a newer glib for that functionality. glib 2.30 was released
in 2011, so seems new enough for us to make use of it.

7 years agobuild: Don't update git submodules
Bastien Nocera [Wed, 2 Nov 2016 16:31:41 +0000 (17:31 +0100)]
build: Don't update git submodules

As we don't use them.

9 years agoBump version number to 230
David Herrmann [Wed, 20 May 2015 09:52:09 +0000 (11:52 +0200)]
Bump version number to 230

So distributions asked for us to bump the version number early, so a
libgudev package will replace the gudev sub-package provided via systemd.
This is not strictly required, as we will keep patching systemd in
parallel to libgudev, and provide compatible releases. However, there's no
reason to not fulfil this demand. So bump libgudev to 230.

We intend to drop gudev from systemd-221, but lets be safe and bump the
version to 230 now.

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

9 years agotreewide: Correct typos and spell plural of bus consistent
Torstein Husebø [Mon, 11 May 2015 11:49:29 +0000 (13:49 +0200)]
treewide: Correct typos and spell plural of bus consistent

(David: backported to libgudev from systemd upstream)

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

9 years agobuild: add README, COPYING, NEWS to dist
David Herrmann [Fri, 8 May 2015 10:23:45 +0000 (12:23 +0200)]
build: add README, COPYING, NEWS to dist

Make sure README, COPYING and NEWS are distributed in tarballs.

9 years agotree-wide: fix gnome.org links
David Herrmann [Fri, 8 May 2015 10:13:43 +0000 (12:13 +0200)]
tree-wide: fix gnome.org links

Fix all links that point to non-existing resources.

9 years agoAdd README and NEWS
David Herrmann [Fri, 8 May 2015 10:11:14 +0000 (12:11 +0200)]
Add README and NEWS

Add README and NEWS files and prepare for initial libgudev-219 release.

9 years agobuild: fix libudev dependency
David Herrmann [Fri, 8 May 2015 10:10:35 +0000 (12:10 +0200)]
build: fix libudev dependency

We require >=libudev-199, so hard-code this in the configuration script.

9 years agoAdd license information
David Herrmann [Fri, 8 May 2015 09:57:36 +0000 (11:57 +0200)]
Add license information

libgudev is LGPL-2.1 licensed, add a COPYING file with the license text.

9 years agoDrop systemd headers from linker files
David Herrmann [Fri, 8 May 2015 09:56:37 +0000 (11:56 +0200)]
Drop systemd headers from linker files

Drop the now obsolete systemd headers from the symbol files. They're not
needed and we have a global copyright notice, anyway.

9 years agoUpdate doap file
David Herrmann [Fri, 8 May 2015 09:54:03 +0000 (11:54 +0200)]
Update doap file

Some miscellaneous updates to the doap file:
 - add XML header
 - drop misleading 'xml:lang' tags for non-internationalized entries
 - add 'shortname'
 - add 'homepage'
 - add 'repository'

9 years agobuild: Add necessary DOAP file
Bastien Nocera [Thu, 7 May 2015 14:50:29 +0000 (16:50 +0200)]
build: Add necessary DOAP file

As per https://wiki.gnome.org/Git/FAQ

9 years agoInitial import
David Herrmann [Thu, 7 May 2015 10:17:37 +0000 (12:17 +0200)]
Initial import

Import initial libgudev from systemd-218. This includes the libgudev
sources, the introspection data and gtk-doc reference documentation.