Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 03:13:28 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        bug-followup@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: ports/185922: [PATCH] x11-toolkits/libwnck: disable g-ir-scanner cache, support staging
Message-ID:  <20140128231328.GN52820@hades.panopticon>
In-Reply-To: <20140120140056.EA3B591C6@hades.panopticon>
References:  <20140120140056.EA3B591C6@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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.

--- libwnck.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 341493)
+++ Makefile	(working copy)
@@ -16,12 +16,10 @@
 
 .if !defined(REFERENCE_PORT)
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-
 USE_XORG=	xres
 USES=		bison pathfix gettext gmake pkgconfig
-USE_GNOME=	gtk20 ltverhack referencehack intlhack
+USE_GNOME=	gtk20 ltverhack referencehack intlhack \
+		introspection:build,run
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc
@@ -32,16 +30,9 @@
 OPTIONS_DEFAULT=STARTUP
 STARTUP_DESC=	Startup notification support
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+STARTUP_LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+STARTUP_CONFIGURE_ENABLE=startup-notification
 
-.if ${PORT_OPTIONS:MSTARTUP}
-LIB_DEPENDS+=	startup-notification-1:${PORTSDIR}/x11/startup-notification
-CONFIGURE_ARGS+=--enable-startup-notification
-.else
-CONFIGURE_ARGS+=--disable-startup-notification
-.endif
-
 .include <bsd.port.mk>
 
 .endif
--- libwnck.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



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