Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#43971 closed submission (fixed)

New: oxygen-gtk port (oxygen-gtk2)

Reported by: RJVB (René Bertin) Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager), mkae (Marko Käning)
Port: oxygen-gtk2, oxygen-gtk3

Description (last modified by ryandesign (Ryan Schmidt))

I'm attaching a proposed Portfile for the oxygen-gtk theme. Under X11 it allows near-seamless integration of GtK apps with KDE apps using the default Oxygen theme. In my opinion it also makes them integrate nicely on OS X.

For now I'm only uploading a version for GtK2, I'll add a version for the GtK3 theme later.

GtK engines must have a .so extension but would be built with a .dylib extension on OS X. I've preferred adding logic to change the make files generated by cmake rather than renaming the resulting file post-destroot. It requires somewhat more actions (and possibly maintenance), but it has the advantage that the engine is generated as the code expects it.

(this ticket is to replace #43931, of which I cannot seem to change the type)

Attachments (3)

Portfile.2 (3.5 KB) - added by RJVB (René Bertin) 6 years ago.
Portfile for the oxygen-gtk theme for GTk3
Portfile (4.1 KB) - added by RJVB (René Bertin) 6 years ago.
provides both oxygen-gtk2 and oxygen-gtk3
oxygen-gtk2,3-demo.png (124.8 KB) - added by RJVB (René Bertin) 6 years ago.
oxygen-gtk-demo and oxygen-gtk3-demo under xfwm4 with the Mint-X theme, and freetype,fontconfig +infinality

Download all attachments as: .zip

Change History (15)

comment:1 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Changed 6 years ago by RJVB (René Bertin)

Attachment: Portfile.2 added

Portfile for the oxygen-gtk theme for GTk3

comment:2 Changed 6 years ago by RJVB (René Bertin)

Here's the Portfile for the GTk3 version of the theme.

I know these 2 versions *could* be implemented as subports to a common port, but if there is clear & ample documentation on how to do that I didn't find it. This works too, and at least the ports are completely independent (as is their source).

NB: this does *not* require having KDE or even Qt installed. The only dependency on KDE is an optional runtime dependency on the kde4-workspace package, for configuring the theme's preferences.

Changed 6 years ago by RJVB (René Bertin)

Attachment: Portfile added

provides both oxygen-gtk2 and oxygen-gtk3

comment:3 Changed 6 years ago by RJVB (René Bertin)

Adapted to and tested with cmake.out_of_source yes.

comment:4 Changed 6 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:5 Changed 6 years ago by mkae (Marko Käning)

Owner: changed from macports-tickets@… to mk@…
Status: newassigned

Will see whether I can do that tomorrow or so.

comment:6 Changed 6 years ago by RJVB (René Bertin)

Thanks! After 9 months this baby of mine is getting ready to be born? :))

Changed 6 years ago by RJVB (René Bertin)

Attachment: oxygen-gtk2,3-demo.png added

oxygen-gtk-demo and oxygen-gtk3-demo under xfwm4 with the Mint-X theme, and freetype,fontconfig +infinality

comment:7 Changed 6 years ago by mkae (Marko Käning)

Should this live in the x11 or the gnome path when checking it in?

comment:8 Changed 6 years ago by RJVB (René Bertin)

That's a good question; I hadn't noticed that GTk2 and GTk3 live under the gnome tree. Which is a bit curious; as gnome is built on the GIMP Toolkit (and the G in GIMP does not stand for gnome ;)) and not the other way round.

Anyway, I don't care...

comment:9 Changed 6 years ago by mkae (Marko Käning)

Isn't Gnome based on GTK?

comment:10 Changed 6 years ago by mkae (Marko Käning)

Resolution: fixed
Status: assignedclosed
Version: 2.3.0

Committed in r137819.

Thanks, René!

comment:11 in reply to:  9 Changed 6 years ago by RJVB (René Bertin)

Replying to mk@…:

Isn't Gnome based on GTK?

Yes, but lots of things are based on GTk that are not Gnome ...

comment:12 Changed 6 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Port: oxygen-gtk2 oxygen-gtk3 added
Note: See TracTickets for help on using tickets.