[MacPorts] #29992: xournal: Missing dependency gdk
#29992: xournal: Missing dependency gdk ------------------------------+--------------------------------------------- Reporter: cal@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: xournal ------------------------------+--------------------------------------------- I tried to install xournal, which failed with {{{ :info:build xo-file.c:14:22: error: gdk/gdkx.h: No such file or directory :info:build xo-file.c: In function 'attempt_screenshot_bg': :info:build xo-file.c:935: warning: passing argument 1 of 'XGrabButton' makes pointer from integer without a cast :info:build xo-file.c:938: warning: passing argument 1 of 'XWindowEvent' makes pointer from integer without a cast :info:build xo-file.c:939: warning: passing argument 1 of 'XUngrabButton' makes pointer from integer without a cast :info:build xo-file.c:14:22: error: gdk/gdkx.h: No such file or directory :info:build xo-file.c: In function 'attempt_screenshot_bg': :info:build xo-file.c:935: warning: passing argument 1 of 'XGrabButton' makes pointer from integer without a cast :info:build xo-file.c:938: warning: passing argument 1 of 'XWindowEvent' makes pointer from integer without a cast :info:build xo-file.c:939: warning: passing argument 1 of 'XUngrabButton' makes pointer from integer without a cast }}} I guess this header is provided by either the gdk-pixbuf or gdk-pixbuf2 port, which is not declared as a dependency for xournal. -- Ticket URL: <https://trac.macports.org/ticket/29992> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29992: xournal: Missing dependency gdk ------------------------------+--------------------------------------------- Reporter: cal@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: xournal ------------------------------+--------------------------------------------- Changes (by cal@…): * cc: cal@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/29992#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29992: xournal: Missing dependency gdk ------------------------------+--------------------------------------------- Reporter: cal@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: xournal ------------------------------+--------------------------------------------- Comment(by ryandesign@…): The dependency is not missing. xournal depends on libgnomecanvas which depends on gtk2 which provides /opt/local/include/gtk-2.0/gdk/gdkx.h. Rather, is it possible you have installed ports including gtk2 with the +quartz variant and/or without the x11 variant? If so, that's the likely cause for the problem (and I suspect there is no workaround; I suspect xournal requires a gtk2 that has X11 support). -- Ticket URL: <https://trac.macports.org/ticket/29992#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29992: xournal: Missing dependency gdk ------------------------------+--------------------------------------------- Reporter: cal@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: xournal ------------------------------+--------------------------------------------- Comment(by cal@…): Thanks for the information. I guess this ticket can be closed as invalid then. Should we add a message if gtk2 is installed without +x11? Can we even check this? -- Ticket URL: <https://trac.macports.org/ticket/29992#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29992: xournal: Missing dependency gdk -------------------------------+-------------------------------------------- Reporter: cal@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: xournal | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:4 cal@…]:
Should we add a message if gtk2 is installed without +x11? Can we even check this?
Good idea -- added in r79974. -- Ticket URL: <https://trac.macports.org/ticket/29992#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts