From amdmi3@amdmi3.ru  Mon Jan 20 14:01:49 2014
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 04C1D1C6;
	Mon, 20 Jan 2014 14:01:09 +0000 (UTC)
Received: from smtpout6.timeweb.ru (smtpout6.timeweb.ru [92.53.117.39])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B2B27127D;
	Mon, 20 Jan 2014 14:01:08 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.76)
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1W5FPW-0003Dh-S0; Mon, 20 Jan 2014 18:01:06 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 830EDE7A;
	Mon, 20 Jan 2014 18:01:06 +0400 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 7EE8F91D8; Mon, 20 Jan 2014 18:01:06 +0400 (MSK)
Message-Id: <20140120140106.7EE8F91D8@hades.panopticon>
Date: Mon, 20 Jan 2014 18:01:06 +0400 (MSK)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gnome@FreeBSD.org
Subject: [PATCH] games/gnome-games: disable g-ir-scanner cache
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         185913
>Category:       ports
>Synopsis:       [PATCH] games/gnome-games: disable g-ir-scanner cache
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 14:10:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Tue Jan 28 23:00:03 UTC 2014
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Disable g-ir-scanner cache to not pollute /root/.cache on build
- Use new LIB_DEPENDS syntax

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- gnome-games-2.32.1_4.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340395)
+++ Makefile	(working copy)
@@ -13,9 +13,9 @@
 COMMENT=	The game applications package for the GNOME 2 Desktop Environment
 
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS=	guile:${PORTSDIR}/lang/guile \
-		clutter-gtk-0.10:${PORTSDIR}/graphics/clutter-gtk \
-		clutter-glx-1.0:${PORTSDIR}/graphics/clutter
+LIB_DEPENDS=	libguile.so:${PORTSDIR}/lang/guile \
+		libclutter-gtk-0.10.so:${PORTSDIR}/graphics/clutter-gtk \
+		libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter
 RUN_DEPENDS=	seed:${PORTSDIR}/devel/seed
 
 CONFLICTS=	sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]* gnome-games-3.[0-9]*
@@ -32,6 +32,7 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-sound=gstreamer \
 		--disable-tests
+MAKE_ENV=	GI_SCANNER_DISABLE_CACHE=yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
@@ -52,7 +53,7 @@
 .include <bsd.port.pre.mk>
 
 .if exists(${LOCALBASE}/lib/libavahi-client.a) || defined(WITH_MDNS)
-LIB_DEPENDS+=	avahi-client:${PORTSDIR}/net/avahi-app
+LIB_DEPENDS+=	libavahi-client.so:${PORTSDIR}/net/avahi-app
 .endif
 
 post-patch:
--- gnome-games-2.32.1_4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 20 14:10:57 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185913 

From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: bug-followup@FreeBSD.org
Cc: gnome@FreeBSD.org
Subject: Re: ports/185913: [PATCH] games/gnome-games: disable g-ir-scanner
 cache
Date: Wed, 29 Jan 2014 02:58:19 +0400

 * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote:
 
 Updated patch, which makes use of USE_GNOME=introspection to take 
 care of environement for g-ir-scanner automatically.
 
 --- gnome-games.patch begins here ---
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 341492)
 +++ Makefile	(working copy)
 @@ -12,10 +12,9 @@
  MAINTAINER=	gnome@FreeBSD.org
  COMMENT=	The game applications package for the GNOME 2 Desktop Environment
  
 -BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
 -LIB_DEPENDS=	guile:${PORTSDIR}/lang/guile \
 -		clutter-gtk-0.10:${PORTSDIR}/graphics/clutter-gtk \
 -		clutter-glx-1.0:${PORTSDIR}/graphics/clutter
 +LIB_DEPENDS=	libguile.so:${PORTSDIR}/lang/guile \
 +		libclutter-gtk-0.10.so:${PORTSDIR}/graphics/clutter-gtk \
 +		libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter
  RUN_DEPENDS=	seed:${PORTSDIR}/devel/seed
  
  CONFLICTS=	sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]* gnome-games-3.[0-9]*
 @@ -27,7 +26,7 @@
  USE_GL=		gl
  USES=		pathfix gettext gmake pkgconfig
  USE_GNOME=	gnomeprefix intlhack librsvg2 desktopfileutils \
 -		pygnomedesktop gnomedocutils
 +		pygnomedesktop gnomedocutils introspection:build
  USE_GSTREAMER=	vorbis ogg
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--with-sound=gstreamer \
 @@ -52,7 +51,7 @@
  .include <bsd.port.pre.mk>
  
  .if exists(${LOCALBASE}/lib/libavahi-client.a) || defined(WITH_MDNS)
 -LIB_DEPENDS+=	avahi-client:${PORTSDIR}/net/avahi-app
 +LIB_DEPENDS+=	libavahi-client.so:${PORTSDIR}/net/avahi-app
  .endif
  
  post-patch:
 --- gnome-games.patch ends here ---
 
 -- 
 Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
 amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru
>Unformatted:
