Opened 3 months ago

Closed 3 months ago

#69290 closed defect (fixed)

gtkwave @3.3.117_0: No package 'gtk-mac-integration' found

Reported by: DanielO (Daniel O'Connor) Owned by: langly (Kenneth Ostby)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen)
Port: gtkwave

Description

The gtkwave port fails to build with configure complaining it can't find gtk-mac-integration:

configure:7387: checking for GTK_MAC
configure:7394: $PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 2.0.0"
Package gtk-mac-integration was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-mac-integration.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-mac-integration' found

I tried the attached patch which builds but when I run it I get..

[Havok 13:24] ~ >gtkwave /tmp/test.vcd
objc[20770]: Class GdkQuartzView is implemented in both /opt/local/lib/libgdk-3.0.dylib (0x10bcc45e8) and /opt/local/lib/libgdk-quartz-2.0.0.dylib (0x10b3b2bb8). One of the two will be used. Which one is undefined.
objc[20770]: Class GtkQuartzStatusIcon is implemented in both /opt/local/lib/libgtk-3.0.dylib (0x10d1f0dc0) and /opt/local/lib/libgtk-quartz-2.0.0.dylib (0x10b9e09a8). One of the two will be used. Which one is undefined.
objc[20770]: Class GtkClipboardOwner is implemented in both /opt/local/lib/libgtk-3.0.dylib (0x10d1f0d20) and /opt/local/lib/libgtk-quartz-2.0.0.dylib (0x10b9e09f8). One of the two will be used. Which one is undefined.
objc[20770]: Class GtkDragSourceOwner is implemented in both /opt/local/lib/libgtk-3.0.dylib (0x10d1f0d70) and /opt/local/lib/libgtk-quartz-2.0.0.dylib (0x10b9e0a48). One of the two will be used. Which one is undefined.
objc[20770]: Class ResultReceiver is implemented in both /opt/local/lib/libgtk-3.0.dylib (0x10d1f0e38) and /opt/local/lib/libgtk-quartz-2.0.0.dylib (0x10b9e0ac0). One of the two will be used. Which one is undefined.

(gtkwave:20770): Gtk-ERROR **: 13:24:38.631: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
zsh: trace trap  gtkwave /tmp/test.vcd

Attachments (1)

patch-configure.diff (2.8 KB) - added by DanielO (Daniel O'Connor) 3 months ago.
gtk2 version

Download all attachments as: .zip

Change History (6)

Changed 3 months ago by DanielO (Daniel O'Connor)

Attachment: patch-configure.diff added

gtk2 version

comment:1 Changed 3 months ago by DanielO (Daniel O'Connor)

I've updated the patch to refer to the GTK2 version, now it builds and works. The "Source with depth 1 unsupported" warnings can be fixed with a gtk2 patches (#69291)

Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to langly
Status: newassigned
Summary: gtkwave 3.3.117_0: build failuregtkwave @3.3.117_0: No package 'gtk-mac-integration' found

comment:3 Changed 3 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:4 Changed 3 months ago by langly (Kenneth Ostby)

Ah, thanks for reporting the issue!

Fixed the issue now in the portfile, and submitted a new patch for GtkWave found here: https://github.com/macports/macports-ports/pull/22583 . Falls over in CI due to quartz not being built by default but I reproduced it locally and fixed it.

Should be working soon when the patch hits main.

comment:5 Changed 3 months ago by langly (Kenneth Ostby)

Resolution: fixed
Status: assignedclosed

In 3fa4a0c6b6dd2751cb8a3d65634b9b343e4a19c9/macports-ports (master):

gtkwave: Reverted to using gtk2

Closes: #69290

Note: See TracTickets for help on using tickets.