$ 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?
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
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