[Lunar-commits] r22288 - moonbase/trunk/devel/hal

Chad Kittel v3rt1g0 at lunar-linux.org
Sat Nov 25 18:32:09 CET 2006


Author: v3rt1g0
Date: 2006-11-25 18:32:09 +0100 (Sat, 25 Nov 2006)
New Revision: 22288

Added:
   moonbase/trunk/devel/hal/PRE_BUILD
Modified:
   moonbase/trunk/devel/hal/BUILD
   moonbase/trunk/devel/hal/DEPENDS
   moonbase/trunk/devel/hal/DETAILS
Log:
  Module Version Bump: hal (0.5.7.1 -> 0.5.8.1)

  * reworked the module quite a bit.
     *  made use of OPTS + default_build
     *  the kernel-headers sedit needed to be tweaked to look for the
        same file, just in a different location
     *  added a sedit that prevents a build error
     *  added missing depends
     *  broke out the user stuff into a PRE_BUILD to help keep BUILD cleaner
     *  made a lengthy comment about PolicyKit and what we can expect
        from that in the future
  * For as much noise as this update is making, the feature set of HAL
    really didn't change much and is pretty much considered a large bugfix
    release.
 
  * compiled against bmpx, gnome-vfs2, gst-plugins-good, pcmanfm, pmount,
    and gnome-volume-manager

  compiled/tested: gcc-3.4.6 | glibc-2.3.6 | kernel headers 2.6.x


Modified: moonbase/trunk/devel/hal/BUILD
===================================================================
--- moonbase/trunk/devel/hal/BUILD	2006-11-25 14:38:43 UTC (rev 22287)
+++ moonbase/trunk/devel/hal/BUILD	2006-11-25 17:32:09 UTC (rev 22288)
@@ -1,23 +1,21 @@
 (
 
+    # these sedits fix some build time errors
+    sedit 's:use_macbookpro:with_macbookpro:g' configure  &&
+
     if module_installed kernel-headers-2.6 ; then
-      sedit "s:SG_FLAG_LUN_:SG_FLAG_UNUSED_LUN_:" hald/linux2/probing/linux_dvd_rw_utils.c
+      sedit "s:SG_FLAG_LUN_:SG_FLAG_UNUSED_LUN_:" hald/linux/probing/linux_dvd_rw_utils.c
     fi  &&
-    add_priv_user haldaemon:haldaemon -d /dev/null -s /bin/false  &&
-   
-   ./configure  --prefix=/usr                      \
-                --build=$BUILD                     \
-                --sysconfdir=/etc                  \
-                --localstatedir=/var               \
-                --infodir=/usr/share/info          \
-                --mandir=/usr/share/man            \
-		--disable-docbook-docs	           \
-                --enable-fstab-sync                \
-                --with-pid-file=/var/run/hald.pid  \
-		--enable-pcmcia-support		   \
-                $OPTS                             &&
-    default_make				  &&
 
+    # PolicyKit will be released with hal 0.5.9, and until such time, the HAL
+    # devs said (via their mailing list) to either use PolicyKit from git or
+    # just --disable-policy-kit until 0.5.9 comes out or PolicyKit is released.
+    # I'm following the --disable option for now (as are other distros I found)
+    OPTS="$OPTS  --disable-docbook-docs   --with-pid-file=var/run/hald.pid  \
+                 --disable-policy-kit     --with-backend=linux"
+
+    default_build  &&
+
     mkdir -p /usr/share/applications &&
     cp $SOURCE_CACHE/$SOURCE2 /usr/share/applications/ 
 

Modified: moonbase/trunk/devel/hal/DEPENDS
===================================================================
--- moonbase/trunk/devel/hal/DEPENDS	2006-11-25 14:38:43 UTC (rev 22287)
+++ moonbase/trunk/devel/hal/DEPENDS	2006-11-25 17:32:09 UTC (rev 22288)
@@ -1,8 +1,10 @@
-depends Python      &&
+depends libcap      &&
 depends dbus        &&
 depends udev        &&
 depends expat       &&
 depends XML-Parser  &&
 
-optional_depends "libusb"    ""                        "" "for USB support"     &&
-optional_depends "dmidecode" ""                        "" "for DMI (SMBIOS) support"
+optional_depends  "pciutils"  "--with-macbookpro"  "--without-macbookpro"  \
+                  "for MacBook Pro utils"                                  &&
+optional_depends  "libusb"     ""  ""  "for USB support"  &&
+optional_depends  "dmidecode"  ""  ""  "for DMI (SMBIOS) support"

Modified: moonbase/trunk/devel/hal/DETAILS
===================================================================
--- moonbase/trunk/devel/hal/DETAILS	2006-11-25 14:38:43 UTC (rev 22287)
+++ moonbase/trunk/devel/hal/DETAILS	2006-11-25 17:32:09 UTC (rev 22288)
@@ -1,17 +1,21 @@
           MODULE=hal
-         VERSION=0.5.7.1
+         VERSION=0.5.8.1
           SOURCE=$MODULE-$VERSION.tar.gz
          SOURCE2=$MODULE-device-manager.desktop
       SOURCE_URL=http://freedesktop.org/~david/dist/
      SOURCE2_URL=$PATCH_URL/
-      SOURCE_VFY=sha1:233b67e724e68f41ec3f53adcfb7d139328c5813
+      SOURCE_VFY=sha1:35675b6701b9e953edfabf0d91b68ccee5a5a491
      SOURCE2_VFY=sha1:a7ffa1fba31d8eab0cbb51ac0abc76109125f6da
-        WEB_SITE=http://www.freedesktop.org/wiki/Software_2fhal
+        WEB_SITE=http://www.freedesktop.org/wiki/Software/hal
          ENTERED=20050316
-         UPDATED=20060804
+         UPDATED=20061125
 	   PSAFE=no
            SHORT="Hardware Abstraction Layer"
 
 cat << EOF
-Hardware Abstraction Layer.
+HAL is a Hardware Abstraction Layer that allows desktop applications
+to readily access hardware information so that they can locate and use
+such hardware regardless of bus or device type. In this way a desktop
+GUI can present all resources to its user in a seamless and uniform
+manner.
 EOF

Added: moonbase/trunk/devel/hal/PRE_BUILD
===================================================================
--- moonbase/trunk/devel/hal/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/devel/hal/PRE_BUILD	2006-11-25 17:32:09 UTC (rev 22288)
@@ -0,0 +1,6 @@
+  default_pre_build  &&
+
+  # give hald proper access to media devices as hald seems to want
+  # to step down in privilages
+  add_priv_user haldaemon:haldaemon -d /dev/null -s /bin/false  &&
+  usermod -G  cdrom,floppy,haldaemon  haldaemon



More information about the Lunar-commits mailing list