Re: r2986 - packages/opencpn/trunk/debian

2011-06-29 Thread Francesco P. Lovergine
On Wed, Jun 29, 2011 at 03:49:48AM -0700, Hamish wrote:
> Francesco wrote:
> > so please load your version on the svn repository under
> > tarballs/ branch to at least try building the previous
> > version. I noted the upstream tree is full of binaries which
> > require apparently a nearby licensing analysis
> 
> Hi,
> 
> in the mentor review Paul didn't like keeping the tarball in
> svn. I don't really like to keep binaries in svn either, but
> I do like the history/audit trail that a SCM provides.
> 
> Paul Wise wrote:
> > Another solution is to use the alioth web space, like pkg-games
> > do:
> > http://pkg-games.alioth.debian.org/tarballs/
> 
> so for the latest source release I've experimentally put it here:
>   http://pkg-grass.alioth.debian.org/tarballs/
> 
> do you prefer that, or should we go back to the tarballs/ dir in
> svn? I don't really mind.  we could keep the md5sums in svn?
> 

I don't care, you just need to document it somewhere in the svn
repository, then you can adopt any public site for that.

-- 
Francesco P. Lovergine

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


Re: r2986 - packages/opencpn/trunk/debian

2011-06-29 Thread Hamish
Francesco wrote:
> so please load your version on the svn repository under
> tarballs/ branch to at least try building the previous
> version. I noted the upstream tree is full of binaries which
> require apparently a nearby licensing analysis

Hi,

in the mentor review Paul didn't like keeping the tarball in
svn. I don't really like to keep binaries in svn either, but
I do like the history/audit trail that a SCM provides.

Paul Wise wrote:
> Another solution is to use the alioth web space, like pkg-games
> do:
> http://pkg-games.alioth.debian.org/tarballs/

so for the latest source release I've experimentally put it here:
  http://pkg-grass.alioth.debian.org/tarballs/

do you prefer that, or should we go back to the tarballs/ dir in
svn? I don't really mind.  we could keep the md5sums in svn?


thanks,
Hamish

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


Re: r2986 - packages/opencpn/trunk/debian

2011-06-16 Thread Hamish
Francesco wrote:
> Hamish
> 
> I tried to update opencpn to the current upstream version,
> but got an error:
> 
> /usr/bin/c++   -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS
> -DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DUSE_S57
> -DUSE_GARMINHOST -g -O2  -pthread -isystem
> /usr/lib/wx/include/gtk2-unicode-release-2.8 -isystem
> /usr/include/wx-2.8 -I/tmp/buildd/opencpn-2.4.606/include
> -I/tmp/buildd/opencpn-2.4.606/src -I/usr/include/gtk-2.0
> -I/usr/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
> -I/tmp/buildd/opencpn-2.4.606/src/nmea0183
> -I/tmp/buildd/opencpn-2.4.606/src/mygdal
> -I/tmp/buildd/opencpn-2.4.606/src/garmin/jeeps   -Wall
> -g -fexceptions -rdynamic -O3 -fno-strict-aliasing -o
> CMakeFiles/S57ENC.dir/src/s52plib.cpp.o -c
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp
...
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: Assembler
> messages:
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:5550: Error:
> symbol `l0' is already defined
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:: Error:
> symbol `l1' is already defined
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:5562: Error:
> symbol `l2' is already defined
> make[3]: *** [CMakeFiles/S57ENC.dir/src/s52plib.cpp.o]
> Error 1

Hi,

I've just built it (the new 2.4.612) ok in a sid amd64 VM, could
you try again?  Dave wrote about it:

http://www.cruisersforum.com/forums/f134/opencpn-version-2-4-beta-build-606-a-61929-3.html#post708864

"""
Hamish

Check out my ugly code

This is a hack to inline an assembly code version of memset3.
It is conditional on __WXGTK__ and __INTEL__.

I did this long ago after looking at the instructions generated by gcc3. Made 
me cringe

Maybe it breaks with 64? Is this optimization used on your build?

Dave 
"""

(fwiw I'm building using a amd phenom chip)


> so please load your version on the svn repository under
> tarballs/ branch to at least try building the previous version.

> I noted the upstream tree is full of binaries which require
> apparently a nearby licensing analysis

yes, PaulW picked that up too. The main problematic one I see is
the MS VC++ runtime redistributable. I looked on their download
page but no terms, I guess you have to look at the click-through
upon install. I suspect the terms are similar to Java's JAI array
support redistributable.

I do not disagree that the other binaries shouldn't be in the
code repo, but AFAIR Nullsoft made the installer binary and that
is all gpl-compatible, and the other is produced by the project
itself.

http://www.cruisersforum.com/forums/f134/opencpn-build-on-debian-35977-10.html#post685796

no useful action on that yet AFAIK.


re tarballs:
how to "svn export" from the upstream git repo to make the .orig
tarball for Alioth? Can it be done automatically? Can it be set
to --exclude= (in the rsync sense) the buildwin/ and buildosx/
dirs from the upstream git repo automatically?

or should I just do all that by hand?


thanks,
Hamish


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


Re: r2986 - packages/opencpn/trunk/debian

2011-06-07 Thread Hamish
Francesco wrote:
> I tried to update opencpn to the current upstream version,

Hi,

the version I last built against was 2.4.523 (aka May 23 beta for the
2.5.0 stable release due later this month), see the debian/changelog.

2.4.606 seems a new beta release (.606 == June 6), I'll work on that
in the next day or so.

> but got an error:
...
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: Assembler messages:
> /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:5550: Error: symbol `l0' is 
> already defined

> Error 1


ok, looks like conflicting globals from multiple linked libraries. I'll see
what I can find.

 
> so please load your version on the svn repository under tarballs/ branch
> to at least try building the previous version.

ok, if you like. It would be cleaner to note a git checkout of the exact
version, Paul W. (pabs) suggested such a thing but I am still getting to
grips with git. I think the watch file for the 2.5 package upload should
point to the stable source tarball on sourceforge (when it becomes
available).

also a custom git checkout to make the .orig.tar.gz would allow us to not
include the mswindows/ and macosx/ dirs, solving the .dll and .exe build-
helper-binaries mentioned below.
??


> I noted the upstream tree is full of binaries which require
> apparently a nearby licensing analysis

yes, Paul noticed that too in his mentors review. (I hadn't even looked in
that dir 'til then..) The main one I'm concerned about is the standard MS
VC++ redistributable. I can't see any legalese on the download page for it,
probably you only see that on the click-through at install time.  ??
Anyway I've started a thread about it on the OpenCPN forum, but no good
answer or action on it yet.

http://www.cruisersforum.com/forums/f134/opencpn-build-on-debian-35977-10.html#post685796

I'm 98% sure the (c)Nullsoft installer ones are GPL/GPL compatible.


I owe Paul a long reply/update about the package status, maybe it answers
some more questions. stay tuned.



best,
Hamish


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


Re: r2986 - packages/opencpn/trunk/debian

2011-06-07 Thread Francesco P. Lovergine
On Sat, Apr 30, 2011 at 02:25:12AM +, hamish-gu...@alioth.debian.org wrote:
> Author: hamish-guest
> Date: 2011-04-30 02:25:10 + (Sat, 30 Apr 2011)
> New Revision: 2986
> 

Hamish

I tried to update opencpn to the current upstream version, but got an error:

/usr/bin/c++   -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DUSE_GLU_TESS 
-DocpnUSE_GTK_OPTIMIZE -DBUILD_WITH_LIBGPS -DUSE_S57 -DUSE_GARMINHOST -g -O2  
-pthread -isystem /usr/lib/wx/include/gtk2-unicode-release-2.8 -isystem 
/usr/include/wx-2.8 -I/tmp/buildd/opencpn-2.4.606/include 
-I/tmp/buildd/opencpn-2.4.606/src -I/usr/include/gtk-2.0 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/tmp/buildd/opencpn-2.4.606/src/nmea0183 
-I/tmp/buildd/opencpn-2.4.606/src/mygdal 
-I/tmp/buildd/opencpn-2.4.606/src/garmin/jeeps   -Wall -g -fexceptions 
-rdynamic -O3 -fno-strict-aliasing -o CMakeFiles/S57ENC.dir/src/s52plib.cpp.o 
-c /tmp/buildd/opencpn-2.4.606/src/s52plib.cpp
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: In member function 'int 
s52plib::ParseLUPT(FILE*)':
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:1162:14: warning: variable 'ret' 
set but not used [-Wunused-but-set-variable]
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: In member function 'bool 
s52plib::S52_flush_Plib()':
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:1903:13: warning: variable 'pR' set 
but not used [-Wunused-but-set-variable]
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: In member function 'bool 
s52plib::RenderHPGLtoDC(char*, char*, wxDC*, wxPoint&, wxPoint&, double)':
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:2817:14: warning: variable 
'polyMode' set but not used [-Wunused-but-set-variable]
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: In member function 'int 
s52plib::RenderLC(ObjRazRules*, Rules*, ViewPort*)':
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:3893:17: warning: variable 'w' set 
but not used [-Wunused-but-set-variable]
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: In member function 'int 
s52plib::PrioritizeLineFeature(ObjRazRules*, int)':
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:4951:23: warning: variable 'inode' 
set but not used [-Wunused-but-set-variable]
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: In member function 'int 
s52plib::dda_tri(wxPoint*, S52color*, render_canvas_parms*, 
render_canvas_parms*)':
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:5234:12: warning: variable 'dda8' 
set but not used [-Wunused-but-set-variable]
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp: Assembler messages:
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:5550: Error: symbol `l0' is already 
defined
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:: Error: symbol `l1' is already 
defined
/tmp/buildd/opencpn-2.4.606/src/s52plib.cpp:5562: Error: symbol `l2' is already 
defined
make[3]: *** [CMakeFiles/S57ENC.dir/src/s52plib.cpp.o] Error 1

so please load your version on the svn repository under tarballs/ branch to at 
least try
building the previous version. I noted the upstream tree is full of binaries 
which require
apparently a nearby licensing analysis

-- 
Francesco P. Lovergine

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


r2986 - packages/opencpn/trunk/debian

2011-04-29 Thread hamish-guest
Author: hamish-guest
Date: 2011-04-30 02:25:10 + (Sat, 30 Apr 2011)
New Revision: 2986

Modified:
   packages/opencpn/trunk/debian/rules
Log:
clean up install of READMEs

Modified: packages/opencpn/trunk/debian/rules
===
--- packages/opencpn/trunk/debian/rules 2011-04-25 03:42:43 UTC (rev 2985)
+++ packages/opencpn/trunk/debian/rules 2011-04-30 02:25:10 UTC (rev 2986)
@@ -31,10 +31,14 @@
rm -rf $(CURDIR)/debian/opencpn/usr/share/opencpn/doc
rm -rf $(CURDIR)/debian/opencpn/usr/share/opencpn/sounds
rm -rf $(CURDIR)/debian/opencpn/usr/share/opencpn/tcdata
-   # fixme: the main docs install just recopies in this README a moment 
later..
+
+override_dh_installdocs:
+   dh_installdocs
+   mv 
$(CURDIR)/debian/opencpn-data/usr/share/doc/opencpn-data/README_BELLS.txt \
+   
$(CURDIR)/debian/opencpn-data/usr/share/doc/opencpn-data/README.bells
+   rm 
$(CURDIR)/debian/opencpn-data/usr/share/opencpn/sounds/README_BELLS.txt
+   #harmonics readme already installed to the opencpn-data/docs dir
rm 
$(CURDIR)/debian/opencpn-doc/usr/share/doc/opencpn-doc/doc/README.harmonics
-   rm 
$(CURDIR)/debian/opencpn-data/usr/share/opencpn/sounds/README_BELLS.txt
 
-
 override_dh_installman:
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