I've been playing with this to automatically build pspp for windows and came out with the attached Dockerfile which uses Fedora and wine to build and test pspp.
The final results are: ERROR: 1193 tests were run, 444 failed unexpectedly. 18 tests were skipped. I still didn't have the time to check this tests, but if anyone would like to give it a try you can just copy the Dockerfile and copy the gimp_to_imagemagick.patch to ($pwd)/patches and run docker build . -t pspp --cpuset-cpus="0-7". M ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, July 30, 2020 10:41 AM, John Darrington <j...@darrington.wattle.id.au> wrote: > On Thu, Jul 30, 2020 at 01:19:33PM +0000, Jeremy Lavergne wrote: > On "make check": I do that prior to committing the changes to MacPorts > (there's usually just 5 skipped tests and everything else passes). > > I'm guessing these are the perl tests, and/or the postgres test? > > This is probably because you don't have perl installed or have chosen not > to build those features. > > J'
Dockerfile
Description: Binary data
diff --git a/README.Git b/README.Git index f101c058a..fcf877a37 100644 --- a/README.Git +++ b/README.Git @@ -23,7 +23,7 @@ following: * Texinfo 5.2 or later, to build the documentation. - * Gimp -- 2.8.2 is known to work + * ImageMagick -- 7.0.10 is known to work After you install PSPP's prerequisites, you must obtain a copy of Gnulib, then bootstrap the tree, as described in the sections below. diff --git a/Smake b/Smake index 577e31ef4..12016e579 100644 --- a/Smake +++ b/Smake @@ -401,12 +401,6 @@ clean: .PHONY: all gettextize clean -# The "convert" program from imagemagick can be used to create png from svg but doesn't properly deal -# with the alpha channels. Therefore, it is not recommended for production pspp builds, but might -# be useful to get something working on a platform which doesn't have a working gimp. - -#svg2png=convert -background transparent $1 $3 - # Graphical layout of icons and our portfolio # =========================================== # diff --git a/build-aux/svg2png b/build-aux/svg2png index d00e10952..f731d83c2 100755 --- a/build-aux/svg2png +++ b/build-aux/svg2png @@ -24,9 +24,4 @@ esac echo "Converting" $1 "to" $3 "size" $width"x"$width comment=`cat $2` -gimp -i -b "\ -(let* ((image (car (file-svg-load 1 \"$1\" \"$1\" 90 $width $width 0 )))) - (gimp-image-attach-parasite image '(\"gimp-comment\" 0 \"$comment\")) - (gimp-file-save 1 image (car (gimp-image-get-active-drawable image)) - \"$3\" \"$3\")) - (gimp-quit 1)" +convert -size ${width}x${width} -transparent white -comment "$comment" $1 PNG32:$3