summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-22Make udevlibexecdir be substituted out of configure and assigned ↵Ian Stakenvicius
${rootlibdir}/udev instead of ${root}/lib/udev
2012-11-21Fixed a syntax errorIan Stakenvicius
2012-11-20udev: allow helpers to be in /lib/udevEgor Y. Egorov
Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-20udev: add /lib/udev/rules.d to rules directoriesMichał Górny
This adds /lib if split-usr is enabled to the directories where udev searches for rules.d. This is needed if split-usr is enabled because some software still installs rules in /lib/udev/rules.d. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-20Fix NULL pointer deference in udev_hwdb_get_properties_list_entryFelipe Contreras
It is possible for udev_hwdb_get_properties_list_entry to be invoked during udevd initialization before hwdb has been initialized. We workaround that for now by introducing a check to handle that. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Commit-message-by: Richard Yao <ryao@gentoo.org>
2012-11-20Reintroduce keymaps build and testAnthony G. Basile
This commit reintroduces code to 1) build src/keymap 2) test keymap/Makefile.am that it has all the key maps listed 3) test that all the key names in keymap/* are in <linux/input.h> 4) do a syntax check on rules/*.rules which now includes 95-keymap.rules and 95-keyboard-force-release.rules For #4, the regex expressions in rule-syntax-check.py had to be updated. They do not allow trailing comments via # comment, and I did not include that. A rule in 95-keymap.rules had to have its comment moved from the end to another line. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-19test/Makefile.am: fix tests for make distcheckAnthony G. Basile
At several points in the forked code, top_srcdir and top_builddir are mixed up. It is not clear if this is an upstream bug or if this is a result of the initial restructuring of the build system. This commit addresses this issue for tests triggered during make distcheck. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-19doc: clarify the scope of the projectLuca Barbato
2012-11-19Reintroduce blkid-builtinRichard Yao
The build failure that prompted its removal has been resolved. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-19Merge branch 'master' of github.com:gentoo/eudevklondike
2012-11-19Check for unshare on the configure and provide an inline replacement when ↵klondike
not available
2012-11-18Fix manpage build under make distcheckAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-18Fix manpage buildAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-18Add missing #include <sys/syscall.h>Richard Yao
A last minute change to commit 189d09a42e054bebd91ea9690fede33b41996260 caused a build failure. This fixes it. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-18Define unshare() macro to avoid dependence on __GNU_SOURCERichard Yao
unshare() is a linux syscall that we need. Unfortunately, access to it depends on __GNU_SOURCE, which we would like to avoid. As such, we define a macro to invoke it by its syscall code. This is necessary to avoid the following warning from Clang: implicit declaration of function 'unshare' is invalid in C99 [-Wimplicit-function-declaration] Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-18Include dev-setup.h and cgroup-util.h to explicitly declare functionsRichard Yao
Clang 3.1 indicated that we had implicitly declared several, which is illegal in C99. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-18Fix "attribute 'packed' is ignored" warnings when using ClangRichard Yao
Clang 3.1 warned that "attribute 'packed' is ignored". This stems from placing "__attribute__ ((packed))" at the start of structure declarations when common practice is to place it at the end. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-18Fix wrong format warningsKacper Kowalik (Xarthisius)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-18Fix unused result warningsKacper Kowalik (Xarthisius)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-18Fix implicit declaration warningKacper Kowalik (Xarthisius)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-18Fix gtk-doc buildAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-18Got helper in src/* and make distcheck workingAnthony G. Basile
2012-11-17Restructure src/ as per lu_zeroAnthony G. Basile
2012-11-17Fix build when gtk-doc is enabledFelipe Contreras
Looks like gtk-doc.make is meant for automake, not make. Some previous changes need to be reverted. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17Truly fix build without gtk-docFelipe Contreras
The gtk-doc.m4 was not merged to 'master' but we don't need it. It's better to generate it. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17Add gitignoreFelipe Contreras
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17autogen: cleanupFelipe Contreras
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17Allow build without gtk-docFelipe Contreras
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17Fix all Makefile.am: work towards 'make distcheck' sanityAnthony G. Basile
2012-11-17Rename src/shared to src/include, a saner nameAnthony G. Basile
2012-11-17Fix typoJustin Lecher
2012-11-17udev: firmware - disable firmware loading when firmware file is 0 byteUmut Tezduyar
If firmware file is not found in the file system, udev terminates firmware loading. This is not the case if firmware file exists in the file system but doesn't have any data in it.
2012-11-17Add missing HAVE_ACL preprocessor directivesRichard Yao
This fixes a build failure with --disable-acl Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-17src/test: disable for now to get a full buildAnthony G. Basile
2012-11-17Eliminate blkid-builtinRichard Yao
Changes to rules were introduced by 7c2dee4a4d7f1b264031daaee786a8fe429884e1 while builtin-blkid support was introduced in other commits. The removal of systemd resulted in this code causing linker errors. This code adds complexity with no clear benefit, so we remove it. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-17Eliminate kmod dependencyRichard Yao
Changes to rules were introduced by 06316d9f1a91b4d3efdb7402e72498cb3deb1806 while kmod support was introduced in other commits. A ton of commits were made involving kmod and it is quite clear that it is broken, so we remove it. This changes our rules to depend on modprobe. As long as the modprobe binary is in /, and not /usr, udev module loading should function properly. Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-11-17src/gudev: builds successfullyAnthony G. Basile
2012-11-17src/udev: breakout Makefile.am for helpersAnthony G. Basile
2012-11-17src/udev: continue restoring needed depsAnthony G. Basile
2012-11-16src/udev: restore needed deps from src/shareAnthony G. Basile
2012-11-16src/udev/log.c: remove log_parse_environment()Anthony G. Basile
2012-11-16src/udev/Makefile.am: work towards fixing up udev buildAnthony G. Basile
2012-11-16src/udev: work towards building udevAnthony G. Basile
2012-11-16configure.ac: fix gtk-docAnthony G. Basile
2012-11-16README: correct klondike's last nameAnthony G. Basile
2012-11-16README: add lu_zero and klondike to the teamAnthony G. Basile
2012-11-15changed tabs to spaces :|Matthew Thode
2012-11-15changed tabs to 4 charactersMatthew Thode
2012-11-15added Matthew Thode (prometheanfire) to the readmeMatthew Thode
2012-11-15src/libudev: successfully buildsAnthony G. Basile