[MacPorts] #41839: gcr @3.10.1 requires gdk/gdkx.h
#41839: gcr @3.10.1 requires gdk/gdkx.h -----------------------+-------------------------------- Reporter: khepler@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: gcr -----------------------+-------------------------------- Building gcr fails on my machine with the error: {{{ gcr-prompt-dialog.c:34:22: error: gdk/gdkx.h: No such file or directory }}} This file is provided by gtk when built with X support, but not (as on my machine) with Quartz support. -- Ticket URL: <https://trac.macports.org/ticket/41839> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1 requires gdk/gdkx.h ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => devans@… * cc: devans@… (removed) Comment: Sounds like you've already discovered the solution. If you want to install gcr, install gtk2 with the +x11 variant. If you want gcr to not require that, explain that to the developers of gcr. -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1 requires gdk/gdkx.h ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- Comment (by khepler@…): I thought it might be a good idea to explicitly require the +x11 variant. -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1 should require gtk +x11 ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1_0 should require gtk2 +x11 ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1_0 should require gtk2 +x11 ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- Comment (by ryandesign@…): Has duplicate #42787. -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1_0 should require gtk2 +x11 ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- Comment (by gvibe06@…): FYI - still occurring in MP 5.3.1 With version Gcr 3.12.2, the Gtk requirements have moved to Gtk3. This port is ultimately being pulled in by gvfs, which is obviously pulled in by something requiring gvfs or has a variant for gvfs explicitly set. For me its being pulled in via gimp2-devel +gvfs, which ultimately pulls in some gnome stuff, libgcrypt, and eventually gcr. Gcr fails to compile due to 4 files from gcr requiring gdk/gdkx.h from Gtk3, which is only provided when Gtk3 is built with +x11. I am merely keeping this compile issue relevant, and believe upstream is still responsible for fixing this. J -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr @3.10.1_0 should require gtk2 +x11 ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- Comment (by devans@…): Replying to [comment:7 gvibe06@…]:
I am merely keeping this compile issue relevant, and believe upstream is
still responsible for fixing this.
I agree. The current UI code uses X11 specific API and relies on gdk/gdkx.h in several places. This not only effects the ability to build using the gtk+ Quartz backend but potentially others such as Wayland. It should be possible to rework the UI code to avoid backend specific code or at least support more than just the X11 backend. I've filed a bug report upstream https://bugzilla.gnome.org/show_bug.cgi?id=734366. A possibly related bug report is https://bugzilla.gnome.org/show_bug.cgi?id=688678 which requests the ability to build without gtk+ at all. In the meantime, in r123181 have added a pre-configure check for the presence of gtk3 +x11 using require_active_variants. This doesn't fix the build problem but makes it more apparent what the issue is. -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr: build fails when using gtk3 +quartz due to X11 specific UI code ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41839: gcr: build fails when using gtk3 +quartz due to X11 specific UI code ------------------------+---------------------- Reporter: khepler@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gcr | ------------------------+---------------------- Comment (by devans@…): The following MacPorts GNOME ports are blocked from building with gtk3 +quartz due to this issue: * empathy * eog * eog-plugins * epiphany * evolution-data-server * gnome-online-accounts * grilo-plugins * libgdata * seahorse * totem -- Ticket URL: <https://trac.macports.org/ticket/41839#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts