#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@…): Replying to [comment:3 devans@…]:
As an example take a look at #41839 which deals with port gcr and its X11 only problems, the report to the upstream developers and their reply.
Hi ! Well … I got it working with quartz ! That wasn't easy though … These are the detailed steps to reproduce, this precise order must be respected exactly. I tried several times with different combinations before getting the right one. It was very long and took me all day for this one. There are 2 parts. The first part is to build Glom with X11 and all its dependency normally. 1 - port install python27 (bzip2 db46 db_select gettext expat libiconv ncurses libedit openssl zlib python_select sqlite3) 2 - port install gnome-desktop (desktop-file-utils glib2 libffi pkgconfig popt gnome-common gnome-themes- standard gtk2 atk gobject-introspection cairo fontconfig freetype libpng libpixman xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg- kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread- stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg- xextproto xorg-xf86bigfontproto xorg-xtrans xorg-xcb-util xrender xorg- renderproto gdk-pixbuf2 jasper jpeg tiff gtk-doc docbook-xml docbook- xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl fop itstool gawk readline py27-libxml2 libxslt openjade opensp vim hicolor-icon-theme pango Xft2 harfbuzz graphite2 cmake curl curl-ca-bundle libidn libarchive lzo2 shared-mime-info intltool p5.16-getopt-long p5.16-pathtools p5.16-scalar- list-utils p5.16-xml-parser xorg-libXcomposite xorg-compositeproto xorg- libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg- randrproto gtk3 at-spi2-atk at-spi2-core dbus dbus-glib xorg-libXevie xorg-evieproto xorg-libXtst xorg-recordproto xorg-libice xorg-libsm dbus- python27 librsvg libcroco vala gsettings-desktop-schemas gsed iso-codes xkeyboard-config xkbcomp xorg-libxkbfile) 3 - port install yelp (gnome-getting-started-docs gnome-icon-theme icon-naming-utils p5.16-xml- simple p5.16-xml-namespacesupport p5.16-xml-sax p5.16-xml-sax-base p5.16 -xml-sax-expat gnome-icon-theme-symbolic gnome-settings-daemon geoclue2 gpsd scons json-glib libsoup glib-networking gnutls gmp libtasn1 nettle p11-kit gsettings-desktop-schemas gsed libproxy geocode-glib gnome-desktop iso-codes xkeyboard-config xkbcomp xorg-libxkbfile lcms2 libcanberra gstreamer1 bison flex gzip texinfo help2man p5.16-locale-gettext libvorbis libogg libgweather libnotify pulseaudio fftw-3-single fftw-3 json-c libsamplerate libsndfile flac orc speex upower policykit gnome-doc-utils rarian getopt gnome-user-docs webkit-gtk3 enchant aspell hunspell geoclue gmake gstreamer1-gst-plugins-base libtheora xorg-libXv xorg-videoproto harfbuzz-icu icu libsecret libgcrypt libgpg-error mesa makedepend xorg- dri2proto xorg-glproto xorg-libXmu xorg-libXt webp yelp-xsl) 4 - port install … databases (postresql93 + mysql55) This step is optional since it will be done automatically with the next step. I didn't use it though. 5 - port install glom (boost doxygen evince libspectre ghostscript jbig2dec libpaper poppler openjpeg15 jbigkit poppler-data t1lib texlive-bin libzzip xmlto coreutils findutils texlive-common xorg-libXaw groff netpbm psutils xpm xorg-libXp xorg-printproto yelp-tools gnome-keyring gcr gnupg libusb-compat libusb openldap cyrus-sasl2 kerberos5 libcomerr tcp_wrappers goocanvasmm2 goocanvas2 py27-gobject3 py27-cairo py27-numpy py27-nose nosetests_select py27-setuptools gtkmm3 atkmm glibmm libsigcxx2 mm-common wget pcre cairomm pangomm graphviz gd2 libvpx yasm gts libLASi urw-fonts gtksourceviewmm3 gtksourceview3 libepc avahi libdaemon libglade2 py27-gdbm py27-pygtk py27-gobject ossp-uuid libgda5 db51 postgresql93 postgresql_select libgdamm5 libxmlxx2 py27-sphinx py27-docutils py27-roman py27-jinja2 py27-markupsafe py27-pygments sphinx_select) This is the end of the first step. At this moment you can launch glom as well and it'll run perfectly with X11 or XQuartz intalled. Second step to get Quartz options. It is tricky. 1 - port clean -f gtk3 2 - port clean -f glom 3 - port uninstall -f gtk3 4 - port install -f cairo +quartz Here it'll rebuild everything even GTK3, but just don't care go ahead with the following steps anyway. 5 - port install -f pango +quartz 6 - port install -f gtk3 +quartz 7 - port install -f cairomm +quartz 8 - port install -f pangomm +quartz 9 - port install -f gtkmm3 +quartz 10 - port install -f glom +quartz Here you are! Enjoy! I don't know if you close or leave open the ticket. [[Image(http://imagizer.imageshack.us/v2/150x100q90/904/6k39gb.png)]][http://imageshack.com/f/p46k39gbp] -- Ticket URL: <https://trac.macports.org/ticket/44616#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X