GNOME Bugzilla – Bug 712438
Building and using on OS X (Lion)
Last modified: 2018-05-22 12:31:57 UTC
---- 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 #### #1 Updated by Jim Nelson 6 months ago * **Category** set to _build_ #### #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
For what it's worth gexiv2 is available on Yosemite, Mavericks and Mountain Lion through Homebrew now. https://github.com/Homebrew/homebrew/commits/master/Library/Formula/gexiv2.rb
I'm not familiar with Homebrew. I assume it's a package manager for Mac (like MacPorts)? Should we close this bug then? It sounds like no further work needs to be done.
Yes, Homebrew (http://brew.sh/) is another package manager like MacPorts. Looks like someone is keeping a Portfile up to date within MacPorts too. https://trac.macports.org/browser/trunk/dports/gnome/gexiv2/Portfile So yeah, I don't think there is anything else to be done here.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gexiv2/issues/6.