Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Jon

patch for the placeholder sprite scripts

Recommended Posts

Patch to adjust "composite" usage for composing the "not done yet" sprites, which means you can build freedoom using "graphicsmagick" (an imagemagick fork):

Date: Fri, 3 Sep 2010 15:32:03 +0100
Subject: [PATCH] use Over as compose argument for dummy sprites

'Over' is an equivalent option to 'src-over' for composite, introduced
at some point before Imagemagick 6.x.

The 'graphicsmagick' fork of Imagemagick provides a (supposedly)
compatible imagemagick interface, but lacks the (older) 'src-over'
composite type.

Using 'Over' means you can build with imagemagick or graphicsmagick.

diff --git a/sprites/jond/placeholder/Makefile b/sprites/jond/placeholder/Makefile
index fab696d..e454217 100644
--- a/sprites/jond/placeholder/Makefile
+++ b/sprites/jond/placeholder/Makefile
@@ -14,7 +14,7 @@ TARGETS   = $(notdir $(ALLSRC))
 
 DUMMY     =../../dummy.gif
 # TODO: if dst's width is < src's, src is clipped. Try to prevent this.
-ARGS=-compose src-over -gravity center
+ARGS=-compose Over -gravity center
 
 foo: $(VILEDEST) $(TARGETS)
 

Share this post


Link to post

Excellent! But even more awesome, is this might not be needed soon. There is a spider trapped on ftp, and I think someone is nearly done with another spider.
I am sure one can be converted to cyber nicely.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
×