From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 30 23:50:57 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 501E316A4CE for ; Fri, 30 Jul 2004 23:50:57 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31BC443D73 for ; Fri, 30 Jul 2004 23:50:57 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6UNoSTf000889 for ; Fri, 30 Jul 2004 23:50:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6UNoSBM000888; Fri, 30 Jul 2004 23:50:28 GMT (envelope-from gnats) Resent-Date: Fri, 30 Jul 2004 23:50:28 GMT Resent-Message-Id: <200407302350.i6UNoSBM000888@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, Michael Johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2219C16A4CE for ; Fri, 30 Jul 2004 23:40:49 +0000 (GMT) Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C1FF43D2F for ; Fri, 30 Jul 2004 23:40:48 +0000 (GMT) (envelope-from ahze@gentoo.ahze.net) Received: from gentoo.ahze.net ([68.209.163.3]) by imf23aec.mail.bellsouth.netESMTP <20040730234040.OLSX1787.imf23aec.mail.bellsouth.net@gentoo.ahze.net>; Fri, 30 Jul 2004 19:40:40 -0400 Received: (from root@localhost) by gentoo.ahze.net (8.12.11/8.12.11/Submit) id i6UNeedV083408; Fri, 30 Jul 2004 19:40:40 -0400 (EDT) (envelope-from ahze) Message-Id: <200407302340.i6UNeedV083408@gentoo.ahze.net> Date: Fri, 30 Jul 2004 19:40:40 -0400 (EDT) From: Michael Johnson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: hendrik@scholz.net Subject: ports/69832: [PATCH] multimedia/transcode: [add jpeg-mmx support] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 23:50:57 -0000 >Number: 69832 >Category: ports >Synopsis: [PATCH] multimedia/transcode: [add jpeg-mmx support] >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: Fri Jul 30 23:50:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #58: Fri Jul 23 20:15:17 EDT 2004 >Description: - add jpeg-mmx support with knob pr-69829 needs to commited first. Port maintainer (hendrik@scholz.net) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- transcode-0.6.12_1.patch begins here --- Index: Makefile =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/multimedia/transcode/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile 26 Jun 2004 04:31:27 -0000 1.43 +++ Makefile 30 Jul 2004 23:35:12 -0000 @@ -107,6 +107,11 @@ WITH_DIVX5= yes .endif +.if exists(${LOCALBASE}/lib/libjpeg-mmx.so.62) +WITH_JPEGMMX= yes +WITH_NASM= yes +.endif + .if defined(WITH_LIBTHEORA) LIB_DEPENDS+= theora.0:${PORTSDIR}/graphics/libtheora .else @@ -245,6 +250,14 @@ .else .endif +.if defined(WITH_JPEGMMX) +LIB_DEPENDS+= jpeg-mmx.62:${PORTSDIR}/graphics/jpeg-mmx + +PLIST_SUB+= WITH_JPEGMMX="" +.else +PLIST_SUB+= WITH_JPEGMMX="@comment " +.endif + pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} @@ -333,6 +346,10 @@ @${ECHO_MSG} @${ECHO_MSG} "You can enable experimental DivX 5 support by defining WITH_DIVX5." .endif +.if !defined(WITH_JPEGMMX) + @${ECHO_MSG} + @${ECHO_MSG} "You can enable JPEG with MMX by defining WITH_JPEGMMX." +.endif post-patch: .if ${OSVERSION} <= 500027 Index: pkg-plist =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/multimedia/transcode/pkg-plist,v retrieving revision 1.19 diff -u -r1.19 pkg-plist --- pkg-plist 20 Jun 2004 20:03:47 -0000 1.19 +++ pkg-plist 30 Jul 2004 23:33:55 -0000 @@ -71,6 +71,7 @@ lib/transcode/filter_denoise3d.so lib/transcode/filter_detectclipping.so lib/transcode/filter_detectsilence.so +%%WITH_JPEGMMX%%lib/transcode/filter_dilyuvmmx.so lib/transcode/filter_divxkey.so lib/transcode/filter_doublefps.so lib/transcode/filter_dnr.so --- transcode-0.6.12_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: