From owner-freebsd-ports@FreeBSD.ORG Sat Jan 26 13:41:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDD3F16A418 for ; Sat, 26 Jan 2008 13:41:41 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id A065013C43E for ; Sat, 26 Jan 2008 13:41:41 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=sty23tDUF1oA:10 a=6I5d2MoRAAAA:8 a=kMPJttiiAAAA:8 a=5iHc_wATNdroFWMbBawA:9 a=XZGHF2TV0C7n8n_FcQoA:7 a=VWR_yEnJ9diYClK9k6KykI4W4WIA:4 a=cvn8laQl214A:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp08.embarq.synacor.com smtp.mail=bsd-unix@embarqmail.com; spf=neutral Authentication-Results: smtp08.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received-SPF: neutral (smtp08.embarq.synacor.com: 76.6.199.41 is neither permitted nor denied by domain of embarqmail.com) Received: from [76.6.199.41] ([76.6.199.41:57954] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.1.21 r(19176)) with ESMTPA id 50/D2-20037-4983B974; Sat, 26 Jan 2008 08:41:40 -0500 Date: Sat, 26 Jan 2008 08:41:37 -0500 From: Randy Pratt To: freebsd-ports@freebsd.org Message-Id: <20080126084137.06c27f81.bsd-unix@embarqmail.com> In-Reply-To: <20080125075625.9ceb99a9.bsd-unix@embarqmail.com> References: <20080124233859.bb1391c7.boris.hollas@gmx.de> <20080124201926.89daddec.bsd-unix@embarqmail.com> <20080125021917.GA98542@phong.rwxrwxrwx.net> <20080125075625.9ceb99a9.bsd-unix@embarqmail.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: qiv quits with Gdk-ERROR on FreeBSD 6.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 13:41:42 -0000 On Fri, 25 Jan 2008 07:56:25 -0500 Randy Pratt wrote: > On Fri, 25 Jan 2008 03:19:17 +0100 > Martin Tournoij wrote: > > > On Thu, Jan 24, 2008 at 08:19:26PM -0500, Randy Pratt wrote: > > > On Thu, 24 Jan 2008 23:38:59 +0100 > > > Boris Hollas wrote: > > > > > > > I invoked qiv (quick image viewer) on an image file and got the following message: > > > > > > > > Gdk-ERROR **: BadMatch (invalid parameter attributes) > > > > serial 115 error_code 8 request_code 2 minor_code 0 > > > > > > > > I installed qiv-2.0_2 from package on FreeBSD 6.3. > > > > > > > > On 6.1, I've used qiv without any problems. > > > > > > I switched to using a qiv development version (2.1) and this problem > > > doesn't seem to exist there. > > > > Update to 2.1pre12: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=119958 > > > > Please report if this version works for you. > > I made a clean install using the patch in PR119958. It displays > images but it gives the following messages when run from the > command line: > > $ qiv *.png > IMLIB ERROR: SHM can't get SHM Identifier for Shared Pixmap Wrapper > Falling back on Shared XImages > IMLIB ERROR: SHM can't get SHM Identifier for Shared XImage > Falling back on XImages I did a little more investigating and the above error only seems to happen for interlaced images, for example: freebsd-bikeshed.png: PNG image data, 3336 x 3666, 8-bit colormap, interlaced I put this image at: http://myfreebsd.homeunix.net/freebsd-bikeshed.png Converting the image to non-interlaced does not produce the imlib error. This same imlib error message exists in the qiv-2.0_2 version so its not new. The PR-119958 version works and is an improvement over the one in the tree. Randy --