ports/161185: [patch] Remove unnecessary graphics/cairo dependency from devel/gobject-introspection
Garrett Cooper
gcooper at ixsystems.com
Sat Oct 1 09:00:19 UTC 2011
>Number: 161185
>Category: ports
>Synopsis: [patch] Remove unnecessary graphics/cairo dependency from devel/gobject-introspection
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 01 09:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9.0-BETA2
>Organization:
iXsystems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225653M: Tue Sep 20 08:36:49 PDT 2011 gcooper at bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64
>Description:
The current devel/gobject-introspection Makefile requires cairo support for whatever reason because the Makefile claims that it's a library. In reality though, it's not really honestly required because we explicitly disable the tests. That and the Debian repo and NetBSD's pkgsrc blatantly ignore the dependency, gentoo portage ignores if USE=-test, etc; so I bet it's a completely unnecessary dependency given how we use the port today.
I've built several packages that require gir, like avahi, dbus, etc, and they look safe and sane installed.
This helps trim down appliance or server builds so that one doesn't need to pull in a bunch of junk X11 libraries in order to compile basic services like avahi and dbus.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
? devel/gobject-introspection/work
Index: devel/gobject-introspection/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/gobject-introspection/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- devel/gobject-introspection/Makefile 23 Sep 2011 22:21:59 -0000 1.17
+++ devel/gobject-introspection/Makefile 1 Oct 2011 08:46:07 -0000
@@ -8,6 +8,7 @@
PORTNAME= gobject-introspection
PORTVERSION= 0.10.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -15,8 +16,7 @@
MAINTAINER= gnome at FreeBSD.org
COMMENT= Generate interface introspection data for GObject libraries
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \
- cairo.2:${PORTSDIR}/graphics/cairo
+LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
USE_BZIP2= yes
GNU_CONFIGURE= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list