pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/hal Optical media handling needs block.storag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ea9672e3d1f
branches:  trunk
changeset: 553265:4ea9672e3d1f
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sun Jan 18 13:53:33 2009 +0000

description:
Optical media handling needs block.storage_device too; add this to
improve KDE4 compatibility. Bump PKGREVISION.

diffstat:

 sysutils/hal/Makefile                            |  4 ++--
 sysutils/hal/files/hald-netbsd/devinfo_optical.c |  2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 734c8e9f2a12 -r 4ea9672e3d1f sysutils/hal/Makefile
--- a/sysutils/hal/Makefile     Sun Jan 18 13:01:12 2009 +0000
+++ b/sysutils/hal/Makefile     Sun Jan 18 13:53:33 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2008/12/28 12:43:27 jmcneill Exp $
+# $NetBSD: Makefile,v 1.31 2009/01/18 13:53:33 jmcneill Exp $
 #
 
 DISTNAME=              hal-0.5.11
-PKGREVISION=           18
+PKGREVISION=           19
 CATEGORIES=            sysutils
 MASTER_SITES=          http://hal.freedesktop.org/releases/
 EXTRACT_SUFX=          .tar.bz2
diff -r 734c8e9f2a12 -r 4ea9672e3d1f sysutils/hal/files/hald-netbsd/devinfo_optical.c
--- a/sysutils/hal/files/hald-netbsd/devinfo_optical.c  Sun Jan 18 13:01:12 2009 +0000
+++ b/sysutils/hal/files/hald-netbsd/devinfo_optical.c  Sun Jan 18 13:53:33 2009 +0000
@@ -376,6 +376,8 @@
         hal_device_property_set_bool (d, "block.is_volume", TRUE);
         hal_device_property_set_bool (d, "block.no_partitions", TRUE);
         hal_device_property_set_bool (d, "block.have_scanned", TRUE);
+        hal_device_property_set_string (d, "block.storage_device",
+            hal_device_property_get_string (parent, "info.udi"));
 
        /* volume */
        hal_device_property_set_bool  (d, "volume.ignore", FALSE);



Home | Main Index | Thread Index | Old Index