Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577680 - dev-qt/{designer,linguist,qdbusviewer}:5 - no .desktop file installed
Summary: dev-qt/{designer,linguist,qdbusviewer}:5 - no .desktop file installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 07:44 UTC by Demelier David
Modified: 2022-05-10 19:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Demelier David 2016-03-18 07:44:38 UTC
Hello,

I'm surprised to see there are no .desktop files for dev-qt/linguist and dev-qt/designer, you're forced to start the tools by hand.

In various other distributions there are available in the menus but are they home made or the ebuilds just forget to install them?

$ equery f linguist
 * Searching for linguist ...
 * Contents of dev-qt/linguist-5.5.1-r1:
/usr
/usr/lib64
/usr/lib64/qt5
/usr/lib64/qt5/bin
/usr/lib64/qt5/bin/linguist
/usr/share
/usr/share/qt5
/usr/share/qt5/phrasebooks
/usr/share/qt5/phrasebooks/danish.qph
/usr/share/qt5/phrasebooks/dutch.qph
/usr/share/qt5/phrasebooks/finnish.qph
/usr/share/qt5/phrasebooks/french.qph
/usr/share/qt5/phrasebooks/german.qph
/usr/share/qt5/phrasebooks/hungarian.qph
/usr/share/qt5/phrasebooks/italian.qph
/usr/share/qt5/phrasebooks/japanese.qph
/usr/share/qt5/phrasebooks/norwegian.qph
/usr/share/qt5/phrasebooks/polish.qph
/usr/share/qt5/phrasebooks/russian.qph
/usr/share/qt5/phrasebooks/spanish.qph
/usr/share/qt5/phrasebooks/swedish.qph
Comment 1 Davide Pesavento gentoo-dev 2016-03-18 21:33:41 UTC
Yep, only their qt4 counterparts install a desktop file at the moment. This has been on my todo list for qt5 since "the beginning".
Comment 2 bochkov 2017-12-04 18:01:57 UTC
$ equery f dev-qt/qdbusviewer
 * Searching for qdbusviewer in dev-qt ...
 * Contents of dev-qt/qdbusviewer-5.7.1:
/usr
/usr/lib64
/usr/lib64/qt5
/usr/lib64/qt5/bin
/usr/lib64/qt5/bin/qdbusviewer


does not work:

$ qdbusviewer 
qdbusviewer: could not exec '/usr/lib64/qt4/bin/qdbusviewer': No such file or directory
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-12-25 07:53:03 UTC
Assistant is being taken care of in bug #634566.
Comment 4 Larry the Git Cow gentoo-dev 2017-12-25 08:57:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=f6170c345d9c147439f6aafa6e9221ed1ff56831

commit f6170c345d9c147439f6aafa6e9221ed1ff56831
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-12-25 08:56:28 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-12-25 08:57:28 +0000

    dev-qt/designer: install desktop file
    
    Bug: https://bugs.gentoo.org/577680
    Package-Manager: Portage-2.3.14, Repoman-2.3.6

 dev-qt/designer/designer-5.10.0.ebuild    | 19 ++++++++++++++++++-
 dev-qt/designer/designer-5.10.9999.ebuild | 19 ++++++++++++++++++-
 dev-qt/designer/designer-5.9.9999.ebuild  | 19 ++++++++++++++++++-
 dev-qt/designer/designer-5.9999.ebuild    | 19 ++++++++++++++++++-
 4 files changed, 72 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/proj/qt.git/commit/?id=8ec800cbd20a1526548626977dc27085dbaf67a3

commit 8ec800cbd20a1526548626977dc27085dbaf67a3
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-12-25 08:16:37 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-12-25 08:57:28 +0000

    dev-qt/linguist: install desktop file
    
    Bug: https://bugs.gentoo.org/577680
    Package-Manager: Portage-2.3.14, Repoman-2.3.6

 dev-qt/linguist/linguist-5.10.0.ebuild    | 22 +++++++++++++++++++++-
 dev-qt/linguist/linguist-5.10.9999.ebuild | 22 +++++++++++++++++++++-
 dev-qt/linguist/linguist-5.9.9999.ebuild  | 22 +++++++++++++++++++++-
 dev-qt/linguist/linguist-5.9999.ebuild    | 22 +++++++++++++++++++++-
 4 files changed, 84 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/proj/qt.git/commit/?id=cc686d55819a11d01b755e79dc1dc07a57b308d2

commit cc686d55819a11d01b755e79dc1dc07a57b308d2
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-12-25 08:05:44 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-12-25 08:57:28 +0000

    dev-qt/qdbusviewer: install desktop file
    
    Bug: https://bugs.gentoo.org/577680
    Package-Manager: Portage-2.3.14, Repoman-2.3.6

 dev-qt/qdbusviewer/qdbusviewer-5.10.0.ebuild    | 20 +++++++++++++++++++-
 dev-qt/qdbusviewer/qdbusviewer-5.10.9999.ebuild | 20 +++++++++++++++++++-
 dev-qt/qdbusviewer/qdbusviewer-5.9.9999.ebuild  | 20 +++++++++++++++++++-
 dev-qt/qdbusviewer/qdbusviewer-5.9999.ebuild    | 20 +++++++++++++++++++-
 4 files changed, 76 insertions(+), 4 deletions(-)}
Comment 5 Euan Thoms 2018-01-29 12:19:01 UTC
I'm sorry if I'm not following this properly, but couldn't we just use the followgin in the .desktop file:

Exec=designer -qt5

...and:

Exec=designer -qt4

...respectively.

Also, the Icons are not working in KDE Plasma for these .desktop files. I think it's because they are missing from /usr/share/icons/hicolor/<SIZE>. Perhaps /usr/share/pixmaps is not good enough for Plasma.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2018-01-30 10:19:25 UTC
(In reply to Euan Thoms from comment #5)
> I'm sorry if I'm not following this properly, but couldn't we just use the
> followgin in the .desktop file:
> 
> Exec=designer -qt5
> 
> ...and:
> 
> Exec=designer -qt4
> 
> ...respectively.

/usr/bin/designer is just a symlink to qtchooser which is just a convenience, and better not to rely on.

> Also, the Icons are not working in KDE Plasma for these .desktop files. I
> think it's because they are missing from /usr/share/icons/hicolor/<SIZE>.
> Perhaps /usr/share/pixmaps is not good enough for Plasma.

I'm not sure what you mean, the changes referenced in comment #4 should install to /usr/share/icons.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2018-02-03 13:54:53 UTC
Fixed in 5.9.4.