Building and using on OS X (Lion)
Submitted by Valencia Maintainers
Link to original bug (#712438)
Description
---- Reported by valencia-maint@gnome.bugs 2013-05-08 09:32:00 -0700 ----
Original Redmine bug id: 6925
Original URL: http://redmine.yorba.org/issues/6925
Searchable id: yorba-bug-6925
Original author: Benjamin Henne
Original description:
Building on OS X (testing on Lion) currently does not work
-
Need to install prerequisites, I had to
brew install glib gobject-introspection
-
Need to replace libtool by glibtool in Makefile to allow correct use of glibtool. Replacing by $(LIBTOOL) does not work in current Makefile, because shell then executes LIBTOOL=glibtool --mode ...
I suggest removing LIBTOOL= in configure script and adding it in Makefile once where needed, finally replacing libtool by $(LIBTOOL) in Makefile. Then./configure --enable-introspection --with-libtool=glibtool
-
Now, gexiv2 builds using make.
make
-
$ make install
glibtool --mode=install install libgexiv2.la /usr/local/lib glibtool: install: install .libs/libgexiv2.2.dylib /usr/local/lib/libgexiv2.2.dylib glibtool: install: (cd /usr/local/lib && { ln -s -f libgexiv2.2.dylib libgexiv2.dylib || { rm -f libgexiv2.dylib && ln -s libgexiv2.2.dylib libgexiv2.dylib; }; }) glibtool: install: install .libs/libgexiv2.lai /usr/local/lib/libgexiv2.la install -m 644 gexiv2/gexiv2.h gexiv2/gexiv2-metadata.h gexiv2/gexiv2-managed-stream.h gexiv2/gexiv2-preview-properties.h gexiv2/gexiv2-preview-image.h gexiv2/gexiv2-log.h gexiv2/gexiv2-startup.h /usr/local/include/gexiv2 install -m 644 gexiv2.pc /usr/local/lib/pkgconfig install -m 644 gexiv2.vapi /usr/local/share/vala/vapi install -m 644 GExiv2-0.4.gir /usr/local/share/gir-1.0 install -m 644 GExiv2-0.4.typelib
pkg-config gobject-introspection-no-export-1.0 --variable typelibdir
How moving on?
-
This may be needed
export PYTHONPATH="$(brew --prefix)/lib/python2.7/site-packages:$PYTHONPATH"
-
I also installed pygobject, executed make install again
pygobject: stable 2.28.6
-
but still even gi.repository is not found by python
There is no python-gi on OS X?
---- Additional Comments From valencia-maint@gnome.bugs 2013-08-29 15:17:00 -0700 ----
History
Comment 1
Updated by Jim Nelson 6 months ago
- Category set to build
Comment 2
Updated by Robert Park 3 months ago
GI is a GNOME technology; I've heard that in theory it should not be difficult to port it to OSX or Windows, but that so far nobody has really bothered. I'm afraid I can't help with this.
--- Bug imported by chaz@yorba.org 2013-11-16 14:44 UTC ---
This bug was previously known as bug 6925 at http://redmine.yorba.org/show_bug.cgi?id=6925
Unknown version " in product gexiv2. Setting version to "!unspecified". Unknown milestone "unknown in product gexiv2. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one. Resolution set on an open status. Dropping resolution