Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 03:08:06 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        bug-followup@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: ports/185912: [PATCH] sysutils/upower: disable g-ir-scanner cache
Message-ID:  <20140128230806.GJ52820@hades.panopticon>
In-Reply-To: <20140120140107.C40D391DB@hades.panopticon>
References:  <20140120140107.C40D391DB@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.

--- upower.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 341493)
+++ Makefile	(working copy)
@@ -11,16 +11,14 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	D-Bus daemon for simplifying power management tasks
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
-LIB_DEPENDS=	polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
-    		dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
-RUN_DEPENDS=	${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS=	libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \
+    		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		gettext gmake pkgconfig
 USE_BZIP2=	yes
-USE_GNOME=	gnomehack intlhack ltverhack glib20
+USE_GNOME=	gnomehack intlhack ltverhack glib20 introspection:build,run
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 USE_PYTHON=	yes
--- upower.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?20140128230806.GJ52820>