Sylvestre Ledru wrote:
> Le vendredi 19 février 2010 à 23:45 +1300, Achim Gädke a écrit :
>   
> Could you reopen this bug ?
>   
Done
> Could you provide join debian-science and commit this change in the svn
> (or send the patch)
>   
svn diff jhdf >icon_resize_patch.diff

Index: jhdf/trunk/debian/patches/installIcons.diff
===================================================================
--- jhdf/trunk/debian/patches/installIcons.diff (revision 36206)
+++ jhdf/trunk/debian/patches/installIcons.diff (working copy)
@@ -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 ;

Reply via email to