Opened 9 years ago

Last modified 9 years ago

#50070 new submission

submission: icons themes Ciment, Mate and Menta

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

Description

Here are 2 portfiles that provide Freedesktop icon themes I use:

  • Ciment for (not only...) KDE4
  • Mate and Menta

I use the former as my default theme in KDE applications as it provides in-application icons that are very appropriate for the "Graphite" look. The latter is my GtK/Gnome fallback theme.

Attachments (12)

Portfile-OSXdg (2.5 KB) - added by RJVB (René Bertin) 9 years ago.
Portfile-mate (2.4 KB) - added by RJVB (René Bertin) 9 years ago.
Portfile for Mate (and Menta)
index.theme.mate (11.5 KB) - added by RJVB (René Bertin) 9 years ago.
text-x-preview.icon.256 (48 bytes) - added by RJVB (René Bertin) 9 years ago.
text-x-preview.icon.48 (44 bytes) - added by RJVB (René Bertin) 9 years ago.
Portfile-ciment (2.3 KB) - added by RJVB (René Bertin) 9 years ago.
Portfile for Ciment
128-go-down.png (12.6 KB) - added by RJVB (René Bertin) 9 years ago.
64-go-down.png (7.4 KB) - added by RJVB (René Bertin) 9 years ago.
48-go-down.png (6.2 KB) - added by RJVB (René Bertin) 9 years ago.
32-go-down.png (5.0 KB) - added by RJVB (René Bertin) 9 years ago.
22-go-down.png (4.4 KB) - added by RJVB (René Bertin) 9 years ago.
16-go-down.png (4.0 KB) - added by RJVB (René Bertin) 9 years ago.

Download all attachments as: .zip

Change History (16)

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

In the mate-icons portfile:

You cannot run "intltoolize" in a post-extract block because there is no guarantee that the required dependency will have been installed by then. That guarantee is only made as of the configure phase, so the earliest you could safely run it is in a pre-configure block.

Since you're wanting to run intltoolize and autoreconf, you might instead want to use the project's autogen.sh script; that's what we do in other ports. However, I see the autogen.sh script is special and wants to run a special mate-autogen program from the mate-common package. Did you look into that already?

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

You're saying I should have used depends_extract even if the dependency isn't actually for extracting?

Indeed, I noticed that the shipped autogen.sh wants to use mate-common. I didn't really want to look into installing that, because I have a hunch it means pulling in way more than is reasonable for installing just an icon theme. In fact, my first approach was to try and remove the whole internationalisation aspect. That would still have my preference; all the .mo files are apparently deleted during the install (destroot) step. As you'd expect; there's nothing to translate in icons.

Do you see anything I missed in trying to circumvent this whole step? I'll have to find a moment to have another look just what is different between the installed icon files and the source directory they come from. A priori it should be possible to gain a lot of time by copying the icon files directly into the required directory structure. The combined autoreconf + configure + build step takes a surprising amount of time. That's fine if it does important things, but not if it's just burning CPU for nothing.

Changed 9 years ago by RJVB (René Bertin)

Attachment: Portfile-OSXdg added

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

I've updated the Ciment port so that it becomes possible to specify a theme to inherit from, in this case one of the more complete OS X icon themes I've found.

A Portfile for that theme is added as well, the corresponding has variants itself to let the theme inherit the KDE Oxygen icons in addition to the already configured fallback themes.

Changed 9 years ago by RJVB (René Bertin)

Attachment: Portfile-mate added

Portfile for Mate (and Menta)

Changed 9 years ago by RJVB (René Bertin)

Attachment: index.theme.mate added

Changed 9 years ago by RJVB (René Bertin)

Attachment: text-x-preview.icon.256 added

Changed 9 years ago by RJVB (René Bertin)

Attachment: text-x-preview.icon.48 added

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

Replying to ryandesign@…:

However, I see the autogen.sh script is special and wants to run a special mate-autogen program from the mate-common package. Did you look into that already?

I followed another approach. Rather than using the provided autogen.sh+configure+build+install only to provide translations in the index.theme file, I wrote a dedicated destroot block that gets the required files from filespath. I've left in the original code as a comment; maybe I should put it in a variant for when I need to regenerate the 3 files in questions.

Changed 9 years ago by RJVB (René Bertin)

Attachment: Portfile-ciment added

Portfile for Ciment

Changed 9 years ago by RJVB (René Bertin)

Attachment: 128-go-down.png added

Changed 9 years ago by RJVB (René Bertin)

Attachment: 64-go-down.png added

Changed 9 years ago by RJVB (René Bertin)

Attachment: 48-go-down.png added

Changed 9 years ago by RJVB (René Bertin)

Attachment: 32-go-down.png added

Changed 9 years ago by RJVB (René Bertin)

Attachment: 22-go-down.png added

Changed 9 years ago by RJVB (René Bertin)

Attachment: 16-go-down.png added
Note: See TracTickets for help on using tickets.