Mon Oct 15 17:53:23 2018 UTC ()
retroarch: Disable PaX MPROTECT to make users' lives easier.

Update MESSAGEs for cores accordingly.


(nia)
diff -r1.1 -r1.2 pkgsrc/emulators/libretro-dolphin/MESSAGE
diff -r1.1 -r1.2 pkgsrc/emulators/libretro-ppsspp/MESSAGE
diff -r1.1 -r1.2 pkgsrc/emulators/libretro-reicast/MESSAGE
diff -r1.13 -r1.14 pkgsrc/emulators/retroarch/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/emulators/libretro-dolphin/MESSAGE (expand / switch to unified diff)

--- pkgsrc/emulators/libretro-dolphin/MESSAGE 2018/10/15 17:20:21 1.1
+++ pkgsrc/emulators/libretro-dolphin/MESSAGE 2018/10/15 17:53:23 1.2
@@ -1,9 +1,12 @@ @@ -1,9 +1,12 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.1 2018/10/15 17:20:21 nia Exp $ 2$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
3 3
4This package is not PaX MPROTECT-safe, because of its just-in-time 4Prior to using libretro-dolphin:
5compiler. 
6 5
7MPROTECT must be disabled for RetroArch for this core to be usable. 61. cd to RetroArch's System (where your BIOS files are) or RetroArch's
 7Content directory (where your GC/Wii software images are).
 82. mkdir dolphin-emu
 93. git clone --depth=1 https://github.com/libretro/dolphin.git
 104. cp -R dolphin/Data/Sys dolphin-emu/ && rm -rf dolphin
8 11
9=========================================================================== 12===========================================================================

cvs diff -r1.1 -r1.2 pkgsrc/emulators/libretro-ppsspp/MESSAGE (expand / switch to unified diff)

--- pkgsrc/emulators/libretro-ppsspp/MESSAGE 2018/08/14 12:55:41 1.1
+++ pkgsrc/emulators/libretro-ppsspp/MESSAGE 2018/10/15 17:53:23 1.2
@@ -1,16 +1,11 @@ @@ -1,16 +1,11 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.1 2018/08/14 12:55:41 nia Exp $ 2$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
3 
4This package is not PaX MPROTECT-safe, because of its just-in-time 
5compiler. 
6 
7MPROTECT must be disabled for RetroArch for this core to be usable. 
8 3
9Prior to using libretro-ppsspp: 4Prior to using libretro-ppsspp:
10 5
111. cd to RetroArch's System (where your BIOS files are) or RetroArch's 61. cd to RetroArch's System (where your BIOS files are) or RetroArch's
12Content directory (where your PSP ROMs are). 7Content directory (where your PSP ROMs are).
132. git clone https://github.com/hrydgard/ppsspp ppsspp-master 82. git clone https://github.com/hrydgard/ppsspp ppsspp-master
143. cp -R ppsspp-master/assets PPSSPP 93. cp -R ppsspp-master/assets PPSSPP
15 10
16=========================================================================== 11===========================================================================

cvs diff -r1.1 -r1.2 pkgsrc/emulators/libretro-reicast/Attic/MESSAGE (expand / switch to unified diff)

--- pkgsrc/emulators/libretro-reicast/Attic/MESSAGE 2018/10/13 17:02:16 1.1
+++ pkgsrc/emulators/libretro-reicast/Attic/MESSAGE 2018/10/15 17:53:23 1.2
@@ -1,24 +1,17 @@ @@ -1,24 +1,17 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.1 2018/10/13 17:02:16 nia Exp $ 2$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
3 3
4Reicast requires the following BIOS files in order to work: 4Reicast requires the following BIOS files in order to work:
5 5
6SHA256 (dc/dc_boot.bin) = 6SHA256 (dc/dc_boot.bin) =
788d6a666495ad14ab5988d8cb730533cfc94ec2cfd53a7eeda14642ab0d4abf9 788d6a666495ad14ab5988d8cb730533cfc94ec2cfd53a7eeda14642ab0d4abf9
8 8
9SHA256 (dc/dc_flash.bin) = 9SHA256 (dc/dc_flash.bin) =
10dd8b365521a9c08bb4c170da3592212580f7251f35a45d6083774d1c030bc3e3 10dd8b365521a9c08bb4c170da3592212580f7251f35a45d6083774d1c030bc3e3
11 11
12In retroarch, you'll need to place them in the System Directory. 12In retroarch, you'll need to place them in the System Directory.
13 13
14Alternatively, you can place them in your Content Directory next to the 14Alternatively, you can place them in your Content Directory next to the
15software you are going to run. 15software you are going to run.
16 16
17-- 
18 
19This package is not PaX MPROTECT-safe, because of its just-in-time 
20compiler. 
21 
22MPROTECT must be disabled for RetroArch for this core to be usable. 
23 
24=========================================================================== 17===========================================================================

cvs diff -r1.13 -r1.14 pkgsrc/emulators/retroarch/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/retroarch/Makefile 2018/10/12 23:43:47 1.13
+++ pkgsrc/emulators/retroarch/Makefile 2018/10/15 17:53:23 1.14
@@ -1,32 +1,35 @@ @@ -1,32 +1,35 @@
1# $NetBSD: Makefile,v 1.13 2018/10/12 23:43:47 nia Exp $ 1# $NetBSD: Makefile,v 1.14 2018/10/15 17:53:23 nia Exp $
2 2
3PKGNAME= retroarch-${RETROARCH_VERSION} 3PKGNAME= retroarch-${RETROARCH_VERSION}
4DISTNAME= RetroArch-${RETROARCH_VERSION} 4DISTNAME= RetroArch-${RETROARCH_VERSION}
5CATEGORIES= emulators 5CATEGORIES= emulators
6MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/RetroArch/releases/download/v${RETROARCH_VERSION}/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/RetroArch/releases/download/v${RETROARCH_VERSION}/}
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= nia@NetBSD.org 9MAINTAINER= nia@NetBSD.org
10HOMEPAGE= https://www.retroarch.com/ 10HOMEPAGE= https://www.retroarch.com/
11COMMENT= Official reference frontend for the libretro API 11COMMENT= Official reference frontend for the libretro API
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14EXTRACT_USING= bsdtar 14EXTRACT_USING= bsdtar
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16USE_TOOLS+= pkg-config gmake 16USE_TOOLS+= pkg-config gmake
17 17
18HAS_CONFIGURE= yes 18HAS_CONFIGURE= yes
19 19
 20# Needed for certain cores, e.g. Dolphin, Reicast.
 21NOT_PAX_MPROTECT_SAFE+= bin/retroarch
 22
20CONFIGURE_ARGS+= --disable-builtinminiupnpc 23CONFIGURE_ARGS+= --disable-builtinminiupnpc
21CONFIGURE_ARGS+= --disable-builtinzlib 24CONFIGURE_ARGS+= --disable-builtinzlib
22CONFIGURE_ARGS+= --disable-builtinflac 25CONFIGURE_ARGS+= --disable-builtinflac
23CONFIGURE_ARGS+= --disable-discord 26CONFIGURE_ARGS+= --disable-discord
24 27
25# necessity for loading cores, might as well fail early without it 28# necessity for loading cores, might as well fail early without it
26CONFIGURE_ARGS+= --enable-dylib 29CONFIGURE_ARGS+= --enable-dylib
27 30
28CONFIGURE_ENV+= BIN_DIR=${PREFIX}/bin 31CONFIGURE_ENV+= BIN_DIR=${PREFIX}/bin
29CONFIGURE_ENV+= MAN_DIR=${PREFIX}/${PKGMANDIR} 32CONFIGURE_ENV+= MAN_DIR=${PREFIX}/${PKGMANDIR}
30 33
31MAKE_FLAGS+= GIT_VERSION="-pkgsrc" 34MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
32 35