# ChangeLog for sys-apps/hal
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.24 2005/01/13 09:50:52 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.25 2005/01/17 13:09:55 foser Exp $
+
+*hal-0.4.5-r1 (17 Jan 2005)
+
+ 17 Jan 2005; foser <foser@gentoo.org> hal-0.4.5-r1.ebuild :
+ Add patch to find the gphoto2 usermap (#75799)
*hal-0.4.5 (13 Jan 2005)
MD5 faaf821c60bf4b6c663caeace3e21a95 hal-0.4.2-r1.ebuild 2728
+MD5 3421ea82543d71c44ee06c3f9605d775 hal-0.4.5-r1.ebuild 2592
MD5 f6c71019d8f7b2dab5ef13de1abd9244 hal-0.4.1-r1.ebuild 2567
MD5 8a56df2be3b94b0e0e958c48e6c14df5 hal-0.2.98-r1.ebuild 2102
MD5 4de36bde0054e10e722225fe4ffd6c6b hal-0.4.4-r1.ebuild 2758
-MD5 4cf759c01af0d694ce5dc082bcfd3864 hal-0.4.5.ebuild 2505
-MD5 377a6a4f274fb9a1906e99a0f1772628 ChangeLog 3593
+MD5 92855632db95579688246bf8605a2c10 ChangeLog 3734
MD5 731695e9263a5a2e1eeba290b36078d5 metadata.xml 219
MD5 192112dfb678a9795a93d3cdcc50bb95 files/hald 543
MD5 2396bfac6dd9b68615328b1b9325ed2c files/hal-0.4.4-iso_label_selection.patch 1541
MD5 f1cf07edc63d04f0ef33911de97ea2f2 files/digest-hal-0.4.1-r1 62
MD5 a9afa7e41b21ea5f012765a8ced6c10d files/digest-hal-0.4.2-r1 62
MD5 11d67cf37182e289664f50de3ee6172f files/digest-hal-0.4.4-r1 62
+MD5 ada3b2801b82813b4f10fd6f6caf9d6f files/digest-hal-0.4.5-r1 62
MD5 0693dbefb790150740986cce82039b82 files/hal-0.4.2-cdrom_media_check.patch 1194
MD5 399570c945e0f4bffbeb645e057e027b files/hal-0.4.1-dm_devices_tab.patch 1028
-MD5 ada3b2801b82813b4f10fd6f6caf9d6f files/digest-hal-0.4.5 62
MD5 314ebeadb0a53e448e74ad6a3eead3f8 files/hal-0.4.4-check_ide_floppy_for_zip_fdi.patch 1920
MD5 2b00af86c624d74107035a007ac3c9da files/hal-0.4.4-volume_id_fat.patch 849
+MD5 b0e12a62ce698e1eb2a32139498330cd files/hal-0.4.5-gentoo_gphoto2_usermap.patch 817
MD5 eeb1838cdb78726ab674194f0d268270 files/hal-0.4.2-fstab_sync_crash.patch 468
MD5 a0ce1c268e0b7d0967ec7b8e0d0d26d2 files/hal-0.4.1-old_storage_policy.patch 1216
--- /dev/null
+diff -x '*~' -uNr hal-0.4.5/tools/linux/hal_hotplug_map.c hal-0.4.5.patched/tools/linux/hal_hotplug_map.c
+--- hal-0.4.5/tools/linux/hal_hotplug_map.c 2004-09-27 16:52:11.000000000 +0200
++++ hal-0.4.5.patched/tools/linux/hal_hotplug_map.c 2005-01-17 13:29:04.040385408 +0100
+@@ -19,7 +19,7 @@
+ #define dbg(...) do {if (verbose) fprintf (stderr, __VA_ARGS__);} while (0)
+
+ /* @todo FIXME HACK: it's a hack to hardcode this */
+-static const char *usbmapfiles[] = {"/etc/hotplug/usb.usermap", "/etc/hotplug/usb/libsane.usermap", "/etc/hotplug/usb/libgphoto2.usermap", NULL};
++static const char *usbmapfiles[] = {"/etc/hotplug/usb.usermap", "/etc/hotplug/usb/libsane.usermap", "/etc/hotplug/usb/libgphoto2.usermap", "/etc/hotplug/usb/usbcam-gphoto2.usermap", NULL};
+
+ static int
+ handle_usb_found (const char *module)
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.4.5.ebuild,v 1.1 2005/01/13 09:50:52 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.4.5-r1.ebuild,v 1.1 2005/01/17 13:09:55 foser Exp $
inherit eutils python
cd ${S}
# remove pamconsole option
epatch ${FILESDIR}/${PN}-0.4.1-old_storage_policy.patch
+ # pick up the gentoo usermap
+ epatch ${FILESDIR}/${P}-gentoo_gphoto2_usermap.patch
}