[Lunar-commits] r26491 - in moonbase/branches/crater/modules_fixed_for_glibc_2.7: . hal hal/init.d
Samuel Verstraete
elangelo at lunar-linux.org
Mon Oct 29 22:44:16 CET 2007
Author: elangelo
Date: 2007-10-29 22:44:16 +0100 (Mon, 29 Oct 2007)
New Revision: 26491
Added:
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/BUILD
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DEPENDS
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DETAILS
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/PRE_BUILD
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/init.d/
moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/init.d/hald
Log:
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/BUILD
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/BUILD (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/BUILD 2007-10-29 21:44:16 UTC (rev 26491)
@@ -0,0 +1,26 @@
+(
+
+ # fixes an issue with incorrect usage of dbus in error conditions
+ # mainly affects hald-addon-storage when polling cd drives
+ sedit 's:(dbus_error_is_set (error):(error != NULL \&\& dbus_error_is_set (error):g' libhal/libhal.c &&
+
+ # 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/linux/probing/linux_dvd_rw_utils.c
+ # fi &&
+
+ # 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 \
+ --with-backend=linux --without-macbookpro"
+
+ default_build &&
+
+ mkdir -p /usr/share/applications &&
+ cp $SOURCE_CACHE/$SOURCE2 /usr/share/applications/
+
+) > $C_FIFO 2>&1
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DEPENDS
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DEPENDS (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DEPENDS 2007-10-29 21:44:16 UTC (rev 26491)
@@ -0,0 +1,10 @@
+depends Python &&
+depends dbus-glib &&
+depends udev &&
+depends expat &&
+depends XML-Parser &&
+depends PolicyKit &&
+depends usbutils &&
+
+optional_depends "libusb" "" "" "for USB support" &&
+optional_depends "dmidecode" "" "" "for DMI (SMBIOS) support"
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DETAILS
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DETAILS (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/DETAILS 2007-10-29 21:44:16 UTC (rev 26491)
@@ -0,0 +1,20 @@
+ MODULE=hal
+ VERSION=0.5.9.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:fc29322a0beba73c2eab3e0a44f9b820a5fbccdd
+ SOURCE2_VFY=sha1:a7ffa1fba31d8eab0cbb51ac0abc76109125f6da
+ WEB_SITE=http://www.freedesktop.org/wiki/Software/hal
+ ENTERED=20050316
+ UPDATED=20071029
+ SHORT="Hardware Abstraction Layer"
+
+cat << EOF
+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/branches/crater/modules_fixed_for_glibc_2.7/hal/PRE_BUILD
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/PRE_BUILD (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/PRE_BUILD 2007-10-29 21:44:16 UTC (rev 26491)
@@ -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
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/init.d/hald
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/init.d/hald (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/init.d/hald 2007-10-29 21:44:16 UTC (rev 26491)
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# Startup script for hald
+#
+# description: Hardware Abstraction Layer
+# chkconfig: 345 98 02
+# processname: hald
+# pidfile: /var/run/hald.pid
+
+ARGS="--daemon=yes --use-syslog"
+
+. /lib/lsb/init-functions $1
Property changes on: moonbase/branches/crater/modules_fixed_for_glibc_2.7/hal/init.d/hald
___________________________________________________________________
Name: svn:executable
+ *
More information about the Lunar-commits
mailing list