Opened 5 years ago

Last modified 5 years ago

#57773 new defect

midori @0.5.11: The name `STOCK_FILE', `STOCK_CLOSE' does not exist in the context of `Gtk'

Reported by: randymortensen (Randy Mortensen) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: midori

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (312.4 KB) - added by randymortensen (Randy Mortensen) 5 years ago.
main.log

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by randymortensen (Randy Mortensen)

Attachment: main.log added

main.log

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

Description: modified (diff)
Summary: midori @0.5.11 build failure on Mojave 10.14.2midori @0.5.11: The name `STOCK_FILE', `STOCK_CLOSE' does not exist in the context of `Gtk'
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.

Note: See TracTickets for help on using tickets.