summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/hal-info/DESCR4
-rw-r--r--sysutils/hal-info/Makefile18
-rw-r--r--sysutils/hal-info/PLIST58
-rw-r--r--sysutils/hal-info/buildlink3.mk19
-rw-r--r--sysutils/hal-info/distinfo6
-rw-r--r--sysutils/hal-info/patches/patch-aa85
6 files changed, 190 insertions, 0 deletions
diff --git a/sysutils/hal-info/DESCR b/sysutils/hal-info/DESCR
new file mode 100644
index 00000000000..0a08ca2325b
--- /dev/null
+++ b/sysutils/hal-info/DESCR
@@ -0,0 +1,4 @@
+hal-info is a small hal sub-package that provides the hardware data and
+quirks. These quirks are currently things like what mice support reporting
+battery status, what music players are supported and what cameras are
+detected.
diff --git a/sysutils/hal-info/Makefile b/sysutils/hal-info/Makefile
new file mode 100644
index 00000000000..e4f4b58915a
--- /dev/null
+++ b/sysutils/hal-info/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/22 13:04:41 jmcneill Exp $
+#
+
+DISTNAME= hal-info-20081022
+CATEGORIES= sysutils
+MASTER_SITES= http://hal.freedesktop.org/releases/
+
+MAINTAINER= jmcneill@NetBSD.org
+HOMEPAGE= http://hal.freedesktop.org/
+COMMENT= FreeDesktop hardware abstraction layer (info subpackage)
+
+GNU_CONFIGURE= YES
+USE_DIRS+= xdg-1.4
+USE_PKGLOCALEDIR= YES
+USE_TOOLS+= gmake intltool msgfmt perl pkg-config
+USE_LIBTOOL= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/hal-info/PLIST b/sysutils/hal-info/PLIST
new file mode 100644
index 00000000000..1441897fc48
--- /dev/null
+++ b/sysutils/hal-info/PLIST
@@ -0,0 +1,58 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/22 13:04:41 jmcneill Exp $
+share/hal/fdi/information/10freedesktop/10-battery.fdi
+share/hal/fdi/information/10freedesktop/10-camera-ptp.fdi
+share/hal/fdi/information/10freedesktop/10-cd-dvd-burner.fdi
+share/hal/fdi/information/10freedesktop/10-dell-rfkill-switch-bluetooth.fdi
+share/hal/fdi/information/10freedesktop/10-dell-rfkill-switch-wlan.fdi
+share/hal/fdi/information/10freedesktop/10-dell-rfkill-switch-wwan.fdi
+share/hal/fdi/information/10freedesktop/10-ipw-rfkill-switch.fdi
+share/hal/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi
+share/hal/fdi/information/10freedesktop/10-modem.fdi
+share/hal/fdi/information/10freedesktop/10-recall-battery-dell.fdi
+share/hal/fdi/information/10freedesktop/10-recall-battery-fujitsu.fdi
+share/hal/fdi/information/10freedesktop/10-recall-battery-gateway.fdi
+share/hal/fdi/information/10freedesktop/10-recall-battery-ibm.fdi
+share/hal/fdi/information/10freedesktop/10-recall-battery-lenovo.fdi
+share/hal/fdi/information/10freedesktop/10-recall-battery-toshiba.fdi
+share/hal/fdi/information/10freedesktop/10-sony-bluetooth-switch.fdi
+share/hal/fdi/information/10freedesktop/10-thinkpad-rfkill-switch-bluetooth.fdi
+share/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi
+share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
+share/hal/fdi/information/10freedesktop/10-usb-obex.fdi
+share/hal/fdi/information/10freedesktop/10-usb-pda.fdi
+share/hal/fdi/information/10freedesktop/10-usb-zip-drives.fdi
+share/hal/fdi/information/10freedesktop/10-usbcsr-mice.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-apple.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-fujitsu.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-hp.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-misc.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-samsung.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-sony.fdi
+share/hal/fdi/information/10freedesktop/20-video-quirk-pm-toshiba.fdi
+share/hal/fdi/information/10freedesktop/21-video-quirk-nvidia.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-acer.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-compaq.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-dell.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-hp.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-lenovo.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-misc.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-module-asus-laptop.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-module-sony-laptop.fdi
+share/hal/fdi/information/10freedesktop/30-keymap-module-thinkpad-acpi.fdi
+share/hal/fdi/preprobe/10osvendor/10-ide-drives.fdi
+share/hal/fdi/preprobe/10osvendor/20-broken-usb-sticks.fdi
+@exec ${MKDIR} %D/share/hal/fdi/preprobe/20thirdparty
+@dirrm share/hal/fdi/preprobe/20thirdparty
+@dirrm share/hal/fdi/preprobe/10osvendor
+@dirrm share/hal/fdi/preprobe
+@exec ${MKDIR} %D/share/hal/fdi/information/20thirdparty
+@dirrm share/hal/fdi/information/20thirdparty
+@dirrm share/hal/fdi/information/10freedesktop
+@dirrm share/hal/fdi/information
+@dirrm share/hal/fdi
+@dirrm share/hal
diff --git a/sysutils/hal-info/buildlink3.mk b/sysutils/hal-info/buildlink3.mk
new file mode 100644
index 00000000000..b373c253dd5
--- /dev/null
+++ b/sysutils/hal-info/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/22 13:04:41 jmcneill Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+HAL_INFO_BUILDLINK3_MK:= ${HAL_INFO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= hal-info
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhal-info}
+BUILDLINK_PACKAGES+= hal-info
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hal-info
+
+.if ${HAL_INFO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.hal-info+= hal-info>=20081022
+BUILDLINK_PKGSRCDIR.hal-info?= ../../sysutils/hal-info
+.endif # HAL_INFO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/sysutils/hal-info/distinfo b/sysutils/hal-info/distinfo
new file mode 100644
index 00000000000..34b8c28b589
--- /dev/null
+++ b/sysutils/hal-info/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/22 13:04:41 jmcneill Exp $
+
+SHA1 (hal-info-20081022.tar.gz) = f5e6b6351eafaf71946a581922ddb86e9f48641d
+RMD160 (hal-info-20081022.tar.gz) = fae14fe9d603329f4839ac7aee6f4602f591dc1b
+Size (hal-info-20081022.tar.gz) = 226411 bytes
+SHA1 (patch-aa) = 487e4a30c0cb80f96a07db3a5f68d4f81cf585e2
diff --git a/sysutils/hal-info/patches/patch-aa b/sysutils/hal-info/patches/patch-aa
new file mode 100644
index 00000000000..9e5c9df1785
--- /dev/null
+++ b/sysutils/hal-info/patches/patch-aa
@@ -0,0 +1,85 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/11/22 13:04:41 jmcneill Exp $
+
+--- configure.orig 2008-11-18 15:52:36.000000000 -0500
++++ configure
+@@ -3557,7 +3557,7 @@ else
+ enable_recall=yes
+ fi
+
+- if test x$enable_recall == xyes; then
++ if test x$enable_recall = xyes; then
+ BUILD_RECALL_TRUE=
+ BUILD_RECALL_FALSE='#'
+ else
+@@ -3573,7 +3573,7 @@ else
+ enable_video=yes
+ fi
+
+- if test x$enable_video == xyes; then
++ if test x$enable_video = xyes; then
+ BUILD_VIDEO_TRUE=
+ BUILD_VIDEO_FALSE='#'
+ else
+@@ -3589,7 +3589,7 @@ else
+ enable_keymaps=yes
+ fi
+
+- if test x$enable_keymaps == xyes; then
++ if test x$enable_keymaps = xyes; then
+ BUILD_KEYMAPS_TRUE=
+ BUILD_KEYMAPS_FALSE='#'
+ else
+@@ -3605,7 +3605,7 @@ else
+ enable_killswitch_dell_wlan=yes
+ fi
+
+- if test x$enable_killswitch_dell_wlan == xyes; then
++ if test x$enable_killswitch_dell_wlan = xyes; then
+ BUILD_KILLSWITCH_DELL_WLAN_TRUE=
+ BUILD_KILLSWITCH_DELL_WLAN_FALSE='#'
+ else
+@@ -3621,7 +3621,7 @@ else
+ enable_killswitch_dell_bluetooth=yes
+ fi
+
+- if test x$enable_killswitch_dell_bluetooth == xyes; then
++ if test x$enable_killswitch_dell_bluetooth = xyes; then
+ BUILD_KILLSWITCH_DELL_BLUETOOTH_TRUE=
+ BUILD_KILLSWITCH_DELL_BLUETOOTH_FALSE='#'
+ else
+@@ -3637,7 +3637,7 @@ else
+ enable_killswitch_dell_wwan=yes
+ fi
+
+- if test x$enable_killswitch_dell_wwan == xyes; then
++ if test x$enable_killswitch_dell_wwan = xyes; then
+ BUILD_KILLSWITCH_DELL_WWAN_TRUE=
+ BUILD_KILLSWITCH_DELL_WWAN_FALSE='#'
+ else
+@@ -3653,7 +3653,7 @@ else
+ enable_killswitch_sony_bluetooth=yes
+ fi
+
+- if test x$enable_killswitch_sony_bluetooth == xyes; then
++ if test x$enable_killswitch_sony_bluetooth = xyes; then
+ BUILD_KILLSWITCH_SONY_BLUETOOTH_TRUE=
+ BUILD_KILLSWITCH_SONY_BLUETOOTH_FALSE='#'
+ else
+@@ -3669,7 +3669,7 @@ else
+ enable_killswitch_thinkpad_bluetooth=yes
+ fi
+
+- if test x$enable_killswitch_thinkpad_bluetooth == xyes; then
++ if test x$enable_killswitch_thinkpad_bluetooth = xyes; then
+ BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_TRUE=
+ BUILD_KILLSWITCH_THINKPAD_BLUETOOTH_FALSE='#'
+ else
+@@ -3685,7 +3685,7 @@ else
+ enable_killswitch_ipw_wlan=yes
+ fi
+
+- if test x$enable_killswitch_ipw_wlan == xyes; then
++ if test x$enable_killswitch_ipw_wlan = xyes; then
+ BUILD_KILLSWITCH_IPW_WLAN_TRUE=
+ BUILD_KILLSWITCH_IPW_WLAN_FALSE='#'
+ else