From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 1 18:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AACE080E for ; Mon, 1 Jul 2013 18:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 78B4E1956 for ; Mon, 1 Jul 2013 18:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r61IA0ET073927 for ; Mon, 1 Jul 2013 18:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r61IA0XA073924; Mon, 1 Jul 2013 18:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 1 Jul 2013 18:10:00 GMT Resent-Message-Id: <201307011810.r61IA0XA073924@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, Scot Hetzel Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7FB97A0 for ; Mon, 1 Jul 2013 18:06:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id CB1071934 for ; Mon, 1 Jul 2013 18:06:30 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r61I6UgU028613 for ; Mon, 1 Jul 2013 18:06:30 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r61I6UAc028610; Mon, 1 Jul 2013 18:06:30 GMT (envelope-from nobody) Message-Id: <201307011806.r61I6UAc028610@oldred.freebsd.org> Date: Mon, 1 Jul 2013 18:06:30 GMT From: Scot Hetzel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180175: graphics/jasper: X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 18:10:00 -0000 >Number: 180175 >Category: ports >Synopsis: graphics/jasper: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 01 18:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Scot Hetzel >Release: >Organization: >Environment: >Description: Currently, jasper only has a dependency on graphics/jpeg. Change the port to allow it to depend on either graphics/jpeg or graphics/libjpeg-turbo >How-To-Repeat: >Fix: The attached patch allows the port to depend on either graphics/jpeg or graphics/libjpeg-turbo. By default the port will use graphics/jpeg unless the HPJPG option is selected. Note: This patch will require the recently submitted PR ports/1801​59 which adds a new USES jpeg feature to select between the 2 jpeg ports. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 322133) +++ Makefile (working copy) @@ -12,8 +12,6 @@ MAINTAINER= dinoex@FreeBSD.org COMMENT= An implementation of the codec specified in the JPEG-2000 standard -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg - LICENSE= MIT USE_AUTOTOOLS= libtool @@ -30,11 +28,18 @@ ftp://ftp.imagemagick.org/pub/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/&,} -OPTIONS_DEFINE= OPENGL UUID +OPTIONS_DEFINE= HPJPG OPENGL UUID UUID_DESC= UUID support (required by GDAL) +HPJPG_DESC= Build with High-Performance JPEG support .include +.if ${PORT_OPTIONS:MHPJPG} +USES+= jpeg:turbo +.else +USES+= jpeg +.endif + .if ${PORT_OPTIONS:MOPENGL} USE_XORG= x11 xmu xi xext USE_GL= glut >Release-Note: >Audit-Trail: >Unformatted: