From 3fd080bc7fd5950606bf2677a788531be66b8fd9 Mon Sep 17 00:00:00 2001 From: timlinux Date: Wed, 29 Aug 2007 03:51:57 +0000 Subject: [PATCH] Added debian build files - updated from debiangis folks to use qt4 for deps instead of qt3 git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7164 c8812cc2-4d05-0410-92ff-de0c093fc19c --- debian/changelog | 238 +++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 68 ++++++++ debian/copyright | 20 +++ debian/docs | 4 + debian/files | 4 + debian/gridmaker.1 | 11 ++ debian/libqgis1-dev.README.Debian | 8 + debian/libqgis1-dev.install | 22 +++ debian/libqgis1.install | 5 + debian/libqgis1.substvars | 1 + debian/pencil.uu | 44 +++++ debian/qgis-config.1 | 44 +++++ debian/qgis-icon.xpm | 255 +++++++++++++++++++++++++++++ debian/qgis-plugin-grass.install | 4 + debian/qgis-plugin-grass.substvars | 1 + debian/qgis.1 | 35 ++++ debian/qgis.dirs | 1 + debian/qgis.install | 31 ++++ debian/qgis.menu | 3 + debian/qgis.postinst.debhelper | 5 + debian/qgis.postrm.debhelper | 3 + debian/qgis.substvars | 1 + debian/rules | 100 +++++++++++ 24 files changed, 909 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/files create mode 100644 debian/gridmaker.1 create mode 100644 debian/libqgis1-dev.README.Debian create mode 100644 debian/libqgis1-dev.install create mode 100644 debian/libqgis1.install create mode 100644 debian/libqgis1.substvars create mode 100644 debian/pencil.uu create mode 100644 debian/qgis-config.1 create mode 100644 debian/qgis-icon.xpm create mode 100644 debian/qgis-plugin-grass.install create mode 100644 debian/qgis-plugin-grass.substvars create mode 100644 debian/qgis.1 create mode 100644 debian/qgis.dirs create mode 100644 debian/qgis.install create mode 100644 debian/qgis.menu create mode 100644 debian/qgis.postinst.debhelper create mode 100644 debian/qgis.postrm.debhelper create mode 100644 debian/qgis.substvars create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000000..c8d66b5bf451 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,238 @@ +qgis (0.9.0) gutsy; urgency=low + + * Quantum GIS 0.9.0 'Ganymede' release + + -- Tim Sutton Tue, 28 Aug 2007 22:43:41 -0300 + +qgis (0.8.1-3) UNRELEASED; urgency=low + + * Added Build-Depends: sip4. + + -- Niccolo Rigacci Fri, 10 Aug 2007 11:37:29 +0200 + +qgis (0.8.1-2) UNRELEASED; urgency=low + + * Quick-and-dirty changes on Debian files. + + -- Niccolo Rigacci Fri, 10 Aug 2007 10:52:25 +0200 + +qgis (0.8.1-1) UNRELEASED; urgency=low + + * New upstream release. + * Now the building system is based on cmake. Qt4 and SIP are required. + * Added cmake.dpatch new patch (to build-up consistently). + * Added georef.dpatch new patch (improvement of georeferencer by Martin Dobias). + * Removed obsolete postgresql-dev build-dep. + (closes: #429984) + * Removed obsolete libmysqlclient14-dev build-dep. + * Added a grid_maker patch to compile standalone binaries. + + -- Francesco Paolo Lovergine Fri, 29 Jun 2007 16:03:56 +0200 + +qgis (0.8.0-5) unstable; urgency=low + + * Added python-dev build-dep. + Patch added: ax_python.dpatch, fixes python environment detection. + (closes: #429234) + * Added build-dep for autoconf/automake due to acinclude.m4 changes. + + -- Francesco Paolo Lovergine Tue, 19 Jun 2007 18:28:05 +0200 + +qgis (0.8.0-4) unstable; urgency=low + + * Enabled python scripts support and changed build-dep and suggests as consequence. + * Enabled WFS support. + (closes: #302618) + * Long description revised. + * Patch gcc43-fixes updated. Thanks again Martin Michlmayr. + (closes: #417522) + * Now installing missing binaries: msexport, qgis_help + (closes: #423989) + + -- Francesco Paolo Lovergine Tue, 22 May 2007 17:03:18 +0200 + +qgis (0.8.0-3) unstable; urgency=low + + * Added missing flex/bison build-deps. + (closes: #421143) + * Added gcc4.3-fixes based the patch by tbm. + (closes: #417522) + + -- Francesco Paolo Lovergine Mon, 30 Apr 2007 23:24:02 +0200 + +qgis (0.8.0-2) unstable; urgency=low + + * Releasing for unstable. + Moved to soname 1 instead of 0. + + -- Francesco Paolo Lovergine Tue, 10 Apr 2007 13:42:47 +0200 + +qgis (0.8.0-1) experimental; urgency=low + + * New upstream release. + * Patchset updated. + New patch: gridmaker_bin to generate gridmaker binary as it should. + + + -- Francesco Paolo Lovergine Wed, 4 Apr 2007 14:19:48 +0200 + +qgis (0.7.4-6) UNRELEASED; urgency=low + + * Moved to team maintainership as asked by Steve. + * Moved to new gdal 1.4.0 dependency (currently in experimental) + + -- Francesco Paolo Lovergine Wed, 4 Apr 2007 14:04:38 +0200 + +qgis (0.7.4-5) unstable; urgency=low + + * Acknowledge GCC 4.1 NMU (Closes: #356215) + * Update deps to libgdal1-1.3.2-dev and grass-dev (Closes: #383143, #360649) + * Bump standards version to 3.7.2. No changes made. + + -- Steve Halasz Sat, 19 Aug 2006 22:13:32 -0400 + +qgis (0.7.4-4.1) unstable; urgency=low + + * NMU as part of the GCC 4.1 transition. + * patches/gcc41-extra-qualifications.dpatch: Update to remove two more + extra qualifications from C++ files (Closes: #356215) + + -- Martin Michlmayr Fri, 26 May 2006 23:57:18 +0200 + +qgis (0.7.4-4) unstable; urgency=low + + * Apply patch for building with gcc 4.1 (Closes: #356215) + * Create patch for moving location of installed documentation + (Closes: #355208) + * Remove essentially empty README file (Closes: #324533) + + -- Steve Halasz Fri, 7 Apr 2006 10:12:58 -0400 + +qgis (0.7.4-3) unstable; urgency=low + + * Build with libgdal1-1.3.1 + * Build-dep on libmysqlclient15-dev + * Remove follow-on build-deps that are now pulled in by + libgdal1-1.3.1-dev + + -- Steve Halasz Mon, 20 Feb 2006 20:21:48 -0500 + +qgis (0.7.4-2) unstable; urgency=low + + * Build libqgis0 as separate package to conform to policy (Closes: #339254) + * Rename qgis-dev to libqgis0-dev + * Build-dep on libmysqlclient14-dev + * Acknowledge binary NMU (Closes: #345148) + + -- Steve Halasz Wed, 14 Dec 2005 23:14:35 -0500 + +qgis (0.7.4-1) unstable; urgency=low + + * New upstream release + * Build GRASS support in qgis-plugin-grass package (Closes: #248649) + + -- Steve Halasz Sat, 5 Nov 2005 16:04:45 -0500 + +qgis (0.7.0-1) unstable; urgency=low + + * New upstream release (Closes: #327592) + - Don't segfault when starting without X (Closes: #295872) + - GPX plugin uses less RAM (Closes: #284238) + * PostgreSQL transition: build-dep on libpq-dev | postgresql-dev + * C++ ABI transition. No explicit changes made. (Closes: #327597) + * Bump standards version to 3.6.2. No changes made. + + -- Steve Halasz Fri, 16 Sep 2005 10:43:49 -0400 + +qgis (0.6.0-2) unstable; urgency=low + + * Depend on xerces26 instead of xerces21 (Closes: #301709) + * Apply patch for PostGis 1.0 (Closes: #303743) + * Added note about setting QTDIR=/usr/share/qt3 (Closes: #281910) + * Patch for crash loading shapefiles exposed by gdal 1.2.6 + + -- Steve Halasz Thu, 14 Apr 2005 11:03:20 -0400 + +qgis (0.6.0-1) unstable; urgency=low + + * New upstream release + * Display version name consistently (Closes: #275608) + * Make Alt+F accelerators unique (Closes: #275611) + * Use upstream's new manpage for qgis + * Make delimited text plugin dialog more user-friendly (Closes: #282085) + * Fix for disappearing icons (Closes: #275610) + * Properly load shapefiles specified on the command line (Closes: #275607) + + -- Steve Halasz Tue, 21 Dec 2004 09:46:27 -0500 + +qgis (0.5.0-2) unstable; urgency=low + + * Fix typos in .install files that left out the delimitedtext plugin + (Closes: #282084) + + -- Steve Halasz Fri, 19 Nov 2004 10:51:07 -0500 + +qgis (0.5.0-1) unstable; urgency=low + + * New upstream release + * Create separate qgis-dev package (Closes: #264213) + + -- Steve Halasz Wed, 6 Oct 2004 07:34:28 -0400 + +qgis (0.4.0-3) unstable; urgency=medium + + * Add build-dep on libjasper-1.701-dev + * Add build-dep on libtiff4-dev - doh! :-/ + * Add build-dep on netcdfg-dev + + -- Steve Halasz Tue, 10 Aug 2004 11:22:29 -0400 + +qgis (0.4.0-2) unstable; urgency=low + + * Remove build-dep on libtiff3g-dev (Closes: #264573) + + -- Steve Halasz Mon, 9 Aug 2004 09:15:08 -0400 + +qgis (0.4.0-1) unstable; urgency=low + + * New upstream release + + -- Steve Halasz Fri, 2 Jul 2004 09:36:23 -0400 + +qgis (0.3.0-1) unstable; urgency=low + + * New upstream release + + -- Steve Halasz Wed, 26 May 2004 09:38:22 -0400 + +qgis (0.2.0-1) unstable; urgency=low + + * New upstream release + + -- Steve Halasz Mon, 26 Apr 2004 09:48:19 -0400 + +qgis (0.1-2) unstable; urgency=low + + * Build with the Shapefile to PostGIS Import Tool (SPIT) and + PostgreSQL support (Closes: #233191) + + -- Steve Halasz Wed, 7 Apr 2004 09:18:34 -0400 + +qgis (0.1-1) unstable; urgency=low + + * New upstream release + * changed install location of html documentation to /usr/share/doc/qgis + * updated man page to describe new command-line options and include pointers + to HTML and PDF documentation (Closes: #234600) + * debian/control: + - updated description to include raster support + + -- Steve Halasz Wed, 25 Feb 2004 08:56:18 -0500 + +qgis (0.0.13-1) unstable; urgency=low + + * Initial Release (Closes: #217237). + * clean out config.status and config.log before building + + -- Steve Halasz Fri, 9 Jan 2004 12:27:07 -0500 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000000..3683ac21b8ef --- /dev/null +++ b/debian/control @@ -0,0 +1,68 @@ +Source: qgis +Section: science +Priority: extra +Maintainer: Debian GIS Project +Uploaders: Francesco Paolo Lovergine +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, + libmysqlclient15-dev, flex, bison, python-dev, cmake (>=2.4.3) , python-sip4-dev, python-qt4-dev, + sharutils, sip4 (>= 4.7), 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.2.0), python-qt4-dev (>=4.2.0) +Standards-Version: 3.7.2 + +Package: qgis +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libqgis1 +Suggests: qgis-plugin-grass, python, python-qt4 +Description: Geographic Information System (GIS) + A Geographic Information System (GIS) manages, + analyzes, and displays databases of geographic + information. Quantum GIS (QGIS) supports shapefile + 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. + . + Home page: http://qgis.org/ + +Package: libqgis1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: QGIS Geographic Information System - shared library + QGIS is a Geographic Information System (GIS) + which manages, analyzes and display databases of + geographic information. + . + This package contains the shared library that + provides an interface for plugins. + . + Home page: http://qgis.org/ + +Package: libqgis1-dev +Architecture: any +Depends: qgis (= ${Source-Version}), libgdal1-dev, libpq-dev | postgresql-dev, libgeos-dev (>= 2.0.1-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.2.0), python-qt4-dev (>=4.2.0), qt4-designer (>=4.2.0) +Provides: libqgis-dev +Conflicts: libqgis-dev, qgis-dev +Replaces: qgis-dev +Suggests: qt4-designer +Description: QGIS Geographic Information System - development files + QGIS is a Geographic Information System (GIS) + which manages, analyzes and display databases of + geographic information. + . + This package contains the headers and libraries + needed to develop plugins for QGIS. + . + Home page: http://qgis.org/ + +Package: qgis-plugin-grass +Architecture: any +Depends: qgis (= ${Source-Version}), libgdal1-1.4.0-grass +Description: Plugin for accessing GRASS data from QGIS + This plugin enables a GRASS data access toolbox in the QGIS + geographic data viewer. + . + Home page: http://qgis.org/ diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000000..49079ed4297e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Steve Halasz on +Wed, 31 Dec 2003 10:07:40 -0500. + +It was downloaded from: + http://qgis.sourceforge.net/downloads.html + +The upstream contributors are listed in the AUTHORS file. + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as +published by the Free Software Foundation; either version 2 of +the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +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. diff --git a/debian/docs b/debian/docs new file mode 100644 index 000000000000..5442c182369d --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +AUTHORS +BUGS +README +TODO diff --git a/debian/files b/debian/files new file mode 100644 index 000000000000..f51991ac2700 --- /dev/null +++ b/debian/files @@ -0,0 +1,4 @@ +qgis_0.9.0_i386.deb science extra +libqgis1_0.9.0_i386.deb science extra +libqgis1-dev_0.9.0_i386.deb science extra +qgis-plugin-grass_0.9.0_i386.deb science extra diff --git a/debian/gridmaker.1 b/debian/gridmaker.1 new file mode 100644 index 000000000000..00b627d9cb66 --- /dev/null +++ b/debian/gridmaker.1 @@ -0,0 +1,11 @@ +.TH gridmaker 1 "August 2004" "gridmaker" "User Commands" +.SH NAME +gridmaker \- Graticule builder +.SH SYNOPSIS +.PP +.B gridmaker +[OPTIONS] +.SH DESCRIPTION +.PP +The \fIgridmaker\fP qgis plugin will help you to build a graticule shapefile +that you can use as an overlay within your qgis map viewer. diff --git a/debian/libqgis1-dev.README.Debian b/debian/libqgis1-dev.README.Debian new file mode 100644 index 000000000000..4518f8c8fd2c --- /dev/null +++ b/debian/libqgis1-dev.README.Debian @@ -0,0 +1,8 @@ +QGIS for Debian +--------------- + +Before building a QGIS plugin you'll need to tell it where to look for Qt: + + export QTDIR=/usr/share/qt3 + + -- Steve Halasz Thu, 14 Apr 2005 11:03:20 -0400 diff --git a/debian/libqgis1-dev.install b/debian/libqgis1-dev.install new file mode 100644 index 000000000000..de3410768549 --- /dev/null +++ b/debian/libqgis1-dev.install @@ -0,0 +1,22 @@ +#usr/bin/qgis-config +#usr/lib/libqgis*a +usr/include/qgis/* +#usr/share/aclocal/qgis.m4 +#usr/lib/qgis/copyrightlabelplugin.a +#usr/lib/qgis/libqgsprojectionselector.a +#usr/lib/qgis/delimitedtextplugin.a +#usr/lib/qgis/northarrowplugin.a +#usr/lib/qgis/delimitedtextprovider.a +#usr/lib/qgis/ogrprovider.a +#usr/lib/qgis/georefplugin.a +#usr/lib/qgis/pggeoprocessingplugin.a +#usr/lib/qgis/gpsimporterplugin.a +#usr/lib/qgis/postgresprovider.a +#usr/lib/qgis/gpxprovider.a +#usr/lib/qgis/scalebarplugin.a +#usr/lib/qgis/grassplugin.a +#usr/lib/qgis/spitplugin.a +#usr/lib/qgis/grassprovider.a +#usr/lib/qgis/wmsprovider.a +#usr/lib/qgis/gridmakerplugin.a + diff --git a/debian/libqgis1.install b/debian/libqgis1.install new file mode 100644 index 000000000000..d5449255dd8b --- /dev/null +++ b/debian/libqgis1.install @@ -0,0 +1,5 @@ +#usr/lib/libqgis_composer.so* +usr/lib/libqgis_core.so* +/usr/lib/libqgis_gui.so +#usr/lib/libqgis_legend.so* +#usr/lib/libqgis_raster.so* diff --git a/debian/libqgis1.substvars b/debian/libqgis1.substvars new file mode 100644 index 000000000000..5830f753de89 --- /dev/null +++ b/debian/libqgis1.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.6-1), libgcc1 (>= 1:4.2.1), libgdal1-1.4.0, libgeos2c2a (>= 2.2.3), libqt4-core (>= 4.3.1), libqt4-gui (>= 4.3.1), libqt4-qt3support (>= 4.3.1), libqt4-sql (>= 4.3.1), libsqlite3-0 (>= 3.4.2), libstdc++6 (>= 4.2.1), proj diff --git a/debian/pencil.uu b/debian/pencil.uu new file mode 100644 index 000000000000..628efd6b2ce8 --- /dev/null +++ b/debian/pencil.uu @@ -0,0 +1,44 @@ +begin 644 pencil.png +MB5!.1PT*&@H````-24A$4@```"`````@"`8```!S>GKT````!&=!34$``*_( +M-P6*Z0```!ET15AT4V]F='=A7')93P```:D +M241!5'C:8OS__S_#0`*``&)B&&``$$`#[@"``&*!,1@9&2DS25:<@4%*@H'A +M'Q,$@\!?Q@"&7XP+&9@8WC*P_J]B8/J_`J;\_YDS8!H@@*@3`M+"#`QR$JAB +MOYBBV+G^+I((?L/':O-.D8'YWV*&/XRUZ%H!`HB%8LO5@!9+B3(P_/R'\,]/ +MIF(NH=\]`?D/&%XI,#&0Y@`J878RD&!A$>H.7_8*)L##\8%TIH?BX-K;K+(";W@^'; +M5U8&;J9O#/8B7`S$WR')FD*@`T/+EBF;O/;S2GC)P<`.3P`\6AM__?S*(LZLS!(FE,;B(_F>8 +M^'0:PQVU[PP?SS!:P(P#""#2'"#`!K0\`48OT/+?C`Q___UB +M4."V`EJ>S"#"IL1P^>9P9+X40&/E9Q +MAC/?YS.LW+N+8<=4<8;?5U[6,'Q\T8IL-$``$7:`)A<#@Q8?,%*1ZHR_C*%, +MK'\7:/N^YM(V_\K``LP$?YD@;M/A]V$P$XQG8&?A9CCZ92K#LBW'&?;/%OOY +M_\;C'(;/[^:@&P\00/@=8`I,34I`!_P`&0TM*?\RY#!S_9ZDYO.&44'[!P,K +MT'(F%E!)RL)@R!_$8"(8!1BD?<,MQ\D,'S]O`F;%0`! +MA-L!%D"+%8%!_Q/9YPS-+`*_:N0]WC*(*_P&^YP5F#38F-D9C`0B&0P$0AE^ +M,7QBV/MZ`L.B)?<9+J\6>,1PYUXDPX\?QW!9`Q!`V!U@R,[`H,P&M9P1HNX/ +MPS1FT1^IXD[O&00D_C*P`N.<%1CL?*P\#)9"<0S:?/X,7QB>,.QXVL^P8/YK +MAGM;N"\RW+T?R?#K]W5\@0P00)@.X`+F:SV@`[[#?+:+=1_#_8/;W),/::U,8EL[^R_#N`,,JA@=/4X`YY#,Q&0P@@!`.D&8%)CJ@ +MY0+`O/83+*P!-&0=@^HW30:-;PSL0&D.1HCE*GQ*#/ZR:4#+31D>_-[#L/S< +M+(95)[S4,SSZUDEJR +M`P00P@%,H(C]!70[4.C_7U\N?C;]7XK?P!4=*S/$YQ9BI@P1BFD,^ +M+V!8L&\-P_:E/#__G_R2P_#ZVQQRZC6``$+4ALSP4`.6I=]+:JQ\&%S$],"! +MR09T@+.T/4., +M1PRG/T8R?/ESC)(F!4``82D'_I86VG@S"`E)`"L2'8;%5A,8-KXYQ/#^WVN& +M'8\6,:S<>I+A\4Y@'C\#M/S'O^N4-J@``@C5`4Q_31G_L+J),ZDR,/$#:SYF +M`08_X0A@ON=F*%Q7S_#P[@.&[ZW\AP]-*YWV_NO;_`\)!I$\.#KQ.!->%G!BH!@`!B +MA/6,&#,8#1A^LYUB>";'RL#U'I@FOOQ@>/7S/,-]AMT,KQAV`@`!"A``S0P;#]]_`E'CG(,--H*6/&/8!_7D%U,RD9<<$((#`+@&[1H4A +ME(&'P00HQDJ/'A',7H``8ASHSBE```UXWQ`@@`;<`0`!!@!1Y1-PU(R$ c #0E7100", +", c #0E7000", +"' c #0D2900", +") c #100F00", +"! c #1F5C00", +"~ c #103100", +"{ c #167A00", +"] c #0E6A00", +"^ c #106800", +"/ c #113B00", +"( c #5B55E0", +"_ c #4E49D6", +": c #423CCE", +"< c #403BC9", +"[ c #4440B9", +"} c #484297", +"| c #2A7003", +"1 c #0F7300", +"2 c #0E6E00", +"3 c #0B2C00", +"4 c #122000", +"5 c #173D00", +"6 c #4A43E0", +"7 c #3C37BB", +"8 c #2E2A7F", +"9 c #15143C", +"0 c #11102A", +"a c #191748", +"b c #282573", +"c c #384A53", +"d c #137B00", +"e c #0C5200", +"f c #040800", +"g c #1D1E00", +"h c #4942DC", +"i c #3833AA", +"j c #1E1D4C", +"k c #1F5F16", +"l c #091D02", +"m c #4841DB", +"n c #3934B2", +"o c #232163", +"p c #356701", +"q c #0B4300", +"r c #1A174A", +"s c #4F49D8", +"t c #3B35B8", +"u c #3631A6", +"v c #16152B", +"w c #197C00", +"x c #0C5B02", +"y c #0C1615", +"z c #302B99", +"A c #2B287A", +"B c #423CCC", +"C c #3631AB", +"D c #343093", +"E c #2F6C00", +"F c #0F7500", +"G c #0E6F00", +"H c #0C2A02", +"I c #282578", +"J c #3530A9", +"K c #3530A5", +"L c #1C1A3C", +"M c #4640C3", +"N c #3A35B7", +"O c #3631AA", +"P c #2A2776", +"Q c #147C00", +"R c #0B5700", +"S c #060A00", +"T c #3F3BA7", +"U c #282664", +"V c #3B36B5", +"W c #3833AF", +"X c #1B1950", +"Y c #247600", +"Z c #0E6D00", +"` c #092300", +" . c #423EA7", +".. c #2F2C7C", +"+. c #4640CA", +"@. c #3732AC", +"#. c #1C1A53", +"$. c #386401", +"%. c #127900", +"&. c #0C4A00", +"*. c #040500", +"=. c #423DA0", +"-. c #3832AE", +";. c #2E2B7A", +">. c #3E39B4", +",. c #1D7B00", +"'. c #0D6600", +"). c #071700", +"!. c #4641AA", +"~. c #2D2A79", +"{. c #332F99", +"]. c #307203", +"^. c #0F7600", +"/. c #0B3A00", +"(. c #4D48C3", +"_. c #2D2A78", +":. c #37339E", +"<. c #3732AB", +"[. c #27246D", +"}. c #3A6B73", +"|. c #4250AA", +"1. c #3E48A3", +"2. c #35347E", +"3. c #4641B5", +"4. c #232257", +"5. c #2E2B83", +"6. c #4D5AB0", +"7. c #423CC9", +"8. c #2B2D7A", +"9. c #212161", +"0. c #332F9C", +"a. c #3B36AD", +"b. c #413CC1", +"c. c #3530A6", +"d. c #14132B", +"e. c #343194", +"f. c #3631A9", +"g. c #3631A2", +"h. c #3B4262", +"i. c #433DCE", +"j. c #1B2444", +"k. c #083400", +"l. c #040600", +"m. c #1E1C48", +"n. c #322E9D", +"o. c #322E92", +"p. c #3F39C5", +"q. c #292673", +"r. c #342F9F", +"s. c #3A38A8", +"t. c #3634A2", +"u. c #093807", +"v. c #061800", +"w. c #342F91", +"x. c #3F3AB4", +"y. c #3C36BA", +"z. c #35309E", +"A. c #121129", +"B. c #2D2A72", +"C. c #3530A4", +"D. c #342FA1", +"E. c #0D2912", +"F. c #010100", +"G. c #423EAC", +"H. c #3530A2", +"I. c #161439", +"J. c #213E3F", +"K. c #2F2C90", +"L. c #2F2C84", +"M. c #4842CF", +"N. c #3732AD", +"O. c #1A183F", +"P. c #297500", +"Q. c #0E7300", +"R. c #114C15", +"S. c #24265C", +"T. c #2F2B8E", +"U. c #3832AD", +"V. c #3C37BC", +"W. c #3B36B2", +"X. c #1E1C4D", +"Y. c #287700", +"Z. c #0D5A00", +"`. c #050800", +" + c #020206", +".+ c #28265F", +"++ c #2E2A7D", +"@+ c #433DD4", +"#+ c #454902", +"$+ c #286800", +"%+ c #147300", +"&+ c #0E6700", +"*+ c #0E6C00", +"=+ c #0C4000", +"-+ c #3732A9", +";+ c #242252", +">+ c #3934AE", +",+ c #080E00", +"'+ c #070F00", +")+ c #050A00", +"!+ c #193400", +"~+ c #0F7000", +"{+ c #0E3500", +"]+ c #342F93", +"^+ c #3732A7", +"/+ c #433DCB", +"(+ c #312D89", +"_+ c #186000", +":+ c #0F3600", +"<+ c #322E95", +"[+ c #3530A7", +"}+ c #3530A8", +"|+ c #302D8E", +"1+ c #0F0E1F", +"2+ c #1F3A00", +"3+ c #123E00", +"4+ c #17163F", +"5+ c #131132", +"6+ c #080812", +"7+ c #192100", +" ", +" . ", +" + @ ", +" # $ % & ", +" * = - ; > , ' ", +" ) ! > > , ~ ", +" { > ] ^ / ", +" ( _ : < < [ } | 1 2 3 4 5 ", +" 6 7 8 9 0 a b c d > e f g ", +" h i j k % ] l ", +" m n o p % , q r ", +" s t u v w > x y z A ", +" B C D E F G H I J K L ", +" M N O P Q > R S T C O U ", +" V W O X Y % Z ` .C O .. ", +" +.@.O #. $.%.> &.*. =.-.O ;. ", +" >.O O #. ,.% '.). !.W O ~. ", +" {.C O #. ].^., /. (.W O _. ", +" :.<.O [. }.|.1.2. 3.<.O 4. ", +" <.O 5. 6.7.8.9.0.a. b.C c.d. ", +" e.f.g.h.i.j.k.l.m.n.o. p.O q. ", +" r.O s.t.u.v. w.O x.y.z.A. ", +" B.C.O D.E.F. G.@.O H.I. ", +" J.K.f.L. M.N.f.O. ", +" P.Q.R.S.T.U.y.V.W.O f.X. ", +" Y.^.> Z.`. + +.+@.O ++ @+ ", +" #+$+%+&+*+> =+ -+O C.;+ >+ ", +" ,+'+)+!+~+{+ ]+f.O ^+/+(+ ", +" _+:+ <+[+}+|+1+ ", +" 2+3+ 4+5+6+ ", +" 7+ ", +" "}; diff --git a/debian/qgis-plugin-grass.install b/debian/qgis-plugin-grass.install new file mode 100644 index 000000000000..9bbe379eca28 --- /dev/null +++ b/debian/qgis-plugin-grass.install @@ -0,0 +1,4 @@ +usr/lib/libqgisgrass.so* +usr/lib/qgis/libgrassplugin.so +usr/lib/qgis/libgrassprovider.so +usr/share/qgis/grass/* diff --git a/debian/qgis-plugin-grass.substvars b/debian/qgis-plugin-grass.substvars new file mode 100644 index 000000000000..80c765ff1ab8 --- /dev/null +++ b/debian/qgis-plugin-grass.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.6-1), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.2.1), libgdal1-1.4.0, libgeos2c2a (>= 2.2.3), libice6 (>= 1:1.0.0), libpng12-0 (>= 1.2.13-4), libqt4-core (>= 4.3.1), libqt4-gui (>= 4.3.1), libqt4-qt3support (>= 4.3.1), libqt4-sql (>= 4.3.1), libsm6, libsqlite3-0 (>= 3.4.2), libstdc++6 (>= 4.2.1), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxi6, libxinerama1, libxrandr2 (>= 2:1.2.0), libxrender1, proj, zlib1g (>= 1:1.2.3.3.dfsg-1) diff --git a/debian/qgis.1 b/debian/qgis.1 new file mode 100644 index 000000000000..4e3dbd7ed926 --- /dev/null +++ b/debian/qgis.1 @@ -0,0 +1,35 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH QGIS 1 "Januray 6, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +qgis \- geographic data viewer +.SH SYNOPSIS +.B qgis [project-file.qgs] | [shapefile.shp] [raster-file.tif] ... +.br +.SH DESCRIPTION +This manual page documents briefly the +.B qgis +command. +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBqgis\fP displays shapefiles, georeferenced raster files, and digital elevation models. You can specify a QGIS project file on the command line to be displayed at startup. Or you can specify a combination of multiple shapefiles and/or raster files to be displayed at startup. +.SH SEE ALSO +HTML and PDF documentation in /usr/share/doc/qgis and at http://qgis.sourceforge.net/docs/ +.SH AUTHOR +This manual page was written by Steve Halasz , +for the Debian project (but may be used by others). diff --git a/debian/qgis.dirs b/debian/qgis.dirs new file mode 100644 index 000000000000..c1da623a9014 --- /dev/null +++ b/debian/qgis.dirs @@ -0,0 +1 @@ +usr/share/pixmaps diff --git a/debian/qgis.install b/debian/qgis.install new file mode 100644 index 000000000000..5bf51497e75b --- /dev/null +++ b/debian/qgis.install @@ -0,0 +1,31 @@ +#usr/bin/gridmaker +usr/bin/qgis +usr/bin/qgis_help +usr/bin/msexport +usr/lib/qgis/libcopyrightlabelplugin.so +usr/lib/qgis/libdelimitedtextplugin.so +usr/lib/qgis/libdelimitedtextprovider.so +usr/lib/qgis/libgeorefplugin.so +usr/lib/qgis/libgpsimporterplugin.so +usr/lib/qgis/libgpxprovider.so +usr/lib/qgis/libgridmakerplugin.so +#usr/lib/qgis/liblauncherplugin.so +usr/lib/qgis/libnortharrowplugin.so +usr/lib/qgis/libogrprovider.so +usr/lib/qgis/libpggeoprocessingplugin.so +usr/lib/qgis/libpostgresprovider.so +usr/lib/qgis/libscalebarplugin.so +usr/lib/qgis/libspitplugin.so +usr/lib/qgis/libwfsplugin.so +usr/lib/qgis/libwfsprovider.so +usr/lib/qgis/libwmsprovider.so +usr/share/qgis/doc/* usr/share/doc/qgis +#usr/share/man/* +usr/share/pixmaps/* +usr/share/qgis/doc/* +usr/share/qgis/i18n/* +usr/share/qgis/images/* +/usr/share/qgis/python/* +usr/share/qgis/resources/* +usr/share/qgis/svg/* +usr/share/qgis/themes/* diff --git a/debian/qgis.menu b/debian/qgis.menu new file mode 100644 index 000000000000..407e5f9dfdff --- /dev/null +++ b/debian/qgis.menu @@ -0,0 +1,3 @@ +?package(qgis):needs="X11" section="Apps/Science"\ + icon="/usr/share/pixmaps/qgis-icon.xpm" title="QGIS"\ + command="/usr/bin/qgis" diff --git a/debian/qgis.postinst.debhelper b/debian/qgis.postinst.debhelper new file mode 100644 index 000000000000..8637a4e44758 --- /dev/null +++ b/debian/qgis.postinst.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_installmenu +if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi +# End automatically added section diff --git a/debian/qgis.postrm.debhelper b/debian/qgis.postrm.debhelper new file mode 100644 index 000000000000..2b4be4f27021 --- /dev/null +++ b/debian/qgis.postrm.debhelper @@ -0,0 +1,3 @@ +# Automatically added by dh_installmenu +if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi +# End automatically added section diff --git a/debian/qgis.substvars b/debian/qgis.substvars new file mode 100644 index 000000000000..46602b4a2cfc --- /dev/null +++ b/debian/qgis.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.6-1), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.2.1), libgdal1-1.4.0, libgeos2c2a (>= 2.2.3), libgsl0 (>= 1.4), libice6 (>= 1:1.0.0), libpng12-0 (>= 1.2.13-4), libpq5, libqt4-core (>= 4.3.1), libqt4-gui (>= 4.3.1), libqt4-qt3support (>= 4.3.1), libqt4-sql (>= 4.3.1), libsm6, libsqlite3-0 (>= 3.4.2), libstdc++6 (>= 4.2.1), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxi6, libxinerama1, libxrandr2 (>= 2:1.2.0), libxrender1, proj, python2.5 (>= 2.5), zlib1g (>= 1:1.2.3.3.dfsg-1) diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000000..18f63a3a765c --- /dev/null +++ b/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +CMakeCache.txt: CMakeLists.txt + dh_testdir + # Add here commands to configure the package. + uudecode -o $(CURDIR)/src/plugins/georeferencer/pencil.png $(CURDIR)/debian/pencil.uu + cmake -D CMAKE_INSTALL_PREFIX=/usr -D GDAL_INCLUDE_DIR=/usr/include/gdal . + +build: patch build-stamp + +build-stamp: CMakeCache.txt + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f i18n/*.qm + rm -rf debian/tmp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + rm -f CMakeCache.txt + rm -f $(CURDIR)/src/plugins/georeferencer/pencil.png + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # Install menu pixmap + install -o root -g root -d $(CURDIR)/debian/tmp/usr/share/pixmaps + install -o root -g root -m 644 $(CURDIR)/debian/qgis-icon.xpm $(CURDIR)/debian/tmp/usr/share/pixmaps/qgis-icon.xpm + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installmenu + dh_installman -pqgis debian/gridmaker.1 + dh_installman -plibqgis1-dev debian/qgis-config.1 + dh_link + dh_strip + dh_compress --exclude=pdf + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install