Opened 2 years ago

Last modified 7 months ago

#65559 new defect

pdfpc quartz variant not working

Reported by: onnoeberhard (Onno Eberhard) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: maehne (Torsten Maehne), dbevans (David B. Evans), cooljeanius (Eric Gallager), jjstickel (Jonathan Stickel)
Port: pdfpc webkit2-gtk

Description

I installed the +quartz variant of pdfpc (v4.5.0) (after installing gtk3 with +quartz). The installation works fine, but when I try to open pdfpc, I get the following error:

dyld[44980]: Symbol not found: _gdk_x11_display_get_type
  Referenced from: /opt/local/lib/libwebkit2gtk-4.0.37.44.4.dylib
  Expected in: /opt/local/lib/libgdk-3.0.dylib
[1]    44980 abort      pdfpc main.pdf

Change History (8)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: maehne dbevans added
Port: webkit2-gtk added

Is webkit2-gtk also installed with +quartz?

comment:2 Changed 2 years ago by onnoeberhard (Onno Eberhard)

Thanks! I installed webkit2-gtk with +quartz. Now I can open the application, but I get constant error windows popping up saying 'WebKitWebProcess quit unexpectedly'.

comment:3 Changed 2 years ago by onnoeberhard (Onno Eberhard)

When I try to use the 'video playback' feature of pdfpc, I also get the following error:

(pdfpc:24847): GStreamer-WARNING **: 10:48:34.032: Failed to load plugin '/opt/local/lib/gstreamer-1.0/libgstgtk.so': dlopen(/opt/local/lib/gstreamer-1.0/libgstgtk.so, 0x0002): Symbol not found: _gdk_x11_display_get_type
  Referenced from: /opt/local/lib/gstreamer-1.0/libgstgtk.so
  Expected in: /opt/local/lib/libgdk-3.0.dylib

Could it be that there is still something installed with x11 instead of quartz which shouldn't be?

comment:4 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:5 in reply to:  3 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to onnoeberhard:

When I try to use the 'video playback' feature of pdfpc, I also get the following error:

(pdfpc:24847): GStreamer-WARNING **: 10:48:34.032: Failed to load plugin '/opt/local/lib/gstreamer-1.0/libgstgtk.so': dlopen(/opt/local/lib/gstreamer-1.0/libgstgtk.so, 0x0002): Symbol not found: _gdk_x11_display_get_type
  Referenced from: /opt/local/lib/gstreamer-1.0/libgstgtk.so
  Expected in: /opt/local/lib/libgdk-3.0.dylib

Could it be that there is still something installed with x11 instead of quartz which shouldn't be?

Yes; clearly /opt/local/lib/gstreamer-1.0/libgstgtk.so is. You can use port provides to find out what port installed that file and rebuild that port. However, there may be even more files than that.

This is why we suggest that you decide whether you want +x11 or +quartz before you install any ports. If you change your mind, it's safest to uninstall all ports, then make the change (e.g. in variants.conf), then reinstall the ports you want.

comment:6 Changed 7 months ago by jjstickel (Jonathan Stickel)

Cc: jjstickel added

comment:7 in reply to:  2 ; Changed 7 months ago by jjstickel (Jonathan Stickel)

Replying to onnoeberhard:

Thanks! I installed webkit2-gtk with +quartz. Now I can open the application, but I get constant error windows popping up saying 'WebKitWebProcess quit unexpectedly'.

This the behavior I also experience with +quartz, and the "notes" screen does not show (it is black). I am not trying to use video. That is likely a separate issue.

Version 0, edited 7 months ago by jjstickel (Jonathan Stickel) (next)

comment:8 in reply to:  7 Changed 7 months ago by jjstickel (Jonathan Stickel)

Replying to jjstickel:

Replying to onnoeberhard:

Thanks! I installed webkit2-gtk with +quartz. Now I can open the application, but I get constant error windows popping up saying 'WebKitWebProcess quit unexpectedly'.

I also experience this behavior with +quartz, and the "notes" screen does not show (it is black). I am not trying to use video. That is likely a separate issue.

I just discovered that my black-screen issue on my non-presentation screen may have been caused because I had the option "Displays have separate spaces" disabled. I have since uninstalled pdfpc (and its many dependencies), and so I am not able to verify right now. Leaving this note in case it helps someone else.

Note: See TracTickets for help on using tickets.