Date: Fri, 12 Apr 2002 02:03:50 +0200 (CEST) From: Sascha Holzleiter <sascha@root-login.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37012: fix port graphics/wmgrabimage Message-ID: <200204120003.g3C03oL95066@mother.chief.home>
next in thread | raw e-mail | index | archive | help
>Number: 37012 >Category: ports >Synopsis: fix port graphics/wmgrabimage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 11 18:00:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sascha Holzleiter >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: >Description: Fixes wrong commandline argument -geom for ImageMagicks convert to correct -geometry parameter and lets the port work again. Please close PR ports/36229 also, as it was my last pr before taking over the maintainership and is the same fix as this one. >How-To-Repeat: >Fix: --- fix begins here --- diff -N -u -r ./Makefile /patches/wmgrabimage/Makefile --- ./Makefile Thu Apr 11 01:05:47 2002 +++ /patches/wmgrabimage/Makefile Fri Apr 12 01:46:20 2002 @@ -7,6 +7,7 @@ PORTNAME= wmGrabImage PORTVERSION= 0.72 +PORTREVISION= 1 CATEGORIES= graphics windowmaker MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/ EXTRACT_SUFX= .tgz diff -N -u -r ./files/patch-ad /patches/wmgrabimage/files/patch-ad --- ./files/patch-ad Thu Jan 1 01:00:00 1970 +++ /patches/wmgrabimage/files/patch-ad Fri Apr 12 01:43:50 2002 @@ -0,0 +1,14 @@ +--- GrabImage.orig Sat Mar 23 14:37:54 2002 ++++ GrabImage Sat Mar 23 14:38:23 2002 +@@ -61,9 +61,9 @@ + + if (! ($Geometry eq "") ) { + system "convert -crop $Geometry $home/.wmGrabImage/${ImageName} $home/.wmGrabImage/${ImageName}.tmp.gif" ; +- system "convert -geom 54x54 $home/.wmGrabImage/${ImageName}.tmp.gif ${home}/.wmGrabImage/${ImageName}.tmp.xpm"; ++ system "convert -geometry 54x54 $home/.wmGrabImage/${ImageName}.tmp.gif ${home}/.wmGrabImage/${ImageName}.tmp.xpm"; + } else { +- system "convert -geom 54x54 $home/.wmGrabImage/${ImageName} ${home}/.wmGrabImage/${ImageName}.tmp.xpm"; ++ system "convert -geometry 54x54 $home/.wmGrabImage/${ImageName} ${home}/.wmGrabImage/${ImageName}.tmp.xpm"; + } + system "cat ${home}/.wmGrabImage/${ImageName}.tmp.xpm | sed -e \"s/Transparent/Black/\" \> ${home}/.wmGrabImage/${ImageName}.xpm; rm ${home}/.wmGrabImage/${ImageName}.tmp.xpm"; + --- fix ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204120003.g3C03oL95066>