Page MenuHomeFreeBSD

Extend kde.mk with plist handling for documentation
ClosedPublic

Authored by tcberner on Mar 24 2018, 10:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 3:47 AM
Unknown Object (File)
Fri, Apr 19, 3:01 PM
Unknown Object (File)
Mar 3 2024, 6:28 AM
Unknown Object (File)
Mar 3 2024, 6:28 AM
Unknown Object (File)
Mar 3 2024, 6:22 AM
Unknown Object (File)
Mar 3 2024, 6:22 AM
Unknown Object (File)
Mar 2 2024, 4:08 PM
Unknown Object (File)
Jan 8 2024, 1:22 PM
Subscribers

Details

Summary

Extend kde.mk to automatically add documention in ${PREFIX}/share/doc/HTML/* to the plist

@mat, is portmgr fine with doing stuff like this?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Remove SHLIB changes (committed separately)

Which problem does this solve?

Which problem does this solve?

Generally every update of the applications changes a few files sv/bar goes missing de/foo comes back -- which makes every update of the ports a bit tedious (as there are around 200 ports)

To clarify, this will only be used for ports that set CATEGORIES=kde-application

While I prefer explicit pkg-plists, this is (only) about the HTML documentation, and it saves considerable time in updating ports (releases are every three months).

Ok, it's probably better to have explicit plists.

... let's discuss that some more :D

Can this be committed without the changes to filelight (kf5) and kdelibs (kde4)? Wouldn't kdelibs4 fall outside of the KDE Applications group, and so still need the docs listed?

Can this be committed without the changes to filelight (kf5) and kdelibs (kde4)? Wouldn't kdelibs4 fall outside of the KDE Applications group, and so still need the docs listed?

Easily (for kdelibs), by matching _KDE_VERSION=5 .

kdelibs is (was) part of the KDE Applications release, so sets kde-applications to get MASTER_SITES magic and such.

Mk/Uses/kde.mk
125 ↗(On Diff #40680)

^ @adridg, like here

portmgr, is this ok? It will just setup plist handling for the documentation files for all the ports that specific CATEGORIES=kde-applications.

That is do 5.16.4 centralised.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 6 2018, 7:18 PM
This revision was automatically updated to reflect the committed changes.