Author: frankie
Date: 2007-04-06 11:45:42 +0000 (Fri, 06 Apr 2007)
New Revision: 721

Added:
   packages/thuban/trunk/debian/
   packages/thuban/trunk/debian/changelog
   packages/thuban/trunk/debian/compat
   packages/thuban/trunk/debian/control
   packages/thuban/trunk/debian/copyright
   packages/thuban/trunk/debian/dirs
   packages/thuban/trunk/debian/doc-base
   packages/thuban/trunk/debian/doc-base.de
   packages/thuban/trunk/debian/docs
   packages/thuban/trunk/debian/examples
   packages/thuban/trunk/debian/install
   packages/thuban/trunk/debian/links
   packages/thuban/trunk/debian/manpages
   packages/thuban/trunk/debian/menu
   packages/thuban/trunk/debian/patches/
   packages/thuban/trunk/debian/patches/00list
   packages/thuban/trunk/debian/patches/bitmappath.dpatch
   packages/thuban/trunk/debian/patches/locale.dpatch
   packages/thuban/trunk/debian/patches/setup.py.dpatch
   packages/thuban/trunk/debian/rules
   packages/thuban/trunk/debian/thuban.1
   packages/thuban/trunk/debian/watch
Removed:
   packages/thuban/trunk/Resources/Locale/de/LC_MESSAGES/thuban.mo
   packages/thuban/trunk/Resources/Locale/es/LC_MESSAGES/thuban.mo
   packages/thuban/trunk/Resources/Locale/fr/LC_MESSAGES/thuban.mo
   packages/thuban/trunk/Resources/Locale/hu/LC_MESSAGES/thuban.mo
   packages/thuban/trunk/Resources/Locale/it/LC_MESSAGES/thuban.mo
   packages/thuban/trunk/Resources/Locale/pt_BR/LC_MESSAGES/thuban.mo
   packages/thuban/trunk/Resources/Locale/ru/LC_MESSAGES/thuban.mo
Log:
[svn-inject] Applying Debian modifications to trunk

Deleted: packages/thuban/trunk/Resources/Locale/de/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Deleted: packages/thuban/trunk/Resources/Locale/es/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Deleted: packages/thuban/trunk/Resources/Locale/fr/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Deleted: packages/thuban/trunk/Resources/Locale/hu/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Deleted: packages/thuban/trunk/Resources/Locale/it/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Deleted: packages/thuban/trunk/Resources/Locale/pt_BR/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Deleted: packages/thuban/trunk/Resources/Locale/ru/LC_MESSAGES/thuban.mo
===================================================================
(Binary files differ)

Added: packages/thuban/trunk/debian/changelog
===================================================================
--- packages/thuban/trunk/debian/changelog      2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/changelog      2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,125 @@
+thuban (1.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Patchset updated.
+  * Policy bumped to 3.7.2 (no changes).
+
+ -- Francesco Paolo Lovergine <[EMAIL PROTECTED]>  Fri,  6 Apr 2007 13:41:13 
+0200
+
+thuban (1.1.0-1) experimental; urgency=low
+
+  * New upstream release
+    - Drop gdalwarp.cpp patch, no longer applies
+    - Drop de.po patch, no longer useful
+  * Build with and use wxWidgets 2.6, which supports GTK 2
+  * SWIG hack to be removed when wxWidgets includes wxPython.h (#326440)
+  * Move bitmappath.patch into a dpatch (wasn't being applied)
+  * Actually install the manual page
+  * Use debian/compat instead of DH_COMPAT
+  * Remove nostrip checking, dh_strip does that
+  * Actually pass CFLAGS to setup.py
+  * Always use -Wall -g in CFLAGS
+  * Check for noopt and use -O0, otherwise use -O2
+  * Remove extraneous whitespace and comments in debian/rules
+  * Revamp debian/copyright information, inc. FSF address update
+  * Install create_epsg.py into the package
+  * Build and install the English and German manuals
+  * Ship the NEWS file, don't ship an extra copy of the dtd
+  * Some minor debian/ cleanups
+
+ -- Paul Wise <[EMAIL PROTECTED]>  Mon, 27 Mar 2006 15:41:11 +0800
+
+thuban (1.0.1-1) unstable; urgency=high
+
+  [ Francesco Paolo Lovergine ]
+
+  * New upstream release.
+    (closes: #288077, #307758, #313843)
+  * Changed upstream to DebianGis Team. Silke and me added as uploaders.
+  * Urgency due to brokeness of the package in sid.
+  * Added home page URL to long description.
+  * Changed build-dep to reflect current ones in sid:
+       libgdal1-1.3.1-dev
+        python-wxgtk2.4
+        wx2.4-headers
+    (closes: #334219)
+  * Added gdal-bin dependency
+    (closes: #328239)
+  * Moved to dpatch support and removed basic cdbs patchsys.
+    (The rules file used dh_rules directly, anyway)
+    Imported the two previuos patches.
+  * Added gdalwarp.cpp.dpatch patch (still to be merged upstream)
+    (closes: #298403)
+  * Patched po/de.po with de.po.dpatch.
+    (closes: #313843)
+  * dh_installmanpages is obsolete -> dh_installman
+  * Removing build-time .mo files during clean
+
+ -- Francesco Paolo Lovergine <[EMAIL PROTECTED]>  Wed,  1 Feb 2006 20:02:40 
+0100
+
+thuban (1.0.0-1) unstable; urgency=low
+
+  * New upstream release (Closes:#234975)
+  * added build-dep from cbds for patching thuban
+  * added multilanguage support
+
+ -- Silke Reimer <[EMAIL PROTECTED]>  Wed, 28 Jan 2004 12:47:34 +0100
+
+thuban (1.0rc1-1) unstable; urgency=low
+
+  * New upstream release
+  * added gdal-support (Closes:#221645)
+  * New upstream versions solves also partly Bug#220295, i.e. listing
+    also shapefiles with *.SHP in open dialog.
+
+ -- Silke Reimer <[EMAIL PROTECTED]>  Wed, 10 Sep 2003 10:19:05 +0200
+
+thuban (0.9.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * deleted first row in Thuban/UI/[tree|main].py, containing #!-statement
+       since not necessary and leading to warning 'script-not-executable'
+
+ -- Silke Reimer <[EMAIL PROTECTED]>  Wed, 10 Sep 2003 10:19:05 +0200
+
+thuban (0.8.1-2) unstable; urgency=low
+
+  * all changes where necessary to be compliant with python 2.3. The last
+    three changes where made to be able to run all unittests successfully.
+    They doesn't effect the funcionality of thuban directly.
+  * debian/rules:
+    Removed hard-coded call to python2.2 since standard python is now
+    python2.3., closes: #205853
+  * Change in extensions/pyshapelib/dbflib_wrap.c:
+    After changing from python2.2 to python 2.3 PyMapping_Check doesn't work
+    any more. So PySequence_Check has to be used instead
+  * test/support.py:
+    little change in class definition due to change to python2.3
+  * test/test_save.py:
+    changed call of function say_eventlist. Causes an failure for
+    'if 1:' otherwise
+  * Thuban/Model/table.py:
+    change of storage of dbf-filename, otherwise there is an failure in
+    the unittests.
+  * debian/control:
+    - changed priority to 'extra' since proj has priority 'extra' and
+      according to policy a package MUST NOT depend on packages with lower
+      priority values
+       - added missing dependency on python-xmlbase, closes: #206382
+
+ -- Silke Reimer <[EMAIL PROTECTED]>  Wed, 20 Aug 2003 15:03:46 +0200
+
+thuban (0.8.1-1) unstable; urgency=low
+
+  * Initial Release.
+  * Change in setup.py: Adjusted path to proj4 from /usr/local/ to /usr/
+  * setup.py: changed dir for Bitmaps since they have to placed in /usr/share
+  * in Thuban/UI/resource.py: changed bitmapdir (the bitmap search path) 
+       to /usr/share/thuban/Resources/Bitmaps
+  * in Thuban/Model/resource.py: changed projdir (the location for the default 
+       projections) to /usr/share/thuban/Resources/Projections
+  * deleted first row in version.py and Model/range.py, containing #!-statement
+       since not necessary and leading to warning 'script-not-executable'
+
+ -- Silke Reimer <[EMAIL PROTECTED]>  Mon, 21 Jul 2003 15:16:39 +0200
+

Added: packages/thuban/trunk/debian/compat
===================================================================
--- packages/thuban/trunk/debian/compat 2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/compat 2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1 @@
+4

Added: packages/thuban/trunk/debian/control
===================================================================
--- packages/thuban/trunk/debian/control        2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/control        2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,20 @@
+Source: thuban
+Section: graphics
+Priority: extra
+Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
+Uploaders: Silke Reimer <[EMAIL PROTECTED]>, Francesco Paolo Lovergine <[EMAIL 
PROTECTED]>
+Build-Depends: debhelper (>> 4.1.25), python-dev, python-wxgtk2.6, proj, 
python-xmlbase, libgdal1-dev, dpatch, wx2.6-headers, libwxgtk2.6-dev, 
docbook-utils
+Standards-Version: 3.7.2
+
+Package: thuban
+Architecture: any
+Depends: ${shlibs:Depends},  ${python:Depends}, python-wxgtk2.6, python-sqlite 
(>= 0.4), python-xmlbase, gdal-bin (>= 1.3.1-1)
+Recommends: python-psycopg, python-gdal
+Description: an interactive geographic data viewer 
+ Thuban can read geographic data in the shapefile format. Main features of
+ thuban are the layer management and the possibility to navigate on the
+ map, to control the visual appearance of objects, to identify and edit
+ attributes by object selection and to print and export the resulting maps
+ for further processing.
+ .
+  Homepage: http://thuban.intevation.org

Added: packages/thuban/trunk/debian/copyright
===================================================================
--- packages/thuban/trunk/debian/copyright      2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/copyright      2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,119 @@
+This package was debianized by Silke Reimer <[EMAIL PROTECTED]> on
+Tue, 26 Nov 2002 09:06:49 +0100.
+
+It was downloaded from ftp://intevation.de/thuban/
+
+Upstream Author: Intevation GmbH <[EMAIL PROTECTED]>
+
+Copyright:
+
+   Copyright 2001, 2002, 2003, 2004, 2005 Intevation GmbH
+   Copyright 1997, 1998, 2000, 2001, 2003 Bernhard Herzog
+
+Translations:
+
+   Copyright 2003 Bjoern Broscheit
+   Copyright 2004 Norbert Solymosi
+   Copyright 2003 Maurizio Napolitano.
+   Copyright 2003 Alex Shevlakov
+
+pyprojection:
+
+   Copyright 2001 Meridian Environmental Technology, Inc
+
+gdalwarp.cpp:
+
+   Copyright 2002 i3 - information integration and imaging Fort Collin, CO
+
+shapelib:
+
+   Copyright 1999, 2001 Frank Warmerdam
+
+Licence:
+
+   This package 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; version 2 or later.
+
+   This package 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.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+pyprojection:
+
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions
+   are met:
+
+     1. Redistributions of source code must retain the above copyright
+        notice, this list of conditions and the following disclaimer.
+     2. Redistributions in binary form must reproduce the above copyright
+        notice, this list of conditions and the following disclaimer in the
+        documentation and/or other materials provided with the distribution.
+
+   THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+   ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+   FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+   OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+   OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+   SUCH DAMAGE.
+
+gdalwarp.cpp:
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included
+   in all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+   DEALINGS IN THE SOFTWARE.
+
+shapelib:
+
+   This software is available under the following "MIT Style" license,
+   or at the option of the licensee under the LGPL (see LICENSE.LGPL).  This
+   option is discussed in more detail in shapelib.html.
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included
+   in all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+   DEALINGS IN THE SOFTWARE.
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.

Added: packages/thuban/trunk/debian/dirs
===================================================================
--- packages/thuban/trunk/debian/dirs   2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/dirs   2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1 @@
+usr/share/doc/thuban/images

Added: packages/thuban/trunk/debian/doc-base
===================================================================
--- packages/thuban/trunk/debian/doc-base       2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/doc-base       2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,9 @@
+Document: thuban
+Title: User's Manual for Thuban
+Author: Jonathan Coles, Jan-Oliver Wagner and Frank Koormann
+Abstract: Manual for users of Thuban, an interactive geographic data viewer.
+Section: Apps/Viewers
+
+Format: HTML
+Index: /usr/share/doc/thuban/thuban-manual/index.html
+Files: /usr/share/doc/thuban/thuban-manual/*.html

Added: packages/thuban/trunk/debian/doc-base.de
===================================================================
--- packages/thuban/trunk/debian/doc-base.de    2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/doc-base.de    2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,9 @@
+Document: thuban.de
+Title: German user's Manual for Thuban
+Author: Jonathan Coles, Jan-Oliver Wagner and Frank Koormann
+Abstract: Manual for German users of Thuban, an interactive geographic data 
viewer.
+Section: Apps/Viewers
+
+Format: HTML
+Index: /usr/share/doc/thuban/thuban-manual-de/index.html
+Files: /usr/share/doc/thuban/thuban-manual-de/*.html

Added: packages/thuban/trunk/debian/docs
===================================================================
--- packages/thuban/trunk/debian/docs   2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/docs   2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1,4 @@
+README
+NEWS
+Doc/manual/thuban-manual
+Doc/manual/thuban-manual-de

Added: packages/thuban/trunk/debian/examples
===================================================================
--- packages/thuban/trunk/debian/examples       2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/examples       2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1 @@
+Examples/simple_extensions

Added: packages/thuban/trunk/debian/install
===================================================================
--- packages/thuban/trunk/debian/install        2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/install        2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,2 @@
+Doc/manual/images/*.png usr/share/doc/thuban/images
+devtools/create_epsg.py usr/lib/thuban

Added: packages/thuban/trunk/debian/links
===================================================================
--- packages/thuban/trunk/debian/links  2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/links  2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1 @@
+usr/lib/thuban/create_epsg.py usr/bin/create_epsg

Added: packages/thuban/trunk/debian/manpages
===================================================================
--- packages/thuban/trunk/debian/manpages       2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/manpages       2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1 @@
+debian/thuban.1

Added: packages/thuban/trunk/debian/menu
===================================================================
--- packages/thuban/trunk/debian/menu   2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/menu   2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1,2 @@
+?package(thuban):needs="X11" section="Apps/Viewers"\
+  title="thuban" command="/usr/bin/thuban"

Added: packages/thuban/trunk/debian/patches/00list
===================================================================
--- packages/thuban/trunk/debian/patches/00list 2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/patches/00list 2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,3 @@
+locale
+setup.py
+bitmappath

Added: packages/thuban/trunk/debian/patches/bitmappath.dpatch
===================================================================
--- packages/thuban/trunk/debian/patches/bitmappath.dpatch      2007-04-06 
11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/patches/bitmappath.dpatch      2007-04-06 
11:45:42 UTC (rev 721)
@@ -0,0 +1,42 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## bitmappath.dpatch by Paul Wise <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad thuban-1.2.0~/Thuban/Model/resource.py 
thuban-1.2.0/Thuban/Model/resource.py
+--- thuban-1.2.0~/Thuban/Model/resource.py     2007-04-06 13:38:35.000000000 
+0200
++++ thuban-1.2.0/Thuban/Model/resource.py      2007-04-06 13:39:37.000000000 
+0200
+@@ -27,8 +27,14 @@
+ from Thuban.Model.proj import Projection, ProjFile
+ from xml.sax import SAXParseException
+ 
+-projdir = \
+-        os.path.join(Thuban.__path__[0], os.pardir, "Resources", 
"Projections")
++# The directory where the default projections are stored has to be changed
++# for
++# the debian package to be conformant with the FHS
++#projdir = \
++#        os.path.join(Thuban.__path__[0], os.pardir, "Resources", 
"Projections")
++projdir = "/usr/share/thuban/Resources/Projections"
++
++
+ 
+ 
+ PROJ_EXT = ".proj"
+diff -urNad thuban-1.2.0~/Thuban/UI/resource.py 
thuban-1.2.0/Thuban/UI/resource.py
+--- thuban-1.2.0~/Thuban/UI/resource.py        2007-04-06 13:38:35.000000000 
+0200
++++ thuban-1.2.0/Thuban/UI/resource.py 2007-04-06 13:40:55.000000000 +0200
+@@ -18,7 +18,10 @@
+ import wx
+ 
+ 
+-bitmapdir = os.path.join(Thuban.__path__[0], os.pardir, "Resources", 
"Bitmaps")
++# The directory where the toolbar icons are stored has to be changed for
++# the debian package to be conformant with the FHS
++#bitmapdir = os.path.join(Thuban.__path__[0], os.pardir, "Resources", 
"Bitmaps")
++bitmapdir = "/usr/share/thuban/Resources/Bitmaps"
+ bitmap_extensions = {wx.BITMAP_TYPE_XPM: ".xpm",
+                      wx.BITMAP_TYPE_ANY: ""}
+ 


Property changes on: packages/thuban/trunk/debian/patches/bitmappath.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/thuban/trunk/debian/patches/locale.dpatch
===================================================================
--- packages/thuban/trunk/debian/patches/locale.dpatch  2007-04-06 11:45:00 UTC 
(rev 720)
+++ packages/thuban/trunk/debian/patches/locale.dpatch  2007-04-06 11:45:42 UTC 
(rev 721)
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## locale.dpatch by Francesco Paolo Lovergine <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad thuban-1.1.0~/Thuban/__init__.py thuban-1.1.0/Thuban/__init__.py
+--- thuban-1.1.0~/Thuban/__init__.py   2005-07-06 00:56:28.000000000 +0800
++++ thuban-1.1.0/Thuban/__init__.py    2006-03-27 11:46:43.000000000 +0800
+@@ -41,8 +41,12 @@
+ 
+ # Thedirectory holding the translation files (actually they're in
+ # language specific subdirectories of _message_dir)
+-_message_dir = os.path.join(os.path.dirname(__file__), os.pardir, "Resources",
+-                            "Locale")
++
++# The directory where the default projections are stored has to be changed
++# for the debian package to be conformant with the FHS
++#_message_dir = os.path.join(os.path.dirname(__file__), os.pardir, 
"Resources",
++#                            "Locale")
++_message_dir = "/usr/share/thuban/Resources/Locale"
+ 
+ def _(s):
+     """Return a localized version of the the string s


Property changes on: packages/thuban/trunk/debian/patches/locale.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/thuban/trunk/debian/patches/setup.py.dpatch
===================================================================
--- packages/thuban/trunk/debian/patches/setup.py.dpatch        2007-04-06 
11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/patches/setup.py.dpatch        2007-04-06 
11:45:42 UTC (rev 721)
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## setup.py.dpatch by Francesco Paolo Lovergine <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad thuban-1.2.0~/setup.py thuban-1.2.0/setup.py
+--- thuban-1.2.0~/setup.py     2007-04-06 13:36:16.000000000 +0200
++++ thuban-1.2.0/setup.py      2007-04-06 13:37:56.000000000 +0200
+@@ -47,7 +47,7 @@
+     # Unix like system.
+    
+     # Directories where Proj4 is installed
+-    proj4_prefix = "/usr/local/"
++    proj4_prefix = "/usr/"
+     proj4_incdir =  os.path.join(proj4_prefix, "include")
+     proj4_libdir =  os.path.join(proj4_prefix, "lib")
+     proj4_lib = "proj"
+@@ -1193,7 +1193,7 @@
+                   # same directory.
+                   "install_lib": "$base/lib/thuban",
+                   "install_scripts": "$base/lib/thuban",
+-                  "install_data": "$base/lib/thuban",
++                  "install_data": "$prefix/share/thuban",
+                   # Don't print warning messages about the lib dir not
+                   # being on Python's path. The libraries are Thuban
+                   # specific and are installed just for Thuban. They'll


Property changes on: packages/thuban/trunk/debian/patches/setup.py.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/thuban/trunk/debian/rules
===================================================================
--- packages/thuban/trunk/debian/rules  2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/rules  2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+include /usr/share/dpatch/dpatch.make
+
+build: patch build-stamp
+build-stamp: 
+       dh_testdir
+       CFLAGS="$(CFLAGS)" python setup.py build_ext --use-wx-python-swig-hack
+       make -C po mo
+       make -C Doc/manual man-html man-html-de
+       # Needs external data, many failures
+       # cd test ; python runtests.py
+       touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched: 
+       dh_testdir
+       dh_testroot
+       python setup.py clean
+       find $(CURDIR) -name "*.mo" -exec rm -f {} \;
+       rm -f build-stamp 
+       rm -rf build Doc/manual/thuban-manual Doc/manual/thuban-manual-de
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean 
+       dh_installdirs
+       python setup.py install --prefix=/usr --no-compile 
--root=$(CURDIR)/debian/thuban
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_install
+       dh_installdocs
+       dh_installexamples
+       dh_installmenu
+       dh_installman
+       dh_installchangelogs 
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_python
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-arch
+.PHONY: build clean binary-arch binary install clean-patched clean patch 
unpatch


Property changes on: packages/thuban/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/thuban/trunk/debian/thuban.1
===================================================================
--- packages/thuban/trunk/debian/thuban.1       2007-04-06 11:45:00 UTC (rev 
720)
+++ packages/thuban/trunk/debian/thuban.1       2007-04-06 11:45:42 UTC (rev 
721)
@@ -0,0 +1,48 @@
+.TH THUBAN 1 "July  28, 2003"
+.\" 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 <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+thuban \- interactive geographic data viewer
+.SH SYNOPSIS
+.B thuban
+.RI [thuban-session-file]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B thuban
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+\fBthuban\fP is an interactiv geographic data viewer. Thuban can read
+geographic data in the shapefile format. To control the visual appearance
+of a layer you have to select the layer in the session window of thuban.
+Afterwards you can change the layers color with the Layer-menu.
+.PP
+You can load the layers table with the Layer-table-menu. Afterwards you can
+query the table for feature selection. You can also load new tables with
+the Table-menu and make a table join to the current layer table.
+.PP
+Maps can be printed or exported to the PS-format by Map/print.
+.PP
+All changes can be saved in a thuban session file. If a thuban session file
+has been indicated on command line it will be loaded by thuban. If no
+thuban session file has been given thuban starts with a new session.
+
+.SH SEE ALSO
+http://thuban.intevation.org/
+.SH AUTHOR
+Thuban was written by Intevation GmbH, \fB<[EMAIL PROTECTED]>
+.PP
+This manual page was written by Silke Reimer <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
+.SH COPYRIGHT
+Thuban may be copied and modified under te terms of
+\s-1GNU\s0 General Public License.

Added: packages/thuban/trunk/debian/watch
===================================================================
--- packages/thuban/trunk/debian/watch  2007-04-06 11:45:00 UTC (rev 720)
+++ packages/thuban/trunk/debian/watch  2007-04-06 11:45:42 UTC (rev 721)
@@ -0,0 +1,2 @@
+version=2
+ftp://intevation.de/thuban/Thuban-(.*)\.tar\.gz        debian  uupdate


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to