[Pkg-utopia-commits] r193 - packages/hal/trunk/debian
Sjoerd Simons
sjoerd@costa.debian.org
Mon, 11 Apr 2005 13:26:15 +0000
Author: sjoerd
Date: 2005-04-11 13:26:14 +0000 (Mon, 11 Apr 2005)
New Revision: 193
Added:
packages/hal/trunk/debian/ipod-music-player.fdi
Modified:
packages/hal/trunk/debian/changelog
packages/hal/trunk/debian/hal.install
Log:
Add fdi file for the ipod
Modified: packages/hal/trunk/debian/changelog
===================================================================
--- packages/hal/trunk/debian/changelog 2005-04-11 03:21:14 UTC (rev 192)
+++ packages/hal/trunk/debian/changelog 2005-04-11 13:26:14 UTC (rev 193)
@@ -1,3 +1,9 @@
+hal (0.4.7-4) UNRELEASED; urgency=low
+
+ * Add fdi file to recognize Apple Ipods
+
+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 11 Apr 2005 15:24:03 +0200
+
hal (0.4.7-3) unstable; urgency=low
* Remove 50-fstab-sync.hal symlink from the package, it's not supposed to be
Modified: packages/hal/trunk/debian/hal.install
===================================================================
--- packages/hal/trunk/debian/hal.install 2005-04-11 03:21:14 UTC (rev 192)
+++ packages/hal/trunk/debian/hal.install 2005-04-11 13:26:14 UTC (rev 193)
@@ -6,3 +6,4 @@
debian/tmp/usr/lib/hal/
debian/tmp/usr/share/hal/fdi
debian/preferences.fdi etc/hal/fdi
+debian/ipod-music-player.fdi usr/share/hal/fdi/20freedesktop/
Added: packages/hal/trunk/debian/ipod-music-player.fdi
===================================================================
--- packages/hal/trunk/debian/ipod-music-player.fdi 2005-04-11 03:21:14 UTC (rev 192)
+++ packages/hal/trunk/debian/ipod-music-player.fdi 2005-04-11 13:26:14 UTC (rev 193)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
+
+<deviceinfo version="0.2">
+ <device>
+
+ <!-- Apple iPod - TODO: use USB ids to determine exact output formats -->
+ <match key="info.category" string="storage">
+ <match key="storage.vendor" contains="Apple">
+ <match key="storage.model" contains="iPod">
+ <merge key="info.capabilities" type="string">portable_audio_player</append>
+ <merge key="portable_audio_player.access_method" type="string">storage</merge>
+ <merge key="portable_audio_player.type" type="string">ipod</merge>
+ <merge key="portable_audio_player.storage_device" type="copy_property">info.udi</merge>
+ <merge key="portable_audio_player.output_formats" type="string">audio/mpeg audio/x-mp3 audio/aac</append>
+ <merge key="storage.requires_eject" type="bool">true</merge>
+ </match>
+ </match>
+ </match>
+ </device>
+</deviceinfo>