From owner-freebsd-ports Sat Mar 23 6:10:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C2F6F37B417 for ; Sat, 23 Mar 2002 06:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2NEA1L51227; Sat, 23 Mar 2002 06:10:01 -0800 (PST) (envelope-from gnats) Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id 43D9F37B400 for ; Sat, 23 Mar 2002 06:00:33 -0800 (PST) Received: from [172.19.20.63] (helo=mrvdomng2.kundenserver.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 16om4O-0003sg-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 23 Mar 2002 15:00:32 +0100 Received: from [80.131.138.36] (helo=mother.chief.home) by mrvdomng2.kundenserver.de with esmtp (Exim 3.22 #2) id 16om4N-00032z-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 23 Mar 2002 15:00:31 +0100 Received: (from root@localhost) by mother.chief.home (8.11.6/8.11.6) id g2NE0cg08306; Sat, 23 Mar 2002 15:00:38 +0100 (CET) (envelope-from aperum) Message-Id: <200203231400.g2NE0cg08306@mother.chief.home> Date: Sat, 23 Mar 2002 15:00:38 +0100 (CET) From: Sascha Holzleiter Reply-To: Sascha Holzleiter To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36229: Problem with graphics/wmgrabimage Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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