Opened 10 years ago

Closed 9 years ago

#43931 closed submission (duplicate)

proposition: oxygen-gtk port (oxygen-gtk2)

Reported by: RJVB (René Bertin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: oxygen-gtk2

Description

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.

Attachments (2)

Portfile (3.5 KB) - added by RJVB (René Bertin) 10 years ago.
oxygen-gtk2 portfile, initial commit
Portfile.2 (3.5 KB) - added by RJVB (René Bertin) 10 years ago.
corrected version

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by RJVB (René Bertin)

Attachment: Portfile added

oxygen-gtk2 portfile, initial commit

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

Cc: egall@… added

Cc Me!

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Port: oxygen-gtk2 added
Type: requestsubmission
Version: 2.3.0

A few quick notes:

  • The revision line should be deleted because it starts at 0.
  • The depends_build line should be changed to depends_build-append to not overwrite the dependencies that come from using the cmake portgroup. Then you do not have to specify the cmake port which is already added by the cmake portgroup.
  • Please use modern checksums.
  • It seems to me that the category should be kde, not x11.

comment:3 in reply to:  2 ; Changed 10 years ago by RJVB (René Bertin)

Replying to mf2k@…:

A few quick notes:

[...]

You meant replace the md5 checksum by rmd160? Or use the more complicated syntax that seems required only when multiple files are to be downloaded?

  • It seems to me that the category should be kde, not x11.

I see I didn't mention it, but oxygen-gtk has no dependencies on KDE whatsoever. Its only relationship to KDE is that it implements the default theme from KDE (and presumably copies that theme's settings if it exists on disk ... although I don't know how it'd find those settings under OS X if it doesn't require KDE to be present). So adding it to the kde category is inappropriate IMHO, and would introduce needless dependencies. I did however add it to the gtk category

Changed 10 years ago by RJVB (René Bertin)

Attachment: Portfile.2 added

corrected version

comment:4 in reply to:  3 Changed 10 years ago by mf2k (Frank Schima)

Replying to rjvbertin@…:

You meant replace the md5 checksum by rmd160? Or use the more complicated syntax that seems required only when multiple files are to be downloaded?

I meant to add an rmd160 checksum. Remove the md5 one unless it is provided by upstream for verification.

  • It seems to me that the category should be kde, not x11.

I see I didn't mention it, but oxygen-gtk has no dependencies on KDE whatsoever. Its only relationship to KDE is that it implements the default theme from KDE (and presumably copies that theme's settings if it exists on disk ... although I don't know how it'd find those settings under OS X if it doesn't require KDE to be present). So adding it to the kde category is inappropriate IMHO, and would introduce needless dependencies. I did however add it to the gtk category

The category of a port never adds any dependencies.

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

Resolution: duplicate
Status: newclosed

Superseded by #43971.

Note: See TracTickets for help on using tickets.