FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    446

    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

  2. #2
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    446

    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

  3. #3
    Join Date
    Oct 2011
    Posts
    1,629

    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.

  4. #4
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    446

    Re: Package icons differ between local and koji build

    Quote 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.

  5. #5
    Join Date
    Oct 2011
    Posts
    1,629

    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.

  6. #6
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    446

    Re: Package icons differ between local and koji build

    Quote 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.

  7. #7
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    446

    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

  8. #8
    Join Date
    Oct 2011
    Posts
    1,629

    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.

  9. #9
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    446

    Re: Package icons differ between local and koji build

    Quote 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

  1. [SOLVED] koji build of lollypop fails
    By TheBigRed in forum Programming & Packaging
    Replies: 1
    Last Post: 7th July 2017, 03:40 PM
  2. [SOLVED] koji build fails
    By TheBigRed in forum Programming & Packaging
    Replies: 2
    Last Post: 11th May 2014, 01:02 AM
  3. [SOLVED] koji package build fails for fedora 18
    By TheBigRed in forum Programming & Packaging
    Replies: 3
    Last Post: 26th November 2012, 08:37 AM
  4. koji build error
    By siniantao in forum Using Fedora
    Replies: 0
    Last Post: 13th September 2010, 10:35 AM
  5. How Does One Request Another Koji Build?
    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
  •