Fedora Linux Support Community & Resources Center
  #1  
Old 11th October 2017, 01:04 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 420
linuxfedorafirefox
Package icons differ between local and koji build

HI,

when i build the package nuvola-app-deezer with this spec file on my local machine,
then the the icons looks like this: https://martinkg.fedorapeople.org/Er...ezer_local.jpg
rpm package: https://martinkg.fedorapeople.org/Er...c26.noarch.rpm

when the packet was built on koji, then it look like this: https://martinkg.fedorapeople.org/Er...eezer_koji.jpg
rpm package: https://kojipkgs.fedoraproject.org//...c26.noarch.rpm

origin icon source:
https://github.com/tiliado/nuvola-ap...rc/icon-sm.svg

have somebody a idea why it differs from the origin icon source ?

Last edited by TheBigRed; 11th October 2017 at 01:28 PM. Reason: direct link to koji
Reply With Quote
  #2  
Old 13th October 2017, 09:54 AM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 420
linuxfedorafirefox
Re: Package icons differ between local and koji build

Looking at the source SVG [6] in Inkscape, there are definitely more
layers which are not visible by default, but contains something what is
visible on the Koji [4] versions of images.

The question is why the result is different. There is probably some tool
used to convert SVG to JPG, which behaves differently on your system
(F25 or F26?) and on Rawhide or different tool is used for some reason?
I think that this [100] is the script which drives the conversion ...

[100]
https://github.com/tiliado/nuvolasdk...svg-convert.sh
Reply With Quote
  #3  
Old 13th October 2017, 11:28 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,579
linuxchrome
Re: Package icons differ between local and koji build

Are you using mock locally?

You are probably missing some build dependency that is not installed in koji on package build. ImageMagick is my bet. I would love to see build log, koji build id would have been nice.
Reply With Quote
  #4  
Old 13th October 2017, 01:29 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 420
linuxfedorafirefox
Re: Package icons differ between local and koji build

Quote:
Originally Posted by srakitnican View Post
Are you using mock locally?

You are probably missing some build dependency that is not installed in koji on package build. ImageMagick is my bet. I would love to see build log, koji build id would have been nice.
koji rawhide build-id:
https://koji.fedoraproject.org/koji/...askID=22421009

F26
https://koji.fedoraproject.org/koji/...askID=22421784

Last edited by TheBigRed; 13th October 2017 at 02:10 PM.
Reply With Quote
  #5  
Old 13th October 2017, 02:42 PM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,579
linuxchrome
Re: Package icons differ between local and koji build

It is produced by GraphicsMagic `gm` utility. I can see the same result in mock Fedora 25 chroot. You can try it in your environment with something like:

Code:
$ gm convert "<input.svg>" -resize 256 "<output-filename.png>"
So the gm is pulled by nuvolasdk. https://src.fedoraproject.org/rpms/n...lasdk.spec#_11

I don't have such issue with `convert` utility from ImageMagick package, though.
Reply With Quote
  #6  
Old 13th October 2017, 03:26 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 420
linuxfedorafirefox
Re: Package icons differ between local and koji build

Quote:
Originally Posted by srakitnican View Post
It is produced by GraphicsMagic `gm` utility. I can see the same result in mock Fedora 25 chroot. You can try it in your environment with something like:

Code:
$ gm convert "<input.svg>" -resize 256 "<output-filename.png>"
So the gm is pulled by nuvolasdk. https://src.fedoraproject.org/rpms/n...lasdk.spec#_11

I don't have such issue with `convert` utility from ImageMagick package, though.
thanks for your explanation and your effort
I will change the requirement to a program other than GraphicsMagick.
Reply With Quote
  #7  
Old 13th October 2017, 04:11 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 420
linuxfedorafirefox
Re: Package icons differ between local and koji build

should i change RR in nuvolasdk to Imagemagick or librsvg2-tools, which program needs minimal resources?
Requires: %{_bindir}/gm
Reply With Quote
  #8  
Old 14th October 2017, 08:12 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,579
linuxchrome
Re: Package icons differ between local and koji build

Not sure which one is the best, ImageMagick is probably the most bugs free one as it is used the most. But GraphicsMagick is indeed the smallest footprint here. This are the results in a mock chroot without any of them preinstalled. lasem-render is also not bad in regards to size footprint.

Quote:
lasem-render
Total download size: 10 M
Installed size: 32 M

librsvg2-tools
Total download size: 30 M
Installed size: 86 M

GraphicsMagick
Total download size: 7.6 M
Installed size: 18 M

ImageMagick
Total download size: 26 M
Installed size: 89 M
I suggest you fill the bug with GraphicsMagick also and provide them with a test case and see what they think.


EDIT: Also see the following: https://fedoraproject.org/wiki/Packa...y_Dependencies

Last edited by srakitnican; 14th October 2017 at 08:49 AM.
Reply With Quote
  #9  
Old 16th October 2017, 09:31 AM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 420
linuxfedorafirefox
Re: Package icons differ between local and koji build

Quote:
Originally Posted by srakitnican View Post
Not sure which one is the best, ImageMagick is probably the most bugs free one as it is used the most. But GraphicsMagick is indeed the smallest footprint here. This are the results in a mock chroot without any of them preinstalled. lasem-render is also not bad in regards to size footprint.

I suggest you fill the bug with GraphicsMagick also and provide them with a test case and see what they think.

EDIT: Also see the following: https://fedoraproject.org/wiki/Packa...y_Dependencies
opened bugzilla ticket
Reply With Quote
Reply

Tags
build , differ , icons , koji , local , package

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] koji build of lollypop fails TheBigRed Programming & Packaging 1 7th July 2017 03:40 PM
[SOLVED] koji build fails TheBigRed Programming & Packaging 2 11th May 2014 01:02 AM
[SOLVED] koji package build fails for fedora 18 TheBigRed Programming & Packaging 3 26th November 2012 08:37 AM
koji build error siniantao Using Fedora 0 13th September 2010 10:35 AM
How Does One Request Another Koji Build? dd_wizard Using Fedora 2 21st December 2009 09:25 PM


Current GMT-time: 03:23 (Thursday, 19-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat