[MacPorts] #40021: gtk-osx-application: add support for gtk3
#40021: gtk-osx-application: add support for gtk3 -------------------------+--------------------------------- Reporter: devans@… | Owner: elelay@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: gtk-osx-application -------------------------+--------------------------------- The current port (2.0.1) blocks installation for any configuration other than gtk2 but the underlying source has support for either gtk2 or gtk3. It would useful if this port could be modified to include variants for gtk2/gtk3 or both if that can be accommodated. For instance see #40016. -- Ticket URL: <https://trac.macports.org/ticket/40021> MacPorts <http://www.macports.org/> Ports system for OS X
#40021: gtk-osx-application: add support for gtk3 ----------------------------------+---------------------- Reporter: devans@… | Owner: elelay@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gtk-osx-application | ----------------------------------+---------------------- Comment (by elelay@…): Hi Dave, find attached the updated gtk-osx-application Portfile with gtk3 variant (gtk2 being the default, not a variant). I'm not committing until you validate it suits your needs in gtksourceview... python GTK3 bindings of GtkOSXApplication are invoked this way: {{{ from gi.repository.GtkosxApplication import Application a = Application() # make it jump a.attention_request(0) # stop jumping a.cancel_attention_request(0) }}} I had no success at first: {{{ from gi.repository import Gtk }}} failed not finding gtk. When I built py27-gobject3 from source it succeeded... -- Ticket URL: <https://trac.macports.org/ticket/40021#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40021: gtk-osx-application: add support for gtk3 ----------------------------------+---------------------- Reporter: devans@… | Owner: elelay@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gtk-osx-application | ----------------------------------+---------------------- Changes (by elelay@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/40021#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40021: gtk-osx-application: add support for gtk3 ----------------------------------+---------------------- Reporter: devans@… | Owner: elelay@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gtk-osx-application | ----------------------------------+---------------------- Comment (by devans@…): Attached is an amended version of your Portfile that builds +gtk3 and allows gtksourceview3 +quartz to build. Just needed to change your pre- configure block to work with either gtk2 or gtk3. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/40021#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40021: gtk-osx-application: add support for gtk3 ----------------------------------+---------------------- Reporter: devans@… | Owner: elelay@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gtk-osx-application | ----------------------------------+---------------------- Comment (by elelay@…): Nice! Committed in r109119. Thanks -- Ticket URL: <https://trac.macports.org/ticket/40021#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40021: gtk-osx-application: add support for gtk3 ----------------------------------+---------------------- Reporter: devans@… | Owner: elelay@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gtk-osx-application | ----------------------------------+---------------------- Changes (by elelay@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/40021#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts