[DebianGIS-dev] Bug#598706: grass-dev should depend on libgdal1-dev

2010-10-01 Thread Hamish
Package: grass-dev
Version: 6.4.0~rc6+42329-1
Severity: minor

Hi,

as reported on the UbuntuGIS mailing list,
  http://lists.osgeo.org/pipermail/ubuntu/2010-September/000247.html

building some GRASS addons fails because the grass-dev package does
not depend on the libgdal1-dev package, only libproj-dev. I'm not sure
if we really have to have it depend on all of grass's many
build-depends, but gdal's -dev is a biggie.

as a way of audit, maybe run:
  ldd /usr/lib/grass64/libgrass_*.so | grep '=' | \
  cut -f1 -d'=' | sort | uniq

I don't think we need to depend on all of those, but we shoudln't have
to depend on anything more than those.


Hamish



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


[DebianGIS-dev] Bug#589789: gpsdrive-scripts: geo-code should use /bin/bash

2010-10-01 Thread Hamish
as noted at
 https://bugs.edge.launchpad.net/ubuntu/+source/gpsdrive/+bug/325288

{{{
the geo-code script was dropped in SVN almost 19 months ago.
http://gpsdrive.svn.sourceforge.net/viewvc/gpsdrive?view=revisionrevision=2204

closing upstream ticket as fixed.
}}}


the debian package is wildly out of date.

the new upstream release is 2.11, and the debian/ rules at
  http://gpsdrive.svn.sourceforge.net/viewvc/gpsdrive/trunk/debian/

are mostly functional, if not pedantically lintian clean.


aka as soon as a new version is uploaded, this bug can be closed.


regards,
Hamish



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


[DebianGIS-dev] Bug#598706: Bug#598706: grass-dev should depend on libgdal1-dev

2010-10-01 Thread Hamish
Francesco wrote:
 Well one rigourously does not need to depend on gdal/ogr
 stuff to build grass addons, but that could help.

fwiw, a grep suggests the original poster was trying to install one of the 
r.stream.* addons.

looking through the results of:
$ cd /usr/lib/grass64/include/grass/
$ grep include *.h */*.h| cut -f2 -d: | sort | uniq | grep '^#'

besides some OpenGL, X11 and Xm stuff probably only used by
built-in GUI components  nviz, it is really only gdal and geos
(if built with geos support) that I can see which are non-standard
includes.

mostly it is lib/libgrass_vect.so (vector library) which wants
everything. libgrass_gis.so (the main lib) is very self-contained.


Hamish



  



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


Re: [DebianGIS-dev] [DebianGIS] Bug#588812: Debian GIS metapackages available [Was: debian-gis_0.0.1_i386.changes ACCEPTED]

2010-09-29 Thread Hamish
  Andreas:
   So what do you think about my suggestions to make Debian GIS more
   popular than it currently is?
Hamish:
  come on now, we are all intelligent people worthy of mutual respect.
 
 I'm sorry if I have made an impression which might have questioned this.
 It was not intended to disrespect your work.  Rather the contrary:
 Because I highly respect your work I think it deserves more popularity.

Sorry if I come off a bit grumpy :) you just happened to step on one of
my pet peeves at the wrong moment. For the most part I fully agree with
your efforts, the bit I dislike about the phrasing is the implication that
if one disagrees with the point they are being anti-project. While your
comment was friendly  light-hearted, maybe the best+worst bullying example
of this in common sight is the USA's rather unpatriotic PATRIOT Act.


 The more part is that I'm having the hope that the list
 will not only get a new name (and home)

(by 'home' I take it you mean @lists.d.o instead of @alioth.d.o server?)


 but turns into a medium where we actively can attract users (and later
 developers) better than before.

among those who frequent the lists of debian lists, yes, and that is not
a bad crowd to be exposed to.


 This year at Bordeaux LSM she told me:
 
I have heard that Debian has decided to package Qgis.  That would
be really cool.
 
 So what to say?  My first point is that she did not understand the
 Do-O-cracy principle in Debian.  Not Debian has decided but one (or
 more) developers just have done something (packaging Qgis).

my first impressions on that comment are
- great, geographers are demanding qgis!
- really it is more correct to say that qgis has returned..
- really is that communication channels with upstream had drifted away
- I'd forgive the debian executive has made a decision to package qgis
as it is quite a strange notion to outsiders who are used to corporations
or top-down NGOs. I really struggle to name any other bottom-up org as
successful and functional (no, I mean it :) as debian.


 If she is using stable she might not have noticed that qgis is in
 testing and obviosely has not checked the Deban website or any other
 medium to verify that there are just packages (which might be easy to
 backport or not).  So she simply failed to get the information
 she was seeking.

and yet she did hear of it from somewhere anyway..?


 If there would be a list which is obviosely accepting questions like:
 How can I run Qgis under Debian?  she might have gotten help.

there is one, two actually if you include UbuntuGIS, and three if you
include the qgis list(s), and many more if you include the local osgeo
chapters and international osgeo lists.

I fully agree that lowering the barriers to entry are important.



http://blends.debian.net/liststats/authorstat_med.png
 against
http://blends.debian.net/liststats/authorstat_pkg-grass-general.png
 
 you will see a contrary development of active users on the list.

grain of salt: you must put that graph in perspective with the rise
of the OSGeo movement, which often informally communicates things which
would otherwise find a home here. Or maybe Frankie is just so damn
efficient and everything works that we don't get many complaints :o)
aka determining causation is a difficult call.


 Debian Med has gathered active users over time and I can say that
 we do not just gathered commiters to the list but we have *at least*
 six new DDs *because* the Debian Med project exists (and some more are
 in the queue).  For all of them the Debian Med project and the mailing
 list was the main entry point.  It also serves as contact point
 for upstream developers.

I congratulate you on that, by any measure of success that is a healthy
situation to be in.

but does FOSS 4 Med have an equivalent to OSGeo already filling that niche?


 The tendency on the pkg-grass-general list is rather contrary.  I do not
 want to say that it is just a question of the name of the list.  But I
 know for sure from the example above (and others not mentioned here) that
 a pure packaging list on Alioth is not a good entry point to start.

Perhaps that's where our miscommunication lies, I've still been thinking
of it as mostly a packaging dev list, as opposed to say an osgeo-disc...@.
(not that I have any strong feeling of what it should be, just observation
on what it has been)


  i.e. people heavily using the packages are the best dev pool, and they
  already know about us since looking at a package status or filing a bug.
 
 That's for sure.  But did you gave users a reason to use Debian packages
 and not Ubuntu, Fedora, OpenSuse, etc.? 

should I? If we are doing our jobs well Ubuntu gains and takes some credit
for it, but I'm not too worried about that, they help us too. It's not a
zero-sum game so I'm not too concerned about poaching users from other
distros. I'd rather poach unhappy refugees from other OSs by way of better
software.


 Do you think that you have

Re: [DebianGIS-dev] [DebianGIS] Bug#588812: Debian GIS metapackages available [Was: debian-gis_0.0.1_i386.changes ACCEPTED]

2010-09-27 Thread Hamish
Andreas:
 So what do you think about my suggestions to make Debian GIS more
 popular than it currently is?

come on now, we are all intelligent people worthy of mutual respect. please
let's have a reasonable discussions without reverting to lame rhetorical
devices and trolling.

So what are the suggestion(s) we are talking about??  I take it you just
mean to rename pkg-grass-gene...@lists.alioth.d.o to debian...@lists.d.o
and pkg-grass-de...@lists.alioth.d.o to debiangis-com...@lists.d.o?

anything else?


 I think it is a shame that Debian GIS is quite unknown to potentially
 interested persons and please trust me:  I asked a lot of people when I
 did talks about Blends and mentioned Debian GIS as a
 potential Blend - there was nobody aware of this project whereever I
 asked.  And there where people around which are working with GIS
 software.

any interested person looking at the apt-cache info of any of our packages
will clearly see who the maintainer is.. I would not think that renaming
the mailing lists would harm our exposure, but I think it's somewhat
optimistic to think that that it will bring us too many new committers.

i.e. people heavily using the packages are the best dev pool, and they
already know about us since looking at a package status or filing a bug.


 I also continue to think that we should try to involve OSM into
 the Debian GIS project.

the door is always open to anyone who wants to show up.. all are welcome.

In my experience working with both sides, there exists a slightly
different community between the DebianGIS/OSGeo crowd and the OSM crowd.
Not that it is good or bad, and many of us know people from both so it
is easy to cc an email when needed, but just my 2c observation.


 This all makes IMHO a lot of sense to discuss on a mailing list and

of course, ... (isn't that what we're doing?)

 especially if we are in the process of a release mentioning such a
 mailing list in the release notes would give the project a lot of
 attention and probably new supporters.

anywhere the -k12/-edu, -med, etc. projects are mentioned it makes sense
to mention DebianGIS too, with the wiki page as the primary point of
contact. I'm not sure how that is not already covered and how any mailing
list changes would alter that..?



For my part, I do not object to renaming the mailing list to something
more relevant, but with 3 conditions:


*** the mailing list history is preserved

Alexander Wirt wrote:
  Its no problem to import old mails if the come in a common format like
  mbox. 

(I assume the Alioth admins are willing and able to provide the mbox file?)



*** Right now this list sends me _zero_ spam. I would be rather unhappy
if that were no longer the case and I was forced to set up a local
spamassassin instance to deal with it, and have to dig through spam when
searching through the archives.



*** the pkg-grass-devel list be renamed debiangis-commit (i.e. what it is)
to stop the confusion there of humans posting to that list.



thanks,
Hamish



  

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


[DebianGIS-dev] r2933 - packages/opencpn/trunk/debian

2010-09-22 Thread hamish-guest
Author: hamish-guest
Date: 2010-09-22 08:48:47 + (Wed, 22 Sep 2010)
New Revision: 2933

Modified:
   packages/opencpn/trunk/debian/control
   packages/opencpn/trunk/debian/rules
Log:
back out dpatch attempt

Modified: packages/opencpn/trunk/debian/control
===
--- packages/opencpn/trunk/debian/control   2010-09-21 14:54:37 UTC (rev 
2932)
+++ packages/opencpn/trunk/debian/control   2010-09-22 08:48:47 UTC (rev 
2933)
@@ -3,9 +3,8 @@
 Priority: optional
 Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org
 Uploaders: Anton Martchukov an...@martchukov.com
-Build-Depends: debhelper (= 7.0.50~), dpatch, cmake, libglu-dev,
-   libwxbase2.8-dev, libwxgtk2.8-dev, libgtk2.0-dev, zlib1g-dev,
-   libbz2-dev, libgps-dev
+Build-Depends: debhelper (= 7.0.50~), cmake, libglu-dev, libwxbase2.8-dev,
+   libwxgtk2.8-dev, libgtk2.0-dev, zlib1g-dev, libbz2-dev, libgps-dev
 Standards-Version: 3.8.4
 Homepage: http://www.opencpn.org/
 

Modified: packages/opencpn/trunk/debian/rules
===
--- packages/opencpn/trunk/debian/rules 2010-09-21 14:54:37 UTC (rev 2932)
+++ packages/opencpn/trunk/debian/rules 2010-09-22 08:48:47 UTC (rev 2933)
@@ -9,7 +9,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
 
 %:
dh  $@


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


[DebianGIS-dev] r2921 - packages/opencpn/trunk/debian

2010-09-07 Thread hamish-guest
Author: hamish-guest
Date: 2010-09-08 00:25:21 + (Wed, 08 Sep 2010)
New Revision: 2921

Modified:
   packages/opencpn/trunk/debian/control
   packages/opencpn/trunk/debian/rules
Log:
need dpatch; don't need imagemagick

Modified: packages/opencpn/trunk/debian/control
===
--- packages/opencpn/trunk/debian/control   2010-09-05 06:27:42 UTC (rev 
2920)
+++ packages/opencpn/trunk/debian/control   2010-09-08 00:25:21 UTC (rev 
2921)
@@ -3,7 +3,9 @@
 Priority: optional
 Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org
 Uploaders: Anton Martchukov an...@martchukov.com
-Build-Depends: debhelper (= 7.0.50~), cmake, libglu-dev, libwxbase2.8-dev, 
libwxgtk2.8-dev, libgtk2.0-dev, imagemagick, zlib1g-dev, libbz2-dev, libgps-dev
+Build-Depends: debhelper (= 7.0.50~), dpatch, cmake, libglu-dev,
+   libwxbase2.8-dev, libwxgtk2.8-dev, libgtk2.0-dev, zlib1g-dev,
+   libbz2-dev, libgps-dev
 Standards-Version: 3.8.4
 Homepage: http://www.opencpn.org/
 
@@ -12,8 +14,8 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}, libgps19
 Suggests: gpsd
 Description: a concise ChartPlotter/Navigator
- opencpn is a cross-platform ship-borne GUI ChartPlotter
- application supporting
+ OpenCPN is a cross-platform ship-borne GUI chart plotter
+ application supporting:
  .
  * GPS/GPDS Postition Input
  * BSB Raster Chart Display

Modified: packages/opencpn/trunk/debian/rules
===
--- packages/opencpn/trunk/debian/rules 2010-09-05 06:27:42 UTC (rev 2920)
+++ packages/opencpn/trunk/debian/rules 2010-09-08 00:25:21 UTC (rev 2921)
@@ -9,18 +9,21 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpatch/dpatch.make
+
 %:
dh  $@
 
 override_dh_install:
mkdir -p $(CURDIR)/debian/opencpn/usr/share/pixmaps
-   convert $(CURDIR)/data/opencpn.png -resize 32x32 
$(CURDIR)/debian/opencpn/usr/share/pixmaps/opencpn.xpm
+   cp $(CURDIR)/src/bitmaps/opencpn.xpm 
$(CURDIR)/debian/opencpn/usr/share/pixmaps/

dh_install

rm $(CURDIR)/debian/opencpn/usr/share/opencpn/license.txt
+   # why remove doc/ ?
rm -rf $(CURDIR)/debian/opencpn/usr/share/opencpn/doc
 
 
 override_dh_installman:
-   dh_installman debian/opencpn.1
\ No newline at end of file
+   dh_installman debian/opencpn.1


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


[DebianGIS-dev] Bug#594492: grass: Help - About content is missing in the wxPython GUI

2010-08-26 Thread Hamish
Package: grass
Version: 6.4.0~rc6+42329-1
Severity: normal

Hi,

as discussed on the DebianGIS mailing list, in the wxGUI Help - About GRASS
window the Authors, COPYING, etc. files are missing.

I believe this is because the debian grass package copies over the dirs in
$GISBASE/ that it needs, and the grass-doc package copies over the dirs
there that it needs, but nothing collects the text files left there.

suggestions:

- either symlink GPL.TXT into /usr/lib/grass/, or patch licfile in wxgui.py
line 1659 to look for /usr/share/common-licenses/GPL

- copy grass's COPYING file into /usr/lib/grass/ (this is a custom file, not
the generic GNU version)

- copy AUTHORS into /usr/lib/grass/

- copy all other regular files in the main dist.x86_64-unknown-linux-gnu/
build dir (CHANGES, REQUIREMENTS.html, contributors.csv, translators.csv)
to /usr/share/doc/grass/.

n.b. in grass 6.5+ the contributors.csv and translators.csv files will be
sourced from gui/wxpython/gui_modules/ghelp.py, so maybe it is worth putting
them in /usr/lib/grass/ now to avoid work later?


thanks,
Hamish



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


Re: [DebianGIS-dev] [DebianGIS] Ping: Changes in Debian GIS Blend stuff

2010-06-21 Thread Hamish
 my mail[1] to pkg-grass-devel about more or less highjacking
 their (orphaned) prepearation for metapackages in the Blends
 style did not triggered any response.

sorry, I missed the earlier email.

the blends pages look nice, thanks for setting it up. I had not
really heard of it much before now. If I may ask, how is this
different than the old -tasks metapackages beyond now with extra
bling? why can we expect them to be any more successful?
(I'll admit to still thinking about them as they were back in
the dselect days)


 The good news is that obviosely nobody is against my action
 and so I consider the move of the GIS Blends stuff to
   svn://svn.debian.org/blends/projects/gis
 as accepted. 

Add whatever new work you like- please do not slow down, but
kindly do not assume so much about other people's work and
interest after a single unanswered email!
 :)

 IMHO it would be a good idea to remove the old stuff from
 pkg-grass SVN and possibly set a svn:external property for
 those who might wonder what happened.

Do not do remove it, just add a README.Blends file or so pointing
to and explaining your Blends efforts.


Currently a number of the DebianGIS team are upstream maintainers
helping out and not DDs, with access to the svn via $username-
guest and alioth gforge group. I take it they(we) will be locked
out if the -task is moved to the blends svn area?


Currently the mainly maintained thing is the package list in the
DebianGis wiki.


regards,
Hamish
(about to head out to sea again for a few weeks, != apathy)


ps- check out http://live.osgeo.org


  

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


[DebianGIS-dev] Bug#585866: gpsdrive 2.10pre7 incompatible with gpsd 2.92+

2010-06-14 Thread Hamish
Package: gpsdrive
Version: 2.10svn2467.hb
Severity: important

Hi,

this is already well known, just filing it in the bug system for any
new users who run into it.

The version of GpsDrive currently in testing and sid are incompatible
with the version of gpsd currently in the same. gpsd changed their
API and removed backward compatibility with versions 2.92 and newer.

symptom is that the user never gets a gps lock.

the program still runs and you can use it in 'offline' explore mode
but that's not as much fun.

Ubuntu/Lucid also suffers from this incompatibility.

This is fixed in gpsdrive svn in the 2.11 stable branch and trunk
via a build switch.

2.10pre7 creates buggy OSM tile downloads and should be passed by in
favor of 2.11svn.

the version currently in debian and ubuntu (2.10pre4) is long out of date.


regards,
Hamish



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


[DebianGIS-dev] r2700 - packages/grass/trunk/debian

2010-02-13 Thread hamish-guest
Author: hamish-guest
Date: 2010-02-13 09:56:29 + (Sat, 13 Feb 2010)
New Revision: 2700

Modified:
   packages/grass/trunk/debian/changelog
   packages/grass/trunk/debian/control
   packages/grass/trunk/debian/control.in
Log:
suggest netpbm used by NVIZ max ppm export

Modified: packages/grass/trunk/debian/changelog
===
--- packages/grass/trunk/debian/changelog   2010-02-09 18:52:36 UTC (rev 
2699)
+++ packages/grass/trunk/debian/changelog   2010-02-13 09:56:29 UTC (rev 
2700)
@@ -1,3 +1,9 @@
+grass (6.4.0~rc5+40109-2) unstable; urgency=low
+
+  * Suggest NetPBM used by NVIZ max. PPM export
+
+ -- Hamish Bowman hamis...@yahoo.com  Sat, 13 Feb 2010 15:52:43 +1300
+
 grass (6.4.0~rc5+40109-1) unstable; urgency=low
 
   * New upstream snapshot taken from 6.4 branch. 

Modified: packages/grass/trunk/debian/control
===
--- packages/grass/trunk/debian/control 2010-02-09 18:52:36 UTC (rev 2699)
+++ packages/grass/trunk/debian/control 2010-02-13 09:56:29 UTC (rev 2700)
@@ -19,7 +19,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, xterm | x-terminal-emulator, ${misc:Depends}
 Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpsbabel, gpstrans,
- gnuplot, xml2, wget | curl, python-opengl, python-wxgtk2.8
+ gnuplot, xml2, wget | curl, python-opengl, python-wxgtk2.8, netpbm
 Recommends: python (= 2.5), python-numpy, ghostscript
 Provides: grass640-5+40109
 Description: Geographic Resources Analysis Support System 

Modified: packages/grass/trunk/debian/control.in
===
--- packages/grass/trunk/debian/control.in  2010-02-09 18:52:36 UTC (rev 
2699)
+++ packages/grass/trunk/debian/control.in  2010-02-13 09:56:29 UTC (rev 
2700)
@@ -19,7 +19,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, xterm | x-terminal-emulator, ${misc:Depends}
 Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpsbabel, gpstrans,
- gnuplot, xml2, wget | curl, python-opengl, python-wxgtk2.8
+ gnuplot, xml2, wget | curl, python-opengl, python-wxgtk2.8, netpbm
 Recommends: python (= 2.5), python-numpy, ghostscript
 Provides: gr...@abi@
 Description: Geographic Resources Analysis Support System 


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


[DebianGIS-dev] r2696 - in packages: . opencpn opencpn/trunk

2010-02-07 Thread hamish-guest
Author: hamish-guest
Date: 2010-02-07 22:45:56 + (Sun, 07 Feb 2010)
New Revision: 2696

Added:
   packages/opencpn/
   packages/opencpn/branches/
   packages/opencpn/tags/
   packages/opencpn/trunk/
   packages/opencpn/trunk/debian/
Log:
www.opencpn.org, debianization by Anton Martchukov


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


[DebianGIS-dev] Bug#550196: grass: If you wish to resize the X monitor, do so now.

2009-10-13 Thread Hamish
Package: grass
Followup-For: Bug #550196

Hi,


fyi this message:
=
If you wish to resize the X monitor, do so now. Window size is
locked while interactive modules are running.
=

is from the lib/init/grass-run.src - $GISBASE/etc/grass-run.sh
script which is used to run modules from the GUI which require
an X terminal to run. It also works around Debian's auth settings
of clearing LD_LIBRARY_PATH for spawned terms.


The gis.m Tcl/Tk startup GUI runs the g.setproj module to set
up new locations from user entered parameters. The g.setproj
module is an interactive terminal based program, so an xterm
is opened by gis_set.tcl with:

exec -- $env(GISBASE)/etc/grass-xterm-wrapper -name xterm-grass -e 
$env(GISBASE)/etc/grass-run.sh $env(GISBASE)/etc/set_data

Finally, debiangis/grass/trunk/debian/patches/xterm.dpatch ensures that
x-terminal-emulator will be the first term tried.


the problem could be that the LD_LIBRARY_PATH work-around is not
yet initialized at this point in the startup, or that gnome-terminal
is somehow abusing that.



Hamish



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


[DebianGIS-dev] r2401 - in packages: . mbsystem

2009-08-29 Thread hamish-guest
Author: hamish-guest
Date: 2009-08-29 14:32:17 + (Sat, 29 Aug 2009)
New Revision: 2401

Added:
   packages/mbsystem/
   packages/mbsystem/TODO
   packages/mbsystem/control
Log:
initial packaging for MB-System

Added: packages/mbsystem/TODO
===
--- packages/mbsystem/TODO  (rev 0)
+++ packages/mbsystem/TODO  2009-08-29 14:32:17 UTC (rev 2401)
@@ -0,0 +1,6 @@
+TODO: adapt these beginnings of a Debian build script into full packaging 
rules:
+
+https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/install_mb-system.sh
+
+
+

Added: packages/mbsystem/control
===
--- packages/mbsystem/control   (rev 0)
+++ packages/mbsystem/control   2009-08-29 14:32:17 UTC (rev 2401)
@@ -0,0 +1,20 @@
+Source: mbsystem
+Section: science
+Priority: optional
+Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org
+Uploaders: 
+Build-depends: libgmt-dev, lesstif2-dev, libnetcdf-dev, libglu1-mesa-dev, 
libgl1-mesa-dev
+Standards-Version: 
+Homepage: http://www.ldeo.columbia.edu/res/pi/MB-System/
+
+Package: mbsystem
+Section: science
+Architecture: any
+Depends: ${shlibs:Depends}, gmt, lesstif2, libnetcdf4, libgl1-mesa-glx, 
libglu1-mesa
+Suggests: ghostscript, xv
+Recommends: 
+Description: Processing tools for multibeam and sidescan sonar data
+ MB-System is an open source software package for the processing and
+ display of bathymetry and backscatter imagery data derived from
+ multibeam, interferometry, and sidescan sonars. It interacts with GMT
+ (The Generic Mapping Tools) and other GIS applications.


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


[DebianGIS-dev] r2402 - in packages/mbsystem: . patches

2009-08-29 Thread hamish-guest
Author: hamish-guest
Date: 2009-08-29 15:25:56 + (Sat, 29 Aug 2009)
New Revision: 2402

Added:
   packages/mbsystem/changelog
   packages/mbsystem/copyright
   packages/mbsystem/patches/
   packages/mbsystem/patches/00list
   packages/mbsystem/patches/install_makefiles.dpatch
   packages/mbsystem/patches/mbps_c_gmt431.dpatch
   packages/mbsystem/watch
Log:
a few more initial files

Added: packages/mbsystem/changelog
===
--- packages/mbsystem/changelog (rev 0)
+++ packages/mbsystem/changelog 2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,5 @@
+mbsystem (5.1.2beta11-0) UNRELEASED; urgency=low
+
+  * Initial packaging
+
+ -- Hamish Bowman hamish_b yahoo com  Sat, 29 Aug 2009 14:24:12 +1200

Added: packages/mbsystem/copyright
===
--- packages/mbsystem/copyright (rev 0)
+++ packages/mbsystem/copyright 2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,4 @@
+GPL 2
+
+http://www.ldeo.columbia.edu/res/pi/MB-System/html/gpl.html
+

Added: packages/mbsystem/patches/00list
===
--- packages/mbsystem/patches/00list(rev 0)
+++ packages/mbsystem/patches/00list2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,2 @@
+install_makefiles
+mbps_c_gmt431

Added: packages/mbsystem/patches/install_makefiles.dpatch
===
--- packages/mbsystem/patches/install_makefiles.dpatch  
(rev 0)
+++ packages/mbsystem/patches/install_makefiles.dpatch  2009-08-29 15:25:56 UTC 
(rev 2402)
@@ -0,0 +1,39 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## install_makefiles.dpatch by Hamish Bowman hamish_b yahoo com
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Makefile adjustments suitable for Debian
+
+...@dpatch@
+--- install_makefiles.ORIG  2009-08-27 23:53:46.0 +1200
 install_makefiles   2009-08-28 00:01:00.0 +1200
+@@ -97,21 +97,21 @@
+ #
+ # Required parameters:
+ $MBSYSTEM_HOME = /usr/share/mbsystem;
+-$OS = DARWIN;
++$OS = LINUX;
+ $CFLAGS = -g -I/usr/X11R6/include;
+-$LFLAGS = -Wl -lm -bind_at_load 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/LibGL.dylib;
+-$NETCDFLIBDIR = /sw/lib;
+-$NETCDFINCDIR = /sw/include;
+-$GMTLIBDIR = /usr/local/gmt/lib;
+-$GMTINCDIR = /usr/local/gmt/include;
++$LFLAGS = -Wl -lm;
++$NETCDFLIBDIR = /usr/lib;
++$NETCDFINCDIR = /usr/include;
++$GMTLIBDIR = /usr/lib;
++$GMTINCDIR = /usr/include/gmt;
+ $LEVITUS = $MBSYSTEM_HOME/share/LevitusAnnual82.dat;
+ $PROJECTIONS = $MBSYSTEM_HOME/share/Projections.dat;
+ #
+ # Required paramters for graphical tools
+ #   - graphical tools will not be built if these
+ # are commented out
+-$MOTIFINCDIR = /sw/include;
+-$MOTIFLIBS = -L/sw/lib -L/usr/X11R6/lib -lXm -lXt -lX11;
++$MOTIFINCDIR = /usr/include;
++$MOTIFLIBS = -L/usr/lib -L/usr/X11R6/lib -lXm -lXt -lX11;
+ #
+ # Required paramter for visualization tools
+ #   - visualization tools will not be built if this

Added: packages/mbsystem/patches/mbps_c_gmt431.dpatch
===
--- packages/mbsystem/patches/mbps_c_gmt431.dpatch  
(rev 0)
+++ packages/mbsystem/patches/mbps_c_gmt431.dpatch  2009-08-29 15:25:56 UTC 
(rev 2402)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## mbps_c_gmt431.dpatch by Hamish Bowman hamish_b yahoo com
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: allow to work with GMT older than version 4.5.0
+
+...@dpatch@
+--- src/utilities/mbps.c.ORIG   2009-08-28 00:21:17.0 +1200
 src/utilities/mbps.c2009-08-28 00:22:54.0 +1200
+@@ -842,10 +842,17 @@
+}
+
+/* initialize the Postscript plotting */
++#ifdef GMT_MINOR_VERSION
+ps_plotinit_hires(NULL,0,orient,x_off,y_off,1.0,1.0,1,300,1,
+gmtdefs.paper_width, gmtdefs.page_rgb, 
+gmtdefs.encoding.name, 
+GMT_epsinfo (argv[0]));
++#else
++   ps_plotinit(NULL,0,orient,x_off,y_off,1.0,1.0,1,300,1,
++   gmtdefs.paper_width, gmtdefs.page_rgb, 
++   gmtdefs.encoding.name, 
++   GMT_epsinfo (argv[0]));
++#endif
+GMT_echo_command (argc, argv);
+
+/* now loop over the data in the appropriate order

Added: packages/mbsystem/watch
===
--- packages/mbsystem/watch (rev 0)
+++ packages/mbsystem/watch 2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,5 @@
+version=
+ftp://ftp.ldeo.columbia.edu/pub/MB-System/mbsystem-( ??? ).tar.gz
+#
+# e.g. ftp

[DebianGIS-dev] r2403 - in packages/mbsystem: . trunk trunk/debian trunk/debian/patches

2009-08-29 Thread hamish-guest
Author: hamish-guest
Date: 2009-08-29 15:28:47 + (Sat, 29 Aug 2009)
New Revision: 2403

Added:
   packages/mbsystem/trunk/
   packages/mbsystem/trunk/debian/
   packages/mbsystem/trunk/debian/TODO
   packages/mbsystem/trunk/debian/changelog
   packages/mbsystem/trunk/debian/control
   packages/mbsystem/trunk/debian/copyright
   packages/mbsystem/trunk/debian/patches/
   packages/mbsystem/trunk/debian/watch
Removed:
   packages/mbsystem/TODO
   packages/mbsystem/changelog
   packages/mbsystem/control
   packages/mbsystem/copyright
   packages/mbsystem/patches/
   packages/mbsystem/watch
Log:
proper dir structure

Deleted: packages/mbsystem/TODO
===
--- packages/mbsystem/TODO  2009-08-29 15:25:56 UTC (rev 2402)
+++ packages/mbsystem/TODO  2009-08-29 15:28:47 UTC (rev 2403)
@@ -1,6 +0,0 @@
-TODO: adapt these beginnings of a Debian build script into full packaging 
rules:
-
-https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/install_mb-system.sh
-
-
-

Deleted: packages/mbsystem/changelog
===
--- packages/mbsystem/changelog 2009-08-29 15:25:56 UTC (rev 2402)
+++ packages/mbsystem/changelog 2009-08-29 15:28:47 UTC (rev 2403)
@@ -1,5 +0,0 @@
-mbsystem (5.1.2beta11-0) UNRELEASED; urgency=low
-
-  * Initial packaging
-
- -- Hamish Bowman hamish_b yahoo com  Sat, 29 Aug 2009 14:24:12 +1200

Deleted: packages/mbsystem/control
===
--- packages/mbsystem/control   2009-08-29 15:25:56 UTC (rev 2402)
+++ packages/mbsystem/control   2009-08-29 15:28:47 UTC (rev 2403)
@@ -1,20 +0,0 @@
-Source: mbsystem
-Section: science
-Priority: optional
-Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org
-Uploaders: 
-Build-depends: libgmt-dev, lesstif2-dev, libnetcdf-dev, libglu1-mesa-dev, 
libgl1-mesa-dev
-Standards-Version: 
-Homepage: http://www.ldeo.columbia.edu/res/pi/MB-System/
-
-Package: mbsystem
-Section: science
-Architecture: any
-Depends: ${shlibs:Depends}, gmt, lesstif2, libnetcdf4, libgl1-mesa-glx, 
libglu1-mesa
-Suggests: ghostscript, xv
-Recommends: 
-Description: Processing tools for multibeam and sidescan sonar data
- MB-System is an open source software package for the processing and
- display of bathymetry and backscatter imagery data derived from
- multibeam, interferometry, and sidescan sonars. It interacts with GMT
- (The Generic Mapping Tools) and other GIS applications.

Deleted: packages/mbsystem/copyright
===
--- packages/mbsystem/copyright 2009-08-29 15:25:56 UTC (rev 2402)
+++ packages/mbsystem/copyright 2009-08-29 15:28:47 UTC (rev 2403)
@@ -1,4 +0,0 @@
-GPL 2
-
-http://www.ldeo.columbia.edu/res/pi/MB-System/html/gpl.html
-

Copied: packages/mbsystem/trunk/debian/TODO (from rev 2401, 
packages/mbsystem/TODO)
===
--- packages/mbsystem/trunk/debian/TODO (rev 0)
+++ packages/mbsystem/trunk/debian/TODO 2009-08-29 15:28:47 UTC (rev 2403)
@@ -0,0 +1,6 @@
+TODO: adapt these beginnings of a Debian build script into full packaging 
rules:
+
+https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/install_mb-system.sh
+
+
+


Property changes on: packages/mbsystem/trunk/debian/TODO
___
Added: svn:mergeinfo
   + 

Copied: packages/mbsystem/trunk/debian/changelog (from rev 2402, 
packages/mbsystem/changelog)
===
--- packages/mbsystem/trunk/debian/changelog(rev 0)
+++ packages/mbsystem/trunk/debian/changelog2009-08-29 15:28:47 UTC (rev 
2403)
@@ -0,0 +1,5 @@
+mbsystem (5.1.2beta11-0) UNRELEASED; urgency=low
+
+  * Initial packaging
+
+ -- Hamish Bowman hamish_b yahoo com  Sat, 29 Aug 2009 14:24:12 +1200


Property changes on: packages/mbsystem/trunk/debian/changelog
___
Added: svn:mergeinfo
   + 

Copied: packages/mbsystem/trunk/debian/control (from rev 2401, 
packages/mbsystem/control)
===
--- packages/mbsystem/trunk/debian/control  (rev 0)
+++ packages/mbsystem/trunk/debian/control  2009-08-29 15:28:47 UTC (rev 
2403)
@@ -0,0 +1,20 @@
+Source: mbsystem
+Section: science
+Priority: optional
+Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org
+Uploaders: 
+Build-depends: libgmt-dev, lesstif2-dev, libnetcdf-dev, libglu1-mesa-dev, 
libgl1-mesa-dev
+Standards-Version: 
+Homepage: http://www.ldeo.columbia.edu/res/pi/MB-System/
+
+Package: mbsystem
+Section: science
+Architecture: any
+Depends: ${shlibs:Depends}, gmt, lesstif2, libnetcdf4, libgl1-mesa-glx, 
libglu1-mesa
+Suggests: ghostscript, xv

[DebianGIS-dev] r2400 - packages/grass/trunk/debian

2009-08-28 Thread hamish-guest
Author: hamish-guest
Date: 2009-08-28 06:51:56 + (Fri, 28 Aug 2009)
New Revision: 2400

Added:
   packages/grass/trunk/debian/grass.desktop
Log:
Experimental prototype for ~/Desktop/ icon control file.
New grass-48x48.png icon will arrive with the next GRASS 6.4 RC,
  (can be found in the grass_source/gui/icons/ dir)
so for now this file is unused. Eventually it'll have to be
installed in ? /usr/share/applications/ ?


Added: packages/grass/trunk/debian/grass.desktop
===
--- packages/grass/trunk/debian/grass.desktop   (rev 0)
+++ packages/grass/trunk/debian/grass.desktop   2009-08-28 06:51:56 UTC (rev 
2400)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=GRASS GIS
+Comment=
+Categories=Application;Education;Geography;
+Exec=/usr/bin/grass
+Icon=/usr/share/icons/grass-48x48.png
+Terminal=true


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


[DebianGIS-dev] Bug#530092: grass: bashism in /bin/sh script

2009-07-23 Thread Hamish
remaining issues raised in this bug report still to be dealt with
(AFAICT):

 checkbashisms' output:
 possible bashism in ./usr/lib/grass64/scripts/mkftcap line 34 (should
 be word 21):
 if which fc-list /dev/null ; then

 don't know.  source:
 http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/tools/mkftcap/mkftcap

-

 possible bashism in ./usr/lib/grass64/etc/Init.sh line 330
 ($HOST(TYPE|NAME)):
 if [ $HOSTTYPE = arm ] ; then

 this is probably not of interest to Debian; thus if it fails no loss.
 (fails safely)

if this is considered a problem maybe add a dpatch to rip out that check?
All it does it assume ARM means you have a small device+screen and so the
default window size is a little smaller. If it fails due to dash being
used (perhaps not an unusual occurance on embedded ARM systems) it just
falls back to the initial default window size of 640x480. Personally
I'd be inclined to just leave it as-is.


Hamish



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


[DebianGIS-dev] Bug#508595: CVE-2008-5380: allows local users to overwrite arbitrary files via a symlink attack

2009-07-19 Thread Hamish
fyi, this is fixed in the latest release: 2.10pre7.
these scripts are no longer shipped.


Hamish



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


[DebianGIS-dev] Bug#533738: grass: 6.4.0rc5 fails to create mapsets, g.region -d will break mapset WIND files

2009-06-19 Thread Hamish
Package: grass
Severity: serious
Tags: patch

Hi, filing this bug as serious to block 6.4.0rc5 from getting into testing.

the new version has a bad bug which makes it unusable for new users.
i.e. it can not make a new project (location) due to a subtle bug.
This is now fixed upstream in r37983.

the patch to fix it is here:
 https://trac.osgeo.org/grass/changeset/37983?format=diffnew=37983

see https://trac.osgeo.org/grass/ticket/654



sorry for the inconvenience,
Hamish



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


[DebianGIS-dev] Bug#379913: grass-doc: whatis parse errors in manpages

2009-06-13 Thread Hamish
fwiw, these are all non-binary help pages  introductions which lack
standardized module description that the conversion script uses to
get the whatis name. Typically those are hand coded HTML.

hopefully fixed now upstream in grass 6.5  7, after testing it can be
backported to 6.4.



semi-related, does anyone know how to (back)port this python code to perl
regex for tools/g.html2man? would also solve a bunch of lintian errors.

http://trac.osgeo.org/grass/changeset/37386
http://trac.osgeo.org/grass/changeset/37552

https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/tools/g.html2man/g.html2man


(see also http://trac.osgeo.org/grass/ticket/612)


Hamish



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


[DebianGIS-dev] r2279 - packages/grass/trunk/debian

2009-06-12 Thread hamish-guest
Author: hamish-guest
Date: 2009-06-12 10:20:30 + (Fri, 12 Jun 2009)
New Revision: 2279

Modified:
   packages/grass/trunk/debian/grass.menu
Log:
use VERSION macro

Modified: packages/grass/trunk/debian/grass.menu
===
--- packages/grass/trunk/debian/grass.menu  2009-06-11 20:20:16 UTC (rev 
2278)
+++ packages/grass/trunk/debian/grass.menu  2009-06-12 10:20:30 UTC (rev 
2279)
@@ -2,4 +2,4 @@
   section=Applications/Science/Geoscience\
   title=GRASS GIS\
   command=/usr/bin/grass\
-  icon=/usr/lib/grass64/etc/gui/icons/grass.ico
+  icon=/usr/lib/gr...@version@/etc/gui/icons/grass.ico


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


[DebianGIS-dev] r2275 - packages/grass/trunk/debian

2009-06-11 Thread hamish-guest
Author: hamish-guest
Date: 2009-06-11 09:08:21 + (Thu, 11 Jun 2009)
New Revision: 2275

Added:
   packages/grass/trunk/debian/grass.menu
Log:
add menu item (will use saved GUI mode). not sure
if .ico needs to be /usr/share/gpsdrive/pixmaps/grass.xpm
or about setting dh_installmenu in rules and update-menus in postinst.


Added: packages/grass/trunk/debian/grass.menu
===
--- packages/grass/trunk/debian/grass.menu  (rev 0)
+++ packages/grass/trunk/debian/grass.menu  2009-06-11 09:08:21 UTC (rev 
2275)
@@ -0,0 +1,5 @@
+?package(grass):needs=text\
+  section=Applications/Science/Geoscience\
+  title=GRASS GIS\
+  command=/usr/bin/grass\
+  icon=/usr/lib/grass64/etc/gui/icons/grass.ico


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


[DebianGIS-dev] r2273 - packages/grass/trunk/debian

2009-06-10 Thread hamish-guest
Author: hamish-guest
Date: 2009-06-10 09:54:29 + (Wed, 10 Jun 2009)
New Revision: 2273

Modified:
   packages/grass/trunk/debian/control
Log:
rm dupe suggest for grass-doc

Modified: packages/grass/trunk/debian/control
===
--- packages/grass/trunk/debian/control 2009-06-10 09:35:37 UTC (rev 2272)
+++ packages/grass/trunk/debian/control 2009-06-10 09:54:29 UTC (rev 2273)
@@ -19,7 +19,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, xterm | x-terminal-emulator
 Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpsbabel, gpstrans,
- gnuplot, grass-doc, xml2, wget | curl, python-opengl, python-wxgtk2.8
+ gnuplot, xml2, wget | curl, python-opengl, python-wxgtk2.8
 Recommends: python (= 2.5), python-numpy, ghostscript
 Provides: grass64
 Description: Geographic Resources Analysis Support System 


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


[DebianGIS-dev] Bug#527956: gpsdrive: FTBFS:

2009-05-30 Thread Hamish
FWIW, autoconf has been replaced by cmake in the soonish upcoming
release, so you might consider this bug to be fixed upstream with
extreme prejudice.


Hamish



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


[DebianGIS-dev] Bug#528557: gdal-bin: gdalinfo segmentation fault with GMT and NetCDF files

2009-05-14 Thread Hamish
Package: gdal-bin
Followup-For: Bug #528557


note that in the resolution to bug #495353 (thanks for digging that out)
the closing message states that this is fixed in the 1.6.0 package in
experiemental, not the 1.5.x packages currently in Sid.
You might try installing those and see how it goes. (and the more testing
it gets the sooner it moves into Sid)

FWIW, I can confirm the segfault in Etch using gdal 1.5.2-3~bpo40+1
from backports.org and the test data attached to bug #495353. Follows
is a gdb backtrace of the standard stripped binaries.
If needed I can provide a trace against unstripped gdal/trunk
self-built binaries but I think that's not needed or useful
as Frankie's already on top of the situation.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1244584256 (LWP 14948)]
0xb70a49f0 in NC_var_shape () from /usr/lib/libmfhdf.so.4
(gdb) bt
#0  0xb70a49f0 in NC_var_shape () from /usr/lib/libmfhdf.so.4
#1  0xb6f3119f in nc_get_NC () from /usr/lib/libnetcdf.so.3
#2  0xb6ed2bbf in nc__open_mp () from /usr/lib/libnetcdf.so.3
#3  0xb6ed2c48 in nc__open () from /usr/lib/libnetcdf.so.3
#4  0xb6ed2c81 in nc_open () from /usr/lib/libnetcdf.so.3
#5  0xb7abd1ef in GMTDataset::Open () from /usr/lib/libgdal1.5.0.so.1
#6  0xb7bbadc2 in GDALOpen () from /usr/lib/libgdal1.5.0.so.1
#7  0x08049bbd in ?? ()
#8  0x08aeb040 in ?? ()
#9  0x in ?? ()


GMT 4.1.2-1.1 (Etch) says:
$ grdinfo 3n24s47w14w.grd 
3n24s47w14w.grd: Title: GEBCO One Minute Grid
3n24s47w14w.grd: Command: 1.02
3n24s47w14w.grd: Remark: 
3n24s47w14w.grd: Normal node registration used
3n24s47w14w.grd: grdfile format: cs (# 8)
3n24s47w14w.grd: x_min: -47 x_max: -14 x_inc: 0.017 name: user_x_unit nx: 
1981
3n24s47w14w.grd: y_min: -24 y_max: 3 y_inc: 0.017 name: user_y_unit ny: 1621
3n24s47w14w.grd: z_min: -7849 z_max: 2585 name: user_z_unit
3n24s47w14w.grd: scale_factor: 1 add_offset: 0


The cs format is GMT 3 netCDF legacy format (short) (depreciated)


the work-around is to convert to an old style GMT binary .grd using grdreformat.
$ grdreformat 3n24s47w14w.grd 3n24s47w14w_Native.grd=bs
# then import into GRASS,
GRASS r.in.bin -h -s bytes=2 in=3n24s47w14w_Native.grd out=3n24s47w14w
# and set some nice colors
GRASS r.colors 3n24s47w14w rules=-  EOF
nv magenta
0% black
-7740 0:0:168
0 84:176:248
0 40:124:0
522 68:148:24
1407 148:228:108
1929 232:228:108
2028 232:228:92
2550 228:160:32
2724 216:116:8
2730 grey
2754 grey
2760 252:252:252
2874 252:252:252
2883 192:192:192
2913 192:192:192
100% 252:252:252
EOF


aside: comparing the 2' ETOPO2 data to this version of the 1' GEBCO
data it is clear that the ETOPO2 data is far superior even though
the resolution is twice as coarse. e.g. the ocean trenches are much
better defined and magically new seamounts appear. Is the difference
the inclusion of the SS radar altimetry in etopo2? Also it would seem
that the entire continental shelf has moves somewhat westward (or is
that just further offshore?) in the ETOPO2 data. weird.

It would be interesting to compare the two with the GRASS r.roughness
addon script.



Hamish



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


[DebianGIS-dev] Bug#526204: grass: FTBFS with GCC 4.4: missing #include

2009-05-02 Thread Hamish
Package: grass
Followup-For: Bug #526204


fixed upstream, thanks.


Hamish



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


[DebianGIS-dev] Bug#526200: grass: FTBFS when wx2.6-headers is installed

2009-05-02 Thread Hamish
Package: grass
Followup-For: Bug #526200


this also needed a fix to the upstream configure script. checked into
grass's svn as r36942, will be ported to releasebranch_6_4 shortly.


Hamish



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


[DebianGIS-dev] r2187 - packages/grass/trunk/debian

2009-05-01 Thread hamish-guest
Author: hamish-guest
Date: 2009-05-02 00:44:21 + (Sat, 02 May 2009)
New Revision: 2187

Modified:
   packages/grass/trunk/debian/rules
Log:
correctly point to wx-config(2.8). should fix bug #526200

Modified: packages/grass/trunk/debian/rules
===
--- packages/grass/trunk/debian/rules   2009-04-29 18:19:37 UTC (rev 2186)
+++ packages/grass/trunk/debian/rules   2009-05-02 00:44:21 UTC (rev 2187)
@@ -62,8 +62,7 @@
 --with-postgres-includes=$(shell pg_config --includedir) \
 --with-mysql-includes=$(shell mysql_config --include|sed 
-e 's/-I//') \
--with-proj-share=/usr/share/proj \
-   --with-wx=/usr/lib/wx/config/gtk2-unicode-release-2.8 \
-   --with-wxwidgets \
+   
--with-wxwidgets=/usr/lib/wx/config/gtk2-unicode-release-2.8 \
--with-python=/usr/bin/python-config \
--with-cairo
 


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


[DebianGIS-dev] Bug#526200: #526200 FTBFS when wx2.6-headers is installed

2009-05-01 Thread Hamish
Package: grass
Followup-For: Bug #526200


Hi,

this should be fixed in DebianGIS svn's debian/rules r2187.


--- packages/grass/trunk/debian/rules   2009/04/15 14:28:17 2151
+++ packages/grass/trunk/debian/rules   2009/05/02 00:44:21 2187
@@ -62,8 +62,7 @@
 --with-postgres-includes=$(shell pg_config --includedir) \
 --with-mysql-includes=$(shell mysql_config --include|sed 
-e 's/-I//') \
--with-proj-share=/usr/share/proj \
-   --with-wx=/usr/lib/wx/config/gtk2-unicode-release-2.8 \
-   --with-wxwidgets \
+   
--with-wxwidgets=/usr/lib/wx/config/gtk2-unicode-release-2.8 \
--with-python=/usr/bin/python-config \
--with-cairo



Hamish



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


[DebianGIS-dev] r2158 - packages/grass/trunk/debian

2009-04-16 Thread hamish-guest
Author: hamish-guest
Date: 2009-04-16 07:57:38 + (Thu, 16 Apr 2009)
New Revision: 2158

Modified:
   packages/grass/trunk/debian/changelog
   packages/grass/trunk/debian/control
   packages/grass/trunk/debian/control.in
Log:
suggest gpsbabel for v.in.gpsbabel and v.out.gpsbabel

Modified: packages/grass/trunk/debian/changelog
===
--- packages/grass/trunk/debian/changelog   2009-04-15 20:25:38 UTC (rev 
2157)
+++ packages/grass/trunk/debian/changelog   2009-04-16 07:57:38 UTC (rev 
2158)
@@ -5,6 +5,7 @@
   * Added Suggests: python-opengl and python-wxgtk2.8 for the new wx interface.
   * Changed again debian/watch file.
   * Moved to versioned defaults (build-)deps for python.
+  * Added Suggests: gpsbabel for v.in.gpsbabel and v.out.gpsbabel.
 
  -- Francesco Paolo Lovergine fran...@debian.org  Wed, 15 Apr 2009 16:25:53 
+0200
 

Modified: packages/grass/trunk/debian/control
===
--- packages/grass/trunk/debian/control 2009-04-15 20:25:38 UTC (rev 2157)
+++ packages/grass/trunk/debian/control 2009-04-16 07:57:38 UTC (rev 2158)
@@ -17,8 +17,8 @@
 Section: science
 Architecture: any
 Depends: ${shlibs:Depends}, xterm | x-terminal-emulator
-Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpstrans, gnuplot, 
grass-doc, xml2, wget | curl,
- python-opengl, python-wxgtk2.8
+Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpsbabel, gpstrans,
+ gnuplot, grass-doc, xml2, wget | curl, python-opengl, python-wxgtk2.8
 Recommends: python (= 2.5), python-numpy
 Provides: grass64
 Description: Geographic Resources Analysis Support System 

Modified: packages/grass/trunk/debian/control.in
===
--- packages/grass/trunk/debian/control.in  2009-04-15 20:25:38 UTC (rev 
2157)
+++ packages/grass/trunk/debian/control.in  2009-04-16 07:57:38 UTC (rev 
2158)
@@ -17,8 +17,8 @@
 Section: science
 Architecture: any
 Depends: ${shlibs:Depends}, xterm | x-terminal-emulator
-Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpstrans, gnuplot, 
grass-doc, xml2, wget | curl,
- python-opengl, python-wxgtk2.8
+Suggests: grass-doc, gdal-bin, proj-bin, e00compr, avce00, gpsbabel, gpstrans,
+ gnuplot, grass-doc, xml2, wget | curl, python-opengl, python-wxgtk2.8
 Recommends: python (= 2.5), python-numpy
 Provides: gr...@version@
 Description: Geographic Resources Analysis Support System 


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


[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude

2009-01-25 Thread Hamish
Andreas wrote:
 I opened a bug in the gpsdrive tracker to use libgps or similar in the
 future and remove gpsdrive's own nmea handler.

this has now been done upstream, and will be in the upcoming 2.10pre7
release.


regards,
Hamish



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


[DebianGIS-dev] Bug#508595: CVE-2008-5380: allows local users to overwrite arbitrary files via a symlink attack

2008-12-17 Thread Hamish
Tomas Hoger wrote:
 It seems that upstream fix for this issue is far from being
 ideal.
 
  TMP=`tempfile -d /tmp -p geo. -s .code`
 
 [...]
 
  so calling this fixed-upstream and hoping that tempfile is somewhat
  portable beyond Debian.
 
 Any particular reason for using Debian-specific tempfile, instead of
 generally available mktemp?

just pure ignorance of non-Debian things on my part, and cluttered web
search results.

 
 Apart from the portability issues of the fix,

[easily fixed]

 the fix is not address the flaw properly as well.  Even though TMP file
 (never used, IIRC) is created in a secure way, all other temporary files
 are not (STYLE, COORDS, OUTWAY, MAP for geo-code).  So when TMP is
 created, local user can see its name and can create malicious symlinks
 TMP.style, .coords, .way, .gif before script will attempt to use them
 for the first time (or guess or brute-force TMP name in advance).

ok, race condition...


 You either have to create all temporary files using mktemp, or make TMP
 a temporary directory

e.g. as earlier:
tmp=/tmp/geo-code.$$
(umask 077  mkdir $tmp) || {
echo Cannot create temporary directory! Exiting. 12
exit 1
}

 (or dot-directory in user's home dir and you do not have to care about
 creating it securely at all).

but then you need to be more pedantic about cleanup,

 
 There are still few other issues in geo-nearest, like:

ok, well those scripts are now removed in upstream SVN r2204 so it's a
moot point. they were old contrib stuff far outside the purpose of the
main program
it's safe to remove them in the pre4 packaging.


 See following bugs for the patch that is in preparation for
 Fedora packages:
 
   https://bugzilla.redhat.com/show_bug.cgi?id=470241
   https://bugzilla.redhat.com/show_bug.cgi?id=475478

thanks for the tips, it is always good to learn how to do these things
more properly. I do wish people would take the time to push these
patches/bug reports upstream instead of 3 teams doing the same work... :)


regards,
Hamish



  




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


[DebianGIS-dev] Bug#508595: CVE-2008-5380: allows local users to overwrite arbitrary files via a symlink attack

2008-12-16 Thread Hamish
geo-code, geo-nearest, and gpssmswatch scripts updated in upstream SVN to
use a method similar to:

TMP=`tempfile -p geo.`
if [ $? -ne 0 ] || [ -z $TMP ] ; then
echo ERROR: Unable to create temporary files 12
exit 1
fi


so calling this fixed-upstream and hoping that tempfile is somewhat
portable beyond Debian.


another idea for geo-code and geo-nearest would be to plop all the tmp
files in a single tmp dir:

tmp=/tmp/geo-code.$$
(umask 077  mkdir $tmp) || {
echo Cannot create temporary directory! Exiting. 12
exit 1
}


Hamish



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


[DebianGIS-dev] Bug#508597: gpsdrive: allows local users to overwrite arbitrary files via a symlink attack

2008-12-16 Thread Hamish
[1,2]
 scripts/gpssmswatch and src/splash.c

rewritten upstream not to use /tmp/gpsdrivepos anymore (now directly polls
position from gpsd), and /tmp/.smswatch is now created with `tempfile`, in
a secure way.
-done-


[3]
 src/unit_test.c  +  /tmp/gpsdrive-unit-test

still needs work.
-open-


Hamish



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


[DebianGIS-dev] Bug#508595: CVE-2008-5380: allows local users to overwrite arbitrary files via a symlink attack

2008-12-16 Thread Hamish
note these helper scripts are not a core part of running the program.

$ grep /tmp/ *
geo-code:TMP=/tmp/geo$$
geo-code:   cp $COORDS /tmp/geo.google
geo-code:filter=tee /tmp/geo.yahoo
geo-code:   cp $COORDS /tmp/geo.coords
geo-nearest:TMP=/tmp/geo
geo-nearest:TMP=/tmp/geo$$
geo-nearest:cp $GEOWAY /tmp/geocaching.loc
gpssmswatch:FILE=/tmp/.smswatch
gpssmswatch:NUMBER=`grep Sender /tmp/.smswatch|awk '{print $2}'`
gpssmswatch:cat /tmp/gpsdrivepos
gpssmswatch:gnokii --sendsms $NUMBER  /tmp/gpsdrivepos


these three are all shell/bash scripts.

possible fix:

TMP=`tempfile -p geo.`
if [ $? -ne 0 ] || [ -z $TMP ] ; then
echo ERROR: Unable to create temporary files 12
exit 1
fi


see also comments here:
 
http://sourceforge.net/tracker/index.php?func=detailaid=2121124group_id=148048atid=770280


Hamish



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


[DebianGIS-dev] Bug#287760: Small fonts in i.points

2008-12-16 Thread Hamish
Hi,

- i.points is headed out for pasture (removed in grass 7);
- I seem to be the only one actively maintaining i.points;
- I'm only fixing serious bugs in it now, no new development.

severity set to wishlist; this ticket can be closed as wontfix.


Hamish



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


[DebianGIS-dev] Bug#498428: Bug#498428: wrong instruction in: README.Bluetooth

2008-12-16 Thread Hamish
Hamish:
  I've no idea about
   cat /dev/rfcomm0 count=10

Andreas wrote:
 You may use cat /dev/rfcomm0 to test if the connection works but it's
 otherwise not necessary to connect to a bt gpsr.
 It should output raw NMEA sentences afaik. No idea where this count=10 
 came from.

maybe it is a refugee from `dd`?  shrug.

I've commented it out in the README.Bt, so this bug is fixed upstream.


Hamish



  




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


[DebianGIS-dev] Bug#287845: gpsdrive: please add support for loading gpx tracks

2008-12-16 Thread Hamish
done upstream, GPX track support will be in the upcoming pre7 release.


Hamish



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


[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude

2008-12-16 Thread Hamish
fyi,

I was having this problem with my BU-353 USB-puck GPS a little while ago.
The gpsd cgps program put it into SiRF binary mode without me asking,
and that creates (AFAICT) pseudo-NMEA strings when a client asks for raw
mode.

this was with gpsdrive built from SVN (Oct 2008?) and I believe gpsd
2.36-2~bpo40+1 for debian etch from backports.org.

The solution was to reset the GPS to output in NMEA not binary SiRF
protocol using scripts/gpsd_nmea.sh from the gpsdrive source code.
which is just:
  echo Switching the GPS connected to the local Gpsd into NMEA Mode ...
  (echo N=0; sleep 1 )  | telnet localhost 2947


no idea if it helps with the Garmin,

Hamish



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


[DebianGIS-dev] Bug#498428: wrong instruction in: README.Bluetooth

2008-12-16 Thread Hamish
gpsd usage updated in upstream SVN to current gpsd usage, the fix will be
seen in the pre7 release.

I've no idea about
 cat /dev/rfcomm0 count=10


suggestions?


Hamish



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


[DebianGIS-dev] Bug#508596: weird unconditional deletion of unused temporary files

2008-12-16 Thread Hamish
fixed upstream in rev2192.

(the /tmp/gpsdrivetext.out line had already been removed)


Hamish



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


[DebianGIS-dev] Bug#456569: Bug#456152: gpsdrive: Can't override window size

2008-12-16 Thread Hamish
Hi,

I have rewritten/updated the man page in gpsdrive SVN. This will be
included in the upcoming 2.10pre7 release.

But a --geometry bug remains:
  
http://sourceforge.net/tracker/index.php?func=detailaid=2121215group_id=148048atid=770280


the problem seems to be with the order of calling gtk_window_get_size()
and gtk-window-parse-geometry(), but I don't know enough about GTK to fix
it. [help welcome]


--end of content dealing with this bug report--



to address side concerns:
 Further, there are obvious map rendering errors using when using
 neither the no_dir nor expedia maps at wide zooms.

projected maps (map_*) should not be used at scales beyond 1:500,000 or
so. They are more useful for local street maps.

I've added the following to src/map_download.c:
/* wider scales than 1:500k should switch to top_ Plate Carrée
   projection. It would be more accurate to switch nearer to
   1:125k, but map_ is prettier so we hold on longer than we should.
   Distortion grows the further you get from lon_0; e.g. UTM
   is only valid in a 6deg wide band. Usage beyond half the
   next band is not recommended, and by the time you get to
   +/-90deg from lon_0 it completely breaks. */

expedia download is removed upstream due to their terms  conditions.
OpenStreet map tiles are added, but tiles are not projected well so the
problem propagates. The new NASA OnEarth LANDSAT mosaic tile download
does render exactly as it downloads from a real WMS server instead of
someone's fudge.

if a geodesist programmer from the PROJ.4 project wants to revisit
src/map_projection.c they are most welcome, otherwise our map_*
rendering will stay only locally valid.

 The scale bar at the bottom right of the image appears to be
 approximately an order of decimal magnitude out.

same wide map scale problem. Now in SVN the scalebar is disabled for top_*
maps, where scale differs in the lat an lon axes (changes with cos(lat)).
and you shouldn't be using map_* at global scales due to distortion.

 The map grabbing code seems buggy too.

since rewritten in SVN.. fixed with next release

 Menus to configure mysql and pgsql seem to have disappeared and that
 support which remains seems broken.

mysql support has been removed in upstream SVN (POI db replaced by SQLite),
and a lot of work has gone into improving the Postgre DB used with the
OSM PostGIS db lately.

 It's a shame that this very promising program seems to be becoming less
 functional with more development.

lost of cleanups since the last ** pre ** release.
IMO the pre7 will be a really good one.


Hamish



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


[DebianGIS-dev] Bug#305249: grass: no way to cut and paste the text of grass X windows error messages

2008-12-16 Thread Hamish
oops, sorry - it is still there in the grass 6.4 tcltk gis.m GUI.
It is when the main GUI throws an error to a popup window, e.g. as with
bug #503371. These tcltk error boxes are rather rare I think*; module
errors now go to the output window which is highlightable.

[*] e.g. happens when grass is misinstalled, like when libGDAL is missing.
hopefully not an issue for users of the official Debian packages..


anyway I don't think this is really a grass bug, it's more of a tcltk
message box feature.


Hamish



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


[DebianGIS-dev] Bug#430818: grass: user interface problem

2008-12-16 Thread Hamish
 Everything is linked to the fact I was using a dual-head configuration.
...
 d...@ddp:~$ xdpyinfo | grep -A1 dimen 
   dimensions:1280x1024 pixels (0x0 millimeters)
   resolution:-2147483648x-2147483648 dots per inch

 -- this dirty value is the culprit ;-)
 
 The workaround is to set the DisplaySize value in the Monitor section
 of /etc/X11/xorg.conf.
 
 It now runs fine.

... X is reporting bogus dpi values; so not a grass bug and this ticket
should be moved to Xorg or closed. nothing much we can do about it.


Hamish



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


Re: [DebianGIS-dev] r1804 - packages/grass/branches/6.4/debian/patches

2008-12-12 Thread Hamish
Hamish:
  +## DP: As per debian wishes, choose the pager based on what 'pager' is
  +## DP: set to rather than the default of 'more'.
  +## DP: Problem with this patch: the default pager is usually 'less', which
  +## DP: is rather inappropriate for use with g.list where output is usally
  +## DP: less than 25 lines and it is useful to have the text remain on the
  +## DP: terminal after the pager is finished. IMO (HB) this is a diservice
  +## DP: to the user, who would be better served keeping the default as
  +## DP: 'more', or if that is unacceptable to debian, then use 'cat' and
  +## DP: have no pager turned on by default.
  +## DP: Note this in README.Debian??

Francesco wrote:
 Well, no. The default pager is what the user chooses among more, less,
 most, page and what else.

I mean the default pager as set by the Debian-install is `less` (which
the vast majority of debian users have not changed), not any default
value the user has set themselves by changing /etc/alternatives/.

 Also, it can be easily overriden at grass level by setting the
 appropriate env var instead of the default alternative.

yes, this is what I do to circumvent this patch, and what I suggest to
note in README.Debian.


Hamish



  


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


[DebianGIS-dev] r1804 - packages/grass/branches/6.4/debian/patches

2008-12-04 Thread hamish-guest
Author: hamish-guest
Date: 2008-12-04 13:28:50 + (Thu, 04 Dec 2008)
New Revision: 1804

Modified:
   packages/grass/branches/6.4/debian/patches/pager.dpatch
   packages/grass/branches/6.4/debian/patches/xterm.dpatch
Log:
patch descriptions

Modified: packages/grass/branches/6.4/debian/patches/pager.dpatch
===
--- packages/grass/branches/6.4/debian/patches/pager.dpatch 2008-11-26 
16:54:38 UTC (rev 1803)
+++ packages/grass/branches/6.4/debian/patches/pager.dpatch 2008-12-04 
13:28:50 UTC (rev 1804)
@@ -2,7 +2,16 @@
 ## pager.dpatch by Francesco Paolo Lovergine [EMAIL PROTECTED]
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: As per debian wishes, choose the pager based on what 'pager' is
+## DP: set to rather than the default of 'more'.
+## DP: Problem with this patch: the default pager is usually 'less', which
+## DP: is rather inappropriate for use with g.list where output is usally
+## DP: less than 25 lines and it is useful to have the text remain on the
+## DP: terminal after the pager is finished. IMO (HB) this is a diservice
+## DP: to the user, who would be better served keeping the default as
+## DP: 'more', or if that is unacceptable to debian, then use 'cat' and
+## DP: have no pager turned on by default.
+## DP: Note this in README.Debian??
 
 @DPATCH@
 diff -urNad grass-6.3~20070922~/lib/init/init.sh 
grass-6.3~20070922/lib/init/init.sh

Modified: packages/grass/branches/6.4/debian/patches/xterm.dpatch
===
--- packages/grass/branches/6.4/debian/patches/xterm.dpatch 2008-11-26 
16:54:38 UTC (rev 1803)
+++ packages/grass/branches/6.4/debian/patches/xterm.dpatch 2008-12-04 
13:28:50 UTC (rev 1804)
@@ -2,7 +2,7 @@
 ## xterm.dpatch by Francesco Paolo Lovergine [EMAIL PROTECTED]
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: prefer to let alternatives chose the xterm used
 
 @DPATCH@
 diff -urNad grass-preview-6.3.0~/lib/init/grass-xterm-wrapper 
grass-preview-6.3.0/lib/init/grass-xterm-wrapper


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


[DebianGIS-dev] r1788 - packages/grass/branches

2008-10-30 Thread hamish-guest
Author: hamish-guest
Date: 2008-10-30 15:06:36 + (Thu, 30 Oct 2008)
New Revision: 1788

Added:
   packages/grass/branches/6.4/
Log:
new branch for 6.4

Copied: packages/grass/branches/6.4 (from rev 1787, packages/grass/branches/6.3)


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


[DebianGIS-dev] r1789 - in packages/grass/branches/6.4/debian: . patches

2008-10-30 Thread hamish-guest
Author: hamish-guest
Date: 2008-10-30 15:56:06 + (Thu, 30 Oct 2008)
New Revision: 1789

Added:
   packages/grass/branches/6.4/debian/grass64.1
Removed:
   packages/grass/branches/6.4/debian/grass63.1
Modified:
   packages/grass/branches/6.4/debian/copyright
   packages/grass/branches/6.4/debian/files
   packages/grass/branches/6.4/debian/fixscripts.sh
   packages/grass/branches/6.4/debian/grass-preview-dev.dirs
   packages/grass/branches/6.4/debian/grass-preview-dev.install
   packages/grass/branches/6.4/debian/grass-preview-doc.install
   packages/grass/branches/6.4/debian/grass-preview.dirs
   packages/grass/branches/6.4/debian/grass-preview.install
   packages/grass/branches/6.4/debian/grass-preview.postinst
   packages/grass/branches/6.4/debian/grass-preview.postrm
   packages/grass/branches/6.4/debian/patches/www-browser.dpatch
   packages/grass/branches/6.4/debian/rules
   packages/grass/branches/6.4/debian/watch
Log:
update 6.3 to 6.4, new URL/address in copyright

Modified: packages/grass/branches/6.4/debian/copyright
===
--- packages/grass/branches/6.4/debian/copyright2008-10-30 15:06:36 UTC 
(rev 1788)
+++ packages/grass/branches/6.4/debian/copyright2008-10-30 15:56:06 UTC 
(rev 1789)
@@ -1,13 +1,13 @@
 This package was debianized by Markus Neteler [EMAIL PROTECTED] on
 Mon, 10 Nov 2003 17:59:04 +0100.
 
-It was downloaded from http://grass.itc.it
+It was downloaded from http://grass.osgeo.org
 
 The upstream contributors are listed in the AUTHORS file.
 
 The Geographic Resources Analysis and Support System (GRASS)
-Geographic Information System (GIS) is Copyright by the
-GRASS Development Team headquartered at ITC-irst, in Trento, Italy.
+Geographic Information System (GIS) is Copyright by members
+of the GRASS Development Team.
 
 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
@@ -32,13 +32,11 @@
 GRASS Development Team at the following address:
 
  GRASS Development Team
- ITC-Irst
  c/o M. Neteler
- SSI/MPA
- Via Sommarive, 18
- 38050 Trento (Povo)
+ Fondazione Mach - Centre for Alpine Ecology
+ 38100 Viote del Monte Bondone (Trento)
  Italy
- [EMAIL PROTECTED]
+ neteler AT cealp.it
 
-Internet:  http://grass.itc.it
-   http://grass.ibiblio.org
+Internet:  http://grass.osgeo.org
+   http://www.grass-gis.org

Modified: packages/grass/branches/6.4/debian/files
===
--- packages/grass/branches/6.4/debian/files2008-10-30 15:06:36 UTC (rev 
1788)
+++ packages/grass/branches/6.4/debian/files2008-10-30 15:56:06 UTC (rev 
1789)
@@ -1,3 +1,3 @@
-grass-preview-doc_6.3.0-1_all.deb science optional
-grass-preview_6.3.0-1_i386.deb science optional
-grass-preview-dev_6.3.0-1_i386.deb devel optional
+grass-preview-doc_6.4~20081031-1_all.deb science optional
+grass-preview_6.4~20081031-1_i386.deb science optional
+grass-preview-dev_6.4~20081031-1_i386.deb devel optional

Modified: packages/grass/branches/6.4/debian/fixscripts.sh
===
--- packages/grass/branches/6.4/debian/fixscripts.sh2008-10-30 15:06:36 UTC 
(rev 1788)
+++ packages/grass/branches/6.4/debian/fixscripts.sh2008-10-30 15:56:06 UTC 
(rev 1789)
@@ -8,7 +8,7 @@
 # make these scripts executable
 for x in etc/water/seg
 do
-chmod +x $CURDIR/debian/tmp/usr/lib/grass63/$x
+chmod +x $CURDIR/debian/tmp/usr/lib/grass64/$x
 done
 
 # silence bogus lintian complaint about interpreter-not-absolute
@@ -18,15 +18,15 @@
 script_file_tools \
 nviz2.2_script
 do
-  f=$CURDIR/debian/tmp/usr/lib/grass63/etc/nviz2.2/scripts/$x
-  sed 's.!nviz.!/usr/lib/grass63/bin/nviz.' $f foo  cat foo $f
+  f=$CURDIR/debian/tmp/usr/lib/grass64/etc/nviz2.2/scripts/$x
+  sed 's.!nviz.!/usr/lib/grass64/bin/nviz.' $f foo  cat foo $f
 done
 
 for x in panel_label.tcl \
 panel_scale.tcl
 do
-  f=$CURDIR/debian/tmp/usr/lib/grass63/etc/nviz2.2/scripts/$x
-  sed 's%!../glnviz.new/nvwish%!/usr/lib/grass63/etc/nviz2.2/glnviz/nvwish%' 
$f foo  cat foo $f
+  f=$CURDIR/debian/tmp/usr/lib/grass64/etc/nviz2.2/scripts/$x
+  sed 's%!../glnviz.new/nvwish%!/usr/lib/grass64/etc/nviz2.2/glnviz/nvwish%' 
$f foo  cat foo $f
 done
 rm foo
 
@@ -34,7 +34,7 @@
 # add shebang to scripts that need it
 for x in etc/copy
 do
-  f=$CURDIR/debian/tmp/usr/lib/grass63/$x
+  f=$CURDIR/debian/tmp/usr/lib/grass64/$x
   cp $f foo; echo #!/bin/sh $f; cat foo $f
 done
 rm foo
@@ -98,5 +98,5 @@
 etc/nviz2.2/scripts/wirecolorPopup.tcl \
 etc/nviz2.2/scripts/fileBrowser.tcl
 do
-chmod -x $CURDIR/debian/tmp/usr/lib/grass63/$x
+chmod -x $CURDIR/debian/tmp/usr/lib/grass64/$x
 done

Modified: packages/grass/branches/6.4/debian/grass-preview-dev.dirs
===
--- packages/grass/branches/6.4/debian

[DebianGIS-dev] r1792 - packages/grass/branches/6.4/debian

2008-10-30 Thread hamish-guest
Author: hamish-guest
Date: 2008-10-31 04:30:09 + (Fri, 31 Oct 2008)
New Revision: 1792

Modified:
   packages/grass/branches/6.4/debian/changelog
Log:
bump version number

Modified: packages/grass/branches/6.4/debian/changelog
===
--- packages/grass/branches/6.4/debian/changelog2008-10-31 04:26:21 UTC 
(rev 1791)
+++ packages/grass/branches/6.4/debian/changelog2008-10-31 04:30:09 UTC 
(rev 1792)
@@ -1,3 +1,14 @@
+grass-preview (6.4~20081031-1) experimental; urgency=low
+
+  -- THIS IS A NOT FOR RELEASE BRANCH OF THE MAIN DEVELOPMENT TREE --
+
+  * Update patches and names from 6.3 to 6.4svn
+  * Update project URL and home address
+  * Enable Cairo rendering support
+  * Python support for new wx vdigit module (still need build-deps??)
+
+ -- Hamish Bowman hamish-guest alioth.debian org  Fri, 31 Oct 2008 17:20:04 
+1300
+
 grass-preview (6.3.0-1) experimental; urgency=low
 
   * Changing source package name to grass-preview.


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


[DebianGIS-dev] r1498 - packages/grass/trunk/debian

2008-04-04 Thread hamish-guest
Author: hamish-guest
Date: 2008-04-04 23:13:20 + (Fri, 04 Apr 2008)
New Revision: 1498

Modified:
   packages/grass/trunk/debian/watch
Log:
primary homepage moved to grass.osgeo.org

Modified: packages/grass/trunk/debian/watch
===
--- packages/grass/trunk/debian/watch   2008-04-03 18:48:19 UTC (rev 1497)
+++ packages/grass/trunk/debian/watch   2008-04-04 23:13:20 UTC (rev 1498)
@@ -1,2 +1,2 @@
 version=2
-http://grass.itc.it/grass62/source/grass-([\d\.]*).tar.gz debian uupdate
+http://grass.osgeo.org/grass62/source/grass-([\d\.]*).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


[DebianGIS-dev] r1499 - packages/grass/trunk/debian

2008-04-04 Thread hamish-guest
Author: hamish-guest
Date: 2008-04-04 23:19:04 + (Fri, 04 Apr 2008)
New Revision: 1499

Modified:
   packages/grass/trunk/debian/control
Log:
primary homepage moved to grass.osgeo.org

Modified: packages/grass/trunk/debian/control
===
--- packages/grass/trunk/debian/control 2008-04-04 23:13:20 UTC (rev 1498)
+++ packages/grass/trunk/debian/control 2008-04-04 23:19:04 UTC (rev 1499)
@@ -8,7 +8,7 @@
  libfreetype6-dev, autoconf2.13, autotools-dev, libgdal1-dev (=1.4.0) | 
libgdal1-1.3.2-dev, proj (= 4.4.7), libjpeg62-dev, 
  libpng12-dev, libpq-dev, unixodbc-dev, doxygen, fakeroot, 
libmysqlclient15-dev, graphviz, libsqlite3-dev 
 Standards-Version: 3.7.3
-Homepage: http://grass.itc.it/
+Homepage: http://grass.osgeo.org/
 
 Package: grass
 Section: science


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


[DebianGIS-dev] Bug#452355: libgdal1-1.4.0: GDAL 1.4.3 retracted contains an ABI incompatability

2007-11-21 Thread Hamish
Package: libgdal1-1.4.0
Version: 1.4.3-1
Severity: normal

Hi,

The new GDAL in sid (1.4.3) should not enter testing. This bug is an 
attempt to keep it out.

from www.gdal.org:
The recent 1.4.3 release has been retracted to an ABI incompatability 
and will be replaced soon by a 1.4.4 release.

see
 http://thread.gmane.org/gmane.comp.gis.gdal.devel/13515
 http://thread.gmane.org/gmane.comp.gis.gdal.devel/13519


Hamish



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


[DebianGIS-dev] r1224 - packages/grass/trunk/debian

2007-10-18 Thread hamish-guest
Author: hamish-guest
Date: 2007-10-18 09:49:40 + (Thu, 18 Oct 2007)
New Revision: 1224

Modified:
   packages/grass/trunk/debian/control
Log:
Build-depends changes:
* remove libgl1-mesa-swx11-dev as --with-glw is no longer used.
* libglu1-mesa-dev replaces libglu1-xorg-dev which replaced xlibmesa-glu-dev.
   keep libglu1-xorg-dev around for sarge backports


Modified: packages/grass/trunk/debian/control
===
--- packages/grass/trunk/debian/control 2007-10-17 15:04:04 UTC (rev 1223)
+++ packages/grass/trunk/debian/control 2007-10-18 09:49:40 UTC (rev 1224)
@@ -4,7 +4,7 @@
 Maintainer: Debian GIS Project pkg-grass-devel@lists.alioth.debian.org
 Uploaders: Francesco Paolo Lovergine [EMAIL PROTECTED], Steve Halasz [EMAIL 
PROTECTED]
 Build-depends: flex, bison, libreadline5-dev | libreadline-dev, 
libncurses5-dev, lesstif2-dev, debhelper (= 5), dpatch, 
- libtiff4-dev, tcl8.4-dev, tk8.4-dev, fftw3-dev, libxmu-dev, 
libgl1-mesa-swx11-dev, libglu1-xorg-dev | xlibmesa-glu-dev, 
+ libtiff4-dev, tcl8.4-dev, tk8.4-dev, fftw3-dev, libxmu-dev, libglu1-mesa-dev 
| libglu1-xorg-dev, 
  libfreetype6-dev, autoconf2.13, autotools-dev, libgdal1-dev (=1.4.0) | 
libgdal1-1.3.2-dev, proj (= 4.4.7), libjpeg62-dev, 
  libpng12-dev, libpq-dev, unixodbc-dev, doxygen, fakeroot, 
libmysqlclient15-dev, graphviz, libsqlite3-dev 
 Standards-Version: 3.7.2


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


[DebianGIS-dev] Bug#439506: [grass] *** Unable to locate GLwM includes

2007-09-03 Thread Hamish
Package: grass
Version: 6.2.2-1
Followup-For: Bug #439506

Hi, as discussed on the DebianGIS mailing list, GLw isn't used and --with-glw
can safely be removed from the ./configure line.

see:
 http://thread.gmane.org/gmane.comp.gis.grass.pkg.general/2499/focus=2524
 http://thread.gmane.org/gmane.comp.gis.grass.pkg.general/2528


... package awaits new upload.


Hamish


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


[DebianGIS-dev] Bug#418833: grass: Init.sh is broken

2007-04-16 Thread Hamish
Package: grass
Version: 6.0.2-0.dgis.stable.1
Followup-For: Bug #418833

that patch makes it functional, but still there is a problem?

[this is lib/init/init.sh; bug already fixed by Frankie in DebianGIS's SVN]

http://svn.debian.org/wsvn/pkg-grass/packages/grass/trunk/debian/patches/www-browser.dpatch?op=filerev=0sc=0

problem:

+   else 
+   GRASS_HTML_BROWSER=true

GRASS_HTML_BROWSER should be the path to a web broswer executable, not a boolean
answer. UNLESS we just want it to silently fail by setting the web browser to be
`/bin/true`, but that's a bit odd and misleading to readers of the script.

FWIW I've cleaned up this part of lib/init/init.sh in the GRASS CVS some weeks 
ago:
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/init/init.sh
  Revision 1.106


suggest changing the `true` fallback to something more web browserish.
(mozilla not found is a better error message than true not found)


Hamish


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


[DebianGIS-dev] Bug#401162: libgdal1-1.3.2-dev: libgdal-dev missing depends for geos-dev and mysql-dev

2006-12-01 Thread Hamish
Package: libgdal1-1.3.2-dev
Version: 1.3.2-2
Severity: normal

Hi, 

The libgdal1-1.3.2-dev
GDAL is built with MySQL and GEOS support (see `gdal-config --dep-libs`), but 
libgdal1-1.3.2-dev fails to depend on libmysqlclient15-dev and libgeos-dev.



http://svn.debian.org/wsvn/pkg-grass/packages/gdal/trunk/debian/rules?op=filerev=0sc=0
 vs.
http://svn.debian.org/wsvn/pkg-grass/packages/gdal/trunk/debian/control?op=filerev=0sc=0

and

http://svn.debian.org/wsvn/pkg-grass/packages/gdal/tags/1.3.2-2/debian/rules?op=filerev=0sc=0
 vs.
http://svn.debian.org/wsvn/pkg-grass/packages/gdal/tags/1.3.2-2/debian/control?op=filerev=0sc=0


sarge$ apt-cache show libgdal1-1.3.1-dev
Version: 1.3.1-0.dgis.stable.2
Depends: libgdal1-1.3.1 (= 1.3.1-0.dgis.stable.2), libc6-dev, libcfitsio-dev, 
netcdfg-dev, libtiff4-dev, libjasper-1.701-dev, libpng12-dev, libjpeg62-dev, 
libungif4-dev, libhdf4g-dev, libpq-dev | postgresql-dev, libxerces26-dev, 
unixodbc-dev, 
libsqlite0-dev

sarge$ gdal-config --dep-libs
-L/usr/lib -lgeos -lodbc -L/usr/lib -lxerces-c -lpthread -ljasper -lmfhdf -ldf 
-lgif 
-ljpeg -ltiff -lpng -lnetcdf -lcfitsio -L/usr/lib -lpq -lz -lpthread -lm -lrt 
-ldl
 

this causes GRASS 6.3's libproj to fail to build. (GRASS 6.2.0 seems to be ok, 
some
change in GRASS 6.3-cvs in the first 2 weeks of November seems to have exposed 
it.)

see  http://thread.gmane.org/gmane.comp.gis.grass.devel/17010


thanks,
Hamish


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


[DebianGIS-dev] Bug#305247: [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the screen

2006-08-23 Thread Hamish
 this bug's URL: http://intevation.de/rt/webrt?serial_num=5042
 -
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305247
 
  On a 800x600 monitor, the Settings pop-up window comes up always
  partially off the screen and has to be manually moved back.
 
  Besides, the rightmost main menu Exit button is also half cut off.
 
 Does this refer to placement or the the windows size?
 GRASS is not doing placement.
 
 I assume that you mean size: in fact the window exceeds
 800 pixels in widths which should be somehow fixed (smaller
 icons?).
 cc GRASS bugtracker.


xwininfo show the window has:
  Width: 813
  Height: 146

So we don't need much.

There are 22 icons across, most are 32x32. Some are smaller, e.g.
zoom.*.gif. Most could be cropped or edited to 30x30 without much
damage.



Alternate, maybe better: move first 11 icons below last 11 (natural
break there), this results in a 2x11 block of icons.

It's set at line 76 of vector/v.digit/toolbox.tcl, but I don't know
enough tcl to make it into two rows. help?



Hamish


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


Bug#348865: [DebianGIS-dev] Bug#348865: libgdal1-grass: new upstream version with grass vector support

2006-01-19 Thread Hamish
  New upstream version (1.3.1) is available since long. It is important
  to package it because it includes support for grass vectors (eg, for
  direct use with mapserver).

Although important from a functionality sense, in the Debian bug system
this should be filed as a wishlist item, not as important. i.e. there
is no error in the 1.2.6 package itself.

please see  http://www.debian.org/Bugs/Developer#severities


The DebianGIS team is currently working hard to get the outstanding
library  package naming issues sorted out which are needed before a
1.3.1 GDAL package. See the DebianGIS mailing lists for more info.



Hamish


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


<    1   2   3