Review Request 125319: KSycoca: make global database work after the recent timestamp check code
David Faure
faure at kde.org
Sun Sep 20 10:25:18 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125319/
-----------------------------------------------------------
(Updated Sept. 20, 2015, 10:25 a.m.)
Review request for KDE Frameworks and Albert Astals Cid.
Changes
-------
only set the bool if the global db actually exists
Repository: kservice
Description (updated)
-------
1) Move it from share/kservices5/ to a new share/ksycoca/ subdir so that
it doesn't affect the timestamp of share/kservices5.
2) Add the user's dirs to the timestamp check so that changes made by the
user after login are noticed.
REVIEW: 125319
Diffs (updated)
-----
src/sycoca/ksycoca.cpp a2b70407db3778196216969932c995c11f44fcf6
src/sycoca/ksycoca_p.h 72ba397007c72c7e8731bfab6be95ad5633774aa
Diff: https://git.reviewboard.kde.org/r/125319/diff/
Testing
-------
rm local sycoca; kbuildsycoca5 -- global ; ./tests/kycocatest (says it uses global db)
touch ~/.local/share/applications
/tests/kycocatest (says it builds a local sycoca first)
Thanks,
David Faure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150920/836c6b8d/attachment.html>
More information about the Kde-frameworks-devel
mailing list