Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683302 - xdg.eclass: xdg_pkg_preinst does not recognise symlinks (was: app-office/libreoffice-6.2.2.2 QA Notice)
Summary: xdg.eclass: xdg_pkg_preinst does not recognise symlinks (was: app-office/libr...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-04-14 14:22 UTC by Conrad Kostecki
Modified: 2021-07-11 14:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xdg.eclass.patch (xdg.eclass.patch,998 bytes, text/plain)
2019-04-15 12:08 UTC, Alexander Tsoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2019-04-14 14:22:28 UTC
>>> Installing (5 of 5) app-office/libreoffice-6.2.2.2::gentoo
 * Updating icons cache ...
 * Updating shared mime info database ...
 * Updating icons cache ...
 * Updating shared mime info database ...
 * QA Notice: .desktop files with MimeType= were found installed
 * but desktop mimeinfo cache has not been updated:
 *   /usr/share/applications/libreoffice-math.desktop
 *   /usr/share/applications/libreoffice-impress.desktop
 *   /usr/share/applications/libreoffice-calc.desktop
 *   /usr/share/applications/libreoffice-xsltfilter.desktop
 *   /usr/share/applications/libreoffice-base.desktop
 *   /usr/share/applications/libreoffice-draw.desktop
 *   /usr/share/applications/libreoffice-startcenter.desktop
 *   /usr/share/applications/libreoffice-writer.desktop
 * Please make sure to call xdg_desktop_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Comment 1 Alexander Tsoy 2019-04-15 12:08:34 UTC
Created attachment 572872 [details]
xdg.eclass.patch

I think xdg.eclass should handle symlinks
Comment 2 Andreas Sturmlechner gentoo-dev 2019-06-27 08:28:54 UTC
The /usr/share/applications/*desktop files installed by LibreOffice are indeed symlinks.

Re-assigning to xdg.eclass maintainers and adding leio who committed the most recent changes.
Comment 3 Larry the Git Cow gentoo-dev 2019-06-27 09:59:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fd68f949964514e3e6874ad23f9e93c0799c37

commit 52fd68f949964514e3e6874ad23f9e93c0799c37
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-06-27 08:32:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-27 09:56:14 +0000

    app-office/libreoffice: Switch back to xdg-utils.eclass for now
    
    Bug: https://bugs.gentoo.org/683302
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/libreoffice/libreoffice-6.2.9999.ebuild | 18 +++++++++++++-----
 app-office/libreoffice/libreoffice-9999.ebuild     | 18 +++++++++++++-----
 2 files changed, 26 insertions(+), 10 deletions(-)
Comment 4 Conrad Kostecki gentoo-dev 2021-07-10 00:46:27 UTC
Is this still relevant?
Comment 5 Mike Gilbert gentoo-dev 2021-07-11 14:29:17 UTC
(In reply to Conrad Kostecki from comment #4)
> Is this still relevant?

It appears the eclass still skips symlinks, so yes.