[MacPorts] #49925: KF5 : PortGroup and initial ports (frameworks)
MacPorts
noreply at macports.org
Sun Jan 3 09:05:00 PST 2016
#49925: KF5 : PortGroup and initial ports (frameworks)
--------------------------+------------------
Reporter: rjvbertin@… | Owner: mk@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
--------------------------+------------------
Comment (by rjvbertin@…):
KDE4 provided its translations via a separate mechanism which allowed
separate ports to be created for each translation.
KF5 has been realigned with the usual all-inclusive approach, in which
each package ([sub]port) installs every translation that has been made for
it.
I don't like cluttering my disk with countless small and for the most part
useless files, so I implemented a scheme that prunes
${prefix}/share/locale during the post-destroot phase, based on settings
in ${prefix}/etc/macports/locales.tcl (.tcl because I wanted to keep this
lightweight). If that file doesn't exist or doesn't define the expected
list, nothing is done. Otherwise, all translations that don't match those
listed in locales.tcl are deleted. The variant and post-destroot block are
implemented in a PortGroup file.
No port should ever set this variant as a default variant, evidently.
--
Ticket URL: <https://trac.macports.org/ticket/49925#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list