Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2013 15:37:51 GMT
From:      Matthieu Volat <mazhe@alkumuna.eu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/182300: geeqie champlain detection with GSP option
Message-ID:  <201309221537.r8MFbpX4087155@oldred.freebsd.org>
Resent-Message-ID: <201309221540.r8MFe0of000165@freefall.freebsd.org>

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

>Number:         182300
>Category:       misc
>Synopsis:       geeqie champlain detection with GSP option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 22 15:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu Volat
>Release:        9.2-RC4
>Organization:
>Environment:
FreeBSD freedom.alkumuna.eu 9.2-RC4 FreeBSD 9.2-RC4 #0 r255465: Wed Sep 11 05:11:03 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
graphics/geeqie configure has a hard time with the ill-defined pkgconfig name for champlain, its maps backend: it must be re-harcoded with current version in port (0.8), else maps support won't be activated.

One solution is to sed the correct version in ${WORKSRC}/configure, I've enclosed a naive patch to do so.
>How-To-Repeat:
# cd /usr/port/graphics/geeqie
# make config -> enable GPS
# make (re)install clean
-> unable to add maps wiget, configure output states that champlain 0.4 wasn't found.
>Fix:
Apply following to /usr/ports/graphics/geeqie/Makefile:

--- Makefile.orig	2013-09-22 17:25:43.000000000 +0200
+++ Makefile	2013-09-22 17:30:15.000000000 +0200
@@ -77,5 +77,11 @@
 	@${REINPLACE_CMD} -e '/^install-data-am:/,/^[a-z]/ s|install-readmeDATA||' \
 		${WRKSRC}/Makefile.in
 .endif
+.if ${PORT_OPTIONS:MGPS}
+	@${REINPLACE_CMD} \
+		-e 's/champlain-0\.4/champlain-0.8/g' \
+		-e 's/champlain-gtk-0\.4/champlain-gtk-0.8/g' \
+		${WRKSRC}/configure
+.endif
 
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



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