Hi,

I commited a fix for #631205.  Can some DICOM expert please have a look
into this?  Specifically I'm unsure about the description string.

I also wonder whether we yould provide some <magic> tag in
sharedmimeinfo - I just do not know this format.

Kind regards

      Andreas.

----- Forwarded message from Andreas Tille <[email protected]> -----

Date: Wed, 22 Jun 2011 17:31:05 +0000
To: [email protected]
From: Andreas Tille <[email protected]>
X-Spam_score: -4.1
Subject: r7121 - trunk/packages/ginkgocadx/trunk/debian

Author: tille
Date: 2011-06-22 17:31:05 +0000 (Wed, 22 Jun 2011)
New Revision: 7121

Added:
   trunk/packages/ginkgocadx/trunk/debian/mime
   trunk/packages/ginkgocadx/trunk/debian/sharedmimeinfo
Modified:
   trunk/packages/ginkgocadx/trunk/debian/changelog
Log:
Added mime information - please verify correctness!


Modified: trunk/packages/ginkgocadx/trunk/debian/changelog
===================================================================
--- trunk/packages/ginkgocadx/trunk/debian/changelog    2011-06-21 16:43:52 UTC 
(rev 7120)
+++ trunk/packages/ginkgocadx/trunk/debian/changelog    2011-06-22 17:31:05 UTC 
(rev 7121)
@@ -1,3 +1,10 @@
+ginkgocadx (2.4.1.1-3) UNRELEASED; urgency=low
+
+  * debian/{mime,sharedmimeinfo}: Mime info for DICOM images
+    Closes: #631205
+
+ -- Andreas Tille <[email protected]>  Wed, 22 Jun 2011 19:29:09 +0200
+
 ginkgocadx (2.4.1.1-2) unstable; urgency=low
 
   * debian/patches/01_no_msse.patch: Do not build with -msse flag

Added: trunk/packages/ginkgocadx/trunk/debian/mime
===================================================================
--- trunk/packages/ginkgocadx/trunk/debian/mime                         (rev 0)
+++ trunk/packages/ginkgocadx/trunk/debian/mime 2011-06-22 17:31:05 UTC (rev 
7121)
@@ -0,0 +1 @@
+application/dicom; ginkgocadx '%s'; description=DICOM medical image; 
nametemplate=%s.dcm

Added: trunk/packages/ginkgocadx/trunk/debian/sharedmimeinfo
===================================================================
--- trunk/packages/ginkgocadx/trunk/debian/sharedmimeinfo                       
        (rev 0)
+++ trunk/packages/ginkgocadx/trunk/debian/sharedmimeinfo       2011-06-22 
17:31:05 UTC (rev 7121)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+  <mime-type type="application/dicom">
+    <sub-class-of type="text/plain"/>
+    <comment>DICOM medical image</comment>
+    <comment xml:lang="de">DICOM medizinisches Bild</comment>
+    <glob pattern="*.dcm"/>
+  </mime-type>
+</mime-info>


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit


----- End forwarded message -----

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to