Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46162 - [namcap] 'desktop-file-utils-needed' false-positive when dep only in make-depends

Attached to Project: Arch Linux
Opened by Janis König (LeonardK) - Monday, 31 August 2015, 13:20 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 01 September 2015, 02:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I think 'desktop-file-utils-needed' should be allowed to be only in make-depends as 'update-desktop-database' is only run once.

Additional info:
* package version(s): latest (3.2.5-2)
* config and/or log files etc.: -


Steps to reproduce:
-
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 01 September 2015, 02:42 GMT
Reason for closing:  Not a bug
Comment by Levente Polyak (anthraxx) - Monday, 31 August 2015, 13:57 GMT
what exactly do you mean with "only run once" as make-depends?
You have to run 'update-desktop-database -q' once .desktop files are changed in the filesystem... that means on post_install and post_remove of the .install script... not in the PKGBUILD... and therefor per definition not a makedepends as you can't issue that command in the PKGBUILD (at least it does not make any sense to do so)
Comment by Janis König (LeonardK) - Monday, 31 August 2015, 14:10 GMT
Oops, my fault :/
Yep, this ain't making sense, sorry and thanks for the answer :D

Loading...