Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2012 15:23:39 +0200
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168240: [patch] graphics/zathura{, -pdf-poppler}: move poppler-glib dep to pdf plugin
Message-ID:  <1SWpN9-000HBW-J4@internal.tormail.org>
Resent-Message-ID: <201205222110.q4MLA4YO004858@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168240
>Category:       ports
>Synopsis:       [patch] graphics/zathura{,-pdf-poppler}: move poppler-glib dep to pdf plugin
>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:   Tue May 22 21:10:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Main zathura port has no dependency on poppler.
>How-To-Repeat:
$ cd graphics/zathura; make patch
$ fgrep -ir poppler $(make -V WRKSRC)/
Exit 1

$ cd graphics/zathura-pdf-poppler; make patch
$ fgrep -irh --exclude \*.orig pkg-config.\*poppler $(make -V WRKSRC)/
PDF_INC ?= $(shell pkg-config --cflags poppler-glib)
PDF_LIB ?= $(shell pkg-config --libs poppler-glib)
>Fix:
--- poppler.diff begins here ---
Index: graphics/zathura/Makefile
===================================================================
RCS file: /a/.csup/ports/graphics/zathura/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- graphics/zathura/Makefile	19 May 2012 10:16:25 -0000	1.12
+++ graphics/zathura/Makefile	22 May 2012 12:59:24 -0000
@@ -13,8 +13,7 @@ MASTER_SITES=	http://pwmt.org/projects/z
 MAINTAINER=	acieroid@awesom.eu
 COMMENT=	Customizable lightweight pdf viewer
 
-LIB_DEPENDS=	poppler-glib.8:${PORTSDIR}/graphics/poppler-glib \
-		cairo.2:${PORTSDIR}/graphics/cairo \
+LIB_DEPENDS=	cairo.2:${PORTSDIR}/graphics/cairo \
 		girara-gtk2.0:${PORTSDIR}/x11-toolkits/girara
 
 USE_GNOME=	glib20 gtk20
Index: graphics/zathura-pdf-poppler/Makefile
===================================================================
RCS file: /a/.csup/ports/graphics/zathura-pdf-poppler/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- graphics/zathura-pdf-poppler/Makefile	18 May 2012 20:16:43 -0000	1.1
+++ graphics/zathura-pdf-poppler/Makefile	22 May 2012 13:12:42 -0000
@@ -13,7 +13,7 @@ MASTER_SITES=	http://pwmt.org/projects/z
 MAINTAINER=	neko@takino.org
 COMMENT=	Poppler render PDF plugin for Zathura PDF viewer
 
-LIB_DEPENDS=	poppler.18:${PORTSDIR}/graphics/poppler
+LIB_DEPENDS=	poppler-glib.8:${PORTSDIR}/graphics/poppler
 BUILD_DEPENDS=	zathura:${PORTSDIR}/graphics/zathura
 RUN_DEPENDS=	zathura:${PORTSDIR}/graphics/zathura
 
--- poppler.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SWpN9-000HBW-J4>