From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 3 04:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED21A23E for ; Fri, 3 May 2013 04:20: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 CE76D1514 for ; Fri, 3 May 2013 04:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r434K0dm097129 for ; Fri, 3 May 2013 04:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r434K0AK097117; Fri, 3 May 2013 04:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 3 May 2013 04:20:00 GMT Resent-Message-Id: <201305030420.r434K0AK097117@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, Naram Qashat Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 50F9B216 for ; Fri, 3 May 2013 04:13:00 +0000 (UTC) (envelope-from root@cyberbotx.com) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:16]) by mx1.freebsd.org (Postfix) with ESMTP id 387CF14FF for ; Fri, 3 May 2013 04:13:00 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta01.emeryville.ca.mail.comcast.net with comcast id X0Te1l0061wfjNsA1GD0fy; Fri, 03 May 2013 04:13:00 +0000 Received: from kirby.cyberbotx.com ([69.244.146.119]) by omta23.emeryville.ca.mail.comcast.net with comcast id XGCy1l00K2anbQt8jGCzl6; Fri, 03 May 2013 04:12:59 +0000 Received: by kirby.cyberbotx.com (Postfix, from userid 0) id 58E7228469; Fri, 3 May 2013 00:12:58 -0400 (EDT) Message-Id: <20130503041258.58E7228469@kirby.cyberbotx.com> Date: Fri, 3 May 2013 00:12:58 -0400 (EDT) From: Naram Qashat To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/178309: [MAINTAINER] emulators/higan: Install missing files, add DEBUG option, fix pkg-plist 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: Fri, 03 May 2013 04:20:01 -0000 >Number: 178309 >Category: ports >Synopsis: [MAINTAINER] emulators/higan: Install missing files, add DEBUG option, fix pkg-plist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri May 03 04:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 8.3-RELEASE-p4 amd64 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #4: Mon Oct 1 19:56:21 EDT >Description: - Install missing files. - Add DEBUG option. - Fix missing @dirrmtry entry in pkg-plist for share/pixmaps. - Patch loading so ${PREFIX}/share can be used for higan's BIOS files and shaders. Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- higan-0.92_1.patch begins here --- diff -ruN /usr/ports/emulators/higan/Makefile ./Makefile --- /usr/ports/emulators/higan/Makefile 2013-04-29 17:00:43.000000000 -0400 +++ ./Makefile 2013-05-01 00:06:05.000000000 -0400 @@ -3,6 +3,7 @@ PORTNAME= higan PORTVERSION= 0.92 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}_v${PORTVERSION:S/.//}-source @@ -19,6 +20,7 @@ ONLY_FOR_ARCHS= i386 amd64 MAKE_ENV+= c="${CC} -std=gnu99" cpp="${CXX} -std=gnu++0x" +OPTIONS= DEBUG OPTIONS_SINGLE= PROFILE GUI OPTIONS_SINGLE_PROFILE= ACCURACY BALANCED PERFORMANCE OPTIONS_SINGLE_GUI= GTK2 QT4 @@ -114,6 +116,14 @@ -e 's|%%AUDIO%%|${AUDIO_DRIVER}|' \ -e 's|%%INPUT%%|${INPUT_DRIVER}|' \ ${WRKSRC}/higan/target-ethos/Makefile +.if ${PORT_OPTIONS:MDEBUG} + ${REINPLACE_CMD} -e 's|-O3|-g|g' \ + ${WRKSRC}/ananke/Makefile \ + ${WRKSRC}/higan/Makefile + ${REINPLACE_CMD} -e 's|:= -s|:= #|g' \ + ${WRKSRC}/higan/Makefile +.endif + ${RM} ${WRKSRC}/shaders/Sepia.Direct3D.shader do-build: .for d in higan ananke @@ -130,5 +140,8 @@ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.png ${PREFIX}/share/pixmaps/ ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.desktop ${PREFIX}/share/applications/ + ${MKDIR} ${DATADIR}/Video\ Shaders + (cd ${WRKSRC}/higan/profile && ${COPYTREE_SHARE} \* ${DATADIR}/) + ${INSTALL_DATA} ${WRKSRC}/shaders/* ${DATADIR}/Video\ Shaders/ .include diff -ruN /usr/ports/emulators/higan/files/patch-target-ethos-AddSharePath ./files/patch-target-ethos-AddSharePath --- /usr/ports/emulators/higan/files/patch-target-ethos-AddSharePath 1969-12-31 19:00:00.000000000 -0500 +++ ./files/patch-target-ethos-AddSharePath 2013-04-30 23:10:47.000000000 -0400 @@ -0,0 +1,30 @@ +--- higan/target-ethos/ethos.hpp.orig 2012-11-04 00:39:15.000000000 -0400 ++++ higan/target-ethos/ethos.hpp 2013-04-30 23:07:49.000000000 -0400 +@@ -41,6 +41,7 @@ + unsigned depth; + + string basepath; ++ string sharepath; + string userpath; + + string normalFont; +--- higan/target-ethos/ethos.cpp.orig 2013-01-12 17:01:26.000000000 -0500 ++++ higan/target-ethos/ethos.cpp 2013-04-30 23:10:23.000000000 -0400 +@@ -18,6 +18,9 @@ + string path = {basepath, filename}; + if(file::exists(path)) return path; + if(directory::exists(path)) return path; ++ path = {sharepath, filename}; ++ if(file::exists(path)) return path; ++ if(directory::exists(path)) return path; + return {userpath, filename}; + } + +@@ -44,6 +47,7 @@ + autopause = false; + + basepath = dir(realpath(argv[0])); ++ sharepath = {parentdir(basepath), "share/higan/"}; + userpath = {nall::configpath(), "higan/"}; + directory::create(userpath); + diff -ruN /usr/ports/emulators/higan/pkg-plist ./pkg-plist --- /usr/ports/emulators/higan/pkg-plist 2013-02-22 14:28:33.000000000 -0500 +++ ./pkg-plist 2013-05-01 00:04:51.000000000 -0400 @@ -2,5 +2,25 @@ lib/libananke.so.1 lib/libananke.so share/applications/higan.desktop +%%DATADIR%%/Famicom.sys/manifest.bml +%%DATADIR%%/Game Boy Advance.sys/manifest.bml +%%DATADIR%%/Game Boy Color.sys/boot.rom +%%DATADIR%%/Game Boy Color.sys/manifest.bml +%%DATADIR%%/Game Boy.sys/boot.rom +%%DATADIR%%/Game Boy.sys/manifest.bml +%%DATADIR%%/Super Famicom.sys/ipl.rom +%%DATADIR%%/Super Famicom.sys/manifest.bml +%%DATADIR%%/Video Shaders/Curvature.OpenGL.shader +%%DATADIR%%/Video Shaders/HQ2x.OpenGL.shader +%%DATADIR%%/Video Shaders/Pixellate.OpenGL.shader +%%DATADIR%%/Video Shaders/Scale2x.OpenGL.shader share/pixmaps/higan.png +@dirrmtry share/pixmaps +@dirrm %%DATADIR%%/Video Shaders +@dirrm %%DATADIR%%/Super Famicom.sys +@dirrm %%DATADIR%%/Game Boy.sys +@dirrm %%DATADIR%%/Game Boy Color.sys +@dirrm %%DATADIR%%/Game Boy Advance.sys +@dirrm %%DATADIR%%/Famicom.sys +@dirrm %%DATADIR%% @dirrmtry share/applications --- higan-0.92_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: