[MacPorts] #41984: gtksourceview2 fails to build

MacPorts noreply at macports.org
Sat Jan 24 08:07:26 PST 2015


#41984: gtksourceview2 fails to build
-----------------------------+----------------------------
  Reporter:  subscriber@…    |      Owner:  micah.lerner@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.1
Resolution:                  |   Keywords:
      Port:  gtksourceview2  |
-----------------------------+----------------------------

Comment (by petep@…):

 Replying to [comment:14 wdc@…]:
 > Oh one more thing.
 > In comment #5 above, I reported a fix to gtksourceview.h.  It turns out
 that change is unnecessary.  The relevant glib-mkenums output works and
 the messages are just warnings.
 >
 > The definitive fix that gets everything working is, "Stop using ige-mac-
 integration.  It gets confused and pulls in stuff from gtk3 that should
 never get pulled in, and blows out the build, since this is a gtk2
 source."


 I tried your patch gtkosxapplication.diff​ locally. I used a slightly
 modified Portfile, which adds your patch simply as the quartz variant


 {{{
 variant quartz {
         depends_lib-append port:gtk-osx-application
         patchfiles-delete patch-gtksourceview_gtksourceview-i18n.c.diff
         patchfiles-append gtkosxapplication.diff
 }
 }}}

 So the only changes I make are the Portfile (my way, see above) and adding
 gtkosxapplication.diff​ to the folder /files.

 When now trying to install gtksourceview2 +quartz, I can see the pkg gtk-
 osx-application is pulled and build. But gtksourceview2 still fails, now
 on configure phase.

 {{{
 ---> Configuring gtksourceview2
 Error: Failed to configure gtksourceview2, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview2/gtksourceview2/work/gtksourceview-2.10.5/config.log
 }}}

 Exerpt from that log:

 {{{
 :info:configure checking for native Mac OS X... yes
 :info:configure checking for GTK_MAC... no
 :info:configure configure: error: Package requirements (gtk-mac-
 integration >= 2.0.0) were not met:
 :info:configure
 :info:configure No package 'gtk-mac-integration' found
 }}}

 When looking at your patch gtkosxapplication.diff​ and the above error
 message compared to the lib dependency in the Portfile, I recognize two
 different names: gtk-mac-integration vs. gtk-osx-integration.
 I don't know if that is the issue. What am I doing wrong?

-- 
Ticket URL: <https://trac.macports.org/ticket/41984#comment:16>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list