Bug#819721: [qgis] Desktop entry for qgis and qbrowser broken

Leonhard Weber leonhard.weber at voipir.cl
Mon Apr 4 13:02:38 UTC 2016


Based on your explanation I proceeded to do some more digging...

You're right, qgis does everything properly:

>> dpkg -L qgis
/.
/usr
/usr/share
/usr/share/mime
/usr/share/mime/packages
/usr/share/mime/packages/qgis.xml
/usr/share/doc
/usr/share/doc/qgis
/usr/share/doc/qgis/copyright
/usr/share/doc/qgis/changelog.Debian.gz
/usr/share/doc/qgis/changelog.gz
/usr/share/mimelnk
/usr/share/mimelnk/application
/usr/share/mimelnk/application/x-raster-aig.desktop
/usr/share/mimelnk/application/x-adobe-mif.desktop
/usr/share/mimelnk/application/x-raster-mrsid.desktop
/usr/share/mimelnk/application/x-esri-crs.desktop
/usr/share/mimelnk/application/x-mapinfo-mif.desktop
/usr/share/mimelnk/application/x-raster-ecw.desktop
/usr/share/mimelnk/application/x-esri-shape.desktop
/usr/share/mimelnk/application/x-qgis-project.desktop
/usr/share/mimelnk/application/x-qgis-layer-settings.desktop
/usr/share/applications
/usr/share/applications/qbrowser.desktop
/usr/share/applications/qgis.desktop
/usr/share/icons
/usr/share/icons/scalable
/usr/share/icons/scalable/apps
/usr/share/icons/scalable/apps/qgis.svg
/usr/share/icons/hicolor
/usr/share/icons/hicolor/64x64
...
/usr/share/icons/hicolor/22x22/apps/qgis.png
/usr/share/pixmaps
/usr/share/pixmaps/qgis-mime.png
/usr/share/pixmaps/qgis.png
/usr/share/pixmaps/qgis.svg
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/qgis
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/qbrowser.1.gz
/usr/share/man/man1/qgis.1.gz
/usr/lib
/usr/lib/qgis
/usr/lib/qgis/qgis_help
/usr/lib/qgis/plugins
/usr/lib/qgis/plugins/libheatmapplugin.so
...
/usr/lib/qgis/plugins/libevis.so
/usr/lib/mime
/usr/lib/mime/packages
/usr/lib/mime/packages/qgis
/usr/bin
/usr/bin/qgis
diverted by qgis-plugin-grass to: /usr/bin/qgis.bin *<<
qgis-plugin-grass plugin diverts /usr/bin/qgis leaving the qgis.desktop
dangling*
/usr/bin/qbrowser
diverted by qgis-plugin-grass to: /usr/bin/qbrowser.bin *<<
qgis-plugin-grass plugin diverts it /usr/bin/qbrowser the
qbrowser.desktop dangling*

This left me with an unusable .desktop (in GNOME it does not even appear
anymore, it seems to check if it points to a valid executable), which
ended in users calling me up asking "where their qgis went".

qgis draws qgis-plugin-grass automatically as it is categorized as
"recomended" dependency. Fortunately no one I know at my workplace uses
it, so manually removing it solves my specific problem. It does mean
though, that qgis-plugin-grass currently breaks the qgis package.

It may be reasonable to conclude that this is just an unintended
duplicate or at least related to #817176.

Thank you and best regards,
Leonhard


On 02.04.2016 14:35, Sebastiaan Couwenberg wrote:
> Control: tags -1 moreinfo
>
> Hi Leonhard,
>
> On 04/01/2016 02:38 PM, Leonhard Weber wrote:
>> the desktop entry for the /usr/bin/qgis.bin and /usr/bin/qbrowser.bin
>> binaries point towards /usr/bin/qgis
>> and /usr/bin/qbrowser respectively instead.
> The desktop files for qgis & qbrowser are correct.
>
> /usr/bin/{qgis,qbrowser} are shell wrappers that set LD_LIBRARY_PATH for
> the GRASS version on the system.
>
> This is used to support multiple GRASS versions on the same system.
>
>> Either the binaries are being installed with an unintended suffix of
>> .bin or the desktop entries are broken.
>> Not sure which one given that debian/rules seem to explicitly install to
>> a non-suffixed name.
>>
>> I have taken the liberty to attach a patch for the latter case, which is
>> the workaround I decided to deploy
>> at our environment for the time being.
> What problem are you working around?
>
> The desktop files in the qgis backport work as expected, there shouldn't
> be any need for your patch.
>
> Kind Regards,
>
> Bas
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160404/767af0c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160404/767af0c0/attachment.sig>


More information about the Pkg-grass-devel mailing list