Bug 185913 - [PATCH] games/gnome-games: disable g-ir-scanner cache
Summary: [PATCH] games/gnome-games: disable g-ir-scanner cache
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:10 UTC by Dmitry Marakasov
Modified: 2014-11-23 14:15 UTC (History)
2 users (show)

See Also:


Attachments
gnome-games-2.32.1_4.patch (1.17 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

Port maintainer (gnome@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:10:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Marakasov 2014-01-28 22:58:19 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.

--- 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
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2014-11-23 14:15:16 UTC
No more applicable.