SliTaz SliTaz Forum archive

This forum is now a read-only archive

The SliTaz community has moved to Maille, a forum made for SliTaz.

We looked hard for a replacement for this aging forum, including a move from bbPress to FluxBB last June. But spam bots now get through sign-up even with mail confirmation, and these forum engines are barely maintained anymore. So we wrote a forum in the SliTaz spirit: small, fast, no JavaScript, works on old machines and in text browsers. Everything here stays readable.

Go to Maille

You are not logged in.

#1 2015-12-26 09:17:42

oui
Member
Registered: 2012-09-05
Posts: 298

marble - to much entries in the menu

Hi

I did install install "marble" and "merkaartor" to process geographic informations.

but tazpkg did create 3 entries of marble in the menu.

how to avoid it?

Offline

#2 2015-12-26 12:15:25

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: marble - to much entries in the menu

Maybe like that: http://hg.slitaz.org/wok/rev/e8fc6e4491a9

Offline

#3 2015-12-26 13:39:32

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: marble - to much entries in the menu

Hi there,

Looking http://cook.slitaz.org/cooker.cgi?files=marble

Maybe we should remove these files too (at packaging time)?

[c]/usr/include with all content
/usr/share/marble/cmake/FindMarble.cmake

/usr/share/applications/marble-mobile.desktop
/usr/share/applications/marble-touch.desktop
/usr/share/applications/marble-qt.desktop

/usr/bin/marble-mobile
/usr/bin/marble-touch[/c]
https://bugs.kde.org/show_bug.cgi?id=327405

It's technically possible to install all .desktop files in parallel.

However, since all files have the same user-visible content, multiple seemingly identical entries will appear in the XDG menu which will start different variants of Marble.

Hence, we need to rely on packagers to select the appropriate .desktop files for the packaged Marble binaries.

. . .

This affects the Maemo (marble-mobile) and MeeGo (marble-touch) apps.

Commit: http://hg.slitaz.org/wok/rev/d6a5d594b6e3

Offline

#4 2015-12-26 16:03:09

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: marble - to much entries in the menu

Hi aleksej,

Take care of cook 'features' : http://hg.slitaz.org/cookutils/file/edf295b6098f/cook#l450

[c]

# Generic desktop entry copy can be disabled with GENERIC_MENUS="no"

if [ "$GENERIC_MENUS" != 'no' ]; then

  if [ -d "$install/usr/share/applications" ] && [ -z "$WANTED" ]; then

    mkdir -p $fs/usr/share

    cp -a $install/usr/share/applications $fs/usr/share

  fi

fi

[/c]

Offline

#5 2015-12-26 17:58:30

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: marble - to much entries in the menu

Hi Pascal,

I recall about "generic desktops" only in last hour. But now not at home and can't fix the receipt. Sometimes these "hidden rules" makes more harm than good: I already removed unwanted desktop files in $fs, but then these desktop files are copied here again from $install to $fs.

Thank you for fixing this here:

http://hg.slitaz.org/wok/rev/98f4f9b31076

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]