Bug 185915 - [PATCH] devel/libpeas: disable g-ir-scanner cache, support staging
Summary: [PATCH] devel/libpeas: disable g-ir-scanner cache, support staging
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:10 UTC by Dmitry Marakasov
Modified: 2014-02-16 14:44 UTC (History)
1 user (show)

See Also:


Attachments
libpeas-1.6.1.patch (1.01 KB, patch)
2014-01-20 14:10 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-01-20 14:10:01 UTC
- Disable g-ir-scanner cache to not pollute /root/.cache on build
- Use new LIB_DEPENDS syntax
- Support staging

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

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-20 14:11:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kwm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Marakasov 2014-01-28 13:11:16 UTC
* 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.

--- libpeas.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 341493)
+++ Makefile	(working copy)
@@ -11,8 +11,7 @@
 MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	Next evolution of the Gedit plugins engine
 
-BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
-		valac:${PORTSDIR}/lang/vala
+BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
 
 USE_XZ=		yes
 USE_PYTHON=	yes
@@ -19,7 +18,7 @@
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool
 USES=		pathfix gettext gmake pkgconfig
-USE_GNOME=	glib20 gtk30 ltverhack
+USE_GNOME=	glib20 gtk30 ltverhack introspection:build
 INSTALLS_ICONS=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -34,12 +33,11 @@
 SEED_DESC=	JavaScript support based on webkit-gtk3
 GJS_DESC=	JavaScript support based on spidermonkey
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSEED}
 CONFIGURE_ARGS+=--enable-seed=yes
-LIB_DEPENDS=	seed-gtk3:${PORTSDIR}/devel/seed3
+LIB_DEPENDS=	libseed-gtk3.so:${PORTSDIR}/devel/seed3
 PLIST_SUB+=	SEED=""
 .else
 CONFIGURE_ARGS+=--enable-seed=no
@@ -58,7 +56,7 @@
 .if ${PORT_OPTIONS:MGJS}
 CONFIGURE_ARGS+=--enable-gjs
 BUILD_DEPENDS+=	gjs>=1.32.0:${PORTSDIR}/lang/gjs
-LIB_DEPENDS+=	gjs:${PORTSDIR}/lang/gjs
+LIB_DEPENDS+=	libgjs.so:${PORTSDIR}/lang/gjs
 PLIST_SUB+=	GJS=""
 .else
 CONFIGURE_ARGS+=--enable-gjs=no
--- libpeas.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
Comment 3 Koop Mast freebsd_committer freebsd_triage 2014-02-16 14:43:35 UTC
State Changed
From-To: open->closed

Fix committed in the 1.8.1 update.