--nextPart3185690.bA6BZAB1FP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Martijn Klingens wrote: >Suppose we install a 3rd party app in $APPDIR, then for this application > (and *ONLY* for this application) the resources should be looked for in > $KDEHOME, $APPDIR, $KDEDIRS. If kbuildsycoca could create multiple > sycocas (one for $KDEHOME, one for $APPDIR and one for all shared > lower-level dirs combined) and merge them then we can keep the > performance level up and also keep apps in their own prefix. The > existing full sycoca can (and probably should) be kept for performance > reasons for the apps that reside in $KDEDIR. We already *do* that on Linux and on other platforms where we can=20 reasonably well determine what the application executable is. (On Linux,=20 we readlink(2) /proc/self/exe). The prefix is then added to the list of=20 resource dirs. So an application requesting an icon will find it is in own prefix even if= =20 it's not registered in KDEDIRS or XDG_DATA_DIRS. This even works for=20 libraries looking resources up when the the library's prefix is neither=20 registered nor the same as the application's. The issue here is for the shared resources: those that are supposed to be=20 found by other applications., like .desktop menu files, MIME types, etc. Maybe we can have a 3rd option: install into ${prefix} and symlink=20 into /usr. Some kind of "broken symlink removal" tool should be run every=20 now and then to clean up. =2D-=20 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 3. Ac seo woruld wear=F0 geborod, sw=E1 se Scieppend cw=E6=F0 "Gewurde Unix= " and=20 wundor fremede and him "Unix" genemned, =FE=E6t is se rihtendgesamnung. --nextPart3185690.bA6BZAB1FP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD6d5MM/XwBW70U1gRAs3VAKCz/fcp/Qcuu46iQlKyrwEoceUmlwCgnoN7 QWjeGgNospOW0ElbnRpgKOU= =gMzy -----END PGP SIGNATURE----- --nextPart3185690.bA6BZAB1FP--