From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 8 23:21:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 AC5EB16A4DA for ; Tue, 8 Aug 2006 23:21:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F120E43D6E for ; Tue, 8 Aug 2006 23:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k78NK8I8032071 for ; Tue, 8 Aug 2006 23:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k78NK8wm032070; Tue, 8 Aug 2006 23:20:08 GMT (envelope-from gnats) Resent-Date: Tue, 8 Aug 2006 23:20:08 GMT Resent-Message-Id: <200608082320.k78NK8wm032070@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, "Alejandro Pulver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D4DC16A500 for ; Tue, 8 Aug 2006 23:19:09 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.FreeBSD.org (Postfix) with SMTP id DA72D43DC3 for ; Tue, 8 Aug 2006 23:19:08 +0000 (GMT) (envelope-from alepulver@FreeBSD.org) Received: (qmail 11193 invoked from network); 8 Aug 2006 23:19:06 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 8 Aug 2006 23:19:06 -0000 Message-Id: <1155079188.41200@phobos.mars.bsd> Date: Tue, 8 Aug 2006 20:19:48 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.7 Cc: Subject: ports/101677: [REPOCOPY] games/quake3 -> games/q3cellshading X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 23:21:22 -0000 >Number: 101677 >Category: ports >Synopsis: [REPOCOPY] games/quake3 -> games/q3cellshading >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: Tue Aug 08 23:20:07 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 6.1-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD 6.1-RELEASE-p1 #3: Mon Jun 19 14:49:35 ART 2006 root@phobos.mars.bsd:/usr/obj/usr/src/sys/ATHLON-PHOBOS >Description: Please repocopy games/quake3 to games/q3cellshading because the latter is based on the first one, and the changes don't affect the port (same patches, pkg-plist, OPTIONS, etc.). >How-To-Repeat: >Fix: --- patch.diff begins here --- diff -ud /usr/ports/games/quake3/Makefile q3cellshading/Makefile --- /usr/ports/games/quake3/Makefile Sun Jun 4 18:51:36 2006 +++ q3cellshading/Makefile Tue Aug 8 18:28:14 2006 @@ -1,29 +1,24 @@ -# New ports collection makefile for: quake3 -# Date created: 23 August 2005 -# Whom: pypt +# New ports collection makefile for: q3cellshading +# Date created: 8 Aug 2006 +# Whom: alepulver # -# $FreeBSD: ports/games/quake3/Makefile,v 1.15 2006/06/04 21:51:36 alepulver Exp $ +# $FreeBSD$ # -PORTNAME= quake3 -PORTVERSION= 1.32c +PORTNAME= q3cellshading +PORTVERSION= 1.0 CATEGORIES= games -MASTER_SITES= http://www.proarena.com/p/ftpx/x8524/quake_3_arena/ \ - http://www.planetgargoyle.com/ \ - http://www.teamdarkside.net/ \ - http://0day.icculus.org/mirrors/quake3/ \ - http://www.olpainless.net/files/ \ - ${MASTER_SITE_IDSOFTWARE:S|$|source/|} -DISTNAME= ${PORTNAME}-${REALVERSION}-source +MASTER_SITES= SF +DISTNAME= q3cel-${PORTVERSION}-src -MAINTAINER= shirshegsm@gmail.com -COMMENT= Quake III Arena -- first person shooter (native build) +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Quake III engine with Cell Shading capabilities USE_ZIP= yes USE_DOS2UNIX= yes USE_GMAKE= yes USE_GCC= 3.2+ -WRKSRC= ${WRKDIR}/${PORTNAME}-${REALVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/code/unix OPTIONS= CLIENT "Build client" on \ @@ -36,7 +31,6 @@ PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}" LIBDIR= ${PREFIX}/lib/${PORTNAME} -REALVERSION= 1.32b VM_ARCHS= i386 powerpc .include @@ -110,7 +104,8 @@ do-install: .for bin in ${Q3BIN} - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/${bin} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/${bin} \ + ${PREFIX}/bin/${bin:C/(quake3|q3)/\1cel/} .endfor .if defined(WITH_GAMELIBS) || !defined(HAVE_VM_COMPILED) .for dir in baseq3 missionpack diff -ud /usr/ports/games/quake3/distinfo q3cellshading/distinfo --- /usr/ports/games/quake3/distinfo Thu Nov 17 07:35:03 2005 +++ q3cellshading/distinfo Tue Aug 8 18:17:34 2006 @@ -1,3 +1,3 @@ -MD5 (quake3-1.32b-source.zip) = af8aaac46cc82035e1cba632b1a16e03 -SHA256 (quake3-1.32b-source.zip) = 74d42070eea4c7ce47955d831327e70f480c493172b485bf7dd1a58838e92fab -SIZE (quake3-1.32b-source.zip) = 5724791 +MD5 (q3cel-1.0-src.zip) = a6c66705d18906dfb4f34dbac320150f +SHA256 (q3cel-1.0-src.zip) = c575a8a126c5b4723cd7fb0b3fa338e539ecaf7757ac69b470e4ed53884c8da9 +SIZE (q3cel-1.0-src.zip) = 5853369 Common subdirectories: /usr/ports/games/quake3/files and q3cellshading/files diff -ud /usr/ports/games/quake3/pkg-descr q3cellshading/pkg-descr --- /usr/ports/games/quake3/pkg-descr Thu Nov 17 07:35:03 2005 +++ q3cellshading/pkg-descr Tue Aug 8 18:43:45 2006 @@ -1,18 +1,23 @@ -Quake III Arena, developed by the gaming wizards at id Software, -is the third installment of one of the most popular computer game -franchises of all time. Organic caverns, gothic cathedrals and -futuristic spacescapes play host to Quake III Arena's unrivaled -blend of action, strategy and jaw-dropping technology as Linux -gamers are invited to square off against 32 of history's greatest -warriors. Built around a revolutionary new graphics engine capable -of delivering mind blowing 3D special effects including curved -surfaces and volumetric fog, Quake III Arena is the final word in -deathmatching mayhem. +The goal of this project is to add Cell Shading capabilities to the Quake III +engine with Real-time performance. -This is a native build for FreeBSD. Sorry, no joystick support -is available at this time. +In order to provide such feature we have decided to use Kuwahara filter. +Kuwahara filter is a noise-reduction filter that preserves edges. -WWW: http://www.idsoftware.com/games/quake/quake3-arena/ +It uses four subquadrants to calculate the mean and variance and chooses the +mean value for the region with the smallest variance. -- Linas -shirshegsm@gmail.com +To increase the hand-painted effect we have decided to apply a simple blur +filter to reduce hard-edges on textures and increase the flatness effect. + +To produce the cell shading effect we use no graphics card shaders, so our +implementation could run with almost any gfx card. The edge effect is produced +by painting backface polygons with a thick wireframe without textures and +repaint all the scene, but this time, with textures. + +We have also implemented a different algorithm (we call it White Texture), +which uses white textures. It looks like this and this, you can set the +console variable r_celshadalgo to 2, and load another map, or run using the +appropiate link that came with the release. + +WWW: http://q3cellshading.sourceforge.net/ diff -ud /usr/ports/games/quake3/pkg-plist q3cellshading/pkg-plist --- /usr/ports/games/quake3/pkg-plist Thu May 25 18:42:29 2006 +++ q3cellshading/pkg-plist Tue Aug 8 18:25:39 2006 @@ -1,6 +1,6 @@ -%%DEDICATED%%bin/q3ded -%%CLIENT%%bin/quake3 -%%SMP%%bin/quake3-smp +%%DEDICATED%%bin/q3celded +%%CLIENT%%bin/quake3cel +%%SMP%%bin/quake3cel-smp %%GAMELIBS%%%%LIBDIR%%/baseq3/cgame.so %%GAMELIBS%%%%LIBDIR%%/baseq3/qagame.so %%GAMELIBS%%%%LIBDIR%%/baseq3/ui.so --- patch.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: