[MacPorts] #31724: New Port(?): gtk-mac-integration
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: ---------------------------------+------------------------------------------ On my way to fixing another bug, I've had to introduce a new(?) port, gtk- mac-integration. The reason why I'm hesitant to call it a new port is because it seems like an upgrade of the gtk-osx-application port. As such, I've shamelessly ripped off portions of that port, cc'ed its maintainer, and uploaded the new(?) Portfiles. -- Ticket URL: <https://trac.macports.org/ticket/31724> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * port: => gtk-mac-integration Comment: Do these two ports install the same files? If so does gtk-mac-integration replace ige-osx-integration? Or do they serve different purposes, install different files, and coexist peacefully? -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Sorry... gtk-osx-application, not ige-osx-integration (which doesn't exist). But ige-mac-integration does exist. Is that the same as this new port? Or different? -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: royliu@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Changes (by royliu@…): * owner: macports-tickets@… => royliu@… Comment: Actually, they're the same package, just renamed and version incremented. See this changelog for the rename event: http://ftp.gnome.org/pub/GNOME/sources/gtk-mac-integration/1.0/gtk-mac- integration-1.0.0.changes What should be done? Currently MacPorts has ige-mac-integration and gtk- osx-application. I got confused when I first stumbled upon these. Shall we consolidate everything? -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: royliu@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Comment(by elelay@…): ige-mac-integration is still a dependency of [source:/trunk/dports/audio/gmpc], [source:/trunk/dports/audio/glade3], [source:/trunk/dports/audio/gtksourceview2]. Last time I couldn't investigate if they were compatible with gtk-osx-application so it has to stay this way, I'd say. gtk-osx-application is only required by [source:/trunk/dports/gnome/gpodder], which I also maintain so I could test any change. About creating a new port gtk-mac-integration, I'm not convinced. As stated in [http://live.gnome.org/GTK%2B/OSX/Integration#Gtk-mac- integration.2BAC8-GtkOSXApplication], ige-mac-integration is the deprecated module, which has been renamed to gtk-mac-integration, but GtkOSXApplication stays. OK, the distfile is now gtk-mac- integration.tar.bz2, but it was ige-mac-integration.tar.bz2 so no much change. -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: royliu@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Comment(by royliu@…): elelay, If `gtk-mac-integration` is deprecated, then `gtk-osx-application` is too! This line in the `gtk-osx-application` Portfile shows that it uses the same codebase: {{{ distname ige-mac-integration-${version} }}} Also, notice that: * The version 1.01 is oddly a small version bump from 0.96. See the changelog. * The bug fixed by this [http://svn.macports.org/repository/macports/trunk/dports/devel/gtk-osx- application/files/patch-src-gtkosxapplication_quartz-c.diff patch] is superceded by `gtk-mac-integration`. I appreciate your input into this matter. I'm just a GTK newbie trying to make changes that'll eventually culminate in a patch to an otherwise broken `inkscape +quartz`. Still, I think it would be nice if we could consolidate `gtk-osx-application` and `gtk-mac-integration`. I suspect that if you plugged in `gtk-mac-integration` as a dependency to your `gpodder` dependent, it would work. -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: royliu@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Comment(by elelay@…): Replying to [comment:5 royliu@…]:
elelay,
If `gtk-mac-integration` is deprecated, then `gtk-osx-application` is too!
In fact, gtk-mac-integration.tar.bz2 contains 2 "modules", one is the old (using Carbon) ige-mac-integration renamed to gtk-mac-integration (because ige had some meaning related to the company writing it in the first place, if I remember correctly), the other module is the (not so) new GTKOSXApplication. The old library is deprecated in favor of the new one. Is that more clear ?
Also, notice that: * The version 1.01 is oddly a small version bump from 0.96. See the changelog. * The bug fixed by this [http://svn.macports.org/repository/macports/trunk/dports/devel/gtk-osx- application/files/patch-src-gtkosxapplication_quartz-c.diff patch] is superceded by `gtk-mac-integration`.
This is why I marked it as temporary fix for version 0.9.6 in the Portfile.
I appreciate your input into this matter. I'm just a GTK newbie trying to make changes that'll eventually culminate in a patch to an otherwise broken `inkscape +quartz`. Still, I think it would be nice if we could consolidate `gtk-osx-application` and `gtk-mac-integration`. I suspect that if you plugged in `gtk-mac-integration` as a dependency to your `gpodder` dependent, it would work.
Sure, it would work but why introduce a new port for exactly the same package (repeating #25025, without the rationale of an updated API, or is there : in the mean time, ige-mac-integration has been updated to 0.9.8 - see #29656 and they mention a switch to PyGI ; is it a gtk3 thing or still compatible with gtk2 ?). I'd rather see gtk-osx-application's version upgraded to 1.0.1. And I would appreciate seeing a not broken inkscape +quartz by the way :-) -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: royliu@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Comment(by royliu@…): elelay, Pardon my confusion. I was under the impression that gtk-mac-integration was the new name representing both implementations. If that's not the case, then upgrading gtk-osx-application would be the way to go. If that's the case, then I've already done the patching work for you. -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ---------------------------------+------------------------------------------ Reporter: royliu@… | Owner: royliu@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: gtk-mac-integration ---------------------------------+------------------------------------------ Changes (by elelay@…): * cc: snc@… (added) Comment: royliu, yes, you did all the hard work indeed ! I just tested gPodder with version 1.0.1 and discovered that it uses the deprecated igemacintegration python module, so requires a bit of renaming (but works in the end). I'll issue a patch soon. And contrary to what I feared 1.0.1 still works with gtk2. So I don't see any reason to keep gtk-osx-application as is (with an old 0.9 version I mean). And since ige-mac-integration has been updated to 0.9.8, maybe the applications depending on it could work with 1.0.1 so could switch to gtk- osx-application. adding snc to the cc list, since he committed the last change to ige-mac-integration. -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ----------------------------------+----------------------------------------- Reporter: royliu@… | Owner: royliu@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: Port: gtk-mac-integration | ----------------------------------+----------------------------------------- Changes (by elelay@…): * status: new => closed * resolution: => fixed Comment: updated gtk-osx-application to 1.0.1 in r86633 Thanks for your work, royliu !! -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ----------------------------------+----------------------------------------- Reporter: royliu@… | Owner: royliu@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: Port: gtk-mac-integration | ----------------------------------+----------------------------------------- Comment(by royliu@…): Would it be possible to bump the default Python version to 2.7? That seemed to have already happened in Inkscape. -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31724: New Port(?): gtk-mac-integration ----------------------------------+----------------------------------------- Reporter: royliu@… | Owner: royliu@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: Port: gtk-mac-integration | ----------------------------------+----------------------------------------- Comment(by elelay@…): Replying to [comment:10 royliu@…]: sure, done :-) -- Ticket URL: <https://trac.macports.org/ticket/31724#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts