ports/139941: [PATCH] Add missing dependency to graphics/evince

Anonymous swell.k at gmail.com
Sun Oct 25 16:00:14 UTC 2009


The following reply was made to PR ports/139941; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: Denny Lin <dennylin93 at cnmc32.hs.ntnu.edu.tw>
Cc: bug-followup at freebsd.org
Subject: Re: ports/139941: [PATCH] Add missing dependency to graphics/evince
Date: Sun, 25 Oct 2009 15:51:33 +0300

 Denny Lin <dennylin93 at cnmc32.hs.ntnu.edu.tw> writes:
 
 >>Description:
 > The Makefile of graphics/evince seems to be missing a dependency (graphics/openjpeg). Evince requires libopenjpeg.so.2 to run ($ ldd /usr/local/bin/evince).
 >>How-To-Repeat:
 > 1. Install graphics/evince.
 > 2. Deinstall graphics/openjpeg (user isn't notified about dependency).
 > 3. Run Evince.
 
 Can't reproduce here. However, if I do
 
 1. install graphics/openjpeg
 2. install graphics/poppler*
 
 prior your first step then I *can*.
 
 Found by
 
     $ cd graphics/poppler
     $ make extract
     $ fgrep -ir openjpeg work/
 
 >>Fix:
 > See patch.
 >
 > Patch attached with submission follows:
 >
 > --- graphics/evince/Makefile.orig	2009-10-25 15:32:43.000000000 +0800
 > +++ graphics/evince/Makefile	2009-10-25 15:35:40.000000000 +0800
 > @@ -17,7 +17,8 @@
 >  COMMENT=	GNOME 2 multi-format document viewer
 >  
 >  LIB_DEPENDS=	poppler-glib.4:${PORTSDIR}/graphics/poppler-gtk \
 > -		spectre.1:${PORTSDIR}/print/libspectre
 > +		spectre.1:${PORTSDIR}/print/libspectre \
 > +		libopenjpeg.2:${PORTSDIR}/graphics/openjpeg
 
 Please, don't make it a hard dependency. I for one don't need JPEG 2000
 support in poppler/evince.
 
 >  
 >  USE_LDCONFIG=	yes
 >  USE_BZIP2=	yes
 >
 >


More information about the freebsd-gnome mailing list