Hi,
Apologies for the delay in getting back to you. I was travelling. I
just pushed the gtk3 branch to
https://github.com/nzjrs/osm-gps-map/tree/gtk3
Its not working yet for many reasons (mostly rendering bugs and offset issues)
>
> My linux distro is Fedora 15/ rawhide, and it would be wonderful to be
> able to get this working...
>
> There is totally new features for Gramps[1] genealogy software using
> osmgpsmap and I can't get it to work yet because of not having this
> library...
Awesome (is gramps gtk3 now?). Im very busy with PhD stuff at the
moment, but may try and find some time to finish the gtk3 port.
Regards,
John
>
> [1] https://gramps-project.org/
>
> Sincerely yours,
> Rob G. Healey
>
>
> On Mar 29, 11:48 am, John Stowers <john.stow...@gmail.com> wrote:
>> On Wed, Mar 30, 2011 at 6:12 AM, David Paleino <da...@debian.org> wrote:
>> > Hello everybody,
>> > I wanted to update the Debian package, and also wanted to provide the GIR file,
>> > so that everybody could benefit from it. So I added "--enable-introspection"
>> > to ./configure, but...
>>
>> > $ make
>> > make all-recursive
>> > [..]
>> > GISCAN OsmGpsMap-1.0.gir
>> > The GObject name 'OsmGpsMap' isn't compatibile
>> > with the configured identifier prefixes:
>> > ['OsmGpsMap']
>> > The class would have no name. Most likely you want to specify a
>> > different --identifier-prefix.
>> > make[2]: *** [OsmGpsMap-1.0.gir] Error 1
>> > make[2]: Leaving directory `/home/neo/deb/git/my/osm-gps-map/src'
>> > make[1]: *** [all-recursive] Error 1
>> > make[1]: Leaving directory `/home/neo/deb/git/my/osm-gps-map'
>> > make: *** [all] Error 2
>> > $
>>
>> > The GISCAN step is as follows (V=1 make):
>>
>> > /usr/bin/g-ir-scanner --add-include-path=. --add-include-path=.
>> > --namespace=OsmGpsMap --nsversion=1.0 --libtool="/bin/bash ../libtool"
>> > --include=GObject-2.0 --include=Gtk-2.0 --library=libosmgpsmap.la
>> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
>> > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
>> > -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
>> > -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
>> > -I/usr/include/libpng12 -pthread -I/usr/include/cairo -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
>> > -I/usr/include/libpng12 -pthread -I/usr/include/libsoup-2.4
>> > -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> > converter.c osd-utils.c osm-gps-map-osd.c osm-gps-map-layer.c
>> > osm-gps-map-track.c osm-gps-map-point.c osm-gps-map-image.c
>> > osm-gps-map-source.c osm-gps-map-widget.c osm-gps-map-compat.c osm-gps-map.h
>> > osm-gps-map-osd.h osm-gps-map-layer.h osm-gps-map-track.h osm-gps-map-point.h
>> > osm-gps-map-image.h osm-gps-map-source.h osm-gps-map-widget.h
>> > osm-gps-map-compat.h libosmgpsmap.la --output OsmGpsMap-1.0.gir
>> > g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
>> > -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
>> > -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
>> > -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
>> > -I/usr/include/libpng12 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2
>> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
>> > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
>> > -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
>> > -I/usr/include/pixman-1 -I/usr/include/libpng12 -c
>> > -o /home/neo/deb/git/my/osm-gps-map/src/tmp-introspectATICoR/OsmGpsMap-1.0.o /home/neo/deb/git/my/osm-gps-map/src/tmp-introspectATICoR/OsmGpsMap-1.0.c
>> > g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC --silent gcc
>> > -o /home/neo/deb/git/my/osm-gps-map/src/tmp-introspectATICoR/OsmGpsMap-1.0
>> > -export-dynamic -L. libosmgpsmap.la -pthread -lgio-2.0 -lgobject-2.0
>> > -lgmodule-2.0 -lgthread-2.0 -lrt
>> > -lglib-2.0 /home/neo/deb/git/my/osm-gps-map/src/tmp-introspectATICoR/OsmGpsMap-1.0.o
>>
>> > Now, I'm not a GIR expert, and I googled a couple of days but couldn't find
>> > anything to fix this. John (but also others :)), do you know a
>> > solution/workaround/fix?
>>
>> GIR for gtk+-2 is not worthwhile in my opinion. I suggest building
>> with --disable-introspection.
>>
>> I was actually very close to removing g-i support in 0.7.x and might
>> still do so for the next release.
>>
>> Proper GI support and a port to gtk-3 is coming soonish (see gtk3 branch).
>>
>> Regards
>>
>> John
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> > Kindly,
>> > David
>>
>> > --
>> > . ''`. Debian developer |http://wiki.debian.org/DavidPaleino
>> > : :' : Linuxer #334216 --|--http://www.hanskalabs.net/
>> > `. `'` GPG: 1392B174 ----|----http://deb.li/dapal
>> > `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
On Tuesday, August 21, 2012 11:00:23 AM UTC+2, John Stowers wrote:On Thu, Aug 16, 2012 at 3:57 PM, Serge Noiraud <Serge....@bull.net> wrote:
> Could we expect a version that works in gtk3 before the end of the year?
Yeah, I started this again last week. I should not take too long -
since I started the port I have ported many other libraries.
--
Hi John.
Did you ever finish the GTK3 port?
Cheers,
Henrik
On Tuesday, August 21, 2012 11:00:23 AM UTC+2, John Stowers wrote:
On Thu, Aug 16, 2012 at 3:57 PM, Serge Noiraud <Serge....@bull.net> wrote:
> Could we expect a version that works in gtk3 before the end of the year?
Yeah, I started this again last week. I should not take too long -
since I started the port I have ported many other libraries.
Hi John.
Did you ever finish the GTK3 port?
Yes. There are two bugs remaining.
--
Cheers,
Henrik
Serge Noiraud
Les logiciels libre, c'est mieux : Debian, Firefox,
LibreOffice, ...
Tout ce qui n'est pas gratuit est perdu.
Développeur projet gramps : http://gramps-project.org/ et osm-gps-map : http://nzjrs.github.com/osm-gps-map
Le 28/01/2013 09:22, Henrik B A a écrit :
Yes. There are two bugs remaining.
On Tuesday, August 21, 2012 11:00:23 AM UTC+2, John Stowers wrote:On Thu, Aug 16, 2012 at 3:57 PM, Serge Noiraud <Serge....@bull.net> wrote:
> Could we expect a version that works in gtk3 before the end of the year?
Yeah, I started this again last week. I should not take too long -
since I started the port I have ported many other libraries.
Hi John.
Did you ever finish the GTK3 port?
Since the last "fix offset on click event" patch, there are offset problems when we add icon.
I tried to include again the john's modification in my tree, but I don't know how to do that.
I don't know git.
On Mon, Jan 28, 2013 at 9:57 AM, Serge Noiraud <Serge....@bull.net> wrote:
Le 28/01/2013 09:22, Henrik B A a écrit :
Yes. There are two bugs remaining.
On Tuesday, August 21, 2012 11:00:23 AM UTC+2, John Stowers wrote:On Thu, Aug 16, 2012 at 3:57 PM, Serge Noiraud <Serge....@bull.net> wrote:
> Could we expect a version that works in gtk3 before the end of the year?
Yeah, I started this again last week. I should not take too long -
since I started the port I have ported many other libraries.
Hi John.
Did you ever finish the GTK3 port?
Since the last "fix offset on click event" patch, there are offset problems when we add icon.
I tried to include again the john's modification in my tree, but I don't know how to do that.
I don't know git.
I made some changes after I merged your branch, to fix some bugs I saw.
Have you tested these changes or did you say it was too difficult because of git?
John
I think these offset problems are in the src/osm-gps-map-widget.c source in the following method :
osm_gps_map_set_center_and_zoom
They where introduced in the "Gtk3 : warning suppression and offset problem (EXTRA_BORDER)" patch
and perhaps near line 1127 too.
--
Cheers,
Henrik
--
Serge Noiraud
Les logiciels libre, c'est mieux : Debian, Firefox, LibreOffice, ...
Tout ce qui n'est pas gratuit est perdu.
Développeur projet gramps : http://gramps-project.org/ et osm-gps-map : http://nzjrs.github.com/osm-gps-map
--
You received this message because you are subscribed to the Google Groups "osm-gps-map" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osm-gps-map...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Le 29/01/2013 12:34, John Stowers a écrit :
Yes. These offset problems occurred since you corrected the last bug I left out.
On Mon, Jan 28, 2013 at 9:57 AM, Serge Noiraud <Serge....@bull.net> wrote:
Le 28/01/2013 09:22, Henrik B A a écrit :
Yes. There are two bugs remaining.
On Tuesday, August 21, 2012 11:00:23 AM UTC+2, John Stowers wrote:On Thu, Aug 16, 2012 at 3:57 PM, Serge Noiraud <Serge....@bull.net> wrote:
> Could we expect a version that works in gtk3 before the end of the year?
Yeah, I started this again last week. I should not take too long -
since I started the port I have ported many other libraries.
Hi John.
Did you ever finish the GTK3 port?
Since the last "fix offset on click event" patch, there are offset problems when we add icon.
I tried to include again the john's modification in my tree, but I don't know how to do that.
I don't know git.
I made some changes after I merged your branch, to fix some bugs I saw.
Have you tested these changes or did you say it was too difficult because of git?
I didn't know where to exactly solve these offset problems, so I tried one solution, but it was the bad one.
On Tue, Jan 29, 2013 at 1:38 PM, Serge Noiraud <Serge....@bull.net> wrote:
Le 29/01/2013 12:34, John Stowers a écrit :
Yes. These offset problems occurred since you corrected the last bug I left out.
On Mon, Jan 28, 2013 at 9:57 AM, Serge Noiraud <Serge....@bull.net> wrote:
Le 28/01/2013 09:22, Henrik B A a écrit :
Yes. There are two bugs remaining.
On Tuesday, August 21, 2012 11:00:23 AM UTC+2, John Stowers wrote:On Thu, Aug 16, 2012 at 3:57 PM, Serge Noiraud <Serge....@bull.net> wrote:
> Could we expect a version that works in gtk3 before the end of the year?
Yeah, I started this again last week. I should not take too long -
since I started the port I have ported many other libraries.
Hi John.
Did you ever finish the GTK3 port?
Since the last "fix offset on click event" patch, there are offset problems when we add icon.
I tried to include again the john's modification in my tree, but I don't know how to do that.
I don't know git.
I made some changes after I merged your branch, to fix some bugs I saw.
Have you tested these changes or did you say it was too difficult because of git?
I didn't know where to exactly solve these offset problems, so I tried one solution, but it was the bad one.
I saw offset problems in your branch, which my patch appears to fix.
Are you sure we are working with the same versions of the code?
Can you describe a test case please