[MacPorts] #50070: submission: icons themes Ciment, Mate and Menta
#50070: submission: icons themes Ciment, Mate and Menta -------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: -------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/50070> MacPorts <https://www.macports.org/> Ports system for OS X
#50070: submission: icons themes Ciment, Mate and Menta --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): 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? -- Ticket URL: <https://trac.macports.org/ticket/50070#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50070: submission: icons themes Ciment, Mate and Menta --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by rjvbertin@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/50070#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50070: submission: icons themes Ciment, Mate and Menta --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by rjvbertin@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/50070#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50070: submission: icons themes Ciment, Mate and Menta --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by rjvbertin@…): Replying to [comment:1 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. -- Ticket URL: <https://trac.macports.org/ticket/50070#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts