pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-mgba libretro-mgba: Update to 0.7.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/d15fd71ccfb1
branches: trunk
changeset: 390919:d15fd71ccfb1
user: nia <nia%pkgsrc.org@localhost>
date: Sun Jan 27 17:04:16 2019 +0000
description:
libretro-mgba: Update to 0.7.0
Changes from 0.6.3
Features
ELF support
Game Boy Camera support
Game Boy Printer support
Super Game Boy support
Customizable autofire speed
Ability to set default Game Boy model
Map viewer
Automatic cheat loading and saving
GameShark and Action Replay button support
AGBPrint support
Debugger: Conditional breakpoints and watchpoints
Ability to select GB/GBC/SGB BIOS on console ports
Optional automatic state saving/loading
Access to ur0 and uma0 partitions on the Vita
Partial support for MBC6, MMM01, TAMA and HuC-1 GB mappers
GBA: ARMIPS/A22i-style and ELF symbol table support
Initial Switch port
Bugfixes
ARM: Fix MSR when T bit is set
Core: Fix audio sync breaking when interrupted
Core: Fix ordering events when scheduling during events
FFmpeg: Fix encoding audio/video queue issues
GB: Revamp IRQ handling based on new information
GB: Fix IRQ disabling on the same T-cycle as an assert
GB Audio: Make audio unsigned with bias (fixes #749)
GB Audio: Clock frame events on DIV
GB Audio: Fix channel 3 reset value
GB Audio: Fix channel 4 initial LFSR
GB Audio: Fix channel 1, 2 and 4 reset timing
GB I/O: DMA register is R/W
GB MBC: Improve multicart detection heuristic (fixes #1177)
GB, GBA Savedata: Fix savestate loading overwriting saves on reset
GB, GBA Savedata: Fix unmasking savedata crash
GB Serialize: Fix audio state loading
GB Serialize: Fix game title check
GB Serialize: Fix IRQ pending/EI pending confusion
GB Timer: Minor accuracy improvements
GB Video: Fix dot clock timing being slightly wrong
GB Video: Fix loading states while in mode 3
GB Video: Fix enabling window when LY > WY (fixes #409)
GB Video: Fix SCX timing
GB, GBA Video: Don?t call finishFrame twice in thread proxy
GBA: Reset WAITCNT properly
GBA BIOS: Fix BitUnPack final byte
GBA BIOS: Fix BitUnPack narrowing
GBA DMA: Fix invalid DMA reads (fixes #142)
GBA DMA: Fix temporal sorting of DMAs of different priorities
GBA Hardware: Fix RTC overriding light sensor (fixes #1069)
GBA Hardware: Fix RTC handshake transition (fixes #1134)
GBA Memory: Fix Vast Fame support (taizou) (fixes #1170)
GBA Savedata: Fix savedata modified time updating when read-only
GBA Serialize: Fix loading channel 3 volume (fixes #1107)
GBA Serialize: Fix loading states in Hblank
GBA SIO: Fix unconnected SIOCNT for multi mode (fixes #1105)
GBA Timer: Fix timers sometimes being late (fixes #1012)
GBA Video: Don?t mask out high bits of BLDY (fixes #899)
GBA Video: Add delay when enabling BGs (fixes #744, #752)
GBA Video: Start timing mid-scanline when skipping BIOS
GBA Video: Improve sprite cycle counting (fixes #1126)
GBA Video: Make layer disabling work consistently
Miscellaneous
All: Make FIXEDi_ROM_BUFFER an option instead of 3DS-only
Core: Remove broken option for whether rewinding restores save games
Feature: Added loading savestates from command line
GBA Cheats: Allow multiple ROM patches in the same slot
GB: Skip BIOS option now works
GB: Fix VRAM/palette locking (fixes #1109)
GB Audio: Improved audio quality
GB, GBA Audio: Increase max audio volume
GB MBC: Remove erroneous bank 0 wrapping
GB Video: Darken colors in GBA mode
GBA: Extend oddly-sized ROMs to full address space (fixes #722)
GBA: Implement display start DMAs
GBA: Improve multiboot image detection
GBA Memory: 64 MiB GBA Video cartridge support
GBA Savedata: Remove ability to disable realistic timing
GBA Timer: Use global cycles for timers
Changes from 0.7 beta 1
Features
Libretro: Add Game Boy cheat support
Tile viewer now has adjustable width
Bugfixes
Core: Remember to deinit proxy ring FIFO
Core: Reroot timing list when (de)scheduling
GB, GBA: Fix broken opposing button filter (fixes #1191)
GB MBC: Fix MBC30 SRAM
GB, GBA Savedata: Fix leaks when loading masked save (fixes #1197)
GB Video: Fix SGB border hole size
GB Video: Changing LYC while LCDC off doesn?t affect STAT (fixes #1224)
GBA: Fix GB Player features
GBA I/O: SOUNDCNT_HI is readable when sound is off
GBA Savedata: Fix EEPROM writing codepath when savetype is not EEPROM
GBA Video: Fix caching with background toggling (fixes #1118)
Libretro: Fix adding codes with hooks
Miscellaneous
CMake: Fix libswresample version dependencies (fixes #1229)
Debugger: Minor text fixes
Debugger: Readability improvements (fixes #1238)
GB: Improved SGB2 support
GB Audio: Skip frame if enabled when clock is high
Libretro: Reduce rumble callbacks
diffstat:
emulators/libretro-mgba/Makefile | 5 ++-
emulators/libretro-mgba/PLIST | 6 ++++-
emulators/libretro-mgba/distinfo | 15 +++++------
emulators/libretro-mgba/patches/patch-CMakeLists.txt | 25 +++++++++++++++----
emulators/libretro-mgba/patches/patch-version.cmake | 14 ++--------
5 files changed, 37 insertions(+), 28 deletions(-)
diffs (133 lines):
diff -r a3149800349d -r d15fd71ccfb1 emulators/libretro-mgba/Makefile
--- a/emulators/libretro-mgba/Makefile Sun Jan 27 16:10:10 2019 +0000
+++ b/emulators/libretro-mgba/Makefile Sun Jan 27 17:04:16 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/09/07 18:54:02 nia Exp $
+# $NetBSD: Makefile,v 1.3 2019/01/27 17:04:16 nia Exp $
-DISTNAME= libretro-mgba-0.6.3
+DISTNAME= libretro-mgba-0.7.0
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/}
GITHUB_PROJECT= mgba
@@ -40,5 +40,6 @@
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+.include "../../devel/libelf/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a3149800349d -r d15fd71ccfb1 emulators/libretro-mgba/PLIST
--- a/emulators/libretro-mgba/PLIST Sun Jan 27 16:10:10 2019 +0000
+++ b/emulators/libretro-mgba/PLIST Sun Jan 27 17:04:16 2019 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/12 14:25:09 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/01/27 17:04:16 nia Exp $
include/mgba/flags.h
lib/libretro/mgba_libretro.so
share/doc/mGBA/CHANGES
+share/doc/mGBA/LICENSE
share/doc/mGBA/README.md
+share/doc/mGBA/README_DE.md
+share/doc/mGBA/licenses/blip_buf.txt
+share/doc/mGBA/licenses/inih.txt
diff -r a3149800349d -r d15fd71ccfb1 emulators/libretro-mgba/distinfo
--- a/emulators/libretro-mgba/distinfo Sun Jan 27 16:10:10 2019 +0000
+++ b/emulators/libretro-mgba/distinfo Sun Jan 27 17:04:16 2019 +0000
@@ -1,14 +1,13 @@
-$NetBSD: distinfo,v 1.2 2018/09/07 18:54:02 nia Exp $
+$NetBSD: distinfo,v 1.3 2019/01/27 17:04:16 nia Exp $
-SHA1 (libretro-mgba-0.6.3.tar.gz) = b90d59af4ef43d0faf98f48f66514a51aa677296
-RMD160 (libretro-mgba-0.6.3.tar.gz) = a9d5cbc4f77a6ca1883707bef92313d77cf2a824
-SHA512 (libretro-mgba-0.6.3.tar.gz) = d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233
-Size (libretro-mgba-0.6.3.tar.gz) = 7442154 bytes
-SHA1 (patch-CMakeLists.txt) = ec56af8fed90cd6486d797fd18fd69ac6eb00d3d
-SHA1 (patch-include_mgba-util_common.h) = 4d1ff026d759ede6341c1195b60903ce566145d5
+SHA1 (libretro-mgba-0.7.0.tar.gz) = d39ff87381ebb5152e9b1a3822d5a0670b659293
+RMD160 (libretro-mgba-0.7.0.tar.gz) = 87577c5d61667fe9ebe1ac0144c4f7d6e968bc31
+SHA512 (libretro-mgba-0.7.0.tar.gz) = 68eac18f6e411c60ef6c6dded0f2b293cb4831c4c6f15c4cf3bb7f8dc6a5de65000d7d904ff5bec52aef8714fae3a77d7ed7b43cbccba528cc05b56546802010
+Size (libretro-mgba-0.7.0.tar.gz) = 10767992 bytes
+SHA1 (patch-CMakeLists.txt) = 55165a347984ebac37f8d75ca180618f08b0386c
SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
SHA1 (patch-include_mgba-util_vfs.h) = 5e02a5d53623dfa5f1531d2d3269cc4e88e4530c
SHA1 (patch-src_util_vfs_vfs-fd.c) = f544787d17d95fb234f9844f0c3eef17805a798d
SHA1 (patch-src_util_vfs_vfs-fifo.c) = 94240338a440e3da9b41e37e8c934113aacd5904
SHA1 (patch-src_util_vfs_vfs-mem.c) = 7b55448fa616b078eac62e80867ef6894d3be8ed
-SHA1 (patch-version.cmake) = 973e3b397b807be1c228e96d559f98a4d1091bae
+SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21
diff -r a3149800349d -r d15fd71ccfb1 emulators/libretro-mgba/patches/patch-CMakeLists.txt
--- a/emulators/libretro-mgba/patches/patch-CMakeLists.txt Sun Jan 27 16:10:10 2019 +0000
+++ b/emulators/libretro-mgba/patches/patch-CMakeLists.txt Sun Jan 27 17:04:16 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2018/08/12 14:25:09 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2019/01/27 17:04:16 nia Exp $
Avoid checking for a C++ compiler, since C++ isn't required for a
libretro build.
@@ -6,18 +6,20 @@
vfs-dirent peeks into non-standard structures and also isn't required
for a libretro build.
---- CMakeLists.txt.orig 2018-04-14 20:49:19.000000000 +0000
+Fix locale detection.
+
+--- CMakeLists.txt.orig 2019-01-27 00:06:06.000000000 +0000
+++ CMakeLists.txt
-@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.11)
- if(POLICY CMP0025)
- cmake_policy(SET CMP0025 NEW)
+@@ -5,7 +5,7 @@ endif()
+ if(POLICY CMP0072)
+ cmake_policy(SET CMP0072 NEW)
endif()
-project(mGBA)
+project(mGBA C)
set(BINARY_NAME mgba CACHE INTERNAL "Name of output binaries")
if(NOT MSVC)
set(GCC_STD "c99")
-@@ -231,7 +231,7 @@ elseif(UNIX)
+@@ -245,7 +245,7 @@ elseif(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
endif()
@@ -26,3 +28,14 @@
file(GLOB OS_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/posix/*.c)
source_group("POSIX-specific code" FILES ${OS_SRC})
endif()
+@@ -391,7 +391,9 @@ if(HAVE_LOCALTIME_R)
+ list(APPEND FUNCTION_DEFINES HAVE_LOCALTIME_R)
+ endif()
+
+-if(HAVE_NEWLOCALE AND HAVE_FREELOCALE AND HAVE_USELOCALE OR APPLE)
++check_include_files("locale.h" HAVE_LOCALE)
++
++if(HAVE_LOCALE OR APPLE)
+ list(APPEND FUNCTION_DEFINES HAVE_LOCALE)
+ if (HAVE_SNPRINTF_L)
+ list(APPEND FUNCTION_DEFINES HAVE_SNPRINTF_L)
diff -r a3149800349d -r d15fd71ccfb1 emulators/libretro-mgba/patches/patch-version.cmake
--- a/emulators/libretro-mgba/patches/patch-version.cmake Sun Jan 27 16:10:10 2019 +0000
+++ b/emulators/libretro-mgba/patches/patch-version.cmake Sun Jan 27 17:04:16 2019 +0000
@@ -1,18 +1,10 @@
-$NetBSD: patch-version.cmake,v 1.1 2018/08/12 14:25:09 nia Exp $
+$NetBSD: patch-version.cmake,v 1.2 2019/01/27 17:04:16 nia Exp $
Avoid looking for git to determine the version string.
-Correct version string.
-
---- version.cmake.orig 2018-04-14 20:49:19.000000000 +0000
+--- version.cmake.orig 2019-01-27 00:06:06.000000000 +0000
+++ version.cmake
-@@ -3,20 +3,11 @@ if(NOT PROJECT_NAME)
- endif()
- set(LIB_VERSION_MAJOR 0)
- set(LIB_VERSION_MINOR 6)
--set(LIB_VERSION_PATCH 1)
-+set(LIB_VERSION_PATCH 3)
- set(LIB_VERSION_ABI 0.6)
+@@ -8,15 +8,6 @@ set(LIB_VERSION_ABI 0.7)
set(LIB_VERSION_STRING ${LIB_VERSION_MAJOR}.${LIB_VERSION_MINOR}.${LIB_VERSION_PATCH})
set(SUMMARY "${PROJECT_NAME} Game Boy Advance Emulator")
Home |
Main Index |
Thread Index |
Old Index