Results 1 to 7 of 7

Thread: .desktop file translation error

  1. #1

    Default .desktop file translation error

    Hi,

    I have been working with the Factory repo recently, and I notice that many
    of my packages give this error:

    ERROR: translation is neither enabled nor disabled for this file:

    It could be one of many .desktop files. How do I correct this?

    Also, is there documentation on many of the errors that the build service
    may give?

    Thanks,
    g

  2. #2
    Join Date
    Jun 2008
    Location
    near SUSE Headquarter
    Posts
    237

    Default Re: .desktop file translation error


  3. #3

    Default Re: .desktop file translation error

    I tried
    %suse_update_desktop_file %name

    but then I get
    Code:
    Writing /var/tmp/bleachbit-0.1.0-7.1-root-abuild/usr/local/lib64/python2.6/site-packages/bleachbit-0.1.0-py2.6.egg-info
    + %suse_update_desktop_file bleachbit
    /var/tmp/rpm-tmp.95377: line 26: fg: no job control
    error: Bad exit status from /var/tmp/rpm-tmp.95377 (%install)
    
    
    RPM build errors:
    cannot open Pubkeys index using db3 - No such file or directory (2)
    Bad exit status from /var/tmp/rpm-tmp.95377 (%install)
    System halted.

  4. #4

    Default Re: .desktop file translation error

    I have exactly the same problem and I'm sure there is nothing wrong with the translation.
    My desktop file looks like this:

    Code:
    [Desktop Entry]  
    Name=FreeSSM  
    GenericName=Diagnostic and adjustment tool for SUBARU-vehicles  
    GenericName[de]=Diagnose- und Adaptions-Tool fr SUBARU-Fahrzeuge  
    Exec=/opt/freessm/%{name}  
    Icon=/opt/freessm/FreeSSM.png  
    Terminal=0  
    Type=Application  
    Categories=Application;Utility;
    No problem with builds for openSUSE 11.0, Mandriva 2009, Fedora 10, xUbuntu 8.10.
    I have also no problems with local builds on my own 11.1-machine.
    Any ideas ?

  5. #5

    Default Re: .desktop file translation error

    I solved it, but I don't recall how. Check my .spec file for the opensuse-specific sections.

    https://build.opensuse.org/package/s...ome%3Aandrew_z

  6. #6

    Default Re: .desktop file translation error

    your code:

    Code:
    %if 0%{?suse_version}  
    %suse_update_desktop_file %{name}  
    %endif
    is what did it.

    Although, I now have a package with multiple desktop files which is throwing a different error.

    g

  7. #7

    Default Re: .desktop file translation error

    %if 0%{?suse_version}
    BuildRequires: update-desktop-files
    %endif


    Try that

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •