-
11th October 2017, 01:04 PM
#1
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
-
13th October 2017, 09:54 AM
#2
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
-
13th October 2017, 11:28 AM
#3
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.
-
13th October 2017, 01:29 PM
#4
Re: Package icons differ between local and koji build
Originally Posted by
srakitnican
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.
-
13th October 2017, 02:42 PM
#5
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.
-
13th October 2017, 03:26 PM
#6
Re: Package icons differ between local and koji build
Originally Posted by
srakitnican
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.
-
13th October 2017, 04:11 PM
#7
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
-
14th October 2017, 08:12 AM
#8
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.
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.
-
16th October 2017, 09:31 AM
#9
Re: Package icons differ between local and koji build
Originally Posted by
srakitnican
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
Similar Threads
-
By TheBigRed in forum Programming & Packaging
Replies: 1
Last Post: 7th July 2017, 03:40 PM
-
By TheBigRed in forum Programming & Packaging
Replies: 2
Last Post: 11th May 2014, 01:02 AM
-
By TheBigRed in forum Programming & Packaging
Replies: 3
Last Post: 26th November 2012, 08:37 AM
-
By siniantao in forum Using Fedora
Replies: 0
Last Post: 13th September 2010, 10:35 AM
-
By dd_wizard in forum Using Fedora
Replies: 2
Last Post: 21st December 2009, 09:25 PM
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
-
Forum Rules
[[template footer(Guest)]]