Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2007 09:28:24 +0200
From:      "Herbert J. Skuhra" <h.skuhra@gmail.com>
To:        freebsd-ports@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: qiv(imlib) vs. xorg 7.3
Message-ID:  <20070915072824.GB793@oslo.ath.cx>
In-Reply-To: <20070915070910.GA793@oslo.ath.cx>
References:  <20070915030837.GA15734@lgj.amnesia.net> <20070915070910.GA793@oslo.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Sep 15, 2007 at 09:09:10AM +0200, Herbert J. Skuhra wrote:
> Edward G.J. Lee wrote:
> > Hi,
> >
> > I can't use qiv after i upgrade xrog 7.2 to 7.3.
> >
> > [edt1023@lgj ~]$ qiv typhon.jpg
> > Gdk-ERROR **: BadMatch (invalid parameter attributes)
> >   serial 115 error_code 8 request_code 2 minor_code 0
> >
> > [edt1023@lgj ~]$ qiv -z typhon.jpg
> > qiv: Your root window's visual is not the visual Imlib chose;
> >      qiv cannot set the background currently.
> >
> > FreeBSD 6-STABLE.
> >
> > Does anybody have the same problem?
> 
> Yes, I had the same problem. I solved the issue by upgrading to
> qiv-2.1-pre12.
> 
> - Herbert

Wrong ${ECHO_MSG} (with/without Xinerama)

- Herbert

--IiVenqGWf+H9Y6IX
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="qiv-2.1pre12.diff"

diff -ruN graphics/qiv.bak/Makefile graphics/qiv/Makefile
--- graphics/qiv.bak/Makefile	2007-09-15 09:18:11.000000000 +0200
+++ graphics/qiv/Makefile	2007-09-15 09:27:19.000000000 +0200
@@ -6,11 +6,11 @@
 #
 
 PORTNAME=	qiv
-PORTVERSION=	2.0
-PORTREVISION=	2
+PORTVERSION=	2.1pre12
+PORTREVISION=	0
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.klografx.net/qiv/download/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+DISTNAME=	${PORTNAME}-2.1-pre12
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
@@ -21,7 +21,7 @@
 USE_GMAKE=	yes
 USE_GNOME=	imlib
 USE_X_PREFIX=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
 MAN1=		qiv.1
 PLIST_FILES=	bin/qiv
@@ -29,13 +29,13 @@
 .include <bsd.port.pre.mk>
 
 pre-configure:
-.if defined(WITH_XINERAMA)
-	@${ECHO_MSG} compiling with Xinerama support
+.if defined(WITHOUT_XINERAMA)
+	@${ECHO_MSG} compiling without Xinerama support
 	@${MV} -v ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
-	@${SED} -e 's/\# GTD_XINERAMA/GTD_XINERAMA/' \
+	@${SED} -e 's/GTD_XINERAMA\ \=/\# GTD_XINERAMA\ \=/' \
 		< ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
 .else
-	@${ECHO_MSG} compiling without Xinerama support
+	@${ECHO_MSG} compiling with Xinerama support
 .endif
 
 do-configure:
diff -ruN graphics/qiv.bak/distinfo graphics/qiv/distinfo
--- graphics/qiv.bak/distinfo	2007-09-15 09:18:11.000000000 +0200
+++ graphics/qiv/distinfo	2007-09-15 09:18:35.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (qiv-2.0-src.tgz) = 165d0c2f264718821f94732196b7f9e1
-SHA256 (qiv-2.0-src.tgz) = 2f0c03ee7e79c9210f060c87d51811e4540f126d8c3d751b31aab69160b3d091
-SIZE (qiv-2.0-src.tgz) = 76561
+MD5 (qiv-2.1-pre12.tgz) = 80ba1e2da5115a3cc3a6f7e19cb620d8
+SHA256 (qiv-2.1-pre12.tgz) = d54edb92ca91567e2a12b536acc14500efdbccc38718efba99cadaa161a1e70c
+SIZE (qiv-2.1-pre12.tgz) = 94059
diff -ruN graphics/qiv.bak/files/patch-qiv.h graphics/qiv/files/patch-qiv.h
--- graphics/qiv.bak/files/patch-qiv.h	1970-01-01 01:00:00.000000000 +0100
+++ graphics/qiv/files/patch-qiv.h	2007-09-15 09:18:35.000000000 +0200
@@ -0,0 +1,13 @@
+--- qiv.h.orig	2007-09-15 08:48:09.000000000 +0200
++++ qiv.h	2007-09-15 08:48:52.000000000 +0200
+@@ -19,8 +19,8 @@
+ #include <X11/extensions/xf86vmode.h> // for XF86VidModeGetModeLine
+ */
+ 
+-#define VERSION "2.1-pre11"
+-#define VERSION_FULL "QIV - Quick Image Viewer v2.1-pre11 - http://www.klografx.net/qiv/"
++#define VERSION "2.1-pre12"
++#define VERSION_FULL "QIV - Quick Image Viewer v2.1-pre12 - http://www.klografx.net/qiv/"
+ #define TRASH_DIR ".qiv-trash"
+ #define SELECT_DIR ".qiv-select"
+ #define SLIDE_DELAY 3000 /* milliseconds */

--IiVenqGWf+H9Y6IX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070915072824.GB793>