mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-29 00:03:59 -04:00
update debian packaging
git-svn-id: http://svn.osgeo.org/qgis/trunk@9894 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
fe122cae4a
commit
9fba484bcb
debian
changelogcontrol
mime/application
x-adobe-mif.desktopx-esri-crs.desktopx-esri-shape.desktopx-mapinfo-mif.desktopx-qgis-layer-settings.desktopx-qgis-project.desktopx-raster-aig.desktopx-raster-ecw.desktopx-raster-mrsid.desktop
qgis-plugin-grass.postrmqgis-plugin-grass.preinstqgis.desktopqgis.installqgis.mimeqgis.xml
11
debian/changelog
vendored
11
debian/changelog
vendored
@ -1,3 +1,14 @@
|
|||||||
|
qgis (1.0.0) experimental; urgency=low
|
||||||
|
|
||||||
|
* new upstream release
|
||||||
|
* update qgis.mime
|
||||||
|
* add qgis.desktop and qgis.xml
|
||||||
|
* add mime types for KDE
|
||||||
|
* don't ignore errors in preinst and postrm
|
||||||
|
* run ldconfig in postrm
|
||||||
|
|
||||||
|
-- Jürgen E. Fischer <jef@norbit.de> Tue, 23 Dec 2008 20:42:21 +0100
|
||||||
|
|
||||||
qgis (1.0preview18) experimental; urgency=low
|
qgis (1.0preview18) experimental; urgency=low
|
||||||
|
|
||||||
* add suggestion for gpsbabel
|
* add suggestion for gpsbabel
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -22,7 +22,7 @@ Suggests: gpsbabel
|
|||||||
Conflicts: uim-qt3
|
Conflicts: uim-qt3
|
||||||
Description: Geographic Information System (GIS)
|
Description: Geographic Information System (GIS)
|
||||||
A Geographic Information System (GIS) manages, analyzes, and displays
|
A Geographic Information System (GIS) manages, analyzes, and displays
|
||||||
databases of geographic information. Quantum GIS (QGIS) supports shapefile
|
databases of geographic information. Quantum GIS (QGIS) supports shape file
|
||||||
viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection
|
viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection
|
||||||
on-the-fly, map composition, and a number of other features via a plugin
|
on-the-fly, map composition, and a number of other features via a plugin
|
||||||
interface. QGIS also supports display of various georeferenced raster and
|
interface. QGIS also supports display of various georeferenced raster and
|
||||||
|
8
debian/mime/application/x-adobe-mif.desktop
vendored
Normal file
8
debian/mime/application/x-adobe-mif.desktop
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-adobe-mif
|
||||||
|
Hidden=false
|
||||||
|
Comment=Adobe FrameMaker MIF file
|
||||||
|
Patterns=*.mif;
|
||||||
|
X-KDE-PatternsAccuracy=51
|
||||||
|
X-KDE-IsAlso=application/x-mif
|
7
debian/mime/application/x-esri-crs.desktop
vendored
Normal file
7
debian/mime/application/x-esri-crs.desktop
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-esri-crs
|
||||||
|
Hidden=false
|
||||||
|
Comment=ESRI coordinate reference system
|
||||||
|
Comment[de]=ESRI-Koordinatenreferenzsystem
|
||||||
|
Patterns=*.prj;
|
7
debian/mime/application/x-esri-shape.desktop
vendored
Normal file
7
debian/mime/application/x-esri-shape.desktop
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-esri-shape
|
||||||
|
Hidden=false
|
||||||
|
Comment=ESRI shape file
|
||||||
|
Comment[de]=ESRI-Shapedatei
|
||||||
|
Patterns=*.shp;*.shx;
|
8
debian/mime/application/x-mapinfo-mif.desktop
vendored
Normal file
8
debian/mime/application/x-mapinfo-mif.desktop
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-mapinfo-mif
|
||||||
|
Hidden=false
|
||||||
|
Comment=MapInfo file
|
||||||
|
Comment[de]=MapInfo-Datei
|
||||||
|
Patterns=*.mif;
|
||||||
|
X-KDE-PatternsAccuracy=60
|
7
debian/mime/application/x-qgis-layer-settings.desktop
vendored
Normal file
7
debian/mime/application/x-qgis-layer-settings.desktop
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-qgis-layer-settings
|
||||||
|
Hidden=false
|
||||||
|
Comment=Quantum GIS layer settings
|
||||||
|
Comment[de]=Quantum GIS Layer Einstellungen
|
||||||
|
Patterns=*.qml;
|
8
debian/mime/application/x-qgis-project.desktop
vendored
Normal file
8
debian/mime/application/x-qgis-project.desktop
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-qgis-project
|
||||||
|
Hidden=false
|
||||||
|
Comment=Quantum GIS Project
|
||||||
|
Comment[de]=Quantum GIS-Projekt
|
||||||
|
Patterns=*.qgs;
|
||||||
|
X-KDE-IsAlso=application/x-qgis
|
7
debian/mime/application/x-raster-aig.desktop
vendored
Normal file
7
debian/mime/application/x-raster-aig.desktop
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-raster-aig
|
||||||
|
Hidden=false
|
||||||
|
Comment=AIG raster data
|
||||||
|
Comment[de]=AIG-Rasterdaten
|
||||||
|
Patterns=*.aig;
|
7
debian/mime/application/x-raster-ecw.desktop
vendored
Normal file
7
debian/mime/application/x-raster-ecw.desktop
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-raster-ecw
|
||||||
|
Hidden=false
|
||||||
|
Comment=ECW raster data
|
||||||
|
Comment[de]=ECW-Rasterdaten
|
||||||
|
Patterns=*.ecw;
|
7
debian/mime/application/x-raster-mrsid.desktop
vendored
Normal file
7
debian/mime/application/x-raster-mrsid.desktop
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=MimeType
|
||||||
|
MimeType=application/x-raster-mrsid
|
||||||
|
Hidden=false
|
||||||
|
Comment=MrSID raster data
|
||||||
|
Comment[de]=MrSID-Rasterdaten
|
||||||
|
Patterns=*.sid;
|
5
debian/qgis-plugin-grass.postrm
vendored
5
debian/qgis-plugin-grass.postrm
vendored
@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ "$1" = "remove" ]; then
|
if [ "$1" = "remove" ]; then
|
||||||
dpkg-divert --package qgis-plugin-grass --remove --rename --divert /usr/bin/qgis.bin /usr/bin/qgis
|
dpkg-divert --package qgis-plugin-grass --remove --rename --divert /usr/bin/qgis.bin /usr/bin/qgis
|
||||||
|
ldconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
4
debian/qgis-plugin-grass.preinst
vendored
4
debian/qgis-plugin-grass.preinst
vendored
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ "$1" = "install" -o "$1" = "upgrade" ]; then
|
if [ "$1" = "install" -o "$1" = "upgrade" ]; then
|
||||||
dpkg-divert --package qgis-plugin-grass --add --rename --divert /usr/bin/qgis.bin /usr/bin/qgis
|
dpkg-divert --package qgis-plugin-grass --add --rename --divert /usr/bin/qgis.bin /usr/bin/qgis
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
14
debian/qgis.desktop
vendored
Normal file
14
debian/qgis.desktop
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Quantum GIS
|
||||||
|
Version=1.0
|
||||||
|
GenericName=Geographical Information System
|
||||||
|
GenericName[de]=Geographisches Informationssystem
|
||||||
|
Icon=qgis-icon
|
||||||
|
TryExec=/usr/bin/qgis
|
||||||
|
Exec=/usr/bin/qgis %F
|
||||||
|
Encoding=UTF-8
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=false
|
||||||
|
Categories=Qt;Science;GIS;OSGeo;
|
||||||
|
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;
|
11
debian/qgis.install
vendored
11
debian/qgis.install
vendored
@ -34,3 +34,14 @@ usr/lib/qgis/libdxf2shpconverterplugin.so
|
|||||||
usr/lib/qgis/libinterpolationplugin.so
|
usr/lib/qgis/libinterpolationplugin.so
|
||||||
usr/lib/qgis/libogrconverterplugin.so
|
usr/lib/qgis/libogrconverterplugin.so
|
||||||
usr/lib/qgis/libcoordinatecaptureplugin.so
|
usr/lib/qgis/libcoordinatecaptureplugin.so
|
||||||
|
../qgis.desktop usr/share/applications
|
||||||
|
../qgis.xml usr/share/mime/packages
|
||||||
|
../mime/application/x-esri-shape.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-mapinfo-mif.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-esri-crs.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-raster-ecw.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-adobe-mif.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-raster-aig.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-qgis-project.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-raster-mrsid.desktop usr/share/mimelnk/application
|
||||||
|
../mime/application/x-qgis-layer-settings.desktop usr/share/mimelnk/application
|
||||||
|
15
debian/qgis.mime
vendored
15
debian/qgis.mime
vendored
@ -1,7 +1,8 @@
|
|||||||
application/shp; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
image/tif; qgis '%s'; description="TIFF Image"; test=test -n "$DISPLAY"; nametemplate=%s.tif; priority=2
|
||||||
application/mif; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
image/jpg; qgis '%s'; description="JPEG Image"; test=test -n "$DISPLAY"; nametemplate=%s.jpg; priority=2
|
||||||
application/jpg; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
image/jp2; qgis '%s'; description="JPEP 2000 Image"; test=test -n "$DISPLAY"; nametempalte=%s.jp2; priority=2
|
||||||
application/tif; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
application/aig; qgis '%s'; description="AIG raster data"; test=test -n "$DISPLAY"; nametemplate=%s.aig; priority=2
|
||||||
application/aig; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
application/ecw; qgis '%s'; description="ECW raster data"; test=test -n "$DISPLAY"; nametemplate=%s.ecw; priority=2
|
||||||
application/ecw; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
application/sid; qgis '%s'; description="MrSID raster data"; test=test -n "$DISPLAY"; nametemplate=%s.sid; priority=2
|
||||||
application/sid; qgis '%s'; edit=qgis '%s'; test=test "$DISPLAY" != ""; priority=2
|
application/mif; qgis '%s'; description="MapInfo file"; test=test -n "$DISPLAY"; nametemplate=%s.mif; priority=2
|
||||||
|
application/x-qgis; qgis '%s'; description="Quantum GIS Project"; test=test -n "$DISPLAY"; nametemplate=%s.qgs
|
||||||
|
152
debian/qgis.xml
vendored
Normal file
152
debian/qgis.xml
vendored
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||||
|
|
||||||
|
<mime-type type="application/x-qgis-project">
|
||||||
|
<comment>Quantum GIS Project</comment>
|
||||||
|
<comment xml:lang="de">Quantum GIS-Projekt</comment>
|
||||||
|
<sub-class-of type="application/xml"/>
|
||||||
|
<alias type="application/x-qgis"/>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||||
|
<match type="string" offset="0:256" value="<qgis projectname"/>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.qgs"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-qgis-layer-settings">
|
||||||
|
<comment>Quantum GIS layer settings</comment>
|
||||||
|
<comment xml:lang="de">Quantum GIS Layer Einstellungen</comment>
|
||||||
|
<sub-class-of type="application/xml"/>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||||
|
<match type="string" offset="0:256" value="<qgis version"/>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.qml"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-esri-shape">
|
||||||
|
<comment>ESRI shape file</comment>
|
||||||
|
<comment xml:lang="de">ESRI-Shapedatei</comment>
|
||||||
|
<magic priority="100">
|
||||||
|
<match type="big32" offset="0" value="9994">
|
||||||
|
<match type="big32" offset="4" value="0">
|
||||||
|
<match type="big32" offset="8" value="0">
|
||||||
|
<match type="big32" offset="12" value="0">
|
||||||
|
<match type="big32" offset="16" value="0">
|
||||||
|
<match type="big32" offset="20" value="0">
|
||||||
|
<match type="big32" offset="28" value="1000"/>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.shp"/>
|
||||||
|
<glob pattern="*.shx"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-esri-crs">
|
||||||
|
<comment>ESRI coordinate reference system</comment>
|
||||||
|
<comment xml:lang="de">ESRI-Koordinatenreferenzsystem</comment>
|
||||||
|
<magic>
|
||||||
|
<match type="string" offset="0" value="GEOGCS["/>
|
||||||
|
<match type="string" offset="0" value="PROJCS["/>
|
||||||
|
<match type="string" offset="0" value="LOCAL_CS["/>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.prj"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="image/tiff">
|
||||||
|
<comment>TIFF raster data</comment>
|
||||||
|
<comment xml:lang="de">TIFF-Rasterdaten</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="string" offset="0" value="MM">
|
||||||
|
<match type="little16" offset="2" value="42"/>
|
||||||
|
</match>
|
||||||
|
<match type="string" offset="0" value="MM">
|
||||||
|
<match type="big16" offset="2" value="42"/>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.tiff"/>
|
||||||
|
<glob pattern="*.tif"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="image/jpeg">
|
||||||
|
<comment>JPEG raster data</comment>
|
||||||
|
<comment xml:lang="de">JPEG-Rasterdaten</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="big16" offset="0" value="65496"/>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.jpeg"/>
|
||||||
|
<glob pattern="*.jpg"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="image/jp2">
|
||||||
|
<comment>JPEG2000 raster data</comment>
|
||||||
|
<comment xml:lang="de">JPEG2000-Rasterdaten</comment>
|
||||||
|
<magic priority="50">
|
||||||
|
<match type="little32" offset="0" value="12">
|
||||||
|
<match type="string" offset="8" value="jP">
|
||||||
|
<match type="byte" offset="10" value="32">
|
||||||
|
<match type="byte" offset="11" value="32">
|
||||||
|
<match type="byte" offset="12" value="13">
|
||||||
|
<match type="byte" offset="13" value="10">
|
||||||
|
<match type="byte" offset="14" value="135">
|
||||||
|
<match type="byte" offset="13" value="10"/>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.jp2"/>
|
||||||
|
<glob pattern="*.j2k"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-raster-aig">
|
||||||
|
<comment>AIG raster data</comment>
|
||||||
|
<comment xml:lang="de">AIG-Rasterdaten</comment>
|
||||||
|
<glob pattern="*.aig"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-raster-ecw">
|
||||||
|
<comment>ECW raster data</comment>
|
||||||
|
<comment xml:lang="de">ECW-Rasterdaten</comment>
|
||||||
|
<glob pattern="*.ecw"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-raster-mrsid">
|
||||||
|
<comment>MrSID raster data</comment>
|
||||||
|
<comment xml:lang="de">MrSID-Rasterdaten</comment>
|
||||||
|
<glob pattern="*.sid"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/x-mapinfo-mif">
|
||||||
|
<comment>MapInfo file</comment>
|
||||||
|
<comment xml:lang="de">MapInfo-Datei</comment>
|
||||||
|
<magic priority="51">
|
||||||
|
<match type="string" offset="0" value="VERSION">
|
||||||
|
<match type="string" offset="0:512" value="COLUMNS"/>
|
||||||
|
<match type="string" offset="0:512" value="DATA">
|
||||||
|
</match>
|
||||||
|
</match>
|
||||||
|
</magic>
|
||||||
|
<glob weight="60" pattern="*.mif"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
<!-- .mif is just not good enough -->
|
||||||
|
<mime-type type="application/x-adobe-mif">
|
||||||
|
<alias type="application/x-mif"/>
|
||||||
|
<comment>Adobe FrameMaker MIF file</comment>
|
||||||
|
<magic priority="100">
|
||||||
|
<match type="string" offset="0" value="<MIFFile"/>
|
||||||
|
</magic>
|
||||||
|
<glob weight="51" pattern="*.mif"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
|
</mime-info>
|
Loading…
x
Reference in New Issue
Block a user