[qgis] 02/04: Also install MIME type icon in hicolor theme.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Oct 18 17:13:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository qgis.

commit 14ea1705b3de8e73e25fb2cbd9271080ff51e68f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Oct 18 17:55:34 2015 +0200

    Also install MIME type icon in hicolor theme.
---
 debian/changelog                 |   1 +
 debian/qgis-mime-icon128x128.png | Bin 0 -> 14941 bytes
 debian/qgis-mime-icon16x16.png   | Bin 0 -> 1429 bytes
 debian/qgis-mime-icon22x22.png   | Bin 0 -> 1617 bytes
 debian/qgis-mime-icon24x24.png   | Bin 0 -> 1799 bytes
 debian/qgis-mime-icon32x32.png   | Bin 0 -> 2576 bytes
 debian/qgis-mime-icon36x36.png   | Bin 0 -> 3027 bytes
 debian/qgis-mime-icon42x42.png   | Bin 0 -> 3699 bytes
 debian/qgis-mime-icon48x48.png   | Bin 0 -> 4482 bytes
 debian/qgis-mime-icon64x64.png   | Bin 0 -> 6749 bytes
 debian/qgis-mime-icon72x72.png   | Bin 0 -> 7875 bytes
 debian/qgis-mime-icon80x80.png   | Bin 0 -> 9206 bytes
 debian/qgis-mime-icon8x8.png     | Bin 0 -> 602 bytes
 debian/qgis-mime-icon96x96.png   | Bin 0 -> 11765 bytes
 debian/qgis.xml                  |  22 +++++++++++-----------
 debian/rules                     |   6 ++++++
 debian/source/include-binaries   |  13 +++++++++++++
 17 files changed, 31 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a8b75af..6291ea5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 qgis (2.8.3+dfsg-4) UNRELEASED; urgency=medium
 
   * Use desktop file in favor of menu file per CTTE #741573.
+  * Also install MIME type icon in hicolor theme.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 18 Oct 2015 17:23:59 +0200
 
diff --git a/debian/qgis-mime-icon128x128.png b/debian/qgis-mime-icon128x128.png
new file mode 100644
index 0000000..25754b9
Binary files /dev/null and b/debian/qgis-mime-icon128x128.png differ
diff --git a/debian/qgis-mime-icon16x16.png b/debian/qgis-mime-icon16x16.png
new file mode 100644
index 0000000..0c4dac0
Binary files /dev/null and b/debian/qgis-mime-icon16x16.png differ
diff --git a/debian/qgis-mime-icon22x22.png b/debian/qgis-mime-icon22x22.png
new file mode 100644
index 0000000..1696bf8
Binary files /dev/null and b/debian/qgis-mime-icon22x22.png differ
diff --git a/debian/qgis-mime-icon24x24.png b/debian/qgis-mime-icon24x24.png
new file mode 100644
index 0000000..4d9d26a
Binary files /dev/null and b/debian/qgis-mime-icon24x24.png differ
diff --git a/debian/qgis-mime-icon32x32.png b/debian/qgis-mime-icon32x32.png
new file mode 100644
index 0000000..3dd6de0
Binary files /dev/null and b/debian/qgis-mime-icon32x32.png differ
diff --git a/debian/qgis-mime-icon36x36.png b/debian/qgis-mime-icon36x36.png
new file mode 100644
index 0000000..e3a60a6
Binary files /dev/null and b/debian/qgis-mime-icon36x36.png differ
diff --git a/debian/qgis-mime-icon42x42.png b/debian/qgis-mime-icon42x42.png
new file mode 100644
index 0000000..771fc71
Binary files /dev/null and b/debian/qgis-mime-icon42x42.png differ
diff --git a/debian/qgis-mime-icon48x48.png b/debian/qgis-mime-icon48x48.png
new file mode 100644
index 0000000..55f773b
Binary files /dev/null and b/debian/qgis-mime-icon48x48.png differ
diff --git a/debian/qgis-mime-icon64x64.png b/debian/qgis-mime-icon64x64.png
new file mode 100644
index 0000000..f00b683
Binary files /dev/null and b/debian/qgis-mime-icon64x64.png differ
diff --git a/debian/qgis-mime-icon72x72.png b/debian/qgis-mime-icon72x72.png
new file mode 100644
index 0000000..fe286e3
Binary files /dev/null and b/debian/qgis-mime-icon72x72.png differ
diff --git a/debian/qgis-mime-icon80x80.png b/debian/qgis-mime-icon80x80.png
new file mode 100644
index 0000000..bccc451
Binary files /dev/null and b/debian/qgis-mime-icon80x80.png differ
diff --git a/debian/qgis-mime-icon8x8.png b/debian/qgis-mime-icon8x8.png
new file mode 100644
index 0000000..8735181
Binary files /dev/null and b/debian/qgis-mime-icon8x8.png differ
diff --git a/debian/qgis-mime-icon96x96.png b/debian/qgis-mime-icon96x96.png
new file mode 100644
index 0000000..2d02205
Binary files /dev/null and b/debian/qgis-mime-icon96x96.png differ
diff --git a/debian/qgis.xml b/debian/qgis.xml
index a9407f0..6d43ef6 100644
--- a/debian/qgis.xml
+++ b/debian/qgis.xml
@@ -6,7 +6,7 @@
     <comment xml:lang="de">QGIS-Projekt</comment>
     <sub-class-of type="application/xml"/>
     <alias type="application/x-qgis"/>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="50">
       <match type="string" offset="0" value="<!DOCTYPE qgis">
         <match type="string" offset="0:256" value="<qgis projectname"/>
@@ -19,7 +19,7 @@
     <comment>QGIS layer settings</comment>
     <comment xml:lang="de">QGIS Layer Einstellungen</comment>
     <sub-class-of type="application/xml"/>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="50">
       <match type="string" offset="0" value="<!DOCTYPE qgis">
         <match type="string" offset="0:256" value="<qgis version"/>
@@ -31,7 +31,7 @@
   <mime-type type="application/x-esri-shape">
     <comment>ESRI shape file</comment>
     <comment xml:lang="de">ESRI-Shapedatei</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="100">
       <match type="big32" offset="0" value="9994">
         <match type="big32" offset="4" value="0">
@@ -54,7 +54,7 @@
   <mime-type type="application/x-esri-crs">
     <comment>ESRI coordinate reference system</comment>
     <comment xml:lang="de">ESRI-Koordinatenreferenzsystem</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic>
       <match type="string" offset="0" value="GEOGCS["/>
       <match type="string" offset="0" value="PROJCS["/>
@@ -66,7 +66,7 @@
   <mime-type type="image/tiff">
     <comment>TIFF raster data</comment>
     <comment xml:lang="de">TIFF-Rasterdaten</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="50">
       <match type="string" offset="0" value="MM">
         <match type="little16" offset="2" value="42"/>
@@ -82,7 +82,7 @@
   <mime-type type="image/jpeg">
     <comment>JPEG raster data</comment>
     <comment xml:lang="de">JPEG-Rasterdaten</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="50">
        <match type="big16" offset="0" value="65496"/>
     </magic>
@@ -93,7 +93,7 @@
   <mime-type type="image/jp2">
     <comment>JPEG2000 raster data</comment>
     <comment xml:lang="de">JPEG2000-Rasterdaten</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="50">
       <match type="little32" offset="0" value="12">
         <match type="string" offset="8" value="jP">
@@ -118,28 +118,28 @@
   <mime-type type="application/x-raster-aig">
     <comment>AIG raster data</comment>
     <comment xml:lang="de">AIG-Rasterdaten</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <glob pattern="*.aig"/>
   </mime-type>
 
   <mime-type type="application/x-raster-ecw">
     <comment>ECW raster data</comment>
     <comment xml:lang="de">ECW-Rasterdaten</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <glob pattern="*.ecw"/>
   </mime-type>
 
   <mime-type type="application/x-raster-mrsid">
     <comment>MrSID raster data</comment>
     <comment xml:lang="de">MrSID-Rasterdaten</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <glob pattern="*.sid"/>
   </mime-type>
 
   <mime-type type="application/x-mapinfo-mif">
     <comment>MapInfo file</comment>
     <comment xml:lang="de">MapInfo-Datei</comment>
-    <icon name="qgis-mime.png"/>
+    <icon name="qgis-mime"/>
     <magic priority="51">
       <match type="string" offset="0" value="VERSION">
         <match type="string" offset="0:512" value="COLUMNS"/>
diff --git a/debian/rules b/debian/rules
index 6194c45..a9be15d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -199,6 +199,12 @@ override_dh_auto_install:
 	install -o root -g root -m 644 $(CURDIR)/images/icons/qgis-icon.png $(CURDIR)/debian/tmp/usr/share/pixmaps/qgis.png
 	install -o root -g root -m 644 $(CURDIR)/images/icons/qgis-mime-icon.png $(CURDIR)/debian/tmp/usr/share/pixmaps/qgis-mime.png
 
+	# Install MIME type icon
+	for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128; do \
+		install -o root -g root -d $(CURDIR)/debian/tmp/usr/share/icons/hicolor/$${size}/mimetypes ; \
+		install -o root -g root -m 644 $(CURDIR)/debian/qgis-mime-icon$${size}.png $(CURDIR)/debian/tmp/usr/share/icons/hicolor/$${size}/mimetypes/qgis-mime.png ; \
+	done
+
 	# Install application icon
 	for size in 8x8 16x16 22x22 24x24 32x32 36x36 42x42 48x48 64x64 72x72 80x80 96x96 128x128 192x192 256x256 512x512; do \
 		install -o root -g root -d $(CURDIR)/debian/tmp/usr/share/icons/hicolor/$${size}/apps ; \
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
index 59d7342..2b008dc 100644
--- a/debian/source/include-binaries
+++ b/debian/source/include-binaries
@@ -14,3 +14,16 @@ debian/qgis-icon128x128.png
 debian/qgis-icon192x192.png
 debian/qgis-icon256x256.png
 debian/qgis-icon512x512.png
+debian/qgis-mime-icon8x8.png
+debian/qgis-mime-icon16x16.png
+debian/qgis-mime-icon22x22.png
+debian/qgis-mime-icon24x24.png
+debian/qgis-mime-icon32x32.png
+debian/qgis-mime-icon36x36.png
+debian/qgis-mime-icon42x42.png
+debian/qgis-mime-icon48x48.png
+debian/qgis-mime-icon64x64.png
+debian/qgis-mime-icon72x72.png
+debian/qgis-mime-icon80x80.png
+debian/qgis-mime-icon96x96.png
+debian/qgis-mime-icon128x128.png

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qgis.git



More information about the Pkg-grass-devel mailing list