FreeBSD Bugzilla – Attachment 226442 Details for
Bug 252192
[NEW PORT] emulators/libretro-reicast: Standalone port of reicast to libretro emulator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
emulators_libretro-reicast.shar
emulators_libretro-reicast.shar (text/plain), 8.96 KB, created by
Timothy Beyer
on 2021-07-14 05:14:38 UTC
(
hide
)
Description:
emulators_libretro-reicast.shar
Filename:
MIME Type:
Creator:
Timothy Beyer
Created:
2021-07-14 05:14:38 UTC
Size:
8.96 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># emulators ># emulators/libretro-reicast ># emulators/libretro-reicast/files ># emulators/libretro-reicast/files/patch-CMakeLists.txt ># emulators/libretro-reicast/files/patch-libswirl_gui_gui__settings__about.cpp ># emulators/libretro-reicast/files/patch-libswirl_linux-dist_main.cpp ># emulators/libretro-reicast/files/patch-libswirl_linux_common.cpp ># emulators/libretro-reicast/files/patch-reicast_cmake_config.cmake ># emulators/libretro-reicast/Makefile ># emulators/libretro-reicast/distinfo ># emulators/libretro-reicast/pkg-descr ># emulators/libretro-reicast/pkg-message ># >echo c - emulators >mkdir -p emulators > /dev/null 2>&1 >echo c - emulators/libretro-reicast >mkdir -p emulators/libretro-reicast > /dev/null 2>&1 >echo c - emulators/libretro-reicast/files >mkdir -p emulators/libretro-reicast/files > /dev/null 2>&1 >echo x - emulators/libretro-reicast/files/patch-CMakeLists.txt >sed 's/^X//' >emulators/libretro-reicast/files/patch-CMakeLists.txt << 'c9907d314e42976ba6d27f22cb03fa89' >X--- CMakeLists.txt.orig 2020-08-21 20:26:50 UTC >X+++ CMakeLists.txt >X@@ -431,6 +431,8 @@ if(${HOST_OS} EQUAL ${OS_DARWIN}) >X >X endif() >X >X+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1") >X+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1") >X >X if(DEBUG_CMAKE) >X message(" ------------------------------------------------") >c9907d314e42976ba6d27f22cb03fa89 >echo x - emulators/libretro-reicast/files/patch-libswirl_gui_gui__settings__about.cpp >sed 's/^X//' >emulators/libretro-reicast/files/patch-libswirl_gui_gui__settings__about.cpp << 'c70821bbb2f5622da7227f261e7a1c37' >X--- libswirl/gui/gui_settings_about.cpp.orig 2020-08-21 20:26:50 UTC >X+++ libswirl/gui/gui_settings_about.cpp >X@@ -40,13 +40,13 @@ void gui_settings_about() >X { >X ImGui::Text("CPU: %s", >X #if HOST_CPU == CPU_X86 >X- "x86" >X+ "i386" >X #elif HOST_CPU == CPU_ARM >X "ARM" >X #elif HOST_CPU == CPU_MIPS >X "MIPS" >X #elif HOST_CPU == CPU_X64 >X- "x86/64" >X+ "amd64" >X #elif HOST_CPU == CPU_GENERIC >X "Generic" >X #elif HOST_CPU == CPU_ARM64 >X@@ -88,4 +88,4 @@ void gui_settings_about() >X ImGui::PopStyleVar(); >X ImGui::EndTabItem(); >X } >X-} >X\ No newline at end of file >X+} >c70821bbb2f5622da7227f261e7a1c37 >echo x - emulators/libretro-reicast/files/patch-libswirl_linux-dist_main.cpp >sed 's/^X//' >emulators/libretro-reicast/files/patch-libswirl_linux-dist_main.cpp << 'ed94bd2644ae4ad6018c3428c157c9ff' >X--- libswirl/linux-dist/main.cpp.orig 2020-08-21 20:26:50 UTC >X+++ libswirl/linux-dist/main.cpp >X@@ -22,7 +22,6 @@ >X #include "hw/sh4/dyna/blockmanager.h" >X #include "hw/maple/maple_cfg.h" >X #include <unistd.h> >X-#include <pty.h> >X >X #include "libswirl.h" >X #include "hw/pvr/Renderer_if.h" >ed94bd2644ae4ad6018c3428c157c9ff >echo x - emulators/libretro-reicast/files/patch-libswirl_linux_common.cpp >sed 's/^X//' >emulators/libretro-reicast/files/patch-libswirl_linux_common.cpp << '3cccd5abcf6cb8828cb934aa1b2402e7' >X--- libswirl/linux/common.cpp.orig 2020-08-21 20:26:50 UTC >X+++ libswirl/linux/common.cpp >X@@ -22,6 +22,12 @@ >X #include <sys/stat.h> >X #if HOST_OS == OS_DARWIN >X #import <util.h> >X+ #elif defined(__FreeBSD__) >X+ #include <dlfcn.h> >X+ #include <sys/types.h> >X+ #include <sys/ioctl.h> >X+ #include <termios.h> >X+ #include <libutil.h> >X #else >X #include <pty.h> >X #endif >X@@ -33,7 +39,7 @@ >X #include <sys/param.h> >X #include <sys/mman.h> >X #include <sys/time.h> >X-#if !defined(TARGET_BSD) && !defined(TARGET_IPHONE) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) && !defined(TARGET_OSX) && !defined(TARGET_OSX_X64) >X+#if !defined(__FreeBSD__) && !defined(TARGET_BSD) && !defined(TARGET_IPHONE) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) && !defined(TARGET_OSX) && !defined(TARGET_OSX_X64) >X #include <sys/personality.h> >X #include <dlfcn.h> >X #endif >X@@ -294,7 +300,7 @@ void enable_runfast() >X } >X >X void linux_fix_personality() { >X- #if !defined(TARGET_BSD) && !defined(_ANDROID) && !defined(TARGET_OS_MAC) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) >X+ #if !defined(__FreeBSD__) && !defined(TARGET_BSD) && !defined(_ANDROID) && !defined(TARGET_OS_MAC) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) >X printf("Personality: %08X\n", personality(0xFFFFFFFF)); >X personality(~READ_IMPLIES_EXEC & personality(0xFFFFFFFF)); >X printf("Updated personality: %08X\n", personality(0xFFFFFFFF)); >X@@ -302,7 +308,7 @@ void linux_fix_personality() { >X } >X >X void linux_rpi2_init() { >X-#if !defined(TARGET_BSD) && !defined(_ANDROID) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) && defined(TARGET_VIDEOCORE) >X+#if !defined(__FreeBSD__) && !defined(TARGET_BSD) && !defined(_ANDROID) && !defined(TARGET_NACL32) && !defined(TARGET_EMSCRIPTEN) && defined(TARGET_VIDEOCORE) >X void* handle; >X void (*rpi_bcm_init)(void); >X >3cccd5abcf6cb8828cb934aa1b2402e7 >echo x - emulators/libretro-reicast/files/patch-reicast_cmake_config.cmake >sed 's/^X//' >emulators/libretro-reicast/files/patch-reicast_cmake_config.cmake << '39abfbb39c046f076548cfbc562ad813' >X--- reicast/cmake/config.cmake.orig 2020-08-21 20:26:50 UTC >X+++ reicast/cmake/config.cmake >X@@ -106,11 +106,13 @@ endif() >X # AMD64/x86_64:x64, i*86:x86, ppc/powerpc[64][b|l]e:ppc[64] etc >X # >X if(("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i686") OR >X+ ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i386") OR >X ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "X86")) # todo: check MATCHES "i.86" ? >X set(host_arch "x86") >X set(HOST_CPU ${CPU_X86}) >X # >X elseif(("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "AMD64") OR >X+ ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "amd64") OR >X ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") OR >X ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x64")) >X set(host_arch "x64") >39abfbb39c046f076548cfbc562ad813 >echo x - emulators/libretro-reicast/Makefile >sed 's/^X//' >emulators/libretro-reicast/Makefile << 'b3b03833fa88ce69d5ca1db10c9ff6c8' >X# $FreeBSD$ >X >XPORTNAME= libretro-reicast >XPORTVERSION= 0.20201231 >XCATEGORIES= emulators games >X >XMAINTAINER= beyert@cs.ucr.edu >XCOMMENT= Standalone port of reicast to libretro >X >XLICENSE= BSD3CLAUSE LGPL21 GPLv2 >XLICENSE_COMB= multi >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XLIB_DEPENDS= libcurl.so:ftp/curl \ >X libasound.so:audio/alsa-lib \ >X libao.so:audio/libao \ >X libevdev.so:devel/libevdev \ >X libpulse.so:audio/pulseaudio \ >X libudev.so:devel/libudev-devd >X >XUSES= compiler cmake gl xorg >XUSE_GCC= yes >X >XUSE_LDCONFIG= yes >XCMAKE_ARGS= -DLIBRETRO_CORE=ON \ >X -DOPENGL_EGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/EGL \ >X -DOPENGL_GLX_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ >X -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ >X -DOPENGL_opengl_LIBRARY:PATH=${LOCALBASE}/lib/libGL.so >X >XCXXFLAGS+= -Wno-c++11-extensions >XUSE_GITHUB= yes >XGH_ACCOUNT= reicast >XGH_PROJECT= reicast-emulator >XGH_TAGNAME= 0bd6ea3 >X >XUSE_GL= gl egl gbm >X >XPLIST_FILES= lib/libretro/reicast_libretro.so >X >Xdo-install: >X ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; >X ${INSTALL_LIB} ${WRKDIR}/.build/libreicast.so \ >X ${STAGEDIR}/${PREFIX}/lib/libretro/reicast_libretro.so; >X >X.include <bsd.port.mk> >b3b03833fa88ce69d5ca1db10c9ff6c8 >echo x - emulators/libretro-reicast/distinfo >sed 's/^X//' >emulators/libretro-reicast/distinfo << '9142987862bc8f375a3b4efee8b9347b' >XTIMESTAMP = 1623465538 >XSHA256 (reicast-reicast-emulator-0.20201231-0bd6ea3_GH0.tar.gz) = a30e67754c28029e16cf2eb3d3878906888178e308800139e64e8e29533bc679 >XSIZE (reicast-reicast-emulator-0.20201231-0bd6ea3_GH0.tar.gz) = 6467649 >9142987862bc8f375a3b4efee8b9347b >echo x - emulators/libretro-reicast/pkg-descr >sed 's/^X//' >emulators/libretro-reicast/pkg-descr << '5b0fed59106569cf555457139b330250' >XStandalone port of reicast to libretro. >X >XWWW: https://github.com/reicast/reicast-emulator >5b0fed59106569cf555457139b330250 >echo x - emulators/libretro-reicast/pkg-message >sed 's/^X//' >emulators/libretro-reicast/pkg-message << '1dd9adc95e9c534f3d3b98d8566d65a0' >X[ >X{ type: install >X message: <<EOM >X >X >XOn some hardware, The libretro core of reicast may not run if dynarec is >Xenabled. >X >XIt is recommended to set alpha sorting to per-triangle, as follows: >X >XIn ~/.config/retroarch/ >Xreicast_alpha_sorting = "per-triangle (normal)" >X >XIt is recommended to enable DSP support: >X >Xreicast_enable_dsp = "enabled" >X >Xin ~/.config/reicast/emu.cfg: >X >XDynarec.DspEnabled = 1 >XDynarec.Enabled = no >XDynarec.idleskip = yes >XDynarec.safe-mode = yes >XDynarec.unstable-opt = no >X#aica.AutoLatency = no >X#aica.DSPEnabled = no >X >XPlease set all lines in ~/.config/retroarch/retroarch.cfg that correspond to >Xthe setting "run_ahead_enabled" to "false", as shown in the example below: >X >Xrun_ahead_enabled = "false" >X >XTo troubleshoot issues, running retroarch with the -v argument may help to >Xacquire more diagnostic information. >XEOM >X} >X] >1dd9adc95e9c534f3d3b98d8566d65a0 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 252192
:
220985
|
226442
|
233992