Mailinglist Archive: opensuse-packaging (214 mails)

< Previous Next >
Re: [opensuse-packaging] Desktop File Error
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Sun, 31 Oct 2010 17:12:19 +0100
  • Message-id: <AANLkTim-9egEvfvEXG4f7oHowT=CDhKMnkt05GueobD1@xxxxxxxxxxxxxx>
2010/10/31 Sascha 'saigkill' Manns <samannsml@xxxxxxxxxxxxx>:
Hi Christian,

Am Sonntag, 31. Oktober 2010 14:43:31 wrote Cristian Morales Vega:
2010/10/31 Sascha 'saigkill' Manns <samannsml@xxxxxxxxxxxxx>:
Am Sonntag, 31. Oktober 2010 12:45:45 wrote Michal Smrž:
Well, this would be answered officially,which I am not, but

Try add some third category to Categories

Instead of Categories=Education;Science; try use
Categories=Education;Science;Chemistry; or such.

Hello Michal,

i've tried out "Education;Science;MedicalSoftware". As written in
the Standards, that should work.

But sadly the same issue :-(

Where does it fail?

$ osc r home:saigkill:medical freediams
openSUSE_11.1        i586       succeeded
openSUSE_11.1        x86_64     succeeded
openSUSE_11.2        i586       succeeded
openSUSE_11.2        x86_64     succeeded
openSUSE_11.3        i586       succeeded
openSUSE_11.3        x86_64     succeeded
openSUSE_Factory     i586       succeeded
openSUSE_Factory     x86_64     succeeded
SLE_11               i586       succeeded
SLE_11               x86_64     succeeded

If it only fails when building locally with osc, your (chrooted)
brp-check-suse packages probably is somehow broken. I expect a build
with --clean will solve the problem.

Anyway, the desktop file is correct. You should look at
/usr/lib/rpm/brp-desktop.data/applications.menu (that probably should
be the same than /etc/xdg/menus/applications.menu, even if in 11.3
isn't).
I've uploaded the new stuff.

sascha@linux-f34p:~> osc r home:saigkill:medical freediams
openSUSE_11.1        i586       failed
openSUSE_11.1        x86_64     failed
openSUSE_11.2        i586       failed
openSUSE_11.2        x86_64     failed
openSUSE_11.3        i586       failed
openSUSE_11.3        x86_64     failed
openSUSE_Factory     i586       failed
openSUSE_Factory     x86_64     failed
SLE_11               i586       failed
SLE_11               x86_64     failed

Anything is false ...

Now the problematic .desktop file isn't the one you attached but:

[Desktop Entry]
Version=0.4.0
Type=Application
Categories=Office;MedicalSoftware
Name=FreeDiams
Comment[en]=Pharmaceutical Drugs Prescriptor
Comment[fr]=Prescripteur
TryExec=freediams
Exec=freediams
Icon=freediams

from global_resources/textfiles/freediams.desktop, in the tarball.
When the build failed, you should have look at
/var/tmp/build-root/usr/src/packages/BUILDROOT/freediams-0.4.2.961-1.x86_64/usr/share/applications/freediams.desktop
to see the state of the file.

This part of the commit probably is why it started to break:
-%suse_update_desktop_file -i %{name}
+%suse_update_desktop_file -i %{SOURCE1}
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups