r36263 - in /packages/jhdf/trunk/debian: changelog hdfview.desktop hdfview.sharedmimeinfo patches/installIcons.diff

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Mon Mar 8 23:22:06 UTC 2010


Author: sylvestre
Date: Mon Mar  8 23:22:05 2010
New Revision: 36263

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36263
Log:
  * Achim forgot some elements in the previous icon patch. (Closes: #569231)

Added:
    packages/jhdf/trunk/debian/hdfview.desktop
    packages/jhdf/trunk/debian/hdfview.sharedmimeinfo
Modified:
    packages/jhdf/trunk/debian/changelog
    packages/jhdf/trunk/debian/patches/installIcons.diff

Modified: packages/jhdf/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/changelog?rev=36263&op=diff
==============================================================================
--- packages/jhdf/trunk/debian/changelog (original)
+++ packages/jhdf/trunk/debian/changelog Mon Mar  8 23:22:05 2010
@@ -1,3 +1,9 @@
+jhdf (2.6-3) unstable; urgency=low
+
+  * Achim forgot some elements in the previous icon patch. (Closes: #569231)
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Sat, 20 Feb 2010 15:01:12 +0100
+
 jhdf (2.6-2) unstable; urgency=low
 
   * Install icons. Thanks Achim Gädke for doing all the work (Closes: #569231)

Added: packages/jhdf/trunk/debian/hdfview.desktop
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/hdfview.desktop?rev=36263&op=file
==============================================================================
--- packages/jhdf/trunk/debian/hdfview.desktop (added)
+++ packages/jhdf/trunk/debian/hdfview.desktop Mon Mar  8 23:22:05 2010
@@ -1,0 +1,14 @@
+[Desktop Entry]
+Exec=/usr/bin/hdfview %F
+MimeType=application/x-hdf;
+Name=hdfview
+Name[de]=hdfview
+Name[en]=hdfview
+Comment=HDF4/5 Data Browser
+Comment[DE]=HDF4/5 Daten Browser
+Comment[EN]=HDF4/5 Data Browser
+Terminal=false
+Type=Application
+X-MultipleArgs=true
+Categories=Science;Physics;DataVisualization;Education;
+Icon=hdfview

Added: packages/jhdf/trunk/debian/hdfview.sharedmimeinfo
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/hdfview.sharedmimeinfo?rev=36263&op=file
==============================================================================
--- packages/jhdf/trunk/debian/hdfview.sharedmimeinfo (added)
+++ packages/jhdf/trunk/debian/hdfview.sharedmimeinfo Mon Mar  8 23:22:05 2010
@@ -1,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+  <!-- well, we could have hdf4 and hdf5 as different mime types... -->
+  <mime-type type="application/x-hdf">
+    <comment>Hierarchical Data Format</comment>
+    <magic>
+        <!--see: HDF5 File Format Specification Version 2.0 Chapter II -->
+        <match type="string" offset="0" value="\211HDF\r\n\032\n"/>
+        <!--see: HDF4r15_SpecDG.pdf Chapter 2.2: 0x0E 0x03 0x13 0x01 -->
+        <match type="string" offset="0" value="\016\003\023\001"/>
+    </magic>
+    <glob pattern="*.hdf" />
+    <glob pattern="*.hdf4" />
+    <glob pattern="*.h4" />
+    <glob pattern="*.hdf5" />
+    <glob pattern="*.h5" />
+    <icon name="application-x-hdf"/>
+    <generic-icon name="application-x-hdf"/> 
+  </mime-type>
+</mime-info>

Modified: packages/jhdf/trunk/debian/patches/installIcons.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/patches/installIcons.diff?rev=36263&op=diff
==============================================================================
--- packages/jhdf/trunk/debian/patches/installIcons.diff (original)
+++ packages/jhdf/trunk/debian/patches/installIcons.diff Mon Mar  8 23:22:05 2010
@@ -7,7 +7,7 @@
 +	for size in 16 22 24 32 48 64 96; do \
 +		icondir="$(JH45INSTALLDIR)/usr/share/icons/hicolor/$${size}x$${size}" ; \
 +		mkdir -p $${icondir}/apps ; \
-+		/usr/bin/convert ncsa/hdf/view/icons/hdf_large.gif $$icondir/apps/hdfview.png ; \
++		/usr/bin/convert -resize $${size}x$${size} ncsa/hdf/view/icons/hdf_large.gif $$icondir/apps/hdfview.png ; \
 +		mkdir -p $$icondir/mimetypes ; \
 +		cp $$icondir/apps/hdfview.png $$icondir/mimetypes/application-x-hdf.png ; \
 +	done ;




More information about the debian-science-commits mailing list