Results 1 to 6 of 6

Thread: Icon problem

  1. #1
    Join Date
    May 2009
    Location
    Bulowice Nearby Cracow, Poland
    Posts
    30

    Default Icon problem

    Hi all,
    I'm writing .spec file now and I have problem. In src package, author prepared .desktop file. Problem is that he wrote "Icon=computer". There is no problem using this file, most distros have computer.png icon. My suse (11.1) takes icon from oxygen theme, but problem is with build sevice:
    Code:
    [...]
    WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
    WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
    WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
    ERROR: Icon file not installed: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
    WARNING: Empty GenericName: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
    Errors in installed desktop file detected. Please mail stbinner@suse.de, if you think this is wrong.
    error: Bad exit status from /var/tmp/rpm-tmp.30428 (%install)
    
    
    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.30428 (%install)
    What can I do with this? I appreciate any help.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: Icon problem

    Quote Originally Posted by Coolmax89
    Hi all,
    I'm writing .spec file now and I have problem. In src package, author
    prepared .desktop file. Problem is that he wrote "Icon=computer". There
    is no problem using this file, most distros have computer.png icon. My
    suse (11.1) takes icon from oxygen theme, but problem is with build
    sevice:

    Code:
    --------------------
    [...]
    WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does
    not exist WARNING:
    '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
    WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu'
    does not exist ERROR: Icon file not
    installed: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
    WARNING: Empty
    GenericName: /var/tmp/ssvnc-1.0.23-build//usr/share/applications/ssvnc.desktop
    Errors in installed desktop file detected. Please mail
    stbinner@suse.de, if you think this is wrong. error: Bad exit status
    from /var/tmp/rpm-tmp.30428 (%install) RPM build errors: Bad exit
    status from /var/tmp/rpm-tmp.30428 (%install)
    --------------------

    What can I do with this? I appreciate any help.
    Hi
    Either create a patch file to add the GenericName= in the desktop file,
    else update in the spec file with -G option, see here;
    <http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.33._.25suse_update_desktop_file>

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 15:40, 2 users, load average: 0.39, 0.22, 0.12
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  3. #3
    Join Date
    May 2009
    Location
    Bulowice Nearby Cracow, Poland
    Posts
    30

    Default Re: Icon problem

    Ok, there is no warning regarding GenericName, but building fails on icon error. So what to do? Add icons to package or add requires to install theme with computer.png?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: Icon problem

    Quote Originally Posted by Coolmax89
    Ok, there is no warning regarding GenericName, but building fails on
    icon error. So what to do? Add icons to package or add requires to
    install theme with computer.png?
    Hi
    Are there no icons at all with the source?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 16:58, 2 users, load average: 0.01, 0.10, 0.14
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  5. #5
    Join Date
    May 2009
    Location
    Bulowice Nearby Cracow, Poland
    Posts
    30

    Default Re: Icon problem

    Yes, there are no icons. I guess that author thinks that "computer" icon is in most themes.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: Icon problem

    Quote Originally Posted by Coolmax89
    Yes, there are no icons. I guess that author thinks that "computer" icon
    is in most themes.
    Hi
    looks like the author only did a manual install.... If you find an icon
    and bz2 it up an add a SOURCE1 to your spec file, then after the first
    %setup run tar -xj %{SOURCE1} and install from there.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 17:27, 2 users, load average: 0.02, 0.07, 0.08
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


Tags for this Thread

Posting Permissions

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