Skip to content

Commit

Permalink
update debian packaging
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10167 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 14, 2009
1 parent 1995281 commit a350ffb
Show file tree
Hide file tree
Showing 32 changed files with 401 additions and 73 deletions.
19 changes: 19 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
qgis (1.0.1) experimental; urgency=low

* upstream bugfix release
* sync with debian-gis debian/ tree
- introduce arch-independant qgis-comman and
qgis-plugin-grass-common
- policy updated to 3.8.0
- join libqgis1-core and libqgis1-gui to libqgis1
- add debian/watch
- dh_lintian overrides
- compat 5=>6
- fix qgis.desktop
- fix license reference in copyright
* introduce arch-independant python-qgis-comman
* added sharedmimeinfo
* remove dpatch

-- Jürgen E. Fischer <jef@norbit.de> Fri, 13 Feb 2009 21:08:52 +0100

qgis (1.0.0) experimental; urgency=low

* new upstream release
Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
6
80 changes: 51 additions & 29 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,65 @@ Source: qgis
Section: science
Priority: extra
Maintainer: Quantum GIS developers <qgis-developer@lists.osgeo.org>
Build-Depends: debhelper (>= 5.0.0), libgdal1-dev, libpq-dev,
libgeos-dev (>= 2.0.1-1), dpatch, grass-dev, libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev,
Build-Depends: debhelper (>= 5.0.51~), libgdal1-dev, libpq-dev,
libgeos-dev (>= 2.0.1), grass-dev, libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev,
flex, bison, python-dev, cmake (>=2.4.3), python-sip4 (>= 4.5.0), python-central (>=0.5), python,
sharutils, sip4 (>= 4.5), libqt4-core (>=4.2.0), libqt4-dev (>=4.2.0), libqt4-gui (>=4.2.0),
libqt4-qt3support (>=4.2.0), libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
python-sip4-dev (>= 4.5.0), libfontconfig1-dev, libxi-dev, libxrandr-dev, libxrender-dev, libice-dev,
libsm-dev
Build-Conflicts: libqgis1-dev
Standards-Version: 3.7.3
Standards-Version: 3.8.0
XS-Python-Version: current
Homepage: http://qgis.org/

Package: qgis
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, qgis-common (= ${source:Version})
Recommends: qgis-plugin-grass, python-qgis
Suggests: gpsbabel
Conflicts: uim-qt3
Description: Geographic Information System (GIS)
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
on-the-fly, map composition, and a number of other features via a plugin
interface. QGIS also supports display of various georeferenced raster and
Digital Elevation Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid,
and USGS ASCII DEM.

Package: libqgis-core1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: qgis (<=0.9.2rc1)
Conflicts: libqgis1, uim-qt3
Description: Quantum GIS - shared core library
Package: qgis-common
Architecture: all
Depends: qgis (= ${binary:Version})
Description: Quantum GIS - architecture-independent data
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information.
.
This package contains the shared core library that provides an interface for
plugins.
This package contains architecture-independent supporting data files for use
with Quantum GIS.

Package: libqgis-gui1
Package: libqgis1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: qgis (<=0.9.2rc1)
Conflicts: libqgis1, uim-qt3
Description: Quantum GIS - shared gui library
Replaces: qgis (<=0.9.2rc1), libqgis-core1, libqgis-gui1, libqgis0
Description: Quantum GIS - shared libraries
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information.
.
This package contains the shared gui library that provides an interface for
plugins.
This package contains the shared core and gui library that provide an
interface for plugins and stand-alone applications.

Package: libqgis1-dev
Architecture: any
Section: libdevel
Depends: qgis (= ${binary:Version}), libgdal1-dev | libgdal1-1.3.2-dev,
libpq-dev | postgresql-dev, libgeos-dev (>= 2.0.1-1), grass-dev,
Depends: libqgis1 (= ${binary:Version}), libgdal1-dev | libgdal1-1.3.2-dev,
libpq-dev | postgresql-dev, libgeos-dev (>= 2.0.1), grass-dev,
libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev, libqt4-core (>=4.2.0),
libqt4-dev (>=4.2.0), libqt4-gui (>=4.2.0), libqt4-qt3support (>=4.2.0),
libqt4-sql (>=4.2.0), python-qt4 (>=4.1.0), python-qt4-dev (>=4.1.0),
qt4-designer (>=4.2.0), libqgis-gui1, libqgis-core1
Provides: libqgis-dev
Conflicts: libqgis-dev, qgis-dev
Replaces: qgis-dev
qt4-designer (>=4.2.0)
Provides: libqgis-dev, qgis-dev
Replaces: libqgis-dev, qgis-dev
Description: Quantum GIS - development files
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information.
Expand All @@ -74,10 +70,23 @@ Description: Quantum GIS - development files

Package: qgis-plugin-grass
Architecture: any
Depends: qgis (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, libgdal1-1.4.0-grass | libgdal1-1.5.0-grass
Description: Plugin for accessing GRASS data from Quantum GIS
This plugin enables a GRASS data access toolbox in the Quantum GIS geographic
data viewer.
Depends: qgis (= ${binary:Version}), qgis-plugin-grass-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}, libgdal1-1.4.0-grass | libgdal1-1.5.0-grass
Description: GRASS plugin for Quantum GIS
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information.
.
This plugin enables GRASS data access in the Quantum GIS geographic data
viewer.

Package: qgis-plugin-grass-common
Architecture: all
Depends: qgis-plugin-grass (= ${binary:Version})
Description: GRASS plugin for Quantum GIS - architecture-independent data
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information.
.
This package contains architecture-independent supporting data files for use
with the Quantum GIS GRASS plugin.

Package: python-qgis
Section: python
Expand All @@ -91,3 +100,16 @@ Description: Python bindings to Quantum GIS
.
This package contains the files for the Python support.

Package: python-qgis-common
Section: python
Architecture: all
Depends: python-qgis (= ${binary:Version})
Provides: ${python:Provides}
XB-Python-Version: ${python:Versions}
Description: Python bindings to Quantum GIS - architecture-independent files
Quantum GIS is a Geographic Information System (GIS) which manages, analyzes
and display databases of geographic information.
.
This package contains architecture-independent files for the Quantum GIS
Python bindings.

2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Copyright:
GNU General Public License for more details.

On Debian systems, the complete text of the GNU General Public
License can be found in the /usr/share/common-licenses/GPL file.
License can be found in the /usr/share/common-licenses/GPL-2 file.
1 change: 0 additions & 1 deletion debian/libqgis-gui1.install

This file was deleted.

1 change: 1 addition & 0 deletions debian/libqgis-core1.install → debian/libqgis1.install
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
usr/lib/libqgis_core.so.*
usr/lib/libqgis_gui.so.*
4 changes: 4 additions & 0 deletions debian/libqgis1.lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
libqgis1: shlib-calls-exit
libqgis1: no-symbols-control-file usr/lib/libqgis_gui.so.1.0
libqgis1: no-symbols-control-file usr/lib/libqgis_core.so.1.0
libqgis1: package-name-doesnt-match-sonames libqgis-core1.0 libqgis-gui1.0
8 changes: 8 additions & 0 deletions debian/mime/application/x-adobe-mif.desktop
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions debian/mime/application/x-esri-crs.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-esri-crs
Hidden=false
Comment=ESRI coordinate reference system
Comment[de]=ESRI-Koordinatenbezugssystem
Icon=qgis-mime-icon
Patterns=*.prj;
8 changes: 8 additions & 0 deletions debian/mime/application/x-esri-shape.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-esri-shape
Hidden=false
Comment=ESRI shape file
Comment[de]=ESRI-Shapedatei
Icon=qgis-mime-icon
Patterns=*.shp;*.shx;
9 changes: 9 additions & 0 deletions debian/mime/application/x-mapinfo-mif.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-mapinfo-mif
Hidden=false
Comment=MapInfo file
Comment[de]=MapInfo-Datei
Patterns=*.mif;
Icon=qgis-mime-icon
X-KDE-PatternsAccuracy=60
8 changes: 8 additions & 0 deletions debian/mime/application/x-qgis-layer-settings.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-qgis-layer-settings
Hidden=false
Comment=Quantum GIS layer settings
Comment[de]=Quantum GIS Layer Einstellungen
Icon=qgis-mime-icon
Patterns=*.qml;
9 changes: 9 additions & 0 deletions debian/mime/application/x-qgis-project.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-qgis-project
Hidden=false
Comment=Quantum GIS Project
Comment[de]=Quantum GIS-Projekt
Patterns=*.qgs;
Icon=qgis-mime-icon
X-KDE-IsAlso=application/x-qgis
8 changes: 8 additions & 0 deletions debian/mime/application/x-raster-aig.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-raster-aig
Hidden=false
Comment=AIG raster data
Comment[de]=AIG-Rasterdaten
Icon=qgis-mime-icon
Patterns=*.aig;
8 changes: 8 additions & 0 deletions debian/mime/application/x-raster-ecw.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-raster-ecw
Hidden=false
Comment=ECW raster data
Comment[de]=ECW-Rasterdaten
Icon=qgis-mime-icon
Patterns=*.ecw;
8 changes: 8 additions & 0 deletions debian/mime/application/x-raster-mrsid.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=MimeType
MimeType=application/x-raster-mrsid
Hidden=false
Comment=MrSID raster data
Comment[de]=MrSID-Rasterdaten
Icon=qgis-mime-icon
Patterns=*.sid;
1 change: 1 addition & 0 deletions debian/python-qgis-common.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/share/qgis/python/*
1 change: 0 additions & 1 deletion debian/python-qgis.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
usr/share/qgis/python/*
usr/lib/python*/site-packages/qgis/__init__.py
usr/lib/python*/site-packages/qgis/qgisconfig.py
usr/lib/python*/site-packages/qgis/*.so
Expand Down
3 changes: 3 additions & 0 deletions debian/python-qgis.lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python-qgis: package-name-doesnt-match-sonames
python-qgis: non-dev-pkg-with-shlib-symlink
python-qgis: no-symbols-control-file usr/lib/libqgispython.so.1.0
12 changes: 12 additions & 0 deletions debian/qgis-common.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
usr/share/qgis/doc/CODING
usr/share/qgis/doc/favicon.ico
usr/share/qgis/doc/index.html
usr/share/qgis/doc/qgisdoc.css
usr/share/qgis/doc/AUTHORS
usr/share/qgis/doc/SPONSORS
usr/share/qgis/doc/images
usr/share/qgis/i18n/*
usr/share/qgis/images/*
usr/share/qgis/resources/*
usr/share/qgis/svg/*
usr/share/qgis/themes/*
1 change: 1 addition & 0 deletions debian/qgis-common.lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
qgis-common: desktop-command-not-in-package
52 changes: 52 additions & 0 deletions debian/qgis-common.sharedmimeinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>

<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-qgis">
<comment xml:lang="en">Quantum GIS Project</comment>
<glob pattern="*.qgs"/>
</mime-type>

<mime-type type="application/shapefile">
<comment xml:lang="en">ESRI shape file</comment>
<glob pattern="*.shp"/>
</mime-type>

<mime-type type="application/mif">
<comment xml:lang="en">MapInfo file</comment>
<glob pattern="*.mif"/>
</mime-type>

<mime-type type="application/gml">
<comment xml:lang="en">Geographic Markup Language</comment>
<glob pattern="*.gml"/>
</mime-type>

<mime-type type="image/geotiff">
<comment xml:lang="en">GEOTiff</comment>
<glob pattern="*.tif"/>
<glob pattern="*.tiff"/>
</mime-type>

<mime-type type="image/jpeg">
<comment xml:lang="en">JPEG compress raster data</comment>
<glob pattern="*.jpg"/>
<glob pattern="*.jpeg"/>
</mime-type>

<mime-type type="image/jp2">
<comment xml:lang="en">JPEG 2000 compress raster data</comment>
<glob pattern="*.jp2"/>
<glob pattern="*.j2k"/>
</mime-type>

<mime-type type="image/ecw">
<comment xml:lang="en">ECW compressed raster data</comment>
<glob pattern="*.ecw"/>
</mime-type>

<mime-type type="image/sid">
<comment xml:lang="en">MrSID compress raster data</comment>
<glob pattern="*.sid"/>
</mime-type>

</mime-info>
1 change: 1 addition & 0 deletions debian/qgis-plugin-grass-common.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/share/qgis/grass/*
3 changes: 1 addition & 2 deletions debian/qgis-plugin-grass.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
usr/lib/qgis/libgrassplugin.so
usr/lib/qgis/libgrassprovider.so
usr/lib/libqgisgrass.so*
usr/share/qgis/grass/*
usr/lib/libqgisgrass.so.*
3 changes: 3 additions & 0 deletions debian/qgis-plugin-grass.lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
qgis-plugin-grass: binary-without-manpage
qgis-plugin-grass: package-name-doesnt-match-sonames
qgis-plugin-grass: no-symbols-control-file usr/lib/libqgisgrass.so.1.0
3 changes: 2 additions & 1 deletion debian/qgis-plugin-grass.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -e

if [ "$1" = "remove" ]; then
dpkg-divert --package qgis-plugin-grass --remove --rename --divert /usr/bin/qgis.bin /usr/bin/qgis
ldconfig
fi

#DEBHELPER#

exit 0
13 changes: 0 additions & 13 deletions debian/qgis.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,5 @@ TryExec=/usr/bin/qgis
Exec=/usr/bin/qgis %F
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;
[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
Terminal=false
StartupNotify=false
Categories=Education;Geography;Qt;
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;
1 change: 0 additions & 1 deletion debian/qgis.dirs

This file was deleted.

Loading

0 comments on commit a350ffb

Please sign in to comment.