[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -1,7 +1,7 @@
<services>
<service name="tar_git">
<param name="url">https://github.com/sailfishos-chum/ImageMagick.git</param>
- <param name="revision">7.1.1.28+obs1.0</param>
+ <param name="revision">7.1.1.31+obs1.0</param>
<!--
<param name="branch">obs</param>
-->
|
|
Changed |
_service:tar_git:ImageMagick-7.1.1.31+obs1.0.tar.xz
^
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.yaml
^
|
@@ -1,8 +1,8 @@
Name: ImageMagick
### DO NOT FORGET TO BUMP mfr_revision below !!!
### Also, the builds script needs this to not be a macro
-Version: 7.1.1.28
-Release: 1.1
+Version: 7.1.1.31
+Release: 1.0
Summary: Viewer and Converter for Images
Group: Applications/Multimedia
License: ImageMagick
@@ -39,7 +39,7 @@
Macros:
#- 'debug_build;0'
- - 'mfr_revision;28'
+ - 'mfr_revision;31'
- 'maj;7'
- 'mfr_version;%{maj}.1.1'
- 'quantum_depth;16'
|
[-]
[+]
|
Added |
test.sh
^
|
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+if [[ ! -d $1 ]] ; then
+echo "$1 not a dir, must point to a dir (e.g. ../../rpmbuild/BUILD/ImageMagick-7.0.10-1/images), exit."
+exit 1
+fi
+tmp=$(mktemp -d -t imtest_XXXXXX)
+revfmt=png
+
+if [[ "x$CONVERT" = "x" ]]; then
+ cvt=convert
+else
+ echo using custom convert binary
+ cvt=$CONVERT
+fi
+
+for inp in $1/*
+ do
+ [[ -f $inp ]] || continue
+ echo ${inp##*/}
+ for fmt in pdf bmp png gif tiff jpg xbm xpm tga ps pnm pgx djvu
+ do
+ $cvt $inp -resize x240 $tmp/out.${fmt} || echo "${inp##*/} to $fmt failed."
+ #convert $tmp/out.${fmt} $tmp/reverse${fmt}.$revfmt || echo "$fmt reverse to $revfmt failed."
+ done
+ #convert $inp -resize x240 $tmp/${inp##*/}resized_out.jpg || echo "${inp##*/} resize failed."
+ done
+echo conversion runs done. Enter to continue.
+read dummy
+file $tmp/*
+echo \'file\' results shown above. Enter to continue.
+read dummy
+echo =================================
+convert -version
+echo =================================
+rm -r $tmp
+echo cleaning up
+echo all done.
|