From nobody Tue Jan 23 10:30:29 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TK3JP3jvKz57lvD; Tue, 23 Jan 2024 10:30:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TK3JP37lqz3wh4; Tue, 23 Jan 2024 10:30:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706005829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kALHDCP1rPgGtF6aUArwn22pjJd7pmzVgNtdAzkdxW4=; b=Alr3JpCQ5dvxql4CHFs/vyZEpqEph5yrRcm0YZbfKyexCRX+dmK0TNo/Sb8YlM0lWQegFI vmncNd730/rgZ5R4f6vHF2mPIsLp82JQbY1pR7XLpgZM8Ws/YtH33kON+UzYDulCLFsMI+ RuwLqd2oBlrr1j+Wby623Wn1xjeq+nQKj9n0anZqjgyP0FqNNnlhHWbqRMDhPibI7Z60du UkEyq8erjLFyk051VYcpWJ+/aI7G87NSu8+2S2ilq/yxpc5M/GldR1KN681CxCGt2YVz2b NbGgjuYhT/61uRmDbfy/NUtmNyplgCkNryStCAojvLZGFzNgkQgxTo+l67oA1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706005829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kALHDCP1rPgGtF6aUArwn22pjJd7pmzVgNtdAzkdxW4=; b=pxpC9xBE1jadcvO01xjkhbeD8Mpno0cRNBaJrUzeA4mVYrskNBUpWV6BcuNd9qLmYmQzvr TxCvxmU1+5/tCSU/dkTlxcTP/t4kL80bviNcaxuNKXWbhR9FbfWNDZ3MpvZEa86yHPm9x6 TgWPyN61n23+dw8elAbc1/Eb5LDEQfqA1gmoWbkBpoKM/nIWusNpcZL2cKwIr+jfkcpAwi DlK+u1M9mfpWCEcHUeQvL1M1QAhG/wAVcGknbNoVuFvdV0baWTXvOK4nDzKbkN1m1/bKKB PWJlQCsooA8yXl9z/BGXXrjVPakuB3hhSdpn1NNqoShd+bCfmUMHi5Mql57sKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706005829; a=rsa-sha256; cv=none; b=GxeTF8qsCmYC3bLDMb1xM/juP3pAqmVanG0+0xtLCbJkLvOi5pJT0J0E3KOJQKIFPH53Ef K8eIrOtCdO8LnHr1vqFfixXtFkv9r6cVfsoGwgQLYsYzjxBmVHjqeFipN+++tb+n/MyE7W YbbdlxlnRdaPKLOVA+eZ6M6/kXfwHekXQPvQFpqKrEWanREBpaTSiJrfEJ82fkDmMronpj Ver8VFpECaZp5QFeBrVtYTk9VU/gnXkFOI80f0PNNun91YKKIyCkEjVphPtraO5dF5yY3O 7xTuah0fm+kMzjqdFJiv+gZ9m83e/ugbR32aQ5H69D1vWJAER8UgZu/Y5wSRzA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TK3JP2C5kzRJx; Tue, 23 Jan 2024 10:30:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40NAUT7Z038745; Tue, 23 Jan 2024 10:30:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40NAUTtK038742; Tue, 23 Jan 2024 10:30:29 GMT (envelope-from git) Date: Tue, 23 Jan 2024 10:30:29 GMT Message-Id: <202401231030.40NAUTtK038742@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: c48fd2014e72 - main - emulators/emulationstation: Update to v2.11.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c48fd2014e721f0e4b3a76ef30c2592b75ac85e9 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=c48fd2014e721f0e4b3a76ef30c2592b75ac85e9 commit c48fd2014e721f0e4b3a76ef30c2592b75ac85e9 Author: Lorenzo Salvadore AuthorDate: 2023-12-26 15:54:03 +0000 Commit: Lorenzo Salvadore CommitDate: 2024-01-23 10:30:25 +0000 emulators/emulationstation: Update to v2.11.2 This also fixes the build with GCC 13 [1]. Changes: https://github.com/RetroPie/EmulationStation/compare/v2.9.4...v2.11.2 PR: 273676 [1] Approved by: maintainer timeout (> 3 weeks) --- emulators/emulationstation/Makefile | 9 +- emulators/emulationstation/distinfo | 6 +- .../files/patch-es-app_src_SystemData.h | 11 +++ .../patch-es-core_src_utils_FileSystemUtil.cpp | 96 ++++++++++++++++------ .../files/patch-es-core_src_utils_TimeUtil.h | 10 --- emulators/emulationstation/pkg-plist | 1 + 6 files changed, 91 insertions(+), 42 deletions(-) diff --git a/emulators/emulationstation/Makefile b/emulators/emulationstation/Makefile index 9c98e11b0cd0..6406b70c7395 100644 --- a/emulators/emulationstation/Makefile +++ b/emulators/emulationstation/Makefile @@ -1,7 +1,6 @@ PORTNAME= emulationstation DISTVERSIONPREFIX= v -DISTVERSION= 2.9.4 -PORTREVISION= 5 +DISTVERSION= 2.11.2 CATEGORIES= emulators MAINTAINER= freebsd@coombscloud.com @@ -13,7 +12,8 @@ LICENSE_COMB= multi LICENSE_FILE_APACHE20= ${WRKSRC}/opensans_license.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md -BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson +BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson \ + pugixml>0:textproc/pugixml LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libboost_locale.so:devel/boost-libs \ @@ -24,10 +24,11 @@ LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libpugixml.so:textproc/pugixml \ libvlc.so:multimedia/vlc -USES= cmake compiler:gcc-c++11-lib gl pkgconfig sdl +USES= cmake gl pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= RetroPie GH_PROJECT= EmulationStation +USE_GCC= yes USE_GL= gl glu USE_SDL= sdl2 diff --git a/emulators/emulationstation/distinfo b/emulators/emulationstation/distinfo index 76331844b151..2379fe34d5cb 100644 --- a/emulators/emulationstation/distinfo +++ b/emulators/emulationstation/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1606557422 -SHA256 (RetroPie-EmulationStation-v2.9.4_GH0.tar.gz) = 79452f6c1e8aaebe98c19708b3587a0a45330bf20b3301d556285d5cd756fa4a -SIZE (RetroPie-EmulationStation-v2.9.4_GH0.tar.gz) = 852960 +TIMESTAMP = 1703604202 +SHA256 (RetroPie-EmulationStation-v2.11.2_GH0.tar.gz) = 6b632fe68bad5c3e0567e3bb171fe18ad7b2f8b1531d1297a7a91be95bf8734a +SIZE (RetroPie-EmulationStation-v2.11.2_GH0.tar.gz) = 942655 diff --git a/emulators/emulationstation/files/patch-es-app_src_SystemData.h b/emulators/emulationstation/files/patch-es-app_src_SystemData.h new file mode 100644 index 000000000000..bef0ab3b2124 --- /dev/null +++ b/emulators/emulationstation/files/patch-es-app_src_SystemData.h @@ -0,0 +1,11 @@ +--- es-app/src/SystemData.h.orig 2023-12-18 20:19:11 UTC ++++ es-app/src/SystemData.h +@@ -9,7 +9,7 @@ + #include + #include + +-#include ++#include + + class FileData; + class FileFilterIndex; diff --git a/emulators/emulationstation/files/patch-es-core_src_utils_FileSystemUtil.cpp b/emulators/emulationstation/files/patch-es-core_src_utils_FileSystemUtil.cpp index ecdf735fba88..2fb8ec44b076 100644 --- a/emulators/emulationstation/files/patch-es-core_src_utils_FileSystemUtil.cpp +++ b/emulators/emulationstation/files/patch-es-core_src_utils_FileSystemUtil.cpp @@ -1,39 +1,85 @@ ---- es-core/src/utils/FileSystemUtil.cpp.orig 2020-11-29 11:37:59 UTC +--- es-core/src/utils/FileSystemUtil.cpp.orig 2023-12-18 20:00:52 UTC +++ es-core/src/utils/FileSystemUtil.cpp -@@ -577,10 +577,10 @@ namespace Utils - bool exists(const std::string& _path) - { - std::string path = getGenericPath(_path); +@@ -578,10 +578,10 @@ namespace Utils + CloseHandle(hFile); + } + #else // _WIN32 - struct stat64 info; + struct stat info; - // check if stat64 succeeded -- return (stat64(path.c_str(), &info) == 0); -+ return (stat(path.c_str(), &info) == 0); - - } // exists +- // check if lstat64 succeeded +- if(lstat64(path.c_str(), &info) == 0) ++ // check if lstat succeeded ++ if(lstat(path.c_str(), &info) == 0) + { + resolved.resize(info.st_size); + if(readlink(path.c_str(), (char*)resolved.data(), resolved.size()) > 0) +@@ -658,9 +658,9 @@ namespace Utils + if(pathExistsIndex.find(_path) == pathExistsIndex.cend()) + { + const std::string path = getGenericPath(_path); +- struct stat64 info; +- // check if stat64 succeeded +- pathExistsIndex[_path] = (stat64(path.c_str(), &info) == 0); ++ struct stat info; ++ // check if stat succeeded ++ pathExistsIndex[_path] = (stat(path.c_str(), &info) == 0); + } -@@ -599,10 +599,10 @@ namespace Utils + return pathExistsIndex.at(_path); +@@ -686,10 +686,10 @@ namespace Utils bool isRegularFile(const std::string& _path) { - std::string path = getGenericPath(_path); + const std::string path = getGenericPath(_path); +- struct stat64 info; ++ struct stat info; + +- // check if stat64 succeeded +- if(stat64(path.c_str(), &info) != 0) ++ // check if stat succeeded ++ if(stat(path.c_str(), &info) != 0) + return false; + + // check for S_IFREG attribute +@@ -702,10 +702,10 @@ namespace Utils + bool isDirectory(const std::string& _path) + { + const std::string path = getGenericPath(_path); +- struct stat64 info; ++ struct stat info; + +- // check if stat64 succeeded +- if(stat64(path.c_str(), &info) != 0) ++ // check if stat succeeded ++ if(stat(path.c_str(), &info) != 0) + return false; + + // check for S_IFDIR attribute +@@ -725,10 +725,10 @@ namespace Utils + if((Attributes != INVALID_FILE_ATTRIBUTES) && (Attributes & FILE_ATTRIBUTE_REPARSE_POINT)) + return true; + #else // _WIN32 +- struct stat64 info; ++ struct stat info; + +- // check if lstat64 succeeded +- if(lstat64(path.c_str(), &info) != 0) ++ // check if lstat succeeded ++ if(lstat(path.c_str(), &info) != 0) + return false; + + // check for S_IFLNK attribute +@@ -772,10 +772,10 @@ namespace Utils + // regular files and executables, but not setuid, setgid, shared text + const mode_t mask = S_IFREG; + const mode_t mask_exec = S_IXUSR | S_IXGRP | S_IXOTH; - struct stat64 info; + struct stat info; - // check if stat64 succeeded +- // check if stat64 succeeded - if(stat64(path.c_str(), &info) != 0) ++ // check if stat succeeded + if(stat(path.c_str(), &info) != 0) return false; - // check for S_IFREG attribute -@@ -670,8 +670,8 @@ namespace Utils - } // isHidden - #ifndef WIN32 // osx / linux - bool isExecutable(const std::string& _path) { -- struct stat64 st; -- if(stat64(_path.c_str(), &st) == 0){ -+ struct stat st; -+ if(stat(_path.c_str(), &st) == 0){ - mode_t perm = st.st_mode; - // regular files and executables but not setuid, setgid, shared text (mode 0755) - mode_t mask = S_IFREG | S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; + // check for mask attributes diff --git a/emulators/emulationstation/files/patch-es-core_src_utils_TimeUtil.h b/emulators/emulationstation/files/patch-es-core_src_utils_TimeUtil.h deleted file mode 100644 index 21e8131fcb9e..000000000000 --- a/emulators/emulationstation/files/patch-es-core_src_utils_TimeUtil.h +++ /dev/null @@ -1,10 +0,0 @@ ---- es-core/src/utils/TimeUtil.h.orig 2020-11-29 11:32:59 UTC -+++ es-core/src/utils/TimeUtil.h -@@ -3,6 +3,7 @@ - #define ES_CORE_UTILS_TIME_UTIL_H - - #include -+#include - - namespace Utils - { diff --git a/emulators/emulationstation/pkg-plist b/emulators/emulationstation/pkg-plist index 93318c21a7ac..dd77d25513cc 100644 --- a/emulators/emulationstation/pkg-plist +++ b/emulators/emulationstation/pkg-plist @@ -53,6 +53,7 @@ share/EmulationStation/resources/help/dpad_updown.svg share/EmulationStation/resources/mamebioses.xml share/EmulationStation/resources/mamedevices.xml share/EmulationStation/resources/mamenames.xml +share/EmulationStation/resources/mameres.py share/EmulationStation/resources/off.svg share/EmulationStation/resources/on.svg share/EmulationStation/resources/opensans_hebrew_condensed_light.ttf