[med-svn] r1158 - trunk/packages/emboss/trunk/debian

charles-guest at alioth.debian.org charles-guest at alioth.debian.org
Fri Jan 18 07:05:06 UTC 2008


Author: charles-guest
Date: 2008-01-18 07:05:00 +0000 (Fri, 18 Jan 2008)
New Revision: 1158

Added:
   trunk/packages/emboss/trunk/debian/abiview.desktop
   trunk/packages/emboss/trunk/debian/emboss.mime
   trunk/packages/emboss/trunk/debian/emboss.sharedmimeinfo
Modified:
   trunk/packages/emboss/trunk/debian/changelog
   trunk/packages/emboss/trunk/debian/emboss.dirs
   trunk/packages/emboss/trunk/debian/emboss.install
   trunk/packages/emboss/trunk/debian/rules
Log:
MIME support, but the .sharedmimeinfo / .desktop combination is broken for the moment. Fixed borken changelog

Added: trunk/packages/emboss/trunk/debian/abiview.desktop
===================================================================
--- trunk/packages/emboss/trunk/debian/abiview.desktop	                        (rev 0)
+++ trunk/packages/emboss/trunk/debian/abiview.desktop	2008-01-18 07:05:00 UTC (rev 1158)
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Version=1.0
+Terminal=false
+#Icon=abiview
+Exec=abiview -outseq /dev/null -graph x11  %f
+Name=abiview
+GenericName=Chromatogram viewer
+GenericName[en]=Chromatogram viewer
+GenericName[fr]=Visualisateur de chromatogrammes
+Comment=Displays ABIF Applied Biosystems Inc. chromatograms. 
+Comment[en]=Displays ABIF Applied Biosystems Inc. chromatograms. 
+Comment[fr]=Affiche les chromatogrammes au format ABIF (Applied Biosystems Inc.).
+Type=Application
+Categories=Biology;Science;Education;
+MimeType=application/ab1;application/x-dna;
+NoDisplay=true

Modified: trunk/packages/emboss/trunk/debian/changelog
===================================================================
--- trunk/packages/emboss/trunk/debian/changelog	2008-01-18 06:59:46 UTC (rev 1157)
+++ trunk/packages/emboss/trunk/debian/changelog	2008-01-18 07:05:00 UTC (rev 1158)
@@ -1,11 +1,19 @@
 emboss (5.0.0-4) UNRELEASED; urgency=low
 
+  * MIME support for chromatograms:
+    - debian/emboss.mime associates application/ab1 and application/x-dna with
+      the `abiview' program and the .ab1 suffix.
+    - debian/emboss.sharedmimeinfo describes the ABIF format of the .ab1 files.
+    - debian/abiview.desktop associates `abiview' with chromatograms in ABIF
+      format via the application/ab1 and application/x-dna formats.
   * debian/patches/using-pager-in-tfm.patch:
     Patching tfm so that it uses the alternatives system `/usr/bin/pager' if
     the `PAGER' environment variable is not defined.
 
- -- Charles Plessy <charles-debian-nospam at plessy.org>  Fri, 18 Jan 2008 15:54:09 +0900
+ -- Charles Plessy <charles-debian-nospam at plessy.org>  Fri, 18 Jan 2008 14:29:05 +0900
 
+emboss (5.0.0-3) unstable; urgency=low
+
   [ Nelson A. de Oliveira ]
   * Using bzip2 compression for packages. This saves about 832KB of space.
 

Modified: trunk/packages/emboss/trunk/debian/emboss.dirs
===================================================================
--- trunk/packages/emboss/trunk/debian/emboss.dirs	2008-01-18 06:59:46 UTC (rev 1157)
+++ trunk/packages/emboss/trunk/debian/emboss.dirs	2008-01-18 07:05:00 UTC (rev 1158)
@@ -1,4 +1,5 @@
 usr/bin
+usr/share/applications
 usr/lib
 etc/emboss/embossrc.d
 usr/share/man/man1

Modified: trunk/packages/emboss/trunk/debian/emboss.install
===================================================================
--- trunk/packages/emboss/trunk/debian/emboss.install	2008-01-18 06:59:46 UTC (rev 1157)
+++ trunk/packages/emboss/trunk/debian/emboss.install	2008-01-18 07:05:00 UTC (rev 1158)
@@ -1,2 +1,3 @@
 debian/emboss_tmp/usr/bin usr
 debian/emboss_tmp/usr/lib usr
+debian/abiview.desktop usr/share/applications

Added: trunk/packages/emboss/trunk/debian/emboss.mime
===================================================================
--- trunk/packages/emboss/trunk/debian/emboss.mime	                        (rev 0)
+++ trunk/packages/emboss/trunk/debian/emboss.mime	2008-01-18 07:05:00 UTC (rev 1158)
@@ -0,0 +1,2 @@
+application/ab1; abiview -outseq /dev/null -graph x11 '%s' ; description=ABIF Applied Biosystems Inc. chromatogram; nametemplate=%s.ab1
+application/x-dna; abiview -outseq /dev/null -graph x11 '%s' ; description=ABIF Applied Biosystems Inc. chromatogram; nametemplate=%s.ab1

Added: trunk/packages/emboss/trunk/debian/emboss.sharedmimeinfo
===================================================================
--- trunk/packages/emboss/trunk/debian/emboss.sharedmimeinfo	                        (rev 0)
+++ trunk/packages/emboss/trunk/debian/emboss.sharedmimeinfo	2008-01-18 07:05:00 UTC (rev 1158)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+  <mime-type type="application/ab1">
+    <alias type="application/x-dna"/>
+    <comment>ABIF Applied Biosystems Inc. chromatogram</comment>
+    <comment xml:lang="fr">Chromatogramme au format ABIF Applied Biosystems Inc.</comment>
+    <magic priority="50">
+      <match type="string" offset="0" value="ABIF.etdir"/>
+    </magic>
+    <glob pattern="*.ab1"/>
+  </mime-type>
+</mime-info>

Modified: trunk/packages/emboss/trunk/debian/rules
===================================================================
--- trunk/packages/emboss/trunk/debian/rules	2008-01-18 06:59:46 UTC (rev 1157)
+++ trunk/packages/emboss/trunk/debian/rules	2008-01-18 07:05:00 UTC (rev 1158)
@@ -126,6 +126,8 @@
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 #	dh_installmenu
+	dh_desktop
+	dh_installmime
 	dh_install
 	
 	# Install the manpages and provide a symlink for the renamed binaries.




More information about the debian-med-commit mailing list