use netpbm pipeline to create 32px PNG icon
The convert command (ImageMagick) embeds timestamps in the resulting file, and creates bigger files.
This commit is contained in:
parent
11cc92f573
commit
21b46cea3f
@ -70,7 +70,7 @@ BuildRequires: sane-backends-devel >= 1.0.19-15
|
||||
BuildRequires: desktop-file-utils >= 0.2.92
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: netpbm-progs
|
||||
Requires: xsane-common
|
||||
|
||||
%description
|
||||
@ -146,7 +146,7 @@ popd
|
||||
# Ensure that src/xsane.xpm is 32px high/wide
|
||||
test "$(identify -format "%wx%h" src/xsane.xpm)" = "32x32"
|
||||
|
||||
convert src/xsane.xpm src/xsane-32x32.png
|
||||
xpmtoppm src/xsane.xpm | pnmtopng > src/xsane-32x32.png
|
||||
|
||||
cp %{SOURCE1} src/
|
||||
|
||||
@ -221,6 +221,8 @@ fi
|
||||
- build with -fno-strict-aliasing
|
||||
- tidy up desktop file
|
||||
- catch errors when determining the %%gimpplugindir macro
|
||||
- use netpbm pipeline to create 32px PNG icon instead of convert (which embeds
|
||||
timestamps in the resulting file)
|
||||
|
||||
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 0.998-14
|
||||
- rebuild due to "jpeg8-ABI" feature drop
|
||||
|
Loading…
Reference in New Issue
Block a user