Date: Sat, 23 Mar 2002 15:00:38 +0100 (CET) From: Sascha Holzleiter <sh@root-login.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36229: Problem with graphics/wmgrabimage Message-ID: <200203231400.g2NE0cg08306@mother.chief.home>
next in thread | raw e-mail | index | archive | help
>Number: 36229 >Category: ports >Synopsis: Problem with graphics/wmgrabimage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 23 06:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Sascha Holzleiter >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: >Description: wmGrabImage passes wrong option -geom to 'convert', the correct option is -geometry >How-To-Repeat: install wmGrabImage port and see it shows nothing because of this bug ;) >Fix: --- patch-ad begins here --- --- 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"; --- patch-ad ends here --- >Release-Note: >Audit-Trail: >Unformatted: >System: FreeBSD mother.chief.home 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 19 10:10:04 CET 2002 root@:/usr/obj/usr/src/sys/HOTKERN i386 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?200203231400.g2NE0cg08306>