[MacPorts] #44616: Glom will not build with +quartz option

MacPorts noreply at macports.org
Tue Dec 15 07:56:27 PST 2015


#44616: Glom will not build with +quartz option
-----------------------+-----------------------
  Reporter:  m.rick@…  |      Owner:  landonf@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.1
Resolution:            |   Keywords:
      Port:  glom      |
-----------------------+-----------------------

Comment (by m.rick@…):

 I reorganized the Quartz native installation tutorial.

 After trying to upgrade to GTK3 3.8.16 and Glom 1.28.5, I got all my Glom
 installation completely messed-up.
 So this is how to proceed.

 1. python27
 2. postgresql94 +python27
 3. doxygen
 Apply the patches as described here before installing doxygen
 https://trac.macports.org/ticket/49881
 4. gtk3 +x11
 5. gcr
 6. gnome-desktop
 7. yelp
 8. glom

 9. From here, before going ahead, make a back-up of your Glom
 installation. You can use a prefix installation if needed before building
 everything if you don’t want to get your MacPorts installation getting
 messed-up. For the steps further, do not care with errors if your
 modifications finish with --->  No broken files found. Maybe it’ll be
 needed to decompose some of the following tasks above.

 10. port clean -f cairo cairomm pango pangomm gtk3 gtkmm3 gtksourceviewmm3
 goocanvasmm2 evince avahi glom
 11. port uninstall -f cairo cairomm
 12. port install -f cairo cairomm +quartz -x11
 13. port uninstall -f pango pangomm
 14. port install -f pango pangomm +quartz -x11
 15. port uninstall -f gtk3
 16. port install -f gtk3 +quartz -x11
 17. port uninstall -f goocanvasmm2 gtkmm3 gtksourceviewmm3
 18. port install -f goocanvasmm2 gtkmm3 gtksourceviewmm3 +quartz -x11
 19. port uninstall -f avahi evince glom
 20. port install -f avahi evince glom +quartz -x11

 That’s it! You get a native Quartz native Glom working installation.
 You’ll get an error with LibGDA5:
 sys:1: PyGIWarning: Gda was imported without specifying a version first.
 Use gi.require_version('Gda', '5.0') before import to ensure that the
 right version gets loaded.
 bool GlomBakery::Document::write_to_disk(): m_file_uri is empty.
 I don’t know how to correct it, but it doesn’t forbid Glom to work.

 Do not update or upgrade it, otherwise, you’re likely to get errors!
 To update or upgrade, replace your installation with the previously
 backed-up one in step 9 and repeat all the tasks from 10 to 20.

 Optionally you can perform additional tasks as well, like converting to
 Quartz the Yelp installation if needed by another port by doing so:

 21. port clean -f webkit-gtk3 yelp
 22. port uninstall -f webkit-gtk3 yelp
 23. port install -f yelp +quartz -x11

 And you’ll get a Quartz native Yelp working installation.
 But to be used with Glom only is useless since Yelp will not launch in any
 cases.


 Globally, Glom 1.28.5 with the latest GTK3 update work really better and
 is very stable compared to the versions 1.26.x/1.27.x
 It makes a nice form application for your PostgreSQL databases.

 Enjoy!

-- 
Ticket URL: <https://trac.macports.org/ticket/44616#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list