Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#11138 closed defect (fixed)

BUG: gtk 2.10.6 +quartz broken

Reported by: meista@… Owned by: mij@…
Priority: Not set Milestone:
Component: ports Version:
Keywords: Cc: meista@…,markd@…
Port:

Description

Due to minor errors in the Portfile and the source tarball, the "quartz" variant of gtk 2.10.6 does not build.

Portfile issue: The Portfile uses --enable-gdktarget=quartz, which seems to be ignored by configure (port install ends up with the usual X11 libraries). Changing this to --with-gdktarget=quartz fixes this issue, but the build process does not complete (see below).

Tarball issue: A typo in gtk/Makefile.am prevents two source modules (gtkplug-stub.c and gtksocket-stub.c) from being built, resulting in linking problems due to unresolved symbols. The two files are missing in the gtk 2.10.6 release tarball. This is a known bug (see http://bugzilla.gnome.org/show_bug.cgi?id=360337) and already fixed on CVS.

I will attach patches for the Portfile and gtk/Makefile.in and the two missing files from CVS. With the denoted changes, gtk2+quartz should build and work properly. I am running Gnumeric with these libraries and do not observe any further problems.

Attachments (4)

Portfile.patch (578 bytes) - added by meista@… 14 years ago.
Portfile patch
gtkplug-stub.c (2.0 KB) - added by meista@… 14 years ago.
gtkplug-stub.c from CVS (missing in the release tarball)
gtksocket-stub.c (2.6 KB) - added by meista@… 14 years ago.
gtksocket-stub.c from CVS (missing in the release tarball)
Makefile.in.patch (583 bytes) - added by meista@… 14 years ago.
patch for gtk/Makefile.in in the gtk 2.10.6 release tarball

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by meista@…

Attachment: Portfile.patch added

Portfile patch

Changed 14 years ago by meista@…

Attachment: gtkplug-stub.c added

gtkplug-stub.c from CVS (missing in the release tarball)

Changed 14 years ago by meista@…

Attachment: gtksocket-stub.c added

gtksocket-stub.c from CVS (missing in the release tarball)

Changed 14 years ago by meista@…

Attachment: Makefile.in.patch added

patch for gtk/Makefile.in in the gtk 2.10.6 release tarball

comment:1 Changed 14 years ago by pipping@…

Milestone: Port Bugs

comment:2 Changed 14 years ago by rhwood@…

Owner: changed from macports-dev@… to mij@…
Version: 1.3.2

Is this still an issue with gtk2 version 2.10.11?

comment:3 Changed 14 years ago by roederja

Cc: meista@… added

comment:4 Changed 14 years ago by markd@…

No feedback. Looks like an upstream issue. Can this be closed?

comment:5 Changed 14 years ago by markd@…

Cc: markd@… added

comment:6 Changed 14 years ago by meista@…

I just updated to 2.10.11. The Portfile and the tarball are fixed. The "quartz" variant builds without any further issues and Gnumeric works with it as desired. Feel free to close this ticket.

comment:7 Changed 14 years ago by markd@…

Resolution: fixed
Status: newclosed

Will do. Thanks.

comment:8 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.