From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 11 18:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FB35C6 for ; Sun, 11 May 2014 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C82129BE for ; Sun, 11 May 2014 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4BIe0Et056146 for ; Sun, 11 May 2014 18:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4BIe0cK056145; Sun, 11 May 2014 18:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 11 May 2014 18:40:00 GMT Resent-Message-Id: <201405111840.s4BIe0cK056145@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mazhe Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47D85F21 for ; Sun, 11 May 2014 18:32:39 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34FF82992 for ; Sun, 11 May 2014 18:32:39 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4BIWdcX007551 for ; Sun, 11 May 2014 18:32:39 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4BIWdLH007547; Sun, 11 May 2014 18:32:39 GMT (envelope-from nobody) Message-Id: <201405111832.s4BIWdLH007547@cgiserv.freebsd.org> Date: Sun, 11 May 2014 18:32:39 GMT From: Mazhe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189680: [patch] support for staging in graphics/epdfview X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 18:40:00 -0000 >Number: 189680 >Category: ports >Synopsis: [patch] support for staging in graphics/epdfview >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 11 18:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mazhe >Release: 10.0-RELEASE-p3 >Organization: - >Environment: FreeBSD freedom.alkumuna.eu 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: graphics/epdfview is still lacking staging support while the deadline is approaching. >How-To-Repeat: - >Fix: See attached patch. It also fix cups name in lib_depends as suggested by portlint. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 353722) +++ Makefile (working copy) @@ -26,14 +26,11 @@ OPTIONS_DEFINE= CUPS NLS -MAN1= epdfview.1 - -NO_STAGE= yes .include .if ${PORT_OPTIONS:MCUPS} CONFIGURE_ARGS+=--with-cups -LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client +LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client .else CONFIGURE_ARGS+=--without-cups .endif @@ -54,7 +51,7 @@ post-install: ${REINPLACE_CMD} -e 's,Icon.*,Icon=${DATADIR}/pixmaps/icon_epdfview-48.png,' ${WRKSRC}/data/${PORTNAME}.desktop - ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${STAGEDIR}${LOCALBASE}/share/applications/ @-update-desktop-database .include >Release-Note: >Audit-Trail: >Unformatted: