Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-Sep-2009, 08:24
Puzzled Penguin
 
Join Date: May 2009
Location: Bulowice Nearby Cracow, Poland
Posts: 15
Coolmax89 hasn't been rated much yet
Send a message via Skype™ to Coolmax89
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.
Reply With Quote
  #2 (permalink)  
Old 08-Sep-2009, 08:31
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,673
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
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

Reply With Quote
  #3 (permalink)  
Old 08-Sep-2009, 09:30
Puzzled Penguin
 
Join Date: May 2009
Location: Bulowice Nearby Cracow, Poland
Posts: 15
Coolmax89 hasn't been rated much yet
Send a message via Skype™ to Coolmax89
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?
Reply With Quote
  #4 (permalink)  
Old 08-Sep-2009, 09:47
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,673
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
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

Reply With Quote
  #5 (permalink)  
Old 08-Sep-2009, 09:58
Puzzled Penguin
 
Join Date: May 2009
Location: Bulowice Nearby Cracow, Poland
Posts: 15
Coolmax89 hasn't been rated much yet
Send a message via Skype™ to Coolmax89
Default Re: Icon problem

Yes, there are no icons. I guess that author thinks that "computer" icon is in most themes.
Reply With Quote
  #6 (permalink)  
Old 08-Sep-2009, 10:18
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,673
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
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

Reply With Quote
Reply

Bookmarks

Tags
build-service, icon file not installed


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2