ports/147246: graphics/evince installs dependencies which may be optional
Pavel Gubin
pg at 2lazy.ru
Mon May 31 14:20:06 UTC 2010
>Number: 147246
>Category: ports
>Synopsis: graphics/evince installs dependencies which may be optional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 31 14:20:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Pavel Gubin
>Release: 8.0-RELEASE-p2
>Organization:
Lazy.
>Environment:
FreeBSD hammer.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Wed Mar 17 15:45:56 MSK 2010 pg at hammer.local:/usr/obj/usr/src/sys/GnomeKTR i386
>Description:
Port graphics/evince, when installed without Gnome and Nautilus, installs:
1) security/gnome-keyring and its deps (which may be disabled by --without-keyribg configure option)
2) devel/libglade2 (this dependency was removed from evince source 2008-12-03, according to evince's ChangeLog file)
>How-To-Repeat:
Try to build graphics/evince with not installed devel/libglade2 and security/gnome-keyring and WITHOUT_NAUTILUS=true build option
>Fix:
Patch file attached makes 1st dependency configurable via make config and removes 2nd dependency
Patch attached with submission follows:
--- /usr/ports/graphics/evince/Makefile.orig 2010-05-17 15:58:13.000000000 +0400
+++ /usr/ports/graphics/evince/Makefile 2010-05-31 16:16:23.000000000 +0400
@@ -41,6 +41,7 @@
OPTIONS= DVI "Enable DVI viewer support" off \
T1LIB "Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)" off \
NAUTILUS "Enable Nautilus plugin" on \
+ KEYRING "Enable Gnome-Keyring without Nautilus" on \
DBUS "Enable D-BUS support" on \
COMICS "Enable comic book archives support" on \
IMPRESS "Enable Impress presentations support" off \
@@ -75,8 +76,11 @@
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
RUN_DEPENDS+= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
+.if !defined(WITHOUT_KEYRING)
LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
-USE_GNOME+= libglade2
+.else
+CONFIGURE_ARGS+= --without-keyring
+.endif
CONFIGURE_ARGS+= --disable-nautilus
PLIST_SUB+= NAUTILUS="@comment "
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list