Add QGIS file types Icons for Linux
8
debian/mime/application/x-qgis-composer-template.desktop.desktop
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=MimeType
|
||||
MimeType=application/x-qgis-composer-template
|
||||
Hidden=false
|
||||
Comment=QGIS composer template
|
||||
Icon=qgis-mime
|
||||
Patterns=*.qpt;
|
||||
Name[en_US]=x-qgis-composer-template.desktop
|
8
debian/mime/application/x-qgis-layer-definition.desktop.desktop
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=MimeType
|
||||
MimeType=application/x-qgis-layer-definition
|
||||
Hidden=false
|
||||
Comment=QGIS layer definition
|
||||
Icon=qgis-mime
|
||||
Patterns=*.qlr;
|
||||
Name[en_US]=x-qgis-layer-definition.desktop
|
BIN
debian/qgis-mime-icon128x128.png
vendored
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 7.5 KiB |
BIN
debian/qgis-mime-icon16x16.png
vendored
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 718 B |
BIN
debian/qgis-mime-icon192x192.png
vendored
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
debian/qgis-mime-icon22x22.png
vendored
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 982 B |
BIN
debian/qgis-mime-icon24x24.png
vendored
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
debian/qgis-mime-icon256x256.png
vendored
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
debian/qgis-mime-icon32x32.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
debian/qgis-mime-icon36x36.png
vendored
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
debian/qgis-mime-icon42x42.png
vendored
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
debian/qgis-mime-icon48x48.png
vendored
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
debian/qgis-mime-icon512x512.png
vendored
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
debian/qgis-mime-icon64x64.png
vendored
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 3.5 KiB |
BIN
debian/qgis-mime-icon72x72.png
vendored
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 4.0 KiB |
BIN
debian/qgis-mime-icon80x80.png
vendored
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
debian/qgis-mime-icon8x8.png
vendored
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 353 B |
BIN
debian/qgis-mime-icon96x96.png
vendored
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.4 KiB |
2
debian/qgis.desktop
vendored
@ -53,5 +53,5 @@ Exec=/usr/bin/qgis %F
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Qt;Education;Science;Geography;
|
||||
MimeType=application/x-qgis-project;image/tiff;image/jpeg;image/jp2;application/x-raster-aig;application/x-raster-ecw;application/x-raster-mrsid;application/x-mapinfo-mif;application/x-esri-shape;
|
||||
MimeType=application/x-qgis-project;application/x-qgis-layer-settings;application/x-qgis-layer-definition;application/x-qgis-composer-template;image/tiff;image/jpeg;image/jp2;application/x-raster-aig;application/x-raster-ecw;application/x-raster-mrsid;application/x-mapinfo-mif;application/x-esri-shape;
|
||||
Keywords=map;globe;postgis;wms;wfs;ogc;osgeo;
|
||||
|
3
debian/qgis.mime
vendored
@ -7,3 +7,6 @@ application/x-raster-mrsid; qgis '%s'; description="MrSID raster data"; test=tes
|
||||
application/x-raster-mif; qgis '%s'; description="MapInfo file"; test=test -n "$DISPLAY"; nametemplate=%s.mif; priority=2
|
||||
application/x-esri-shape; qgis '%s'; description="ESRI shape file"; test=test -n "$DISPLAY"; nametemplate=%s.shp; priority=2
|
||||
application/x-qgis-project; qgis '%s'; description="QGIS Project"; test=test -n "$DISPLAY"; nametemplate=%s.qgs
|
||||
application/x-qgis-layer-settings; qgis '%s'; description="QGIS Layer Settings"; test=test -n "$DISPLAY"; nametemplate=%s.qml
|
||||
application/x-qgis-layer-definition; qgis '%s'; description="QGIS Layer Definition"; test=test -n "$DISPLAY"; nametemplate=%s.qlr
|
||||
application/x-qgis-composer-template; qgis '%s'; description="QGIS Composer Template"; test=test -n "$DISPLAY"; nametemplate=%s.qpt
|
||||
|
30
debian/qgis.xml
vendored
@ -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"/>
|
||||
<icon name="qgis-qgs"/>
|
||||
<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"/>
|
||||
<icon name="qgis-qml"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis version"/>
|
||||
@ -27,6 +27,32 @@
|
||||
</magic>
|
||||
<glob pattern="*.qml"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-qgis-layer-definition">
|
||||
<comment>QGIS layer definition</comment>
|
||||
<comment xml:lang="de">QGIS Layer definition</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<icon name="qgis-qlr"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis version"/>
|
||||
</match>
|
||||
</magic>
|
||||
<glob pattern="*.qlr"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-qgis-composer-template">
|
||||
<comment>QGIS composer template</comment>
|
||||
<comment xml:lang="de">QGIS Komponist Vorlage</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<icon name="qgis-qpt"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis version"/>
|
||||
</match>
|
||||
</magic>
|
||||
<glob pattern="*.qpt"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-esri-shape">
|
||||
<comment>ESRI shape file</comment>
|
||||
|
8
debian/rules
vendored
@ -303,6 +303,14 @@ override_dh_auto_install:
|
||||
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 QGIS file formats icons
|
||||
for file_type in qgs qlr qml qpt; do \
|
||||
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}/mimetypes ; \
|
||||
install -o root -g root -m 644 $(CURDIR)/debian/qgis-$${file_type}-mime$${size}.png $(CURDIR)/debian/tmp/usr/share/icons/hicolor/$${size}/mimetypes/qgis-qgs.png ; \
|
||||
done
|
||||
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 ; \
|
||||
|
@ -25,4 +25,31 @@
|
||||
</magic>
|
||||
<glob pattern="*.qml"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-qgis-layer-definition">
|
||||
<comment>QGIS layer definition</comment>
|
||||
<comment xml:lang="de">QGIS Layer definition</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<icon name="qgis-qlr"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis version"/>
|
||||
</match>
|
||||
</magic>
|
||||
<glob pattern="*.qlr"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-qgis-composer-template">
|
||||
<comment>QGIS composer template</comment>
|
||||
<comment xml:lang="de">QGIS Komponist Vorlage</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<icon name="qgis-qpt"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis version"/>
|
||||
</match>
|
||||
</magic>
|
||||
<glob pattern="*.qpt"/>
|
||||
</mime-type>
|
||||
|
||||
</mime-info>
|
||||
|