FS#15110 - [namcap] detect dependency on kdebase-runtime

Attached to Project: Arch Linux
Opened by Pierre Schmitz (Pierre) - Monday, 15 June 2009, 08:11 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 13 February 2011, 09:44 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Rémy Oudompheng (remyoudompheng)
Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The problem:
For KDE packages namcap only detects a dep to kdelibs etc.. But most KDE application need kdebase-runtime to work.As a result a lot of pacakges in extra, community and AUR have incomplete deps.

The solution:
As kdebase-runtime is mainly icons, the help center and other helper apps it is hard to detect. I woulg suggest the following:

A pacakge should depend on kdebase-runtime if:
* it directly or indirectly depends on kdelibs
* it has executables in /usr/bin (which means its not just a set of libs)
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Sunday, 13 February 2011, 09:44 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented as of version 2.8.1
Comment by Dan McGee (toofishes) - Wednesday, 24 February 2010, 02:49 GMT
This should be possible with a custom rule. I'm guessing it could be very closely modeled after mimefiles.py, which seems to inject a dependency if files are found in a certain directory. Want to try a hack at it?
Comment by Dan McGee (toofishes) - Thursday, 07 October 2010, 19:56 GMT
Ping to anyone willing to implement this; fairly low-hanging fruit and a good way to get familiar with python.
Comment by Rémy Oudompheng (remyoudompheng) - Saturday, 22 January 2011, 23:21 GMT
I implemented the rule as suggested by Pierre in commit
http://projects.archlinux.org/users/remy/namcap.git/commit/?id=1fda58

Loading...