[MacPorts] #57773: midori @0.5.11: The name `STOCK_FILE', `STOCK_CLOSE' does not exist in the context of `Gtk' (was: midori @0.5.11 build failure on Mojave 10.14.2)

MacPorts noreply at macports.org
Thu Dec 13 21:52:55 UTC 2018


#57773: midori @0.5.11: The name `STOCK_FILE', `STOCK_CLOSE' does not exist in the
context of `Gtk'
-----------------------------+--------------------
  Reporter:  randymortensen  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  midori          |
-----------------------------+--------------------

Old description:

> midori fails to build on Mojave with complaint about GTK
>
> ` error: The name STOCK_CLOSE' does not exist in the context of Gtk
> :info:build             var action_close = new Midori.ContextAction
> ("TabClose", null, null, Gtk.STOCK_CLOSE); `
>
> Complete log file attached.

New description:

 midori fails to build on Mojave with complaint about GTK

 {{{
 error: The name STOCK_CLOSE' does not exist in the context of Gtk
             var action_close = new Midori.ContextAction ("TabClose", null,
 null, Gtk.STOCK_CLOSE);
 }}}

 Complete log file attached.

--

Comment (by ryandesign):

 {{{
 error: The name `STOCK_FILE' does not exist in the context of `Gtk'
                return widget.render_icon (Gtk.STOCK_FILE,
 Gtk.IconSize.MENU, null);
                                           ^^^^^^^^^^^^^^
 }}}
 {{{
 error: The name `STOCK_CLOSE' does not exist in the context of `Gtk'
             var action_close = new Midori.ContextAction ("TabClose", null,
 null, Gtk.STOCK_CLOSE);
 ^^^^^^^^^^^^^^^
 }}}

 I can confirm the build failure on macOS High Sierra.

 Looks like our port is out of date. Our port is for version 0.5.11 but the
 current upstream version is either 6.0 (according to the web page) or 7.0
 (according to GitHub). Someone will need to update the port.

-- 
Ticket URL: <https://trac.macports.org/ticket/57773#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list