Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120515 Details for
Bug 180057
kde-functions.eclass overwrites .desktop entries with broken/truncated versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
kde-functions.eclass patch to filter uninstall.desktop files
kde-functions.eclass.uninstall_desktop.patch (text/plain), 1015 bytes, created by
vltg0903
on 2007-05-28 12:34:28 UTC
(
hide
)
Description:
kde-functions.eclass patch to filter uninstall.desktop files
Filename:
MIME Type:
Creator:
vltg0903
Created:
2007-05-28 12:34:28 UTC
Size:
1015 bytes
patch
obsolete
>--- /usr/portage/eclass/kde-functions.eclass 2007-05-28 03:06:17.000000000 +0200 >+++ kde-functions.eclass 2007-05-28 14:30:01.000000000 +0200 >@@ -916,11 +916,20 @@ > local desktop_entries="$(find "${D}${PREFIX}/share/applnk" -mindepth 2 -maxdepth 2 \ > -name '*\.desktop' -not -path '*.hidden*' 2>/dev/null)" > >+ local uninstall_file="[Desktop Entry] >+Encoding=UTF-8 >+Hidden=true" >+ > if [[ -n ${desktop_entries} ]]; then > for entry in ${desktop_entries} ; do >- if [[ ! -f ${D}${PREFIX}/share/applications/kde/$(basename ${entry}) ]]; then >- dodir ${PREFIX}/share/applications/kde >- mv ${entry} ${D}${PREFIX}/share/applications/kde >+ echo "$uninstall_file" | diff -qs ${entry} - &> /dev/null >+ if [[ "$?" != "0" ]]; then >+ if [[ ! -f ${D}${PREFIX}/share/applications/kde/$(basename ${entry}) ]]; then >+ dodir ${PREFIX}/share/applications/kde >+ mv ${entry} ${D}${PREFIX}/share/applications/kde >+ else >+ ewarn "Some QA warning" >+ fi > fi > done > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 180057
:
120508
| 120515 |
120629