diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-05 22:41:45 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-06 05:07:10 +0100 |
commit | ad29a9f14fa8b1932c0e418bfcf1c10ce6a35a33 (patch) | |
tree | 9212c3d9d937234c25d19b993664b8ed164869a5 | |
parent | 9fbe27d9d6dc6e4530ce904d35c74326e415e34e (diff) |
merge udev/, libudev/, systemd/ files in src/; move extras/ to src/
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile.am | 644 | ||||
-rw-r--r-- | configure.ac | 10 | ||||
-rw-r--r-- | libudev/.gitignore | 4 | ||||
-rw-r--r-- | libudev/docs/libudev-overrides.txt | 0 | ||||
-rw-r--r-- | src/.gitignore | 6 | ||||
-rw-r--r-- | src/COPYING (renamed from libudev/COPYING) | 6 | ||||
-rw-r--r-- | src/docs/.gitignore (renamed from libudev/docs/.gitignore) | 1 | ||||
-rw-r--r-- | src/docs/Makefile.am (renamed from libudev/docs/Makefile.am) | 4 | ||||
-rw-r--r-- | src/docs/libudev-docs.xml (renamed from libudev/docs/libudev-docs.xml) | 0 | ||||
-rw-r--r-- | src/docs/libudev-sections.txt (renamed from libudev/docs/libudev-sections.txt) | 0 | ||||
-rw-r--r-- | src/docs/libudev.types (renamed from libudev/docs/libudev.types) | 0 | ||||
-rw-r--r-- | src/docs/version.xml.in (renamed from extras/gudev/docs/version.xml.in) | 0 | ||||
-rw-r--r-- | src/extras/accelerometer/.gitignore (renamed from extras/accelerometer/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/accelerometer/61-accelerometer.rules (renamed from extras/accelerometer/61-accelerometer.rules) | 0 | ||||
-rw-r--r-- | src/extras/accelerometer/accelerometer.c (renamed from extras/accelerometer/accelerometer.c) | 0 | ||||
-rw-r--r-- | src/extras/ata_id/.gitignore (renamed from extras/ata_id/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/ata_id/ata_id.c (renamed from extras/ata_id/ata_id.c) | 0 | ||||
-rw-r--r-- | src/extras/cdrom_id/.gitignore (renamed from extras/cdrom_id/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/cdrom_id/60-cdrom_id.rules (renamed from extras/cdrom_id/60-cdrom_id.rules) | 0 | ||||
-rw-r--r-- | src/extras/cdrom_id/cdrom_id.c (renamed from extras/cdrom_id/cdrom_id.c) | 0 | ||||
-rw-r--r-- | src/extras/collect/.gitignore (renamed from extras/collect/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/collect/collect.c (renamed from extras/collect/collect.c) | 0 | ||||
-rw-r--r-- | src/extras/edd_id/.gitignore (renamed from extras/edd_id/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/edd_id/61-persistent-storage-edd.rules (renamed from extras/edd_id/61-persistent-storage-edd.rules) | 0 | ||||
-rw-r--r-- | src/extras/edd_id/edd_id.c (renamed from extras/edd_id/edd_id.c) | 0 | ||||
-rw-r--r-- | src/extras/floppy/.gitignore (renamed from extras/floppy/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/floppy/60-floppy.rules (renamed from extras/floppy/60-floppy.rules) | 0 | ||||
-rw-r--r-- | src/extras/floppy/create_floppy_devices.c (renamed from extras/floppy/create_floppy_devices.c) | 0 | ||||
-rw-r--r-- | src/extras/gudev/.gitignore (renamed from extras/gudev/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/gudev/COPYING (renamed from extras/gudev/COPYING) | 4 | ||||
-rw-r--r-- | src/extras/gudev/docs/.gitignore (renamed from extras/gudev/docs/.gitignore) | 1 | ||||
-rw-r--r-- | src/extras/gudev/docs/Makefile.am (renamed from extras/gudev/docs/Makefile.am) | 10 | ||||
-rw-r--r-- | src/extras/gudev/docs/gudev-docs.xml (renamed from extras/gudev/docs/gudev-docs.xml) | 0 | ||||
-rw-r--r-- | src/extras/gudev/docs/gudev-sections.txt (renamed from extras/gudev/docs/gudev-sections.txt) | 0 | ||||
-rw-r--r-- | src/extras/gudev/docs/gudev.types (renamed from extras/gudev/docs/gudev.types) | 0 | ||||
-rw-r--r-- | src/extras/gudev/docs/version.xml.in (renamed from libudev/docs/version.xml.in) | 0 | ||||
-rwxr-xr-x | src/extras/gudev/gjs-example.js (renamed from extras/gudev/gjs-example.js) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudev-1.0.pc.in (renamed from extras/gudev/gudev-1.0.pc.in) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudev.h (renamed from extras/gudev/gudev.h) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevclient.c (renamed from extras/gudev/gudevclient.c) | 1 | ||||
-rw-r--r-- | src/extras/gudev/gudevclient.h (renamed from extras/gudev/gudevclient.h) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevdevice.c (renamed from extras/gudev/gudevdevice.c) | 1 | ||||
-rw-r--r-- | src/extras/gudev/gudevdevice.h (renamed from extras/gudev/gudevdevice.h) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevenumerator.c (renamed from extras/gudev/gudevenumerator.c) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevenumerator.h (renamed from extras/gudev/gudevenumerator.h) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevenums.h (renamed from extras/gudev/gudevenums.h) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevenumtypes.c.template (renamed from extras/gudev/gudevenumtypes.c.template) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevenumtypes.h.template (renamed from extras/gudev/gudevenumtypes.h.template) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevmarshal.list (renamed from extras/gudev/gudevmarshal.list) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevprivate.h (renamed from extras/gudev/gudevprivate.h) | 0 | ||||
-rw-r--r-- | src/extras/gudev/gudevtypes.h (renamed from extras/gudev/gudevtypes.h) | 0 | ||||
-rwxr-xr-x | src/extras/gudev/seed-example-enum.js (renamed from extras/gudev/seed-example-enum.js) | 0 | ||||
-rwxr-xr-x | src/extras/gudev/seed-example.js (renamed from extras/gudev/seed-example.js) | 0 | ||||
-rw-r--r-- | src/extras/keymap/.gitignore (renamed from extras/keymap/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/keymap/95-keyboard-force-release.rules (renamed from extras/keymap/95-keyboard-force-release.rules) | 0 | ||||
-rw-r--r-- | src/extras/keymap/95-keymap.rules (renamed from extras/keymap/95-keymap.rules) | 0 | ||||
-rw-r--r-- | src/extras/keymap/README.keymap.txt (renamed from extras/keymap/README.keymap.txt) | 6 | ||||
-rwxr-xr-x | src/extras/keymap/check-keymaps.sh (renamed from extras/keymap/check-keymaps.sh) | 6 | ||||
-rwxr-xr-x | src/extras/keymap/findkeyboards (renamed from extras/keymap/findkeyboards) | 0 | ||||
-rw-r--r-- | src/extras/keymap/force-release-maps/common-volume-keys (renamed from extras/keymap/force-release-maps/common-volume-keys) | 0 | ||||
-rw-r--r-- | src/extras/keymap/force-release-maps/dell-touchpad (renamed from extras/keymap/force-release-maps/dell-touchpad) | 0 | ||||
-rw-r--r-- | src/extras/keymap/force-release-maps/hp-other (renamed from extras/keymap/force-release-maps/hp-other) | 0 | ||||
-rw-r--r-- | src/extras/keymap/force-release-maps/samsung-other (renamed from extras/keymap/force-release-maps/samsung-other) | 0 | ||||
-rwxr-xr-x | src/extras/keymap/keyboard-force-release.sh.in (renamed from extras/keymap/keyboard-force-release.sh.in) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymap.c (renamed from extras/keymap/keymap.c) | 8 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/acer (renamed from extras/keymap/keymaps/acer) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/acer-aspire_5720 (renamed from extras/keymap/keymaps/acer-aspire_5720) | 1 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/acer-aspire_5920g (renamed from extras/keymap/keymaps/acer-aspire_5920g) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/acer-aspire_6920 (renamed from extras/keymap/keymaps/acer-aspire_6920) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/acer-aspire_8930 (renamed from extras/keymap/keymaps/acer-aspire_8930) | 1 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/acer-travelmate_c300 (renamed from extras/keymap/keymaps/acer-travelmate_c300) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/asus (renamed from extras/keymap/keymaps/asus) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/compaq-e_evo (renamed from extras/keymap/keymaps/compaq-e_evo) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/dell (renamed from extras/keymap/keymaps/dell) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/dell-latitude-xt2 (renamed from extras/keymap/keymaps/dell-latitude-xt2) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/everex-xt5000 (renamed from extras/keymap/keymaps/everex-xt5000) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/fujitsu-amilo_pa_2548 (renamed from extras/keymap/keymaps/fujitsu-amilo_pa_2548) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 (renamed from extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 (renamed from extras/keymap/keymaps/fujitsu-amilo_pro_v3205) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/fujitsu-amilo_si_1520 (renamed from extras/keymap/keymaps/fujitsu-amilo_si_1520) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 (renamed from extras/keymap/keymaps/fujitsu-esprimo_mobile_v5) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 (renamed from extras/keymap/keymaps/fujitsu-esprimo_mobile_v6) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/genius-slimstar-320 (renamed from extras/keymap/keymaps/genius-slimstar-320) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard (renamed from extras/keymap/keymaps/hewlett-packard) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard-2510p_2530p (renamed from extras/keymap/keymaps/hewlett-packard-2510p_2530p) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard-compaq_elitebook (renamed from extras/keymap/keymaps/hewlett-packard-compaq_elitebook) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard-pavilion (renamed from extras/keymap/keymaps/hewlett-packard-pavilion) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard-presario-2100 (renamed from extras/keymap/keymaps/hewlett-packard-presario-2100) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard-tablet (renamed from extras/keymap/keymaps/hewlett-packard-tablet) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/hewlett-packard-tx2 (renamed from extras/keymap/keymaps/hewlett-packard-tx2) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint (renamed from extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/inventec-symphony_6.0_7.0 (renamed from extras/keymap/keymaps/inventec-symphony_6.0_7.0) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/lenovo-3000 (renamed from extras/keymap/keymaps/lenovo-3000) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/lenovo-ideapad (renamed from extras/keymap/keymaps/lenovo-ideapad) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint (renamed from extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint) | 2 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet (renamed from extras/keymap/keymaps/lenovo-thinkpad_x200_tablet) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet (renamed from extras/keymap/keymaps/lenovo-thinkpad_x6_tablet) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/lg-x110 (renamed from extras/keymap/keymaps/lg-x110) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/logitech-wave (renamed from extras/keymap/keymaps/logitech-wave) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/logitech-wave-cordless (renamed from extras/keymap/keymaps/logitech-wave-cordless) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/logitech-wave-pro-cordless (renamed from extras/keymap/keymaps/logitech-wave-pro-cordless) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/maxdata-pro_7000 (renamed from extras/keymap/keymaps/maxdata-pro_7000) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/medion-fid2060 (renamed from extras/keymap/keymaps/medion-fid2060) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/medionnb-a555 (renamed from extras/keymap/keymaps/medionnb-a555) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/micro-star (renamed from extras/keymap/keymaps/micro-star) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/module-asus-w3j (renamed from extras/keymap/keymaps/module-asus-w3j) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/module-ibm (renamed from extras/keymap/keymaps/module-ibm) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/module-lenovo (renamed from extras/keymap/keymaps/module-lenovo) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/module-sony (renamed from extras/keymap/keymaps/module-sony) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/module-sony-old (renamed from extras/keymap/keymaps/module-sony-old) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/module-sony-vgn (renamed from extras/keymap/keymaps/module-sony-vgn) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/olpc-xo (renamed from extras/keymap/keymaps/olpc-xo) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/onkyo (renamed from extras/keymap/keymaps/onkyo) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/oqo-model2 (renamed from extras/keymap/keymaps/oqo-model2) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/samsung-other (renamed from extras/keymap/keymaps/samsung-other) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/samsung-sq1us (renamed from extras/keymap/keymaps/samsung-sq1us) | 2 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/samsung-sx20s (renamed from extras/keymap/keymaps/samsung-sx20s) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/toshiba-satellite_a100 (renamed from extras/keymap/keymaps/toshiba-satellite_a100) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/toshiba-satellite_a110 (renamed from extras/keymap/keymaps/toshiba-satellite_a110) | 0 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/toshiba-satellite_m30x (renamed from extras/keymap/keymaps/toshiba-satellite_m30x) | 1 | ||||
-rw-r--r-- | src/extras/keymap/keymaps/zepto-znote (renamed from extras/keymap/keymaps/zepto-znote) | 0 | ||||
-rw-r--r-- | src/extras/mtd_probe/.gitignore (renamed from extras/mtd_probe/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/mtd_probe/75-probe_mtd.rules (renamed from extras/mtd_probe/75-probe_mtd.rules) | 0 | ||||
-rw-r--r-- | src/extras/mtd_probe/mtd_probe.c (renamed from extras/mtd_probe/mtd_probe.c) | 0 | ||||
-rw-r--r-- | src/extras/mtd_probe/mtd_probe.h (renamed from extras/mtd_probe/mtd_probe.h) | 2 | ||||
-rw-r--r-- | src/extras/mtd_probe/probe_smartmedia.c (renamed from extras/mtd_probe/probe_smartmedia.c) | 2 | ||||
-rw-r--r-- | src/extras/qemu/42-qemu-usb.rules (renamed from extras/qemu/42-qemu-usb.rules) | 0 | ||||
-rw-r--r-- | src/extras/rule_generator/75-cd-aliases-generator.rules (renamed from extras/rule_generator/75-cd-aliases-generator.rules) | 0 | ||||
-rw-r--r-- | src/extras/rule_generator/75-persistent-net-generator.rules (renamed from extras/rule_generator/75-persistent-net-generator.rules) | 1 | ||||
-rw-r--r-- | src/extras/rule_generator/rule_generator.functions (renamed from extras/rule_generator/rule_generator.functions) | 0 | ||||
-rw-r--r-- | src/extras/rule_generator/write_cd_rules (renamed from extras/rule_generator/write_cd_rules) | 1 | ||||
-rw-r--r-- | src/extras/rule_generator/write_net_rules (renamed from extras/rule_generator/write_net_rules) | 0 | ||||
-rw-r--r-- | src/extras/scsi_id/.gitignore (renamed from extras/scsi_id/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/scsi_id/README (renamed from extras/scsi_id/README) | 0 | ||||
-rw-r--r-- | src/extras/scsi_id/scsi.h (renamed from extras/scsi_id/scsi.h) | 0 | ||||
-rw-r--r-- | src/extras/scsi_id/scsi_id.8 (renamed from extras/scsi_id/scsi_id.8) | 8 | ||||
-rw-r--r-- | src/extras/scsi_id/scsi_id.c (renamed from extras/scsi_id/scsi_id.c) | 4 | ||||
-rw-r--r-- | src/extras/scsi_id/scsi_id.h (renamed from extras/scsi_id/scsi_id.h) | 1 | ||||
-rw-r--r-- | src/extras/scsi_id/scsi_serial.c (renamed from extras/scsi_id/scsi_serial.c) | 6 | ||||
-rw-r--r-- | src/extras/udev-acl/.gitignore (renamed from extras/udev-acl/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/udev-acl/70-udev-acl.rules (renamed from extras/udev-acl/70-udev-acl.rules) | 0 | ||||
-rw-r--r-- | src/extras/udev-acl/udev-acl.c (renamed from extras/udev-acl/udev-acl.c) | 0 | ||||
-rw-r--r-- | src/extras/v4l_id/.gitignore (renamed from extras/v4l_id/.gitignore) | 0 | ||||
-rw-r--r-- | src/extras/v4l_id/60-persistent-v4l.rules (renamed from extras/v4l_id/60-persistent-v4l.rules) | 0 | ||||
-rw-r--r-- | src/extras/v4l_id/v4l_id.c (renamed from extras/v4l_id/v4l_id.c) | 0 | ||||
-rw-r--r-- | src/libudev-device-private.c (renamed from libudev/libudev-device-private.c) | 2 | ||||
-rw-r--r-- | src/libudev-device.c (renamed from libudev/libudev-device.c) | 0 | ||||
-rw-r--r-- | src/libudev-enumerate.c (renamed from libudev/libudev-enumerate.c) | 0 | ||||
-rw-r--r-- | src/libudev-list.c (renamed from libudev/libudev-list.c) | 0 | ||||
-rw-r--r-- | src/libudev-monitor.c (renamed from libudev/libudev-monitor.c) | 0 | ||||
-rw-r--r-- | src/libudev-private.h (renamed from libudev/libudev-private.h) | 0 | ||||
-rw-r--r-- | src/libudev-queue-private.c (renamed from libudev/libudev-queue-private.c) | 0 | ||||
-rw-r--r-- | src/libudev-queue.c (renamed from libudev/libudev-queue.c) | 0 | ||||
-rw-r--r-- | src/libudev-selinux-private.c (renamed from libudev/libudev-selinux-private.c) | 0 | ||||
-rw-r--r-- | src/libudev-util-private.c (renamed from libudev/libudev-util-private.c) | 0 | ||||
-rw-r--r-- | src/libudev-util.c (renamed from libudev/libudev-util.c) | 8 | ||||
-rw-r--r-- | src/libudev.c (renamed from libudev/libudev.c) | 0 | ||||
-rw-r--r-- | src/libudev.h (renamed from libudev/libudev.h) | 2 | ||||
-rw-r--r-- | src/libudev.pc.in (renamed from libudev/libudev.pc.in) | 2 | ||||
-rw-r--r-- | src/sd-daemon.c (renamed from udev/sd-daemon.c) | 0 | ||||
-rw-r--r-- | src/sd-daemon.h (renamed from udev/sd-daemon.h) | 0 | ||||
-rw-r--r-- | src/test-libudev.c (renamed from libudev/test-libudev.c) | 0 | ||||
-rw-r--r-- | src/test-udev.c (renamed from udev/test-udev.c) | 0 | ||||
-rw-r--r-- | src/udev-builtin-blkid.c (renamed from udev/udev-builtin-blkid.c) | 0 | ||||
-rw-r--r-- | src/udev-builtin-firmware.c (renamed from udev/udev-builtin-firmware.c) | 2 | ||||
-rw-r--r-- | src/udev-builtin-hwdb.c (renamed from udev/udev-builtin-hwdb.c) | 0 | ||||
-rw-r--r-- | src/udev-builtin-input_id.c (renamed from udev/udev-builtin-input_id.c) | 6 | ||||
-rw-r--r-- | src/udev-builtin-kmod.c (renamed from udev/udev-builtin-kmod.c) | 0 | ||||
-rw-r--r-- | src/udev-builtin-path_id.c (renamed from udev/udev-builtin-path_id.c) | 2 | ||||
-rw-r--r-- | src/udev-builtin-usb_id.c (renamed from udev/udev-builtin-usb_id.c) | 0 | ||||
-rw-r--r-- | src/udev-builtin.c (renamed from udev/udev-builtin.c) | 0 | ||||
-rw-r--r-- | src/udev-control.socket (renamed from systemd/udev-control.socket) | 0 | ||||
-rw-r--r-- | src/udev-ctrl.c (renamed from udev/udev-ctrl.c) | 0 | ||||
-rw-r--r-- | src/udev-event.c (renamed from udev/udev-event.c) | 0 | ||||
-rw-r--r-- | src/udev-kernel.socket (renamed from systemd/udev-kernel.socket) | 0 | ||||
-rw-r--r-- | src/udev-node.c (renamed from udev/udev-node.c) | 0 | ||||
-rw-r--r-- | src/udev-rules.c (renamed from udev/udev-rules.c) | 0 | ||||
-rw-r--r-- | src/udev-settle.service.in (renamed from systemd/udev-settle.service.in) | 0 | ||||
-rw-r--r-- | src/udev-trigger.service.in (renamed from systemd/udev-trigger.service.in) | 0 | ||||
-rw-r--r-- | src/udev-watch.c (renamed from udev/udev-watch.c) | 0 | ||||
-rw-r--r-- | src/udev.conf (renamed from udev.conf) | 0 | ||||
-rw-r--r-- | src/udev.h (renamed from udev/udev.h) | 0 | ||||
-rw-r--r-- | src/udev.pc.in (renamed from udev/udev.pc.in) | 0 | ||||
-rw-r--r-- | src/udev.service.in (renamed from systemd/udev.service.in) | 0 | ||||
-rw-r--r-- | src/udev.xml (renamed from udev/udev.xml) | 2 | ||||
-rw-r--r-- | src/udevadm-control.c (renamed from udev/udevadm-control.c) | 0 | ||||
-rw-r--r-- | src/udevadm-info.c (renamed from udev/udevadm-info.c) | 0 | ||||
-rw-r--r-- | src/udevadm-monitor.c (renamed from udev/udevadm-monitor.c) | 0 | ||||
-rw-r--r-- | src/udevadm-settle.c (renamed from udev/udevadm-settle.c) | 0 | ||||
-rw-r--r-- | src/udevadm-test-builtin.c (renamed from udev/udevadm-test-builtin.c) | 0 | ||||
-rw-r--r-- | src/udevadm-test.c (renamed from udev/udevadm-test.c) | 0 | ||||
-rw-r--r-- | src/udevadm-trigger.c (renamed from udev/udevadm-trigger.c) | 0 | ||||
-rw-r--r-- | src/udevadm.c (renamed from udev/udevadm.c) | 0 | ||||
-rw-r--r-- | src/udevadm.xml (renamed from udev/udevadm.xml) | 0 | ||||
-rw-r--r-- | src/udevd.c (renamed from udev/udevd.c) | 2 | ||||
-rw-r--r-- | src/udevd.xml (renamed from udev/udevd.xml) | 0 | ||||
-rw-r--r-- | systemd/.gitignore | 1 | ||||
-rwxr-xr-x | test/udev-test.pl.in | 2 | ||||
-rw-r--r-- | udev/.gitignore | 6 |
200 files changed, 386 insertions, 399 deletions
diff --git a/.gitignore b/.gitignore index 5a5c4a00b6..e80fd08c68 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,7 @@ stamp-h1 depcomp udev-test-install gtk-doc.make +udevd +udevadm +test-udev +test-libudev diff --git a/Makefile.am b/Makefile.am index 7abad22a61..4329291243 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # ------------------------------------------------------------------------------ -# Copyright (C) 2008-2009 Kay Sievers <kay.sievers@vrfy.org> +# Copyright (C) 2008-2012 Kay Sievers <kay.sievers@vrfy.org> # Copyright (C) 2009 Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> # ------------------------------------------------------------------------------ @@ -11,7 +11,7 @@ AM_MAKEFLAGS = --no-print-directory AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ - -I$(top_srcdir)/libudev \ + -I$(top_srcdir)/src \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -DPKGLIBEXECDIR=\""$(libexecdir)/udev"\" @@ -36,9 +36,11 @@ INSTALL_EXEC_HOOKS = INSTALL_DATA_HOOKS = UNINSTALL_EXEC_HOOKS = DISTCHECK_HOOKS = -pkglibexec_SCRIPTS = -dist_pkglibexec_SCRIPTS = -dist_pkglibexec_DATA = + +udevhomedir = $(libexecdir)/udev +udevhome_SCRIPTS = +dist_udevhome_SCRIPTS = +dist_udevhome_DATA = SED_PROCESS = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ @@ -76,45 +78,45 @@ LIBUDEV_CURRENT=13 LIBUDEV_REVISION=0 LIBUDEV_AGE=13 -SUBDIRS += libudev/docs +SUBDIRS += src/docs -include_HEADERS = libudev/libudev.h -lib_LTLIBRARIES = libudev/libudev.la +include_HEADERS = src/libudev.h +lib_LTLIBRARIES = src/libudev.la -libudev_libudev_la_SOURCES =\ - libudev/libudev-private.h \ - libudev/libudev.c \ - libudev/libudev-list.c \ - libudev/libudev-util.c \ - libudev/libudev-device.c \ - libudev/libudev-enumerate.c \ - libudev/libudev-monitor.c \ - libudev/libudev-queue.c +src_libudev_la_SOURCES =\ + src/libudev-private.h \ + src/libudev.c \ + src/libudev-list.c \ + src/libudev-util.c \ + src/libudev-device.c \ + src/libudev-enumerate.c \ + src/libudev-monitor.c \ + src/libudev-queue.c -libudev_libudev_la_LDFLAGS = \ +src_libudev_la_LDFLAGS = \ $(AM_LDFLAGS) \ -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) noinst_LTLIBRARIES = \ - libudev/libudev-private.la + src/libudev-private.la -libudev_libudev_private_la_SOURCES =\ - $(libudev_libudev_la_SOURCES) \ - libudev/libudev-util-private.c \ - libudev/libudev-device-private.c \ - libudev/libudev-queue-private.c +src_libudev_private_la_SOURCES =\ + $(src_libudev_la_SOURCES) \ + src/libudev-util-private.c \ + src/libudev-device-private.c \ + src/libudev-queue-private.c if WITH_SELINUX -libudev_libudev_private_la_SOURCES += libudev/libudev-selinux-private.c -libudev_libudev_private_la_LIBADD = $(SELINUX_LIBS) +src_libudev_private_la_SOURCES += src/libudev-selinux-private.c +src_libudev_private_la_LIBADD = $(SELINUX_LIBS) endif pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libudev/libudev.pc -EXTRA_DIST += libudev/libudev.pc.in -CLEANFILES += libudev/libudev.pc +pkgconfig_DATA = src/libudev.pc +EXTRA_DIST += src/libudev.pc.in +CLEANFILES += src/libudev.pc -EXTRA_DIST += libudev/COPYING +EXTRA_DIST += src/COPYING # move lib from $(libdir) to $(rootlib_execdir) and update devel link, if needed libudev-install-move-hook: if test "$(libdir)" != "$(rootlib_execdir)"; then \ @@ -159,32 +161,32 @@ dist_udevrules_DATA = \ rules/rules.d/95-udev-late.rules udevconfdir = $(sysconfdir)/udev -dist_udevconf_DATA = udev.conf +dist_udevconf_DATA = src/udev.conf sharepkgconfigdir = $(datadir)/pkgconfig -sharepkgconfig_DATA = udev/udev.pc -EXTRA_DIST += udev/udev.pc.in -CLEANFILES += udev/udev.pc +sharepkgconfig_DATA = src/udev.pc +EXTRA_DIST += src/udev.pc.in +CLEANFILES += src/udev.pc if WITH_SYSTEMD dist_systemdsystemunit_DATA = \ - systemd/udev-control.socket \ - systemd/udev-kernel.socket + src/udev-control.socket \ + src/udev-kernel.socket systemdsystemunit_DATA = \ - systemd/udev.service \ - systemd/udev-trigger.service \ - systemd/udev-settle.service + src/udev.service \ + src/udev-trigger.service \ + src/udev-settle.service EXTRA_DIST += \ - systemd/udev.service.in \ - systemd/udev-trigger.service.in \ - systemd/udev-settle.service.in + src/udev.service.in \ + src/udev-trigger.service.in \ + src/udev-settle.service.in CLEANFILES += \ - systemd/udev.service \ - systemd/udev-trigger.service \ - systemd/udev-settle.service + src/udev.service \ + src/udev-trigger.service \ + src/udev-settle.service systemd-install-hook: mkdir -p $(DESTDIR)$(systemdsystemunitdir)/sockets.target.wants @@ -198,33 +200,33 @@ INSTALL_DATA_HOOKS += systemd-install-hook endif bin_PROGRAMS = \ - udev/udevadm + src/udevadm pkglibexec_PROGRAMS = \ - udev/udevd + src/udevd udev_common_sources = \ - udev/udev.h \ - udev/udev-event.c \ - udev/udev-watch.c \ - udev/udev-node.c \ - udev/udev-rules.c \ - udev/udev-ctrl.c \ - udev/udev-builtin.c \ - udev/udev-builtin-blkid.c \ - udev/udev-builtin-firmware.c \ - udev/udev-builtin-hwdb.c \ - udev/udev-builtin-input_id.c \ - udev/udev-builtin-kmod.c \ - udev/udev-builtin-path_id.c \ - udev/udev-builtin-usb_id.c + src/udev.h \ + src/udev-event.c \ + src/udev-watch.c \ + src/udev-node.c \ + src/udev-rules.c \ + src/udev-ctrl.c \ + src/udev-builtin.c \ + src/udev-builtin-blkid.c \ + src/udev-builtin-firmware.c \ + src/udev-builtin-hwdb.c \ + src/udev-builtin-input_id.c \ + src/udev-builtin-kmod.c \ + src/udev-builtin-path_id.c \ + src/udev-builtin-usb_id.c udev_common_CFLAGS = \ $(BLKID_CFLAGS) \ $(KMOD_CFLAGS) udev_common_LDADD = \ - libudev/libudev-private.la \ + src/libudev-private.la \ $(BLKID_LIBS) \ $(KMOD_LIBS) @@ -233,51 +235,51 @@ udev_common_CPPFLAGS = \ -DFIRMWARE_PATH="$(FIRMWARE_PATH)" \ -DUSB_DATABASE=\"$(USB_DATABASE)\" -DPCI_DATABASE=\"$(PCI_DATABASE)\" -udev_udevd_SOURCES = \ +src_udevd_SOURCES = \ $(udev_common_sources) \ - udev/udevd.c \ - udev/sd-daemon.h \ - udev/sd-daemon.c -udev_udevd_CFLAGS = $(udev_common_CFLAGS) -udev_udevd_LDADD = $(udev_common_LDADD) -udev_udevd_CPPFLAGS = $(udev_common_CPPFLAGS) - -udev_udevadm_SOURCES = \ + src/udevd.c \ + src/sd-daemon.h \ + src/sd-daemon.c +src_udevd_CFLAGS = $(udev_common_CFLAGS) +src_udevd_LDADD = $(udev_common_LDADD) +src_udevd_CPPFLAGS = $(udev_common_CPPFLAGS) + +src_udevadm_SOURCES = \ $(udev_common_sources) \ - udev/udevadm.c \ - udev/udevadm-info.c \ - udev/udevadm-control.c \ - udev/udevadm-monitor.c \ - udev/udevadm-settle.c \ - udev/udevadm-trigger.c \ - udev/udevadm-test.c \ - udev/udevadm-test-builtin.c -udev_udevadm_CFLAGS = $(udev_common_CFLAGS) -udev_udevadm_LDADD = $(udev_common_LDADD) -udev_udevadm_CPPFLAGS = $(udev_common_CPPFLAGS) + src/udevadm.c \ + src/udevadm-info.c \ + src/udevadm-control.c \ + src/udevadm-monitor.c \ + src/udevadm-settle.c \ + src/udevadm-trigger.c \ + src/udevadm-test.c \ + src/udevadm-test-builtin.c +src_udevadm_CFLAGS = $(udev_common_CFLAGS) +src_udevadm_LDADD = $(udev_common_LDADD) +src_udevadm_CPPFLAGS = $(udev_common_CPPFLAGS) # ------------------------------------------------------------------------------ # udev man pages # ------------------------------------------------------------------------------ dist_man_MANS = \ - udev/udev.7 \ - udev/udevadm.8 \ - udev/udevd.8 + src/udev.7 \ + src/udevadm.8 \ + src/udevd.8 dist_noinst_DATA = \ - udev/udev.html \ - udev/udevadm.html \ - udev/udevd.html + src/udev.html \ + src/udevadm.html \ + src/udevd.html EXTRA_DIST += \ - udev/udev.xml \ - udev/udevadm.xml \ - udev/udevd.xml + src/udev.xml \ + src/udevadm.xml \ + src/udevd.xml -udev/%.7 udev/%.8 : udev/%.xml +src/%.7 src/%.8 : src/%.xml $(AM_V_GEN)$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< -udev/%.html : udev/%.xml +src/%.html : src/%.xml $(AM_V_GEN)$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< # ------------------------------------------------------------------------------ @@ -294,74 +296,74 @@ CLEANFILES += \ test/udev-test.pl check_PROGRAMS = \ - libudev/test-libudev \ - udev/test-udev + src/test-libudev \ + src/test-udev -libudev_test_libudev_SOURCES = libudev/test-libudev.c -libudev_test_libudev_LDADD = libudev/libudev.la +src_test_libudev_SOURCES = src/test-libudev.c +src_test_libudev_LDADD = src/libudev.la -udev_test_udev_SOURCES = \ +src_test_udev_SOURCES = \ $(udev_common_sources) \ - udev/test-udev.c -udev_test_udev_CFLAGS = $(udev_common_CFLAGS) -udev_test_udev_LDADD = $(udev_common_LDADD) -udev_test_udev_CPPFLAGS = $(udev_common_CPPFLAGS) + src/test-udev.c +src_test_udev_CFLAGS = $(udev_common_CFLAGS) +src_test_udev_LDADD = $(udev_common_LDADD) +src_test_udev_CPPFLAGS = $(udev_common_CPPFLAGS) # ------------------------------------------------------------------------------ # ata_id - ATA identify # ------------------------------------------------------------------------------ -extras_ata_id_ata_id_SOURCES = extras/ata_id/ata_id.c -extras_ata_id_ata_id_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/ata_id/ata_id +src_extras_ata_id_ata_id_SOURCES = src/extras/ata_id/ata_id.c +src_extras_ata_id_ata_id_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/extras/ata_id/ata_id # ------------------------------------------------------------------------------ # cdrom_id - optical drive/media capability # ------------------------------------------------------------------------------ -extras_cdrom_id_cdrom_id_SOURCES = extras/cdrom_id/cdrom_id.c -extras_cdrom_id_cdrom_id_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/cdrom_id/cdrom_id -dist_udevrules_DATA += extras/cdrom_id/60-cdrom_id.rules +src_extras_cdrom_id_cdrom_id_SOURCES = src/extras/cdrom_id/cdrom_id.c +src_extras_cdrom_id_cdrom_id_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/extras/cdrom_id/cdrom_id +dist_udevrules_DATA += src/extras/cdrom_id/60-cdrom_id.rules # ------------------------------------------------------------------------------ # collect - trigger action when a collection of devices appeared # ------------------------------------------------------------------------------ -extras_collect_collect_SOURCES = extras/collect/collect.c -extras_collect_collect_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/collect/collect +src_extras_collect_collect_SOURCES = src/extras/collect/collect.c +src_extras_collect_collect_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/extras/collect/collect # ------------------------------------------------------------------------------ # scsi_id - SCSI inquiry to get various serial numbers # ------------------------------------------------------------------------------ -extras_scsi_id_scsi_id_SOURCES =\ - extras/scsi_id/scsi_id.c \ - extras/scsi_id/scsi_serial.c \ - extras/scsi_id/scsi.h \ - extras/scsi_id/scsi_id.h -extras_scsi_id_scsi_id_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/scsi_id/scsi_id -dist_man_MANS += extras/scsi_id/scsi_id.8 -EXTRA_DIST += extras/scsi_id/README +src_extras_scsi_id_scsi_id_SOURCES =\ + src/extras/scsi_id/scsi_id.c \ + src/extras/scsi_id/scsi_serial.c \ + src/extras/scsi_id/scsi.h \ + src/extras/scsi_id/scsi_id.h +src_extras_scsi_id_scsi_id_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/extras/scsi_id/scsi_id +dist_man_MANS += src/extras/scsi_id/scsi_id.8 +EXTRA_DIST += src/extras/scsi_id/README # ------------------------------------------------------------------------------ # v4l_id - video4linux capabilities # ------------------------------------------------------------------------------ -extras_v4l_id_v4l_id_SOURCES = extras/v4l_id/v4l_id.c -extras_v4l_id_v4l_id_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/v4l_id/v4l_id -dist_udevrules_DATA += extras/v4l_id/60-persistent-v4l.rules +src_extras_v4l_id_v4l_id_SOURCES = src/extras/v4l_id/v4l_id.c +src_extras_v4l_id_v4l_id_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/extras/v4l_id/v4l_id +dist_udevrules_DATA += src/extras/v4l_id/60-persistent-v4l.rules # ------------------------------------------------------------------------------ # accelerometer - updates device orientation # ------------------------------------------------------------------------------ -extras_accelerometer_accelerometer_SOURCES = extras/accelerometer/accelerometer.c -extras_accelerometer_accelerometer_LDADD = libudev/libudev-private.la -lm -pkglibexec_PROGRAMS += extras/accelerometer/accelerometer -dist_udevrules_DATA += extras/accelerometer/61-accelerometer.rules +src_extras_accelerometer_accelerometer_SOURCES = src/extras/accelerometer/accelerometer.c +src_extras_accelerometer_accelerometer_LDADD = src/libudev-private.la -lm +pkglibexec_PROGRAMS += src/extras/accelerometer/accelerometer +dist_udevrules_DATA += src/extras/accelerometer/61-accelerometer.rules # ------------------------------------------------------------------------------ # qemu -- qemu/kvm guest tweaks # ------------------------------------------------------------------------------ -dist_udevrules_DATA += extras/qemu/42-qemu-usb.rules +dist_udevrules_DATA += src/extras/qemu/42-qemu-usb.rules if ENABLE_GUDEV # ------------------------------------------------------------------------------ @@ -371,125 +373,125 @@ LIBGUDEV_CURRENT=1 LIBGUDEV_REVISION=1 LIBGUDEV_AGE=1 -SUBDIRS += extras/gudev/docs - -libgudev_includedir=$(includedir)/gudev-1.0/gudev -libgudev_include_HEADERS = \ - extras/gudev/gudev.h \ - extras/gudev/gudevenums.h \ - extras/gudev/gudevenumtypes.h \ - extras/gudev/gudevtypes.h \ - extras/gudev/gudevclient.h \ - extras/gudev/gudevdevice.h \ - extras/gudev/gudevenumerator.h - -lib_LTLIBRARIES += extras/gudev/libgudev-1.0.la - -pkgconfig_DATA += extras/gudev/gudev-1.0.pc -EXTRA_DIST += extras/gudev/gudev-1.0.pc.in -CLEANFILES += extras/gudev/gudev-1.0.pc - -extras_gudev_libgudev_1_0_la_SOURCES = \ - extras/gudev/gudevenums.h \ - extras/gudev/gudevenumtypes.h \ - extras/gudev/gudevenumtypes.h\ - extras/gudev/gudevtypes.h \ - extras/gudev/gudevclient.h \ - extras/gudev/gudevclient.c \ - extras/gudev/gudevdevice.h \ - extras/gudev/gudevdevice.c \ - extras/gudev/gudevenumerator.h \ - extras/gudev/gudevenumerator.c \ - extras/gudev/gudevprivate.h - -nodist_extras_gudev_libgudev_1_0_la_SOURCES = \ - extras/gudev/gudevmarshal.h \ - extras/gudev/gudevmarshal.c \ - extras/gudev/gudevenumtypes.h \ - extras/gudev/gudevenumtypes.c -BUILT_SOURCES += $(nodist_extras_gudev_libgudev_1_0_la_SOURCES) - -extras_gudev_libgudev_1_0_la_CPPFLAGS = \ +SUBDIRS += src/extras/gudev/docs + +src_extras_gudev_libgudev_includedir=$(includedir)/gudev-1.0/gudev +src_extras_gudev_libgudev_include_HEADERS = \ + src/extras/gudev/gudev.h \ + src/extras/gudev/gudevenums.h \ + src/extras/gudev/gudevenumtypes.h \ + src/extras/gudev/gudevtypes.h \ + src/extras/gudev/gudevclient.h \ + src/extras/gudev/gudevdevice.h \ + src/extras/gudev/gudevenumerator.h + +lib_LTLIBRARIES += src/extras/gudev/libgudev-1.0.la + +pkgconfig_DATA += src/extras/gudev/gudev-1.0.pc +EXTRA_DIST += src/extras/gudev/gudev-1.0.pc.in +CLEANFILES += src/extras/gudev/gudev-1.0.pc + +src_extras_gudev_libgudev_1_0_la_SOURCES = \ + src/extras/gudev/gudevenums.h \ + src/extras/gudev/gudevenumtypes.h \ + src/extras/gudev/gudevenumtypes.h\ + src/extras/gudev/gudevtypes.h \ + src/extras/gudev/gudevclient.h \ + src/extras/gudev/gudevclient.c \ + src/extras/gudev/gudevdevice.h \ + src/extras/gudev/gudevdevice.c \ + src/extras/gudev/gudevenumerator.h \ + src/extras/gudev/gudevenumerator.c \ + src/extras/gudev/gudevprivate.h + +nodist_src_extras_gudev_libgudev_1_0_la_SOURCES = \ + src/extras/gudev/gudevmarshal.h \ + src/extras/gudev/gudevmarshal.c \ + src/extras/gudev/gudevenumtypes.h \ + src/extras/gudev/gudevenumtypes.c +BUILT_SOURCES += $(nodist_src_extras_gudev_libgudev_1_0_la_SOURCES) + +src_extras_gudev_libgudev_1_0_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ - -I$(top_builddir)/extras \ - -I$(top_srcdir)/extras \ - -I$(top_builddir)/extras/gudev \ - -I$(top_srcdir)/extras/gudev \ + -I$(top_builddir)/src/extras \ + -I$(top_srcdir)/src/extras \ + -I$(top_builddir)/src/extras/gudev \ + -I$(top_srcdir)/src/extras/gudev \ -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \ -D_GUDEV_COMPILATION \ -DG_LOG_DOMAIN=\"GUdev\" -extras_gudev_libgudev_1_0_la_CFLAGS = \ +src_extras_gudev_libgudev_1_0_la_CFLAGS = \ -fvisibility=default \ $(GLIB_CFLAGS) -extras_gudev_libgudev_1_0_la_LIBADD = libudev/libudev.la $(GLIB_LIBS) +src_extras_gudev_libgudev_1_0_la_LIBADD = src/libudev.la $(GLIB_LIBS) -extras_gudev_libgudev_1_0_la_LDFLAGS = \ +src_extras_gudev_libgudev_1_0_la_LDFLAGS = \ -version-info $(LIBGUDEV_CURRENT):$(LIBGUDEV_REVISION):$(LIBGUDEV_AGE) \ -export-dynamic -no-undefined \ -export-symbols-regex '^g_udev_.*' EXTRA_DIST += \ - extras/gudev/COPYING \ - extras/gudev/gudevmarshal.list \ - extras/gudev/gudevenumtypes.h.template \ - extras/gudev/gudevenumtypes.c.template \ - extras/gudev/gjs-example.js \ - extras/gudev/seed-example-enum.js \ - extras/gudev/seed-example.js - -extras/gudev/gudevmarshal.h: extras/gudev/gudevmarshal.list + src/extras/gudev/COPYING \ + src/extras/gudev/gudevmarshal.list \ + src/extras/gudev/gudevenumtypes.h.template \ + src/extras/gudev/gudevenumtypes.c.template \ + src/extras/gudev/gjs-example.js \ + src/extras/gudev/seed-example-enum.js \ + src/extras/gudev/seed-example.js + +src/extras/gudev/gudevmarshal.h: src/extras/gudev/gudevmarshal.list $(AM_V_GEN)glib-genmarshal $< --prefix=g_udev_marshal --header > $@ -extras/gudev/gudevmarshal.c: extras/gudev/gudevmarshal.list +src/extras/gudev/gudevmarshal.c: src/extras/gudev/gudevmarshal.list $(AM_V_GEN)echo "#include \"gudevmarshal.h\"" > $@ && \ glib-genmarshal $< --prefix=g_udev_marshal --body >> $@ -extras/gudev/gudevenumtypes.h: extras/gudev/gudevenumtypes.h.template extras/gudev/gudevenums.h +src/extras/gudev/gudevenumtypes.h: src/extras/gudev/gudevenumtypes.h.template src/extras/gudev/gudevenums.h $(AM_V_GEN)glib-mkenums --template $^ > \ $@.tmp && mv $@.tmp $@ -extras/gudev/gudevenumtypes.c: extras/gudev/gudevenumtypes.c.template extras/gudev/gudevenums.h +src/extras/gudev/gudevenumtypes.c: src/extras/gudev/gudevenumtypes.c.template src/extras/gudev/gudevenums.h $(AM_V_GEN)glib-mkenums --template $^ > \ $@.tmp && mv $@.tmp $@ if ENABLE_INTROSPECTION -extras/gudev/GUdev-1.0.gir: extras/gudev/libgudev-1.0.la $(G_IR_SCANNER) +src/extras/gudev/GUdev-1.0.gir: src/extras/gudev/libgudev-1.0.la $(G_IR_SCANNER) $(AM_V_GEN)$(G_IR_SCANNER) -v \ --warn-all \ --namespace GUdev \ --nsversion=1.0 \ --include=GObject-2.0 \ --library=gudev-1.0 \ - --library-path=$(top_builddir)/libudev \ - --library-path=$(top_builddir)/extras/gudev \ + --library-path=$(top_builddir)/src \ + --library-path=$(top_builddir)/src/extras/gudev \ --output $@ \ --pkg=glib-2.0 \ --pkg=gobject-2.0 \ - -I$(top_srcdir)/extras \ - -I$(top_builddir)/extras \ + -I$(top_srcdir)/src/extras \ + -I$(top_builddir)/src/extras \ -D_GUDEV_COMPILATION \ -D_GUDEV_WORK_AROUND_DEV_T_BUG \ - $(top_srcdir)/extras/gudev/gudev.h \ - $(top_srcdir)/extras/gudev/gudevtypes.h \ - $(top_srcdir)/extras/gudev/gudevenums.h \ - $(or $(wildcard $(top_builddir)/extras/gudev/gudevenumtypes.h),$(top_srcdir)/extras/gudev/gudevenumtypes.h) \ - $(top_srcdir)/extras/gudev/gudevclient.h \ - $(top_srcdir)/extras/gudev/gudevdevice.h \ - $(top_srcdir)/extras/gudev/gudevenumerator.h \ - $(top_srcdir)/extras/gudev/gudevclient.c \ - $(top_srcdir)/extras/gudev/gudevdevice.c \ - $(top_srcdir)/extras/gudev/gudevenumerator.c - -extras/gudev/GUdev-1.0.typelib: extras/gudev/GUdev-1.0.gir $(G_IR_COMPILER) + $(top_srcdir)/src/extras/gudev/gudev.h \ + $(top_srcdir)/src/extras/gudev/gudevtypes.h \ + $(top_srcdir)/src/extras/gudev/gudevenums.h \ + $(or $(wildcard $(top_builddir)/src/extras/gudev/gudevenumtypes.h),$(top_srcdir)/src/extras/gudev/gudevenumtypes.h) \ + $(top_srcdir)/src/extras/gudev/gudevclient.h \ + $(top_srcdir)/src/extras/gudev/gudevdevice.h \ + $(top_srcdir)/src/extras/gudev/gudevenumerator.h \ + $(top_srcdir)/src/extras/gudev/gudevclient.c \ + $(top_srcdir)/src/extras/gudev/gudevdevice.c \ + $(top_srcdir)/src/extras/gudev/gudevenumerator.c + +src/extras/gudev/GUdev-1.0.typelib: src/extras/gudev/GUdev-1.0.gir $(G_IR_COMPILER) $(AM_V_GEN)g-ir-compiler $< -o $@ girdir = $(GIRDIR) -gir_DATA = extras/gudev/GUdev-1.0.gir +gir_DATA = src/extras/gudev/GUdev-1.0.gir typelibsdir = $(GIRTYPELIBDIR) -typelibs_DATA = extras/gudev/GUdev-1.0.typelib +typelibs_DATA = src/extras/gudev/GUdev-1.0.typelib CLEANFILES += $(gir_DATA) $(typelibs_DATA) endif # ENABLE_INTROSPECTION @@ -515,113 +517,113 @@ if ENABLE_KEYMAP # ------------------------------------------------------------------------------ # keymap - map custom hardware's multimedia keys # ------------------------------------------------------------------------------ -extras_keymap_keymap_SOURCES = extras/keymap/keymap.c -extras_keymap_keymap_CPPFLAGS = $(AM_CPPFLAGS) -I extras/keymap -nodist_extras_keymap_keymap_SOURCES = \ - extras/keymap/keys-from-name.h \ - extras/keymap/keys-to-name.h -BUILT_SOURCES += $(nodist_extras_keymap_keymap_SOURCES) +src_keymap_SOURCES = src/extras/keymap/keymap.c +src_keymap_CPPFLAGS = $(AM_CPPFLAGS) -I src/extras/keymap +nodist_src_keymap_SOURCES = \ + src/extras/keymap/keys-from-name.h \ + src/extras/keymap/keys-to-name.h +BUILT_SOURCES += $(nodist_src_keymap_SOURCES) -pkglibexec_PROGRAMS += extras/keymap/keymap -dist_doc_DATA = extras/keymap/README.keymap.txt +pkglibexec_PROGRAMS += src/keymap +dist_doc_DATA = src/extras/keymap/README.keymap.txt dist_udevrules_DATA += \ - extras/keymap/95-keymap.rules \ - extras/keymap/95-keyboard-force-release.rules + src/extras/keymap/95-keymap.rules \ + src/extras/keymap/95-keyboard-force-release.rules -dist_pkglibexec_SCRIPTS += extras/keymap/findkeyboards -pkglibexec_SCRIPTS += extras/keymap/keyboard-force-release.sh +dist_udevhome_SCRIPTS += src/extras/keymap/findkeyboards +udevhome_SCRIPTS += src/extras/keymap/keyboard-force-release.sh EXTRA_DIST += \ - extras/keymap/check-keymaps.sh \ - extras/keymap/keyboard-force-release.sh.in + src/extras/keymap/check-keymaps.sh \ + src/extras/keymap/keyboard-force-release.sh.in CLEANFILES += \ - extras/keymap/keys.txt \ - extras/keymap/keys-from-name.gperf \ - extras/keymap/keyboard-force-release.sh + src/extras/keymap/keys.txt \ + src/extras/keymap/keys-from-name.gperf \ + src/extras/keymap/keyboard-force-release.sh udevkeymapdir = $(libexecdir)/udev/keymaps dist_udevkeymap_DATA = \ - extras/keymap/keymaps/acer \ - extras/keymap/keymaps/acer-aspire_5720 \ - extras/keymap/keymaps/acer-aspire_8930 \ - extras/keymap/keymaps/acer-aspire_5920g \ - extras/keymap/keymaps/acer-aspire_6920 \ - extras/keymap/keymaps/acer-travelmate_c300 \ - extras/keymap/keymaps/asus \ - extras/keymap/keymaps/compaq-e_evo \ - extras/keymap/keymaps/dell \ - extras/keymap/keymaps/dell-latitude-xt2 \ - extras/keymap/keymaps/everex-xt5000 \ - extras/keymap/keymaps/fujitsu-amilo_pa_2548 \ - extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 \ - extras/keymap/keymaps/fujitsu-amilo_pro_v3205 \ - extras/keymap/keymaps/fujitsu-amilo_si_1520 \ - extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 \ - extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 \ - extras/keymap/keymaps/genius-slimstar-320 \ - extras/keymap/keymaps/hewlett-packard \ - extras/keymap/keymaps/hewlett-packard-2510p_2530p \ - extras/keymap/keymaps/hewlett-packard-compaq_elitebook \ - extras/keymap/keymaps/hewlett-packard-pavilion \ - extras/keymap/keymaps/hewlett-packard-presario-2100 \ - extras/keymap/keymaps/hewlett-packard-tablet \ - extras/keymap/keymaps/hewlett-packard-tx2 \ - extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint \ - extras/keymap/keymaps/inventec-symphony_6.0_7.0 \ - extras/keymap/keymaps/lenovo-3000 \ - extras/keymap/keymaps/lenovo-ideapad \ - extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint \ - extras/keymap/keymaps/lenovo-thinkpad_x6_tablet \ - extras/keymap/keymaps/lenovo-thinkpad_x200_tablet \ - extras/keymap/keymaps/lg-x110 \ - extras/keymap/keymaps/logitech-wave \ - extras/keymap/keymaps/logitech-wave-cordless \ - extras/keymap/keymaps/logitech-wave-pro-cordless \ - extras/keymap/keymaps/maxdata-pro_7000 \ - extras/keymap/keymaps/medion-fid2060 \ - extras/keymap/keymaps/medionnb-a555 \ - extras/keymap/keymaps/micro-star \ - extras/keymap/keymaps/module-asus-w3j \ - extras/keymap/keymaps/module-ibm \ - extras/keymap/keymaps/module-lenovo \ - extras/keymap/keymaps/module-sony \ - extras/keymap/keymaps/module-sony-old \ - extras/keymap/keymaps/module-sony-vgn \ - extras/keymap/keymaps/olpc-xo \ - extras/keymap/keymaps/onkyo \ - extras/keymap/keymaps/oqo-model2 \ - extras/keymap/keymaps/samsung-other \ - extras/keymap/keymaps/samsung-sq1us \ - extras/keymap/keymaps/samsung-sx20s \ - extras/keymap/keymaps/toshiba-satellite_a100 \ - extras/keymap/keymaps/toshiba-satellite_a110 \ - extras/keymap/keymaps/toshiba-satellite_m30x \ - extras/keymap/keymaps/zepto-znote + src/extras/keymap/keymaps/acer \ + src/extras/keymap/keymaps/acer-aspire_5720 \ + src/extras/keymap/keymaps/acer-aspire_8930 \ + src/extras/keymap/keymaps/acer-aspire_5920g \ + src/extras/keymap/keymaps/acer-aspire_6920 \ + src/extras/keymap/keymaps/acer-travelmate_c300 \ + src/extras/keymap/keymaps/asus \ + src/extras/keymap/keymaps/compaq-e_evo \ + src/extras/keymap/keymaps/dell \ + src/extras/keymap/keymaps/dell-latitude-xt2 \ + src/extras/keymap/keymaps/everex-xt5000 \ + src/extras/keymap/keymaps/fujitsu-amilo_pa_2548 \ + src/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 \ + src/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 \ + src/extras/keymap/keymaps/fujitsu-amilo_si_1520 \ + src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 \ + src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 \ + src/extras/keymap/keymaps/genius-slimstar-320 \ + src/extras/keymap/keymaps/hewlett-packard \ + src/extras/keymap/keymaps/hewlett-packard-2510p_2530p \ + src/extras/keymap/keymaps/hewlett-packard-compaq_elitebook \ + src/extras/keymap/keymaps/hewlett-packard-pavilion \ + src/extras/keymap/keymaps/hewlett-packard-presario-2100 \ + src/extras/keymap/keymaps/hewlett-packard-tablet \ + src/extras/keymap/keymaps/hewlett-packard-tx2 \ + src/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint \ + src/extras/keymap/keymaps/inventec-symphony_6.0_7.0 \ + src/extras/keymap/keymaps/lenovo-3000 \ + src/extras/keymap/keymaps/lenovo-ideapad \ + src/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint \ + src/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet \ + src/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet \ + src/extras/keymap/keymaps/lg-x110 \ + src/extras/keymap/keymaps/logitech-wave \ + src/extras/keymap/keymaps/logitech-wave-cordless \ + src/extras/keymap/keymaps/logitech-wave-pro-cordless \ + src/extras/keymap/keymaps/maxdata-pro_7000 \ + src/extras/keymap/keymaps/medion-fid2060 \ + src/extras/keymap/keymaps/medionnb-a555 \ + src/extras/keymap/keymaps/micro-star \ + src/extras/keymap/keymaps/module-asus-w3j \ + src/extras/keymap/keymaps/module-ibm \ + src/extras/keymap/keymaps/module-lenovo \ + src/extras/keymap/keymaps/module-sony \ + src/extras/keymap/keymaps/module-sony-old \ + src/extras/keymap/keymaps/module-sony-vgn \ + src/extras/keymap/keymaps/olpc-xo \ + src/extras/keymap/keymaps/onkyo \ + src/extras/keymap/keymaps/oqo-model2 \ + src/extras/keymap/keymaps/samsung-other \ + src/extras/keymap/keymaps/samsung-sq1us \ + src/extras/keymap/keymaps/samsung-sx20s \ + src/extras/keymap/keymaps/toshiba-satellite_a100 \ + src/extras/keymap/keymaps/toshiba-satellite_a110 \ + src/extras/keymap/keymaps/toshiba-satellite_m30x \ + src/extras/keymap/keymaps/zepto-znote udevkeymapforcereldir = $(libexecdir)/udev/keymaps/force-release dist_udevkeymapforcerel_DATA = \ - extras/keymap/force-release-maps/dell-touchpad \ - extras/keymap/force-release-maps/hp-other \ - extras/keymap/force-release-maps/samsung-other \ - extras/keymap/force-release-maps/common-volume-keys + src/extras/keymap/force-release-maps/dell-touchpad \ + src/extras/keymap/force-release-maps/hp-other \ + src/extras/keymap/force-release-maps/samsung-other \ + src/extras/keymap/force-release-maps/common-volume-keys -extras/keymap/keys.txt: $(INCLUDE_PREFIX)/linux/input.h - $(AM_V_at)mkdir -p extras/keymap +src/extras/keymap/keys.txt: $(INCLUDE_PREFIX)/linux/input.h + $(AM_V_at)mkdir -p src/extras/keymap $(AM_V_GEN)$(AWK) '/^#define.*KEY_[^ ]+[ \t]+[0-9]/ { if ($$2 != "KEY_MAX") { print $$2 } }' < $< | sed 's/^KEY_COFFEE$$/KEY_SCREENLOCK/' > $@ -extras/keymap/keys-from-name.gperf: extras/keymap/keys.txt +src/extras/keymap/keys-from-name.gperf: src/extras/keymap/keys.txt $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print $$1 ", " $$1 }' < $< > $@ -extras/keymap/keys-from-name.h: extras/keymap/keys-from-name.gperf Makefile +src/extras/keymap/keys-from-name.h: src/extras/keymap/keys-from-name.gperf Makefile $(AM_V_GEN)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_key -H hash_key_name -p -C < $< > $@ -extras/keymap/keys-to-name.h: extras/keymap/keys.txt Makefile +src/extras/keymap/keys-to-name.h: src/extras/keymap/keys.txt Makefile $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@ -keymaps-distcheck-hook: extras/keymap/keys.txt - $(top_srcdir)/extras/keymap/check-keymaps.sh $(top_srcdir) $^ +keymaps-distcheck-hook: src/extras/keymap/keys.txt + $(top_srcdir)/src/extras/keymap/check-keymaps.sh $(top_srcdir) $^ DISTCHECK_HOOKS += keymaps-distcheck-hook endif @@ -629,38 +631,38 @@ if ENABLE_MTD_PROBE # ------------------------------------------------------------------------------ # mtd_probe - autoloads FTL module for mtd devices # ------------------------------------------------------------------------------ -extras_mtd_probe_mtd_probe_SOURCES = \ - extras/mtd_probe/mtd_probe.c \ - extras/mtd_probe/mtd_probe.h \ - extras/mtd_probe/probe_smartmedia.c -extras_mtd_probe_mtd_probe_CPPFLAGS = $(AM_CPPFLAGS) -dist_udevrules_DATA += extras/mtd_probe/75-probe_mtd.rules -pkglibexec_PROGRAMS += extras/mtd_probe/mtd_probe +src_mtd_probe_SOURCES = \ + src/extras/mtd_probe/mtd_probe.c \ + src/extras/mtd_probe/mtd_probe.h \ + src/extras/mtd_probe/probe_smartmedia.c +src_mtd_probe_CPPFLAGS = $(AM_CPPFLAGS) +dist_udevrules_DATA += src/extras/mtd_probe/75-probe_mtd.rules +pkglibexec_PROGRAMS += src/mtd_probe endif if ENABLE_RULE_GENERATOR # ------------------------------------------------------------------------------ # rule_generator - persistent network and optical device rule generator # ------------------------------------------------------------------------------ -dist_pkglibexec_SCRIPTS += \ - extras/rule_generator/write_cd_rules \ - extras/rule_generator/write_net_rules +dist_udevhome_SCRIPTS += \ + src/extras/rule_generator/write_cd_rules \ + src/extras/rule_generator/write_net_rules -pkglibexec_DATA = extras/rule_generator/rule_generator.functions -dist_pkglibexec_DATA += \ - extras/rule_generator/75-cd-aliases-generator.rules \ - extras/rule_generator/75-persistent-net-generator.rules +udevhome_DATA = src/extras/rule_generator/rule_generator.functions +dist_udevhome_DATA = \ + src/extras/rule_generator/75-cd-aliases-generator.rules \ + src/extras/rule_generator/75-persistent-net-generator.rules endif if ENABLE_UDEV_ACL # ------------------------------------------------------------------------------ # udev_acl - apply ACLs for users with local forground sessions # ------------------------------------------------------------------------------ -extras_udev_acl_udev_acl_SOURCES = extras/udev-acl/udev-acl.c -extras_udev_acl_udev_acl_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) -extras_udev_acl_udev_acl_LDADD = libudev/libudev-private.la -lacl $(GLIB_LIBS) -dist_udevrules_DATA += extras/udev-acl/70-udev-acl.rules -pkglibexec_PROGRAMS += extras/udev-acl/udev-acl +src_udev_acl_SOURCES = src/extras/udev-acl/udev-acl.c +src_udev_acl_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) +src_udev_acl_LDADD = src/libudev-private.la -lacl $(GLIB_LIBS) +dist_udevrules_DATA += src/extras/udev-acl/70-udev-acl.rules +pkglibexec_PROGRAMS += src/udev-acl udevacl-install-hook: mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d @@ -673,20 +675,20 @@ if ENABLE_FLOPPY # ------------------------------------------------------------------------------ # create_floppy_devices - historical floppy kernel device nodes (/dev/fd0h1440, ...) # ------------------------------------------------------------------------------ -extras_floppy_create_floppy_devices_SOURCES = extras/floppy/create_floppy_devices.c -extras_floppy_create_floppy_devices_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/floppy/create_floppy_devices -dist_udevrules_DATA += extras/floppy/60-floppy.rules +src_create_floppy_devices_SOURCES = src/extras/floppy/create_floppy_devices.c +src_create_floppy_devices_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/create_floppy_devices +dist_udevrules_DATA += src/extras/floppy/60-floppy.rules endif if ENABLE_EDD # ------------------------------------------------------------------------------ # edd_id - create /dev/disk/by-id/edd-* links for BIOS EDD data # ------------------------------------------------------------------------------ -extras_edd_id_edd_id_SOURCES = extras/edd_id/edd_id.c -extras_edd_id_edd_id_LDADD = libudev/libudev-private.la -pkglibexec_PROGRAMS += extras/edd_id/edd_id -dist_udevrules_DATA += extras/edd_id/61-persistent-storage-edd.rules +src_edd_id_SOURCES = src/extras/edd_id/edd_id.c +src_edd_id_LDADD = src/libudev-private.la +pkglibexec_PROGRAMS += src/edd_id +dist_udevrules_DATA += src/extras/edd_id/61-persistent-storage-edd.rules endif # ------------------------------------------------------------------------------ @@ -753,6 +755,6 @@ tar-sync: scp udev-$(VERSION).tar.xz master.kernel.org:/pub/linux/utils/kernel/hotplug/ doc-sync: - rsync -av udev/*.html master.kernel.org:/pub/linux/utils/kernel/hotplug/udev/ - rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/ - rsync -av --delete extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/gudev/ + rsync -av src/*.html master.kernel.org:/pub/linux/utils/kernel/hotplug/udev/ + rsync -av --delete src/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/src/ + rsync -av --delete src/extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/gudev/ diff --git a/configure.ac b/configure.ac index bd154181e5..4ba9964cbd 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_INIT([udev], [linux-hotplug@vger.kernel.org], [udev], [http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html]) -AC_CONFIG_SRCDIR([udev/udevd.c]) +AC_CONFIG_SRCDIR([src/udevd.c]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([check-news foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects]) AC_USE_SYSTEM_EXTENSIONS @@ -210,10 +210,10 @@ AC_SUBST([my_CFLAGS]) AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES([ Makefile - libudev/docs/Makefile - libudev/docs/version.xml - extras/gudev/docs/Makefile - extras/gudev/docs/version.xml + src/docs/Makefile + src/docs/version.xml + src/extras/gudev/docs/Makefile + src/extras/gudev/docs/version.xml ]) AC_OUTPUT diff --git a/libudev/.gitignore b/libudev/.gitignore deleted file mode 100644 index 74a5f1d379..0000000000 --- a/libudev/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -test-libudev -libudev.pc -libudev.so* - diff --git a/libudev/docs/libudev-overrides.txt b/libudev/docs/libudev-overrides.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/libudev/docs/libudev-overrides.txt +++ /dev/null diff --git a/src/.gitignore b/src/.gitignore new file mode 100644 index 0000000000..5da27a94dc --- /dev/null +++ b/src/.gitignore @@ -0,0 +1,6 @@ +*.[78] +*.html +udev.pc +libudev.pc +libudev.so* +udev*.service diff --git a/libudev/COPYING b/src/COPYING index 8add30ad59..0851b141d8 100644 --- a/libudev/COPYING +++ b/src/COPYING @@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an @@ -158,7 +158,7 @@ Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - + 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 @@ -500,5 +500,3 @@ necessary. Here is a sample; alter the names: Ty Coon, President of Vice That's all there is to it! - - diff --git a/libudev/docs/.gitignore b/src/docs/.gitignore index 286f244fa2..dca700a998 100644 --- a/libudev/docs/.gitignore +++ b/src/docs/.gitignore @@ -15,4 +15,3 @@ libudev.hierarchy libudev.interfaces libudev.prerequisites libudev.signals - diff --git a/libudev/docs/Makefile.am b/src/docs/Makefile.am index 965902627f..3b280d87a7 100644 --- a/libudev/docs/Makefile.am +++ b/src/docs/Makefile.am @@ -48,8 +48,8 @@ FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c -HFILE_GLOB=$(top_srcdir)/libudev/libudev*.h -CFILE_GLOB=$(top_srcdir)/libudev/libudev*.c +HFILE_GLOB=$(top_srcdir)/src/libudev*.h +CFILE_GLOB=$(top_srcdir)/src/libudev*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h diff --git a/libudev/docs/libudev-docs.xml b/src/docs/libudev-docs.xml index b7feb45529..b7feb45529 100644 --- a/libudev/docs/libudev-docs.xml +++ b/src/docs/libudev-docs.xml diff --git a/libudev/docs/libudev-sections.txt b/src/docs/libudev-sections.txt index 15c3e934b5..15c3e934b5 100644 --- a/libudev/docs/libudev-sections.txt +++ b/src/docs/libudev-sections.txt diff --git a/libudev/docs/libudev.types b/src/docs/libudev.types index e69de29bb2..e69de29bb2 100644 --- a/libudev/docs/libudev.types +++ b/src/docs/libudev.types diff --git a/extras/gudev/docs/version.xml.in b/src/docs/version.xml.in index d78bda9342..d78bda9342 100644 --- a/extras/gudev/docs/version.xml.in +++ b/src/docs/version.xml.in diff --git a/extras/accelerometer/.gitignore b/src/extras/accelerometer/.gitignore index dddc2204d4..dddc2204d4 100644 --- a/extras/accelerometer/.gitignore +++ b/src/extras/accelerometer/.gitignore diff --git a/extras/accelerometer/61-accelerometer.rules b/src/extras/accelerometer/61-accelerometer.rules index a6a2bfd088..a6a2bfd088 100644 --- a/extras/accelerometer/61-accelerometer.rules +++ b/src/extras/accelerometer/61-accelerometer.rules diff --git a/extras/accelerometer/accelerometer.c b/src/extras/accelerometer/accelerometer.c index 59c2a4ece3..59c2a4ece3 100644 --- a/extras/accelerometer/accelerometer.c +++ b/src/extras/accelerometer/accelerometer.c diff --git a/extras/ata_id/.gitignore b/src/extras/ata_id/.gitignore index 77837266e6..77837266e6 100644 --- a/extras/ata_id/.gitignore +++ b/src/extras/ata_id/.gitignore diff --git a/extras/ata_id/ata_id.c b/src/extras/ata_id/ata_id.c index 64df86c23a..64df86c23a 100644 --- a/extras/ata_id/ata_id.c +++ b/src/extras/ata_id/ata_id.c diff --git a/extras/cdrom_id/.gitignore b/src/extras/cdrom_id/.gitignore index 7d817ea74e..7d817ea74e 100644 --- a/extras/cdrom_id/.gitignore +++ b/src/extras/cdrom_id/.gitignore diff --git a/extras/cdrom_id/60-cdrom_id.rules b/src/extras/cdrom_id/60-cdrom_id.rules index 353f522b0b..353f522b0b 100644 --- a/extras/cdrom_id/60-cdrom_id.rules +++ b/src/extras/cdrom_id/60-cdrom_id.rules diff --git a/extras/cdrom_id/cdrom_id.c b/src/extras/cdrom_id/cdrom_id.c index 664a00d2c7..664a00d2c7 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/src/extras/cdrom_id/cdrom_id.c diff --git a/extras/collect/.gitignore b/src/extras/collect/.gitignore index c30ad6527c..c30ad6527c 100644 --- a/extras/collect/.gitignore +++ b/src/extras/collect/.gitignore diff --git a/extras/collect/collect.c b/src/extras/collect/collect.c index f78f3b778e..f78f3b778e 100644 --- a/extras/collect/collect.c +++ b/src/extras/collect/collect.c diff --git a/extras/edd_id/.gitignore b/src/extras/edd_id/.gitignore index 14fb67c634..14fb67c634 100644 --- a/extras/edd_id/.gitignore +++ b/src/extras/edd_id/.gitignore diff --git a/extras/edd_id/61-persistent-storage-edd.rules b/src/extras/edd_id/61-persistent-storage-edd.rules index 6b4fb8ecfe..6b4fb8ecfe 100644 --- a/extras/edd_id/61-persistent-storage-edd.rules +++ b/src/extras/edd_id/61-persistent-storage-edd.rules diff --git a/extras/edd_id/edd_id.c b/src/extras/edd_id/edd_id.c index ac4da07611..ac4da07611 100644 --- a/extras/edd_id/edd_id.c +++ b/src/extras/edd_id/edd_id.c diff --git a/extras/floppy/.gitignore b/src/extras/floppy/.gitignore index 939f625a4a..939f625a4a 100644 --- a/extras/floppy/.gitignore +++ b/src/extras/floppy/.gitignore diff --git a/extras/floppy/60-floppy.rules b/src/extras/floppy/60-floppy.rules index 53e4a9e59a..53e4a9e59a 100644 --- a/extras/floppy/60-floppy.rules +++ b/src/extras/floppy/60-floppy.rules diff --git a/extras/floppy/create_floppy_devices.c b/src/extras/floppy/create_floppy_devices.c index 47724f8b04..47724f8b04 100644 --- a/extras/floppy/create_floppy_devices.c +++ b/src/extras/floppy/create_floppy_devices.c diff --git a/extras/gudev/.gitignore b/src/extras/gudev/.gitignore index d20fa523e4..d20fa523e4 100644 --- a/extras/gudev/.gitignore +++ b/src/extras/gudev/.gitignore diff --git a/extras/gudev/COPYING b/src/extras/gudev/COPYING index 8add30ad59..47044a8c58 100644 --- a/extras/gudev/COPYING +++ b/src/extras/gudev/COPYING @@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an @@ -500,5 +500,3 @@ necessary. Here is a sample; alter the names: Ty Coon, President of Vice That's all there is to it! - - diff --git a/extras/gudev/docs/.gitignore b/src/extras/gudev/docs/.gitignore index a24184ac83..8eada6d409 100644 --- a/extras/gudev/docs/.gitignore +++ b/src/extras/gudev/docs/.gitignore @@ -14,4 +14,3 @@ html/* xml/* tmpl/* *.stamp - diff --git a/extras/gudev/docs/Makefile.am b/src/extras/gudev/docs/Makefile.am index 5507434d5f..d03fc65127 100644 --- a/extras/gudev/docs/Makefile.am +++ b/src/extras/gudev/docs/Makefile.am @@ -48,8 +48,8 @@ FIXXREF_OPTIONS= # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c -HFILE_GLOB=$(top_srcdir)/extras/gudev/*.h -CFILE_GLOB=$(top_srcdir)/extras/gudev/*.c +HFILE_GLOB=$(top_srcdir)/src/extras/gudev/*.h +CFILE_GLOB=$(top_srcdir)/src/extras/gudev/*.c # Extra header to include when scanning, which are not under DOC_SOURCE_DIR # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h @@ -80,12 +80,12 @@ expand_content_files= GTKDOC_CFLAGS = \ $(DBUS_GLIB_CFLAGS) \ $(GLIB_CFLAGS) \ - -I$(top_srcdir)/extras/gudev \ - -I$(top_builddir)/extras/gudev + -I$(top_srcdir)/src/extras/gudev \ + -I$(top_builddir)/src/extras/gudev GTKDOC_LIBS = \ $(GLIB_LIBS) \ - $(top_builddir)/extras/gudev/libgudev-1.0.la + $(top_builddir)/src/extras/gudev/libgudev-1.0.la # This includes the standard gtk-doc make rules, copied by gtkdocize. include $(top_srcdir)/gtk-doc.make diff --git a/extras/gudev/docs/gudev-docs.xml b/src/extras/gudev/docs/gudev-docs.xml index 65fdfff8e5..65fdfff8e5 100644 --- a/extras/gudev/docs/gudev-docs.xml +++ b/src/extras/gudev/docs/gudev-docs.xml diff --git a/extras/gudev/docs/gudev-sections.txt b/src/extras/gudev/docs/gudev-sections.txt index 213e1a7465..213e1a7465 100644 --- a/extras/gudev/docs/gudev-sections.txt +++ b/src/extras/gudev/docs/gudev-sections.txt diff --git a/extras/gudev/docs/gudev.types b/src/extras/gudev/docs/gudev.types index a89857a04d..a89857a04d 100644 --- a/extras/gudev/docs/gudev.types +++ b/src/extras/gudev/docs/gudev.types diff --git a/libudev/docs/version.xml.in b/src/extras/gudev/docs/version.xml.in index d78bda9342..d78bda9342 100644 --- a/libudev/docs/version.xml.in +++ b/src/extras/gudev/docs/version.xml.in diff --git a/extras/gudev/gjs-example.js b/src/extras/gudev/gjs-example.js index 5586fd6a61..5586fd6a61 100755 --- a/extras/gudev/gjs-example.js +++ b/src/extras/gudev/gjs-example.js diff --git a/extras/gudev/gudev-1.0.pc.in b/src/extras/gudev/gudev-1.0.pc.in index 058262d767..058262d767 100644 --- a/extras/gudev/gudev-1.0.pc.in +++ b/src/extras/gudev/gudev-1.0.pc.in diff --git a/extras/gudev/gudev.h b/src/extras/gudev/gudev.h index a313460817..a313460817 100644 --- a/extras/gudev/gudev.h +++ b/src/extras/gudev/gudev.h diff --git a/extras/gudev/gudevclient.c b/src/extras/gudev/gudevclient.c index 97b951adcd..a6465ad943 100644 --- a/extras/gudev/gudevclient.c +++ b/src/extras/gudev/gudevclient.c @@ -525,4 +525,3 @@ _g_udev_client_get_udev (GUdevClient *client) g_return_val_if_fail (G_UDEV_IS_CLIENT (client), NULL); return client->priv->udev; } - diff --git a/extras/gudev/gudevclient.h b/src/extras/gudev/gudevclient.h index b425d03d48..b425d03d48 100644 --- a/extras/gudev/gudevclient.h +++ b/src/extras/gudev/gudevclient.h diff --git a/extras/gudev/gudevdevice.c b/src/extras/gudev/gudevdevice.c index 38d602c42a..0c3340ffeb 100644 --- a/extras/gudev/gudevdevice.c +++ b/src/extras/gudev/gudevdevice.c @@ -961,4 +961,3 @@ g_udev_device_get_usec_since_initialized (GUdevDevice *device) g_return_val_if_fail (G_UDEV_IS_DEVICE (device), 0); return udev_device_get_usec_since_initialized (device->priv->udevice); } - diff --git a/extras/gudev/gudevdevice.h b/src/extras/gudev/gudevdevice.h index d4873bad0f..d4873bad0f 100644 --- a/extras/gudev/gudevdevice.h +++ b/src/extras/gudev/gudevdevice.h diff --git a/extras/gudev/gudevenumerator.c b/src/extras/gudev/gudevenumerator.c index db09074625..db09074625 100644 --- a/extras/gudev/gudevenumerator.c +++ b/src/extras/gudev/gudevenumerator.c diff --git a/extras/gudev/gudevenumerator.h b/src/extras/gudev/gudevenumerator.h index 3fddccf573..3fddccf573 100644 --- a/extras/gudev/gudevenumerator.h +++ b/src/extras/gudev/gudevenumerator.h diff --git a/extras/gudev/gudevenums.h b/src/extras/gudev/gudevenums.h index c3a0aa8747..c3a0aa8747 100644 --- a/extras/gudev/gudevenums.h +++ b/src/extras/gudev/gudevenums.h diff --git a/extras/gudev/gudevenumtypes.c.template b/src/extras/gudev/gudevenumtypes.c.template index fc30b39e2e..fc30b39e2e 100644 --- a/extras/gudev/gudevenumtypes.c.template +++ b/src/extras/gudev/gudevenumtypes.c.template diff --git a/extras/gudev/gudevenumtypes.h.template b/src/extras/gudev/gudevenumtypes.h.template index d0ab3393e6..d0ab3393e6 100644 --- a/extras/gudev/gudevenumtypes.h.template +++ b/src/extras/gudev/gudevenumtypes.h.template diff --git a/extras/gudev/gudevmarshal.list b/src/extras/gudev/gudevmarshal.list index 7e665999e8..7e665999e8 100644 --- a/extras/gudev/gudevmarshal.list +++ b/src/extras/gudev/gudevmarshal.list diff --git a/extras/gudev/gudevprivate.h b/src/extras/gudev/gudevprivate.h index 8866f52b88..8866f52b88 100644 --- a/extras/gudev/gudevprivate.h +++ b/src/extras/gudev/gudevprivate.h diff --git a/extras/gudev/gudevtypes.h b/src/extras/gudev/gudevtypes.h index 888482783d..888482783d 100644 --- a/extras/gudev/gudevtypes.h +++ b/src/extras/gudev/gudevtypes.h diff --git a/extras/gudev/seed-example-enum.js b/src/extras/gudev/seed-example-enum.js index 66206ad806..66206ad806 100755 --- a/extras/gudev/seed-example-enum.js +++ b/src/extras/gudev/seed-example-enum.js diff --git a/extras/gudev/seed-example.js b/src/extras/gudev/seed-example.js index e2ac324d23..e2ac324d23 100755 --- a/extras/gudev/seed-example.js +++ b/src/extras/gudev/seed-example.js diff --git a/extras/keymap/.gitignore b/src/extras/keymap/.gitignore index 01d62e2b6e..01d62e2b6e 100644 --- a/extras/keymap/.gitignore +++ b/src/extras/keymap/.gitignore diff --git a/extras/keymap/95-keyboard-force-release.rules b/src/extras/keymap/95-keyboard-force-release.rules index 79a1bc1cc4..79a1bc1cc4 100644 --- a/extras/keymap/95-keyboard-force-release.rules +++ b/src/extras/keymap/95-keyboard-force-release.rules diff --git a/extras/keymap/95-keymap.rules b/src/extras/keymap/95-keymap.rules index 1ec18b7f55..1ec18b7f55 100644 --- a/extras/keymap/95-keymap.rules +++ b/src/extras/keymap/95-keymap.rules diff --git a/extras/keymap/README.keymap.txt b/src/extras/keymap/README.keymap.txt index acdc00283a..52d50ed2de 100644 --- a/extras/keymap/README.keymap.txt +++ b/src/extras/keymap/README.keymap.txt @@ -21,7 +21,7 @@ code mapping is incorrect on your computer. udev-keymap consists of the following parts: keymaps/*:: mappings of scan codes to key code names - + 95-keymap.rules:: udev rules for mapping system vendor/product names and input module names to one of the keymaps above @@ -59,8 +59,8 @@ for inclusion you need to do the following steps: out is plausible. If it is unknown or wrong, write down the scan code (looks like "0x1E") and the intended functionality of this key. Look in /usr/include/linux/input.h for an available KEY_XXXXX constant which most - closely approximates this functionality and write it down as the new key code. - + closely approximates this functionality and write it down as the new key code. + For example, you might press a key labeled "web browser" which currently produces "unknown". Note down this: diff --git a/extras/keymap/check-keymaps.sh b/src/extras/keymap/check-keymaps.sh index 350a857171..ea77b69c24 100755 --- a/extras/keymap/check-keymaps.sh +++ b/src/extras/keymap/check-keymaps.sh @@ -4,9 +4,9 @@ # and that all key maps listed in the rules are valid and present in # Makefile.am SRCDIR=${1:-.} -KEYLIST=${2:-extras/keymap/keys.txt} -KEYMAPS_DIR=$SRCDIR/extras/keymap/keymaps #extras/keymap/keymaps -RULES=$SRCDIR/extras/keymap/95-keymap.rules +KEYLIST=${2:-src/extras/keymap/keys.txt} +KEYMAPS_DIR=$SRCDIR/src/extras/keymap/keymaps #extras/keymap/keymaps +RULES=$SRCDIR/src/extras/keymap/95-keymap.rules [ -e "$KEYLIST" ] || { echo "need $KEYLIST please build first" >&2 diff --git a/extras/keymap/findkeyboards b/src/extras/keymap/findkeyboards index eba3737a96..eba3737a96 100755 --- a/extras/keymap/findkeyboards +++ b/src/extras/keymap/findkeyboards diff --git a/extras/keymap/force-release-maps/common-volume-keys b/src/extras/keymap/force-release-maps/common-volume-keys index 3a7654d735..3a7654d735 100644 --- a/extras/keymap/force-release-maps/common-volume-keys +++ b/src/extras/keymap/force-release-maps/common-volume-keys diff --git a/extras/keymap/force-release-maps/dell-touchpad b/src/extras/keymap/force-release-maps/dell-touchpad index 18e9bdee66..18e9bdee66 100644 --- a/extras/keymap/force-release-maps/dell-touchpad +++ b/src/extras/keymap/force-release-maps/dell-touchpad diff --git a/extras/keymap/force-release-maps/hp-other b/src/extras/keymap/force-release-maps/hp-other index 6621370095..6621370095 100644 --- a/extras/keymap/force-release-maps/hp-other +++ b/src/extras/keymap/force-release-maps/hp-other diff --git a/extras/keymap/force-release-maps/samsung-other b/src/extras/keymap/force-release-maps/samsung-other index c51123a0b6..c51123a0b6 100644 --- a/extras/keymap/force-release-maps/samsung-other +++ b/src/extras/keymap/force-release-maps/samsung-other diff --git a/extras/keymap/keyboard-force-release.sh.in b/src/extras/keymap/keyboard-force-release.sh.in index 154be3d733..154be3d733 100755 --- a/extras/keymap/keyboard-force-release.sh.in +++ b/src/extras/keymap/keyboard-force-release.sh.in diff --git a/extras/keymap/keymap.c b/src/extras/keymap/keymap.c index 79fd0599a9..6bcfaefa18 100644 --- a/extras/keymap/keymap.c +++ b/src/extras/keymap/keymap.c @@ -177,10 +177,10 @@ static void set_key(int fd, const char* scancode_str, const char* keyname) } if (evdev_set_keycode(fd, scancode, k->id) < 0) - fprintf(stderr, "setting scancode 0x%2X to key code %i failed\n", + fprintf(stderr, "setting scancode 0x%2X to key code %i failed\n", scancode, k->id); else - printf("setting scancode 0x%2X to key code %i\n", + printf("setting scancode 0x%2X to key code %i\n", scancode, k->id); } @@ -324,7 +324,7 @@ static void interactive(int fd) has_scan = 0; } - last_key = ev.code; + last_key = ev.code; has_key = 1 + ev.value; /*printf("--- got key %hu; has scan %i key %i\n", last_key, has_scan, has_key);*/ @@ -437,7 +437,7 @@ int main(int argc, char **argv) /* more arguments (device, scancode/keyname pairs): set keys directly */ if ((argc - optind - 1) % 2 == 0) { for (i = optind+1; i < argc; i += 2) - set_key(fd, argv[i], argv[i+1]); + set_key(fd, argv[i], argv[i+1]); return 0; } diff --git a/extras/keymap/keymaps/acer b/src/extras/keymap/keymaps/acer index 4e7c297dea..4e7c297dea 100644 --- a/extras/keymap/keymaps/acer +++ b/src/extras/keymap/keymaps/acer diff --git a/extras/keymap/keymaps/acer-aspire_5720 b/src/extras/keymap/keymaps/acer-aspire_5720 index b3515b772f..c4a8459367 100644 --- a/extras/keymap/keymaps/acer-aspire_5720 +++ b/src/extras/keymap/keymaps/acer-aspire_5720 @@ -2,4 +2,3 @@ 0x92 media # acer arcade 0xD4 bluetooth # bluetooth on 0xD9 bluetooth # bluetooth off - diff --git a/extras/keymap/keymaps/acer-aspire_5920g b/src/extras/keymap/keymaps/acer-aspire_5920g index 633c4e854c..633c4e854c 100644 --- a/extras/keymap/keymaps/acer-aspire_5920g +++ b/src/extras/keymap/keymaps/acer-aspire_5920g diff --git a/extras/keymap/keymaps/acer-aspire_6920 b/src/extras/keymap/keymaps/acer-aspire_6920 index 699c954b4e..699c954b4e 100644 --- a/extras/keymap/keymaps/acer-aspire_6920 +++ b/src/extras/keymap/keymaps/acer-aspire_6920 diff --git a/extras/keymap/keymaps/acer-aspire_8930 b/src/extras/keymap/keymaps/acer-aspire_8930 index ffe9f372f7..fb27bfb4f5 100644 --- a/extras/keymap/keymaps/acer-aspire_8930 +++ b/src/extras/keymap/keymaps/acer-aspire_8930 @@ -3,4 +3,3 @@ 0x89 fastforward 0x92 media # key 'ARCADE' on cine dash media console 0x9E back - diff --git a/extras/keymap/keymaps/acer-travelmate_c300 b/src/extras/keymap/keymaps/acer-travelmate_c300 index bfef4cf868..bfef4cf868 100644 --- a/extras/keymap/keymaps/acer-travelmate_c300 +++ b/src/extras/keymap/keymaps/acer-travelmate_c300 diff --git a/extras/keymap/keymaps/asus b/src/extras/keymap/keymaps/asus index 2a5995f982..2a5995f982 100644 --- a/extras/keymap/keymaps/asus +++ b/src/extras/keymap/keymaps/asus diff --git a/extras/keymap/keymaps/compaq-e_evo b/src/extras/keymap/keymaps/compaq-e_evo index 5fbc573aa4..5fbc573aa4 100644 --- a/extras/keymap/keymaps/compaq-e_evo +++ b/src/extras/keymap/keymaps/compaq-e_evo diff --git a/extras/keymap/keymaps/dell b/src/extras/keymap/keymaps/dell index 4f907b3eef..4f907b3eef 100644 --- a/extras/keymap/keymaps/dell +++ b/src/extras/keymap/keymaps/dell diff --git a/extras/keymap/keymaps/dell-latitude-xt2 b/src/extras/keymap/keymaps/dell-latitude-xt2 index 39872f559d..39872f559d 100644 --- a/extras/keymap/keymaps/dell-latitude-xt2 +++ b/src/extras/keymap/keymaps/dell-latitude-xt2 diff --git a/extras/keymap/keymaps/everex-xt5000 b/src/extras/keymap/keymaps/everex-xt5000 index 4823a832f5..4823a832f5 100644 --- a/extras/keymap/keymaps/everex-xt5000 +++ b/src/extras/keymap/keymaps/everex-xt5000 diff --git a/extras/keymap/keymaps/fujitsu-amilo_pa_2548 b/src/extras/keymap/keymaps/fujitsu-amilo_pa_2548 index f7b0c52444..f7b0c52444 100644 --- a/extras/keymap/keymaps/fujitsu-amilo_pa_2548 +++ b/src/extras/keymap/keymaps/fujitsu-amilo_pa_2548 diff --git a/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 b/src/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 index d2e38cbb23..d2e38cbb23 100644 --- a/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 +++ b/src/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 diff --git a/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 b/src/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 index 43e3199d59..43e3199d59 100644 --- a/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 +++ b/src/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 diff --git a/extras/keymap/keymaps/fujitsu-amilo_si_1520 b/src/extras/keymap/keymaps/fujitsu-amilo_si_1520 index 1419bd9b5e..1419bd9b5e 100644 --- a/extras/keymap/keymaps/fujitsu-amilo_si_1520 +++ b/src/extras/keymap/keymaps/fujitsu-amilo_si_1520 diff --git a/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 b/src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 index d3d056b366..d3d056b366 100644 --- a/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 +++ b/src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 diff --git a/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 b/src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 index 52c70c50cb..52c70c50cb 100644 --- a/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 +++ b/src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 diff --git a/extras/keymap/keymaps/genius-slimstar-320 b/src/extras/keymap/keymaps/genius-slimstar-320 index d0a3656dd8..d0a3656dd8 100644 --- a/extras/keymap/keymaps/genius-slimstar-320 +++ b/src/extras/keymap/keymaps/genius-slimstar-320 diff --git a/extras/keymap/keymaps/hewlett-packard b/src/extras/keymap/keymaps/hewlett-packard index 4461fa2ce5..4461fa2ce5 100644 --- a/extras/keymap/keymaps/hewlett-packard +++ b/src/extras/keymap/keymaps/hewlett-packard diff --git a/extras/keymap/keymaps/hewlett-packard-2510p_2530p b/src/extras/keymap/keymaps/hewlett-packard-2510p_2530p index 41ad2e9b5a..41ad2e9b5a 100644 --- a/extras/keymap/keymaps/hewlett-packard-2510p_2530p +++ b/src/extras/keymap/keymaps/hewlett-packard-2510p_2530p diff --git a/extras/keymap/keymaps/hewlett-packard-compaq_elitebook b/src/extras/keymap/keymaps/hewlett-packard-compaq_elitebook index 42007c5483..42007c5483 100644 --- a/extras/keymap/keymaps/hewlett-packard-compaq_elitebook +++ b/src/extras/keymap/keymaps/hewlett-packard-compaq_elitebook diff --git a/extras/keymap/keymaps/hewlett-packard-pavilion b/src/extras/keymap/keymaps/hewlett-packard-pavilion index 3d3cefc8e6..3d3cefc8e6 100644 --- a/extras/keymap/keymaps/hewlett-packard-pavilion +++ b/src/extras/keymap/keymaps/hewlett-packard-pavilion diff --git a/extras/keymap/keymaps/hewlett-packard-presario-2100 b/src/extras/keymap/keymaps/hewlett-packard-presario-2100 index 1df39dcbd2..1df39dcbd2 100644 --- a/extras/keymap/keymaps/hewlett-packard-presario-2100 +++ b/src/extras/keymap/keymaps/hewlett-packard-presario-2100 diff --git a/extras/keymap/keymaps/hewlett-packard-tablet b/src/extras/keymap/keymaps/hewlett-packard-tablet index d19005ab90..d19005ab90 100644 --- a/extras/keymap/keymaps/hewlett-packard-tablet +++ b/src/extras/keymap/keymaps/hewlett-packard-tablet diff --git a/extras/keymap/keymaps/hewlett-packard-tx2 b/src/extras/keymap/keymaps/hewlett-packard-tx2 index 36a690fcf6..36a690fcf6 100644 --- a/extras/keymap/keymaps/hewlett-packard-tx2 +++ b/src/extras/keymap/keymaps/hewlett-packard-tx2 diff --git a/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint b/src/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint index 027e50bf88..027e50bf88 100644 --- a/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint +++ b/src/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint diff --git a/extras/keymap/keymaps/inventec-symphony_6.0_7.0 b/src/extras/keymap/keymaps/inventec-symphony_6.0_7.0 index 4a8b4ba5a7..4a8b4ba5a7 100644 --- a/extras/keymap/keymaps/inventec-symphony_6.0_7.0 +++ b/src/extras/keymap/keymaps/inventec-symphony_6.0_7.0 diff --git a/extras/keymap/keymaps/lenovo-3000 b/src/extras/keymap/keymaps/lenovo-3000 index 5bd165654a..5bd165654a 100644 --- a/extras/keymap/keymaps/lenovo-3000 +++ b/src/extras/keymap/keymaps/lenovo-3000 diff --git a/extras/keymap/keymaps/lenovo-ideapad b/src/extras/keymap/keymaps/lenovo-ideapad index d5f25671a5..d5f25671a5 100644 --- a/extras/keymap/keymaps/lenovo-ideapad +++ b/src/extras/keymap/keymaps/lenovo-ideapad diff --git a/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint b/src/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint index 3e94547270..47e8846a68 100644 --- a/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint +++ b/src/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint @@ -10,4 +10,4 @@ 0x90011 prog1 # Thinkvantage button 0x90015 camera # Fn+F6 headset/camera VoIP key ?? -0x90010 micmute # Microphone mute button +0x90010 micmute # Microphone mute button diff --git a/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet b/src/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet index 31ea3b2c70..31ea3b2c70 100644 --- a/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet +++ b/src/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet diff --git a/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet b/src/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet index 6fd16b5662..6fd16b5662 100644 --- a/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet +++ b/src/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet diff --git a/extras/keymap/keymaps/lg-x110 b/src/extras/keymap/keymaps/lg-x110 index ba08cba3fe..ba08cba3fe 100644 --- a/extras/keymap/keymaps/lg-x110 +++ b/src/extras/keymap/keymaps/lg-x110 diff --git a/extras/keymap/keymaps/logitech-wave b/src/extras/keymap/keymaps/logitech-wave index caa5d5d310..caa5d5d310 100644 --- a/extras/keymap/keymaps/logitech-wave +++ b/src/extras/keymap/keymaps/logitech-wave diff --git a/extras/keymap/keymaps/logitech-wave-cordless b/src/extras/keymap/keymaps/logitech-wave-cordless index a10dad5e4d..a10dad5e4d 100644 --- a/extras/keymap/keymaps/logitech-wave-cordless +++ b/src/extras/keymap/keymaps/logitech-wave-cordless diff --git a/extras/keymap/keymaps/logitech-wave-pro-cordless b/src/extras/keymap/keymaps/logitech-wave-pro-cordless index e7aa02206c..e7aa02206c 100644 --- a/extras/keymap/keymaps/logitech-wave-pro-cordless +++ b/src/extras/keymap/keymaps/logitech-wave-pro-cordless diff --git a/extras/keymap/keymaps/maxdata-pro_7000 b/src/extras/keymap/keymaps/maxdata-pro_7000 index c0e4f77af4..c0e4f77af4 100644 --- a/extras/keymap/keymaps/maxdata-pro_7000 +++ b/src/extras/keymap/keymaps/maxdata-pro_7000 diff --git a/extras/keymap/keymaps/medion-fid2060 b/src/extras/keymap/keymaps/medion-fid2060 index 5a76c76799..5a76c76799 100644 --- a/extras/keymap/keymaps/medion-fid2060 +++ b/src/extras/keymap/keymaps/medion-fid2060 diff --git a/extras/keymap/keymaps/medionnb-a555 b/src/extras/keymap/keymaps/medionnb-a555 index c3b5dfa60b..c3b5dfa60b 100644 --- a/extras/keymap/keymaps/medionnb-a555 +++ b/src/extras/keymap/keymaps/medionnb-a555 diff --git a/extras/keymap/keymaps/micro-star b/src/extras/keymap/keymaps/micro-star index 4a438698ed..4a438698ed 100644 --- a/extras/keymap/keymaps/micro-star +++ b/src/extras/keymap/keymaps/micro-star diff --git a/extras/keymap/keymaps/module-asus-w3j b/src/extras/keymap/keymaps/module-asus-w3j index 773e0b3e82..773e0b3e82 100644 --- a/extras/keymap/keymaps/module-asus-w3j +++ b/src/extras/keymap/keymaps/module-asus-w3j diff --git a/extras/keymap/keymaps/module-ibm b/src/extras/keymap/keymaps/module-ibm index a92dfa2506..a92dfa2506 100644 --- a/extras/keymap/keymaps/module-ibm +++ b/src/extras/keymap/keymaps/module-ibm diff --git a/extras/keymap/keymaps/module-lenovo b/src/extras/keymap/keymaps/module-lenovo index 8e38883091..8e38883091 100644 --- a/extras/keymap/keymaps/module-lenovo +++ b/src/extras/keymap/keymaps/module-lenovo diff --git a/extras/keymap/keymaps/module-sony b/src/extras/keymap/keymaps/module-sony index 7c000131d1..7c000131d1 100644 --- a/extras/keymap/keymaps/module-sony +++ b/src/extras/keymap/keymaps/module-sony diff --git a/extras/keymap/keymaps/module-sony-old b/src/extras/keymap/keymaps/module-sony-old index 596a34258a..596a34258a 100644 --- a/extras/keymap/keymaps/module-sony-old +++ b/src/extras/keymap/keymaps/module-sony-old diff --git a/extras/keymap/keymaps/module-sony-vgn b/src/extras/keymap/keymaps/module-sony-vgn index c8ba001516..c8ba001516 100644 --- a/extras/keymap/keymaps/module-sony-vgn +++ b/src/extras/keymap/keymaps/module-sony-vgn diff --git a/extras/keymap/keymaps/olpc-xo b/src/extras/keymap/keymaps/olpc-xo index 34434a121d..34434a121d 100644 --- a/extras/keymap/keymaps/olpc-xo +++ b/src/extras/keymap/keymaps/olpc-xo diff --git a/extras/keymap/keymaps/onkyo b/src/extras/keymap/keymaps/onkyo index ee864ade4d..ee864ade4d 100644 --- a/extras/keymap/keymaps/onkyo +++ b/src/extras/keymap/keymaps/onkyo diff --git a/extras/keymap/keymaps/oqo-model2 b/src/extras/keymap/keymaps/oqo-model2 index b7f4851abe..b7f4851abe 100644 --- a/extras/keymap/keymaps/oqo-model2 +++ b/src/extras/keymap/keymaps/oqo-model2 diff --git a/extras/keymap/keymaps/samsung-other b/src/extras/keymap/keymaps/samsung-other index 3ac0c2f10c..3ac0c2f10c 100644 --- a/extras/keymap/keymaps/samsung-other +++ b/src/extras/keymap/keymaps/samsung-other diff --git a/extras/keymap/keymaps/samsung-sq1us b/src/extras/keymap/keymaps/samsung-sq1us index 3e05199785..ea2141ef84 100644 --- a/extras/keymap/keymaps/samsung-sq1us +++ b/src/extras/keymap/keymaps/samsung-sq1us @@ -1,6 +1,6 @@ 0xD4 menu 0xD8 f1 -0xD9 f10 +0xD9 f10 0xD6 f3 0xD7 f9 0xE4 f5 diff --git a/extras/keymap/keymaps/samsung-sx20s b/src/extras/keymap/keymaps/samsung-sx20s index 9d954ee415..9d954ee415 100644 --- a/extras/keymap/keymaps/samsung-sx20s +++ b/src/extras/keymap/keymaps/samsung-sx20s diff --git a/extras/keymap/keymaps/toshiba-satellite_a100 b/src/extras/keymap/keymaps/toshiba-satellite_a100 index 22007be71b..22007be71b 100644 --- a/extras/keymap/keymaps/toshiba-satellite_a100 +++ b/src/extras/keymap/keymaps/toshiba-satellite_a100 diff --git a/extras/keymap/keymaps/toshiba-satellite_a110 b/src/extras/keymap/keymaps/toshiba-satellite_a110 index 1429409351..1429409351 100644 --- a/extras/keymap/keymaps/toshiba-satellite_a110 +++ b/src/extras/keymap/keymaps/toshiba-satellite_a110 diff --git a/extras/keymap/keymaps/toshiba-satellite_m30x b/src/extras/keymap/keymaps/toshiba-satellite_m30x index 9280ae0c5f..ae8e34941b 100644 --- a/extras/keymap/keymaps/toshiba-satellite_m30x +++ b/src/extras/keymap/keymaps/toshiba-satellite_m30x @@ -4,4 +4,3 @@ 0x93 media 0x9e f22 #touchpad_enable 0x9f f23 #touchpad_disable - diff --git a/extras/keymap/keymaps/zepto-znote b/src/extras/keymap/keymaps/zepto-znote index cf72fda47b..cf72fda47b 100644 --- a/extras/keymap/keymaps/zepto-znote +++ b/src/extras/keymap/keymaps/zepto-znote diff --git a/extras/mtd_probe/.gitignore b/src/extras/mtd_probe/.gitignore index 82b8ab501f..82b8ab501f 100644 --- a/extras/mtd_probe/.gitignore +++ b/src/extras/mtd_probe/.gitignore diff --git a/extras/mtd_probe/75-probe_mtd.rules b/src/extras/mtd_probe/75-probe_mtd.rules index c0e0839785..c0e0839785 100644 --- a/extras/mtd_probe/75-probe_mtd.rules +++ b/src/extras/mtd_probe/75-probe_mtd.rules diff --git a/extras/mtd_probe/mtd_probe.c b/src/extras/mtd_probe/mtd_probe.c index e45867ffa9..e45867ffa9 100644 --- a/extras/mtd_probe/mtd_probe.c +++ b/src/extras/mtd_probe/mtd_probe.c diff --git a/extras/mtd_probe/mtd_probe.h b/src/extras/mtd_probe/mtd_probe.h index 30396d07f6..20ecd4578e 100644 --- a/extras/mtd_probe/mtd_probe.h +++ b/src/extras/mtd_probe/mtd_probe.h @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with mtd_probe; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, + * Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA */ diff --git a/extras/mtd_probe/probe_smartmedia.c b/src/extras/mtd_probe/probe_smartmedia.c index 78841f05da..49704e380a 100644 --- a/extras/mtd_probe/probe_smartmedia.c +++ b/src/extras/mtd_probe/probe_smartmedia.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with mtd_probe; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, + * Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA */ diff --git a/extras/qemu/42-qemu-usb.rules b/src/extras/qemu/42-qemu-usb.rules index a4e3864714..a4e3864714 100644 --- a/extras/qemu/42-qemu-usb.rules +++ b/src/extras/qemu/42-qemu-usb.rules diff --git a/extras/rule_generator/75-cd-aliases-generator.rules b/src/extras/rule_generator/75-cd-aliases-generator.rules index e6da0101d6..e6da0101d6 100644 --- a/extras/rule_generator/75-cd-aliases-generator.rules +++ b/src/extras/rule_generator/75-cd-aliases-generator.rules diff --git a/extras/rule_generator/75-persistent-net-generator.rules b/src/extras/rule_generator/75-persistent-net-generator.rules index aab579cde9..4f80573478 100644 --- a/extras/rule_generator/75-persistent-net-generator.rules +++ b/src/extras/rule_generator/75-persistent-net-generator.rules @@ -100,4 +100,3 @@ DRIVERS=="?*", IMPORT{program}="write_net_rules" ENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}" LABEL="persistent_net_generator_end" - diff --git a/extras/rule_generator/rule_generator.functions b/src/extras/rule_generator/rule_generator.functions index 0f1b73850e..0f1b73850e 100644 --- a/extras/rule_generator/rule_generator.functions +++ b/src/extras/rule_generator/rule_generator.functions diff --git a/extras/rule_generator/write_cd_rules b/src/extras/rule_generator/write_cd_rules index 00382ada2f..3f93c7447a 100644 --- a/extras/rule_generator/write_cd_rules +++ b/src/extras/rule_generator/write_cd_rules @@ -124,4 +124,3 @@ unlock_rules_file echo $SYMLINKS exit 0 - diff --git a/extras/rule_generator/write_net_rules b/src/extras/rule_generator/write_net_rules index 437979241f..437979241f 100644 --- a/extras/rule_generator/write_net_rules +++ b/src/extras/rule_generator/write_net_rules diff --git a/extras/scsi_id/.gitignore b/src/extras/scsi_id/.gitignore index 10e9ae743c..10e9ae743c 100644 --- a/extras/scsi_id/.gitignore +++ b/src/extras/scsi_id/.gitignore diff --git a/extras/scsi_id/README b/src/extras/scsi_id/README index 9cfe73991c..9cfe73991c 100644 --- a/extras/scsi_id/README +++ b/src/extras/scsi_id/README diff --git a/extras/scsi_id/scsi.h b/src/extras/scsi_id/scsi.h index 8e9ce406b7..8e9ce406b7 100644 --- a/extras/scsi_id/scsi.h +++ b/src/extras/scsi_id/scsi.h diff --git a/extras/scsi_id/scsi_id.8 b/src/extras/scsi_id/scsi_id.8 index 8f83f39020..0d4dba9149 100644 --- a/extras/scsi_id/scsi_id.8 +++ b/src/extras/scsi_id/scsi_id.8 @@ -2,13 +2,13 @@ .SH NAME scsi_id \- retrieve and generate a unique SCSI identifier .SH SYNOPSIS -.BI scsi_id +.BI scsi_id [\fIoptions\fP] .SH "DESCRIPTION" .B scsi_id queries a SCSI device via the SCSI INQUIRY vital product data (VPD) page 0x80 or 0x83 and uses the resulting data to generate a value that is unique across -all SCSI devices that properly support page 0x80 or page 0x83. +all SCSI devices that properly support page 0x80 or page 0x83. If a result is generated it is sent to standard output, and the program exits with a zero value. If no identifier is output, the program exits @@ -61,14 +61,14 @@ Send SG_IO commands to \fBdevice\fP, such as \fB/dev/sdc\fP. .TP .BI \-\-config=\| config\-file Read configuration and black/white list entries from -.B config\-file +.B config\-file rather than the default .B /etc/scsi_id.config file. .TP .BI \-\-whitelisted Treat the device as white listed. The \fB\-\-whitelisted\fP option must be specified -on the command line or in the scsi_id configuration file for +on the command line or in the scsi_id configuration file for .B scsi_id to generate any output. .TP diff --git a/extras/scsi_id/scsi_id.c b/src/extras/scsi_id/scsi_id.c index 26b92e3fcd..da81d083ce 100644 --- a/extras/scsi_id/scsi_id.c +++ b/src/extras/scsi_id/scsi_id.c @@ -394,7 +394,7 @@ static int set_options(struct udev *udev, } else if (strcmp(optarg, "0x83") == 0) { default_page_code = PAGE_83; } else if (strcmp(optarg, "pre-spc3-83") == 0) { - default_page_code = PAGE_83_PRE_SPC3; + default_page_code = PAGE_83_PRE_SPC3; } else { err(udev, "Unknown page code '%s'\n", optarg); return -1; @@ -476,7 +476,7 @@ static int per_dev_options(struct udev *udev, } else if (strcmp(optarg, "0x83") == 0) { *page_code = PAGE_83; } else if (strcmp(optarg, "pre-spc3-83") == 0) { - *page_code = PAGE_83_PRE_SPC3; + *page_code = PAGE_83_PRE_SPC3; } else { err(udev, "Unknown page code '%s'\n", optarg); retval = -1; diff --git a/extras/scsi_id/scsi_id.h b/src/extras/scsi_id/scsi_id.h index f6c269fc59..a28f5e073c 100644 --- a/extras/scsi_id/scsi_id.h +++ b/src/extras/scsi_id/scsi_id.h @@ -71,4 +71,3 @@ enum page_code { PAGE_80 = 0x80, PAGE_83 = 0x83, }; - diff --git a/extras/scsi_id/scsi_serial.c b/src/extras/scsi_id/scsi_serial.c index 5cde9a54a0..61ec618e99 100644 --- a/extras/scsi_id/scsi_serial.c +++ b/src/extras/scsi_id/scsi_serial.c @@ -642,7 +642,7 @@ static int do_scsi_page83_inquiry(struct udev *udev, info(udev, "%s: Invalid page 0x83\n", dev_scsi->kernel); return 1; } - + /* * XXX Some devices (IBM 3542) return all spaces for an identifier if * the LUN is not actually configured. This leads to identifiers of @@ -671,8 +671,8 @@ static int do_scsi_page83_inquiry(struct udev *udev, * to the 4th and 5th nibbles of the 6-byte OUI for EMC, that is, * 0x006048. */ - - if (page_83[6] != 0) + + if (page_83[6] != 0) return check_fill_0x83_prespc3(udev, dev_scsi, page_83, id_search_list, serial, serial_short, len); diff --git a/extras/udev-acl/.gitignore b/src/extras/udev-acl/.gitignore index 08891fed02..08891fed02 100644 --- a/extras/udev-acl/.gitignore +++ b/src/extras/udev-acl/.gitignore diff --git a/extras/udev-acl/70-udev-acl.rules b/src/extras/udev-acl/70-udev-acl.rules index 2dac283101..2dac283101 100644 --- a/extras/udev-acl/70-udev-acl.rules +++ b/src/extras/udev-acl/70-udev-acl.rules diff --git a/extras/udev-acl/udev-acl.c b/src/extras/udev-acl/udev-acl.c index 41e2536e03..41e2536e03 100644 --- a/extras/udev-acl/udev-acl.c +++ b/src/extras/udev-acl/udev-acl.c diff --git a/extras/v4l_id/.gitignore b/src/extras/v4l_id/.gitignore index dffced9f08..dffced9f08 100644 --- a/extras/v4l_id/.gitignore +++ b/src/extras/v4l_id/.gitignore diff --git a/extras/v4l_id/60-persistent-v4l.rules b/src/extras/v4l_id/60-persistent-v4l.rules index 93c5ee8c27..93c5ee8c27 100644 --- a/extras/v4l_id/60-persistent-v4l.rules +++ b/src/extras/v4l_id/60-persistent-v4l.rules diff --git a/extras/v4l_id/v4l_id.c b/src/extras/v4l_id/v4l_id.c index 21cb3285ad..21cb3285ad 100644 --- a/extras/v4l_id/v4l_id.c +++ b/src/extras/v4l_id/v4l_id.c diff --git a/libudev/libudev-device-private.c b/src/libudev-device-private.c index 0864919301..487d39bb5b 100644 --- a/libudev/libudev-device-private.c +++ b/src/libudev-device-private.c @@ -165,7 +165,7 @@ int udev_device_update_db(struct udev_device *udev_device) fclose(f); rename(filename_tmp, filename); - info(udev, "created %s file '%s' for '%s'\n", has_info ? "db" : "empty", + info(udev, "created %s file '%s' for '%s'\n", has_info ? "db" : "empty", filename, udev_device_get_devpath(udev_device)); return 0; } diff --git a/libudev/libudev-device.c b/src/libudev-device.c index e5950bb4b1..e5950bb4b1 100644 --- a/libudev/libudev-device.c +++ b/src/libudev-device.c diff --git a/libudev/libudev-enumerate.c b/src/libudev-enumerate.c index f14d5c8f57..f14d5c8f57 100644 --- a/libudev/libudev-enumerate.c +++ b/src/libudev-enumerate.c diff --git a/libudev/libudev-list.c b/src/libudev-list.c index f74a88ca49..f74a88ca49 100644 --- a/libudev/libudev-list.c +++ b/src/libudev-list.c diff --git a/libudev/libudev-monitor.c b/src/libudev-monitor.c index f2f39f9582..f2f39f9582 100644 --- a/libudev/libudev-monitor.c +++ b/src/libudev-monitor.c diff --git a/libudev/libudev-private.h b/src/libudev-private.h index 83976698a9..83976698a9 100644 --- a/libudev/libudev-private.h +++ b/src/libudev-private.h diff --git a/libudev/libudev-queue-private.c b/src/libudev-queue-private.c index e0a7b53b81..e0a7b53b81 100644 --- a/libudev/libudev-queue-private.c +++ b/src/libudev-queue-private.c diff --git a/libudev/libudev-queue.c b/src/libudev-queue.c index 3d46b67d19..3d46b67d19 100644 --- a/libudev/libudev-queue.c +++ b/src/libudev-queue.c diff --git a/libudev/libudev-selinux-private.c b/src/libudev-selinux-private.c index cb06a280f7..cb06a280f7 100644 --- a/libudev/libudev-selinux-private.c +++ b/src/libudev-selinux-private.c diff --git a/libudev/libudev-util-private.c b/src/libudev-util-private.c index 015e6d5862..015e6d5862 100644 --- a/libudev/libudev-util-private.c +++ b/src/libudev-util-private.c diff --git a/libudev/libudev-util.c b/src/libudev-util.c index 5369fe734e..559aa06dc6 100644 --- a/libudev/libudev-util.c +++ b/src/libudev-util.c @@ -503,10 +503,10 @@ static unsigned int murmur_hash2(const char *key, int len, unsigned int seed) while(len >= 4) { unsigned int k = *(unsigned int *)data; - k *= m; - k ^= k >> r; - k *= m; - h *= m; + k *= m; + k ^= k >> r; + k *= m; + h *= m; h ^= k; data += 4; diff --git a/libudev/libudev.c b/src/libudev.c index f0f59e3a4d..f0f59e3a4d 100644 --- a/libudev/libudev.c +++ b/src/libudev.c diff --git a/libudev/libudev.h b/src/libudev.h index 497f752fca..28d7d0a388 100644 --- a/libudev/libudev.h +++ b/src/libudev.h @@ -22,7 +22,7 @@ extern "C" { /* * udev - library context - * + * * reads the udev config and system environment * allows custom logging */ diff --git a/libudev/libudev.pc.in b/src/libudev.pc.in index 93c8366480..c9a47fc9b8 100644 --- a/libudev/libudev.pc.in +++ b/src/libudev.pc.in @@ -7,5 +7,5 @@ Name: libudev Description: Library to access udev device information Version: @VERSION@ Libs: -L${libdir} -ludev -lrt -Libs.private: +Libs.private: Cflags: -I${includedir} diff --git a/udev/sd-daemon.c b/src/sd-daemon.c index e68b70875c..e68b70875c 100644 --- a/udev/sd-daemon.c +++ b/src/sd-daemon.c diff --git a/udev/sd-daemon.h b/src/sd-daemon.h index 46dc7fd7e5..46dc7fd7e5 100644 --- a/udev/sd-daemon.h +++ b/src/sd-daemon.h diff --git a/libudev/test-libudev.c b/src/test-libudev.c index c325f8eef5..c325f8eef5 100644 --- a/libudev/test-libudev.c +++ b/src/test-libudev.c diff --git a/udev/test-udev.c b/src/test-udev.c index 8d5baf7f54..8d5baf7f54 100644 --- a/udev/test-udev.c +++ b/src/test-udev.c diff --git a/udev/udev-builtin-blkid.c b/src/udev-builtin-blkid.c index 0260c440e2..0260c440e2 100644 --- a/udev/udev-builtin-blkid.c +++ b/src/udev-builtin-blkid.c diff --git a/udev/udev-builtin-firmware.c b/src/udev-builtin-firmware.c index d7921a2693..6d03085af7 100644 --- a/udev/udev-builtin-firmware.c +++ b/src/udev-builtin-firmware.c @@ -104,7 +104,7 @@ static int builtin_firmware(struct udev_device *dev, int argc, char *argv[], boo dbg(udev, "trying %s\n", fwpath); fwfile = fopen(fwpath, "re"); if (fwfile != NULL) - break; + break; util_strscpyl(fwpath, sizeof(fwpath), searchpath[i], firmware, NULL); dbg(udev, "trying %s\n", fwpath); diff --git a/udev/udev-builtin-hwdb.c b/src/udev-builtin-hwdb.c index b6af4b6fcf..b6af4b6fcf 100644 --- a/udev/udev-builtin-hwdb.c +++ b/src/udev-builtin-hwdb.c diff --git a/udev/udev-builtin-input_id.c b/src/udev-builtin-input_id.c index 4ef060d899..c0c4270256 100644 --- a/udev/udev-builtin-input_id.c +++ b/src/udev-builtin-input_id.c @@ -114,8 +114,8 @@ static void test_pointers (struct udev_device *dev, udev_builtin_add_property(dev, test, "ID_INPUT_TABLET", "1"); else if (test_bit (BTN_TOOL_FINGER, bitmask_key) && !test_bit (BTN_TOOL_PEN, bitmask_key)) is_touchpad = 1; - else if (test_bit (BTN_TRIGGER, bitmask_key) || - test_bit (BTN_A, bitmask_key) || + else if (test_bit (BTN_TRIGGER, bitmask_key) || + test_bit (BTN_A, bitmask_key) || test_bit (BTN_1, bitmask_key)) udev_builtin_add_property(dev, test, "ID_INPUT_JOYSTICK", "1"); else if (test_bit (BTN_MOUSE, bitmask_key)) @@ -126,7 +126,7 @@ static void test_pointers (struct udev_device *dev, udev_builtin_add_property(dev, test, "ID_INPUT_TOUCHSCREEN", "1"); } - if (test_bit (EV_REL, bitmask_ev) && + if (test_bit (EV_REL, bitmask_ev) && test_bit (REL_X, bitmask_rel) && test_bit (REL_Y, bitmask_rel) && test_bit (BTN_MOUSE, bitmask_key)) is_mouse = 1; diff --git a/udev/udev-builtin-kmod.c b/src/udev-builtin-kmod.c index 6719432c08..6719432c08 100644 --- a/udev/udev-builtin-kmod.c +++ b/src/udev-builtin-kmod.c diff --git a/udev/udev-builtin-path_id.c b/src/udev-builtin-path_id.c index 18af12f29a..049e89b277 100644 --- a/udev/udev-builtin-path_id.c +++ b/src/udev-builtin-path_id.c @@ -138,7 +138,7 @@ static struct udev_device *handle_scsi_sas(struct udev_device *parent, char **pa if (target_parent == NULL) return NULL; - sasdev = udev_device_new_from_subsystem_sysname(udev, "sas_device", + sasdev = udev_device_new_from_subsystem_sysname(udev, "sas_device", udev_device_get_sysname(target_parent)); if (sasdev == NULL) return NULL; diff --git a/udev/udev-builtin-usb_id.c b/src/udev-builtin-usb_id.c index 21c3c03d8a..21c3c03d8a 100644 --- a/udev/udev-builtin-usb_id.c +++ b/src/udev-builtin-usb_id.c diff --git a/udev/udev-builtin.c b/src/udev-builtin.c index 8beac8a678..8beac8a678 100644 --- a/udev/udev-builtin.c +++ b/src/udev-builtin.c diff --git a/systemd/udev-control.socket b/src/udev-control.socket index f80f774427..f80f774427 100644 --- a/systemd/udev-control.socket +++ b/src/udev-control.socket diff --git a/udev/udev-ctrl.c b/src/udev-ctrl.c index fab1108de0..fab1108de0 100644 --- a/udev/udev-ctrl.c +++ b/src/udev-ctrl.c diff --git a/udev/udev-event.c b/src/udev-event.c index 859d811bff..859d811bff 100644 --- a/udev/udev-event.c +++ b/src/udev-event.c diff --git a/systemd/udev-kernel.socket b/src/udev-kernel.socket index 23fa9d5e11..23fa9d5e11 100644 --- a/systemd/udev-kernel.socket +++ b/src/udev-kernel.socket diff --git a/udev/udev-node.c b/src/udev-node.c index 31046bd713..31046bd713 100644 --- a/udev/udev-node.c +++ b/src/udev-node.c diff --git a/udev/udev-rules.c b/src/udev-rules.c index 7e79545124..7e79545124 100644 --- a/udev/udev-rules.c +++ b/src/udev-rules.c diff --git a/systemd/udev-settle.service.in b/src/udev-settle.service.in index b0a4964f76..b0a4964f76 100644 --- a/systemd/udev-settle.service.in +++ b/src/udev-settle.service.in diff --git a/systemd/udev-trigger.service.in b/src/udev-trigger.service.in index cd81945c88..cd81945c88 100644 --- a/systemd/udev-trigger.service.in +++ b/src/udev-trigger.service.in diff --git a/udev/udev-watch.c b/src/udev-watch.c index 0ec8bfd627..0ec8bfd627 100644 --- a/udev/udev-watch.c +++ b/src/udev-watch.c diff --git a/udev.conf b/src/udev.conf index 31bb6620ee..31bb6620ee 100644 --- a/udev.conf +++ b/src/udev.conf diff --git a/udev/udev.h b/src/udev.h index 56b1652c74..56b1652c74 100644 --- a/udev/udev.h +++ b/src/udev.h diff --git a/udev/udev.pc.in b/src/udev.pc.in index 0b04c02ef6..0b04c02ef6 100644 --- a/udev/udev.pc.in +++ b/src/udev.pc.in diff --git a/systemd/udev.service.in b/src/udev.service.in index c27eb1baf5..c27eb1baf5 100644 --- a/systemd/udev.service.in +++ b/src/udev.service.in diff --git a/udev/udev.xml b/src/udev.xml index 79213b4bbe..88e19f30d1 100644 --- a/udev/udev.xml +++ b/src/udev.xml @@ -686,7 +686,7 @@ <title>See Also</title> <para><citerefentry> <refentrytitle>udevd</refentrytitle><manvolnum>8</manvolnum> - </citerefentry>, + </citerefentry>, <citerefentry> <refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum> </citerefentry></para> diff --git a/udev/udevadm-control.c b/src/udevadm-control.c index dd1d5d783f..dd1d5d783f 100644 --- a/udev/udevadm-control.c +++ b/src/udevadm-control.c diff --git a/udev/udevadm-info.c b/src/udevadm-info.c index f7e7e86b6a..f7e7e86b6a 100644 --- a/udev/udevadm-info.c +++ b/src/udevadm-info.c diff --git a/udev/udevadm-monitor.c b/src/udevadm-monitor.c index 64913dbd55..64913dbd55 100644 --- a/udev/udevadm-monitor.c +++ b/src/udevadm-monitor.c diff --git a/udev/udevadm-settle.c b/src/udevadm-settle.c index a59d7c39e5..a59d7c39e5 100644 --- a/udev/udevadm-settle.c +++ b/src/udevadm-settle.c diff --git a/udev/udevadm-test-builtin.c b/src/udevadm-test-builtin.c index 253fcd0c8f..253fcd0c8f 100644 --- a/udev/udevadm-test-builtin.c +++ b/src/udevadm-test-builtin.c diff --git a/udev/udevadm-test.c b/src/udevadm-test.c index 851500527f..851500527f 100644 --- a/udev/udevadm-test.c +++ b/src/udevadm-test.c diff --git a/udev/udevadm-trigger.c b/src/udevadm-trigger.c index 2cee2297d4..2cee2297d4 100644 --- a/udev/udevadm-trigger.c +++ b/src/udevadm-trigger.c diff --git a/udev/udevadm.c b/src/udevadm.c index 5410f00c02..5410f00c02 100644 --- a/udev/udevadm.c +++ b/src/udevadm.c diff --git a/udev/udevadm.xml b/src/udevadm.xml index 455ce80ca9..455ce80ca9 100644 --- a/udev/udevadm.xml +++ b/src/udevadm.xml diff --git a/udev/udevd.c b/src/udevd.c index 196e63fd0d..b88213e5b5 100644 --- a/udev/udevd.c +++ b/src/udevd.c @@ -1253,7 +1253,7 @@ int main(int argc, char *argv[]) " --debug\n" " --children-max=<maximum number of workers>\n" " --exec-delay=<seconds to wait before executing RUN=>\n" - " --resolve-names=early|late|never\n" + " --resolve-names=early|late|never\n" " --version\n" " --help\n" "\n"); diff --git a/udev/udevd.xml b/src/udevd.xml index c516eb9793..c516eb9793 100644 --- a/udev/udevd.xml +++ b/src/udevd.xml diff --git a/systemd/.gitignore b/systemd/.gitignore deleted file mode 100644 index 904e445e72..0000000000 --- a/systemd/.gitignore +++ /dev/null @@ -1 +0,0 @@ -udev*.service diff --git a/test/udev-test.pl.in b/test/udev-test.pl.in index 05055013d5..6c5eeee762 100755 --- a/test/udev-test.pl.in +++ b/test/udev-test.pl.in @@ -22,7 +22,7 @@ use strict; my $PWD = $ENV{PWD}; my $sysfs = "test/sys/"; -my $udev_bin = "udev/test-udev"; +my $udev_bin = "src/test-udev"; my $valgrind = 0; my $udev_bin_valgrind = "valgrind --tool=memcheck --leak-check=yes --quiet $udev_bin"; my $udev_root = "udev-root"; diff --git a/udev/.gitignore b/udev/.gitignore deleted file mode 100644 index 73f746cb7d..0000000000 --- a/udev/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -udevd -udevadm -test-udev -*.[78] -*.html -udev.pc |