FS#33773 - [libgexiv2] Add --enable-introspection to ./configure to enable python bindings

Attached to Project: Community Packages
Opened by Egor Vakhromtsev (vem) - Friday, 08 February 2013, 18:48 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 13 February 2013, 13:25 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please enable introspection in build:

./configure --prefix=/usr --enable-introspection

This also provides python bindings for gexiv2.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Wednesday, 13 February 2013, 13:25 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Sunday, 10 February 2013, 22:15 GMT
Thanks for reporting, I will look at this.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 12 February 2013, 21:43 GMT
Ok, tried adding --enable-introspection. When doing so, the package no longer compiles here:

[...]
gexiv2/gexiv2-metadata.cpp gexiv2/gexiv2-metadata-exif.cpp gexiv2/gexiv2-metadata-gps.cpp gexiv2/gexiv2-metadata-iptc.cpp gexiv2/gexiv2-metadata-xmp.cpp gexiv2/gexiv2-stream-io.cpp gexiv2/gexiv2-preview-properties.cpp gexiv2/gexiv2-preview-image.cpp gexiv2/gexiv2-log.cpp gexiv2/gexiv2-startup.cpp \
--library libgexiv2.la \
--pkg=gobject-2.0
make: g-ir-scanner: Command not found
make: *** [GExiv2-0.4.gir] Error 127
==> ERROR: A failure occurred in build().
Aborting...

Does it compile on your system?
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 12 February 2013, 21:45 GMT
Oh, and g-ir-scanner is installed here, just to be clear:

% which g-ir-scanner
/usr/bin/g-ir-scanner

% pacman -Qo g-ir-scanner
/usr/bin/g-ir-scanner is owned by gobject-introspection 1.34.2-1
Comment by Egor Vakhromtsev (vem) - Wednesday, 13 February 2013, 06:31 GMT
It builds fine for me on x86_64.
gobject-introspection also installed.

Do you still have error "make: g-ir-scanner: Command not found" with installed gobject-introspection?

may be it also need python-gobject or pygobject-devel?
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 13 February 2013, 13:13 GMT
My bad, gobject-introspection was installed on my system, but not when compiling in a chroot. Added the dependency and uploaded the new package to [community] now. It should appear there shortly.

Loading...