Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 05:55:05 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491326 - in head/emulators: . emulationstation emulationstation/files
Message-ID:  <201901270555.x0R5t5Pg067686@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Jan 27 05:55:04 2019
New Revision: 491326
URL: https://svnweb.freebsd.org/changeset/ports/491326

Log:
  New port: emulators/emulationstation
  
  EmulationStation is a cross-platform graphical front-end for
  emulators, with controller navigation.
  
  Originally written by Alec "Aloshi" Lofquist, this is a fork by
  RetroPie.
  
  WWW: https://github.com/RetroPie/EmulationStation
  
  PR:		230537
  Submitted by:	freebsd@coombscloud.com

Added:
  head/emulators/emulationstation/
  head/emulators/emulationstation/Makefile   (contents, props changed)
  head/emulators/emulationstation/distinfo   (contents, props changed)
  head/emulators/emulationstation/files/
  head/emulators/emulationstation/files/patch-es-app_src_FileFilterIndex.h   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-app_src_MetaData.h   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-app_src_ScraperCmdLine.cpp   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-core_src_InputConfig.h   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-core_src_PowerSaver.cpp   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-core_src_Settings.cpp   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-core_src_Sound.h   (contents, props changed)
  head/emulators/emulationstation/files/patch-es-core_src_ThemeData.h   (contents, props changed)
  head/emulators/emulationstation/files/patch-external_CMakeLists.txt   (contents, props changed)
  head/emulators/emulationstation/pkg-descr   (contents, props changed)
Modified:
  head/emulators/Makefile

Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile	Sun Jan 27 04:41:46 2019	(r491325)
+++ head/emulators/Makefile	Sun Jan 27 05:55:04 2019	(r491326)
@@ -33,6 +33,7 @@
     SUBDIR += dynagui
     SUBDIR += dynamips-community
     SUBDIR += e-uae
+    SUBDIR += emulationstation
     SUBDIR += fceux
     SUBDIR += fmsx
     SUBDIR += frodo

Added: head/emulators/emulationstation/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/Makefile	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME=	emulationstation
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.7.1
+CATEGORIES=	emulators
+
+MAINTAINER=	freebsd@coombscloud.com
+COMMENT=	Graphical front-end for emulators (RetroPie fork)
+
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	multi
+LICENSE_FILE_APACHE20=	${WRKSRC}/opensans_license.txt
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs \
+		libboost_filesystem.so:devel/boost-libs \
+		libboost_locale.so:devel/boost-libs \
+		libboost_system.so:devel/boost-libs \
+		libcurl.so:ftp/curl \
+		libfreeimage.so:graphics/freeimage \
+		libfreetype.so:print/freetype2 \
+		libpugixml.so:textproc/pugixml \
+		libvlc.so:multimedia/vlc
+
+USES=		cmake compiler:gcc-c++11-lib gl pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	RetroPie
+GH_PROJECT=	EmulationStation
+USE_GL=		gl glu
+USE_SDL=	sdl2
+
+PLIST_FILES=	bin/emulationstation
+PORTDOCS=	CREDITS.md DEVNOTES.md GAMELISTS.md README.md SYSTEMS.md \
+		THEMES.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/emulators/emulationstation/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/distinfo	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548463566
+SHA256 (RetroPie-EmulationStation-v2.7.1_GH0.tar.gz) = 07415511cc5abf36ba2e35d97bd2f651947040bcc8af9cffc491724a19afb214
+SIZE (RetroPie-EmulationStation-v2.7.1_GH0.tar.gz) = 1040103

Added: head/emulators/emulationstation/files/patch-es-app_src_FileFilterIndex.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-app_src_FileFilterIndex.h	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,12 @@
+Fix compiler error (missing include)
+
+--- es-app/src/FileFilterIndex.h.orig	2018-08-11 01:19:16 UTC
++++ es-app/src/FileFilterIndex.h
+@@ -4,6 +4,7 @@
+ 
+ #include <map>
+ #include <vector>
++#include <string>
+ 
+ class FileData;
+ 

Added: head/emulators/emulationstation/files/patch-es-app_src_MetaData.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-app_src_MetaData.h	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,13 @@
+Use pugixml from ports, rather than embedded
+
+--- es-app/src/MetaData.h.orig	2018-08-11 01:00:43 UTC
++++ es-app/src/MetaData.h
+@@ -4,7 +4,7 @@
+ 
+ #include <boost/date_time/posix_time/ptime.hpp>
+ #include <boost/filesystem/path.hpp>
+-#include <pugixml/src/pugixml.hpp>
++#include <pugixml.hpp>
+ 
+ enum MetaDataType
+ {

Added: head/emulators/emulationstation/files/patch-es-app_src_ScraperCmdLine.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-app_src_ScraperCmdLine.cpp	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,23 @@
+Use POSIX sleep funtion, instead of Windows
+
+--- es-app/src/ScraperCmdLine.cpp.orig	2018-08-11 01:17:21 UTC
++++ es-app/src/ScraperCmdLine.cpp
+@@ -5,17 +5,13 @@
+ #include "SystemData.h"
+ #include <iostream>
+ #include <signal.h>
+-#if defined(__linux__)
+ #include <unistd.h>
+-#elif defined(WIN32)
+-#include <Windows.h>
+-#endif
+ 
+ std::ostream& out = std::cout;
+ 
+ void handle_interrupt_signal(int p)
+ {
+-	sleep(50);
++	usleep(50);
+ 
+ 	LOG(LogInfo) << "Interrupt received during scrape...";
+ 

Added: head/emulators/emulationstation/files/patch-es-core_src_InputConfig.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-core_src_InputConfig.h	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,13 @@
+Use pugixml from ports, rather than embedded
+
+--- es-core/src/InputConfig.h.orig	2018-08-11 01:03:59 UTC
++++ es-core/src/InputConfig.h
+@@ -2,7 +2,7 @@
+ #ifndef ES_CORE_INPUT_CONFIG_H
+ #define ES_CORE_INPUT_CONFIG_H
+ 
+-#include <pugixml/src/pugixml.hpp>
++#include <pugixml.hpp>
+ #include <SDL_joystick.h>
+ #include <SDL_keyboard.h>
+ #include <map>

Added: head/emulators/emulationstation/files/patch-es-core_src_PowerSaver.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-core_src_PowerSaver.cpp	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,12 @@
+Fix compiler error (missing include)
+
+--- es-core/src/PowerSaver.cpp.orig	2018-08-11 01:13:24 UTC
++++ es-core/src/PowerSaver.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include "AudioManager.h"
+ #include "Settings.h"
++#include <string>
+ 
+ bool PowerSaver::mState = false;
+ bool PowerSaver::mRunningScreenSaver = false;

Added: head/emulators/emulationstation/files/patch-es-core_src_Settings.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-core_src_Settings.cpp	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,13 @@
+Use pugixml from ports, rather than embedded
+
+--- es-core/src/Settings.cpp.orig	2018-08-11 01:05:37 UTC
++++ es-core/src/Settings.cpp
+@@ -3,7 +3,7 @@
+ #include "Log.h"
+ #include "platform.h"
+ #include <boost/filesystem/operations.hpp>
+-#include <pugixml/src/pugixml.hpp>
++#include <pugixml.hpp>
+ 
+ Settings* Settings::sInstance = NULL;
+ 

Added: head/emulators/emulationstation/files/patch-es-core_src_Sound.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-core_src_Sound.h	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,12 @@
+Fix compiler error (missing include)
+
+--- es-core/src/Sound.h.orig	2018-08-11 01:14:12 UTC
++++ es-core/src/Sound.h
+@@ -5,6 +5,7 @@
+ #include "SDL_audio.h"
+ #include <map>
+ #include <memory>
++#include <string>
+ 
+ class ThemeData;
+ 

Added: head/emulators/emulationstation/files/patch-es-core_src_ThemeData.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-es-core_src_ThemeData.h	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,13 @@
+Use pugixml from ports, rather than embedded
+
+--- es-core/src/ThemeData.h.orig	2018-08-11 01:03:37 UTC
++++ es-core/src/ThemeData.h
+@@ -6,7 +6,7 @@
+ #include <boost/filesystem/path.hpp>
+ #include <boost/variant/get.hpp>
+ #include <boost/variant/variant.hpp>
+-#include <pugixml/src/pugixml.hpp>
++#include <pugixml.hpp>
+ #include <deque>
+ #include <map>
+ #include <sstream>

Added: head/emulators/emulationstation/files/patch-external_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/files/patch-external_CMakeLists.txt	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,9 @@
+Use pugixml from ports, rather than embedded
+
+--- external/CMakeLists.txt.orig	2018-08-11 01:01:24 UTC
++++ external/CMakeLists.txt
+@@ -2,4 +2,3 @@
+ # package managers are included with the project (in the 'external' folder)
+ 
+ add_subdirectory("nanosvg")
+-add_subdirectory("pugixml")

Added: head/emulators/emulationstation/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/emulationstation/pkg-descr	Sun Jan 27 05:55:04 2019	(r491326)
@@ -0,0 +1,7 @@
+EmulationStation is a cross-platform graphical front-end for
+emulators, with controller navigation.
+
+Originally written by Alec "Aloshi" Lofquist, this is a fork by
+RetroPie.
+
+WWW: https://github.com/RetroPie/EmulationStation



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901270555.x0R5t5Pg067686>