Opened 11 years ago

Closed 11 years ago

#40016 closed defect (fixed)

gtksourceview3 doesn't find gtk-mac-integration >= 2.0.0

Reported by: nerdling (Jeremy Lavergne) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: quartz x11 Cc: elelay (Eric Le Lay), cooljeanius (Eric Gallager)
Port: gtksourceview3

Description

While building gtksourceview3 in a +quartz -x11 environment, it was unable to complete configure phase because gtk-mac-integration was missing. Is there a missing dependency that happens installed in an +x11 environment? Is a variant needed to ensure it builds properly for +quartz versus +x11?

checking for GTK_MAC... no
configure: error: Package requirements (gtk-mac-integration >= 2.0.0) were not met:

No package 'gtk-mac-integration' found

Attachments (1)

patch-quartz.diff (922 bytes) - added by dbevans (David B. Evans) 11 years ago.
Proposed patch for +quartz variant

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Status: newassigned

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Cc: elelay@… added

comment:4 Changed 11 years ago by dbevans (David B. Evans)

Well, to start with this port has neither +x11 nor +quartz variants so that should be fixed since it is looking for +quartz dependencies.

Next, (gtk-mac-integration >= 2.0.0) is provided by port gtk-osx-application. However, that port refuses to install for any configuration except gtk2, in spite of the fact that the underlying source supports either gtk2 or gtk3. So that needs to be addressed first. See #40021.

+quartz is not high on my priority list right now so if you would like to take a crack at getting this all to work, be my guest. I would welcome your input.

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 11 years ago by dbevans (David B. Evans)

Placeholder +quartz variant added in r109000 until something better comes along.

comment:7 Changed 11 years ago by dbevans (David B. Evans)

Attached is a patch that implements a +quartz variant that actually does something. You need to make sure that gtk3 and dependents are built +quartz and use the proposed Portfile.3 for gtk-osx-application in #40021 to allow it to build +gtk3. If this works for you, let me know and I'll commit the changes. Otherwise let me know what problems you run into. It builds, beyond that no guarantees as yet.

Changed 11 years ago by dbevans (David B. Evans)

Attachment: patch-quartz.diff added

Proposed patch for +quartz variant

comment:8 Changed 11 years ago by nerdling (Jeremy Lavergne)

Both gtk-osx-application and the patched gtksourceview3 compiled for me as well. As a side note, ige-mac-integration conflicts with gtk-osx-application r109163.

comment:9 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

gtk-osx-application +gtk3 variant committed in r109119.
gtksourceview3 +quartz patch committed in r109166.

Note: See TracTickets for help on using tickets.