* [PR PATCH] pcsx2: update to 1.6.0
@ 2020-05-08 14:49 selfsigned
2020-05-08 15:13 ` abenson
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: selfsigned @ 2020-05-08 14:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
There is a new pull request by selfsigned against master on the void-packages repository
https://github.com/selfsigned/void-packages pcsx2
https://github.com/void-linux/void-packages/pull/21749
pcsx2: update to 1.6.0
Update pcsx2 to the latest stable version, the patches are now unneeded.
As a side-note, in the template, the license is said to be ` license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"`
Shouldn't it be [GPL-2](https://github.com/PCSX2/pcsx2/blob/master/COPYING.GPLv2)?
A patch file from https://github.com/void-linux/void-packages/pull/21749.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pcsx2-21749.patch --]
[-- Type: text/x-diff, Size: 5200 bytes --]
From 4a318984a3dbf0a0ff67ecb03f8aef560f118b0e Mon Sep 17 00:00:00 2001
From: selfsigned <selfsigned@protonmail.ch>
Date: Fri, 8 May 2020 16:21:43 +0200
Subject: [PATCH] pcsx2: update to 1.6.0
---
srcpkgs/pcsx2/patches/gcc6.patch | 11 ---
.../pcsx2/patches/wxwidgets-sdl-check.patch | 74 -------------------
srcpkgs/pcsx2/template | 15 ++--
3 files changed, 8 insertions(+), 92 deletions(-)
delete mode 100644 srcpkgs/pcsx2/patches/gcc6.patch
delete mode 100644 srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
diff --git a/srcpkgs/pcsx2/patches/gcc6.patch b/srcpkgs/pcsx2/patches/gcc6.patch
deleted file mode 100644
index 5c76571328e..00000000000
--- a/srcpkgs/pcsx2/patches/gcc6.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
---- common/src/x86emitter/cpudetect.cpp
-+++ common/src/x86emitter/cpudetect.cpp
-@@ -16,6 +16,7 @@
- #include "PrecompiledHeader.h"
- #include "cpudetect_internal.h"
- #include "internal.h"
-+#include "fxsrintrin.h"
-
- using namespace x86Emitter;
-
diff --git a/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch b/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
deleted file mode 100644
index 679a437247a..00000000000
--- a/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 41c49faa81d4970e903e7d85616774c979e103a5 Mon Sep 17 00:00:00 2001
-From: Jonathan Li <jonathan.li@hotmail.co.uk>
-Date: Sun, 4 Feb 2018 14:04:17 +0000
-Subject: [PATCH] cmake: Improve wxWidgets and SDL linkage check
-
-If wxWidgets is linked to SDL, check what version it's actually linked
-against instead of assuming it's linked to SDL1.2 (which isn't true on
-Fedora 27).
----
- cmake/ApiValidation.cmake | 41 ++++++++++++++++++++++++++-------------
- 1 file changed, 28 insertions(+), 13 deletions(-)
-
-diff --git a/cmake/ApiValidation.cmake b/cmake/ApiValidation.cmake
-index e7a4f99a7..f93bc67fc 100644
---- cmake/ApiValidation.cmake
-+++ cmake/ApiValidation.cmake
-@@ -1,9 +1,14 @@
- set(wx_sdl_c_code "
- #include <wx/setup.h>
-
--#if (wxUSE_LIBSDL != 0)
-+#if (wxUSE_LIBSDL == 0)
- #error cmake_WX_SDL
- #endif
-+
-+int main()
-+{
-+ return 0;
-+}
- ")
-
- set(gcc7_mmx_code "
-@@ -83,19 +88,29 @@ function(WX_vs_SDL)
- file(WRITE "${CMAKE_BINARY_DIR}/wx_sdl.c" "${wx_sdl_c_code}")
- enable_language(C)
-
-- try_run(
-- run_result_unused
-- compile_result_unused
-- "${CMAKE_BINARY_DIR}"
-- "${CMAKE_BINARY_DIR}/wx_sdl.c"
-- COMPILE_OUTPUT_VARIABLE OUT
-- CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
-- )
-+ try_compile(
-+ wx_linked_to_sdl
-+ "${CMAKE_BINARY_DIR}"
-+ "${CMAKE_BINARY_DIR}/wx_sdl.c"
-+ CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
-+ LINK_LIBRARIES "${wxWidgets_LIBRARIES}"
-+ COPY_FILE "${CMAKE_BINARY_DIR}/wx_sdl"
-+ )
-+
-+ if (NOT wx_linked_to_sdl)
-+ return()
-+ endif()
-+
-+ execute_process(
-+ COMMAND ldd "${CMAKE_BINARY_DIR}/wx_sdl"
-+ COMMAND grep -c SDL2
-+ OUTPUT_VARIABLE sdl2_count
-+ )
-
-- if (${OUT} MATCHES "cmake_WX_SDL" AND SDL2_API)
-- message(FATAL_ERROR "WxWidget is linked to SDL (wxUSE_LIBSDL) and it is likely SDL1.2.
-- Unfortunately you try to build PCSX2 with SDL2 support which is not compatible
-- Please use -DSDL2_API=FALSE")
-+ if (SDL2_API AND sdl2_count STREQUAL "0")
-+ message(FATAL_ERROR "wxWidgets is linked to SDL1.2. Please use -DSDL2_API=FALSE.")
-+ elseif (NOT SDL2_API AND NOT sdl2_count STREQUAL "0")
-+ message(FATAL_ERROR "wxWidgets is linked to SDL2. Please use -DSDL2_API=TRUE")
- endif()
- endfunction()
-
diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template
index 7429d012a19..afafd70dee3 100644
--- a/srcpkgs/pcsx2/template
+++ b/srcpkgs/pcsx2/template
@@ -4,19 +4,20 @@ lib32mode="full"
nopie=yes
pkgname=pcsx2
-version=1.4.0
-revision=7
+version=1.6.0
+revision=8
build_style=cmake
configure_args="-DGLSL_API=1 -DSDL2_API=0 -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 -DXDG_STD=1
-DPLUGIN_DIR=/usr/lib32/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2 -DDISABLE_ADVANCE_SIMD=1
- -DSDL2_API=TRUE"
+ -DSDL2_API=TRUE -DCMAKE_BUILD_TYPE=Release"
hostmakedepends="pkg-config sparsehash perl"
makedepends="alsa-lib-devel SDL2-devel glu-devel glew-devel libaio-devel
- libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel"
+ libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel
+ libpcap-devel glib-devel"
depends="desktop-file-utils"
-short_desc="A Sony PlayStation 2 emulator"
-maintainer="Orphaned <orphan@voidlinux.org>"
+short_desc="Sony PlayStation 2 emulator"
+maintainer="Selfsigned <selfsigned@protonmail.ch>"
license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"
homepage="http://www.pcsx2.net"
distfiles="https://github.com/PCSX2/pcsx2/archive/v${version}.tar.gz"
-checksum=2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005
+checksum=c09914020e494640f187f46d017f9d142ce2004af763b9a6c5c3a9ea09e5281c
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
@ 2020-05-08 15:13 ` abenson
2020-05-08 15:23 ` selfsigned
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2020-05-08 15:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/21749#issuecomment-625864161
Comment:
It itself is GPL-3.0-or-later, but it includes 3rd party stuff that has various licenses
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
2020-05-08 15:13 ` abenson
@ 2020-05-08 15:23 ` selfsigned
2020-05-08 15:23 ` selfsigned
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: selfsigned @ 2020-05-08 15:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by selfsigned on void-packages repository
https://github.com/void-linux/void-packages/pull/21749#issuecomment-625868388
Comment:
Seems like this qualifies as a 'huge package', the job length is too long for travis.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
2020-05-08 15:13 ` abenson
2020-05-08 15:23 ` selfsigned
@ 2020-05-08 15:23 ` selfsigned
2020-05-08 15:24 ` [PR PATCH] [Updated] " selfsigned
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: selfsigned @ 2020-05-08 15:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New comment by selfsigned on void-packages repository
https://github.com/void-linux/void-packages/pull/21749#issuecomment-625868388
Comment:
Seems like this qualifies as a 'huge package', the job log length is too long for travis.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
` (2 preceding siblings ...)
2020-05-08 15:23 ` selfsigned
@ 2020-05-08 15:24 ` selfsigned
2020-05-08 15:59 ` selfsigned
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: selfsigned @ 2020-05-08 15:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
There is an updated pull request by selfsigned against master on the void-packages repository
https://github.com/selfsigned/void-packages pcsx2
https://github.com/void-linux/void-packages/pull/21749
pcsx2: update to 1.6.0
[ci skip]
Update pcsx2 to the latest stable version, the patches are now unneeded.
As a side-note, in the template, the license is said to be ` license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"`
Shouldn't it be [GPL-2](https://github.com/PCSX2/pcsx2/blob/master/COPYING.GPLv2)?
A patch file from https://github.com/void-linux/void-packages/pull/21749.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pcsx2-21749.patch --]
[-- Type: text/x-diff, Size: 6215 bytes --]
From 4a318984a3dbf0a0ff67ecb03f8aef560f118b0e Mon Sep 17 00:00:00 2001
From: selfsigned <selfsigned@protonmail.ch>
Date: Fri, 8 May 2020 16:21:43 +0200
Subject: [PATCH 1/2] pcsx2: update to 1.6.0
---
srcpkgs/pcsx2/patches/gcc6.patch | 11 ---
.../pcsx2/patches/wxwidgets-sdl-check.patch | 74 -------------------
srcpkgs/pcsx2/template | 15 ++--
3 files changed, 8 insertions(+), 92 deletions(-)
delete mode 100644 srcpkgs/pcsx2/patches/gcc6.patch
delete mode 100644 srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
diff --git a/srcpkgs/pcsx2/patches/gcc6.patch b/srcpkgs/pcsx2/patches/gcc6.patch
deleted file mode 100644
index 5c76571328e..00000000000
--- a/srcpkgs/pcsx2/patches/gcc6.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
---- common/src/x86emitter/cpudetect.cpp
-+++ common/src/x86emitter/cpudetect.cpp
-@@ -16,6 +16,7 @@
- #include "PrecompiledHeader.h"
- #include "cpudetect_internal.h"
- #include "internal.h"
-+#include "fxsrintrin.h"
-
- using namespace x86Emitter;
-
diff --git a/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch b/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
deleted file mode 100644
index 679a437247a..00000000000
--- a/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 41c49faa81d4970e903e7d85616774c979e103a5 Mon Sep 17 00:00:00 2001
-From: Jonathan Li <jonathan.li@hotmail.co.uk>
-Date: Sun, 4 Feb 2018 14:04:17 +0000
-Subject: [PATCH] cmake: Improve wxWidgets and SDL linkage check
-
-If wxWidgets is linked to SDL, check what version it's actually linked
-against instead of assuming it's linked to SDL1.2 (which isn't true on
-Fedora 27).
----
- cmake/ApiValidation.cmake | 41 ++++++++++++++++++++++++++-------------
- 1 file changed, 28 insertions(+), 13 deletions(-)
-
-diff --git a/cmake/ApiValidation.cmake b/cmake/ApiValidation.cmake
-index e7a4f99a7..f93bc67fc 100644
---- cmake/ApiValidation.cmake
-+++ cmake/ApiValidation.cmake
-@@ -1,9 +1,14 @@
- set(wx_sdl_c_code "
- #include <wx/setup.h>
-
--#if (wxUSE_LIBSDL != 0)
-+#if (wxUSE_LIBSDL == 0)
- #error cmake_WX_SDL
- #endif
-+
-+int main()
-+{
-+ return 0;
-+}
- ")
-
- set(gcc7_mmx_code "
-@@ -83,19 +88,29 @@ function(WX_vs_SDL)
- file(WRITE "${CMAKE_BINARY_DIR}/wx_sdl.c" "${wx_sdl_c_code}")
- enable_language(C)
-
-- try_run(
-- run_result_unused
-- compile_result_unused
-- "${CMAKE_BINARY_DIR}"
-- "${CMAKE_BINARY_DIR}/wx_sdl.c"
-- COMPILE_OUTPUT_VARIABLE OUT
-- CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
-- )
-+ try_compile(
-+ wx_linked_to_sdl
-+ "${CMAKE_BINARY_DIR}"
-+ "${CMAKE_BINARY_DIR}/wx_sdl.c"
-+ CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
-+ LINK_LIBRARIES "${wxWidgets_LIBRARIES}"
-+ COPY_FILE "${CMAKE_BINARY_DIR}/wx_sdl"
-+ )
-+
-+ if (NOT wx_linked_to_sdl)
-+ return()
-+ endif()
-+
-+ execute_process(
-+ COMMAND ldd "${CMAKE_BINARY_DIR}/wx_sdl"
-+ COMMAND grep -c SDL2
-+ OUTPUT_VARIABLE sdl2_count
-+ )
-
-- if (${OUT} MATCHES "cmake_WX_SDL" AND SDL2_API)
-- message(FATAL_ERROR "WxWidget is linked to SDL (wxUSE_LIBSDL) and it is likely SDL1.2.
-- Unfortunately you try to build PCSX2 with SDL2 support which is not compatible
-- Please use -DSDL2_API=FALSE")
-+ if (SDL2_API AND sdl2_count STREQUAL "0")
-+ message(FATAL_ERROR "wxWidgets is linked to SDL1.2. Please use -DSDL2_API=FALSE.")
-+ elseif (NOT SDL2_API AND NOT sdl2_count STREQUAL "0")
-+ message(FATAL_ERROR "wxWidgets is linked to SDL2. Please use -DSDL2_API=TRUE")
- endif()
- endfunction()
-
diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template
index 7429d012a19..afafd70dee3 100644
--- a/srcpkgs/pcsx2/template
+++ b/srcpkgs/pcsx2/template
@@ -4,19 +4,20 @@ lib32mode="full"
nopie=yes
pkgname=pcsx2
-version=1.4.0
-revision=7
+version=1.6.0
+revision=8
build_style=cmake
configure_args="-DGLSL_API=1 -DSDL2_API=0 -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 -DXDG_STD=1
-DPLUGIN_DIR=/usr/lib32/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2 -DDISABLE_ADVANCE_SIMD=1
- -DSDL2_API=TRUE"
+ -DSDL2_API=TRUE -DCMAKE_BUILD_TYPE=Release"
hostmakedepends="pkg-config sparsehash perl"
makedepends="alsa-lib-devel SDL2-devel glu-devel glew-devel libaio-devel
- libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel"
+ libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel
+ libpcap-devel glib-devel"
depends="desktop-file-utils"
-short_desc="A Sony PlayStation 2 emulator"
-maintainer="Orphaned <orphan@voidlinux.org>"
+short_desc="Sony PlayStation 2 emulator"
+maintainer="Selfsigned <selfsigned@protonmail.ch>"
license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"
homepage="http://www.pcsx2.net"
distfiles="https://github.com/PCSX2/pcsx2/archive/v${version}.tar.gz"
-checksum=2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005
+checksum=c09914020e494640f187f46d017f9d142ce2004af763b9a6c5c3a9ea09e5281c
From 7cd149a989dc99cf5f9cbc351228ec99d6be723d Mon Sep 17 00:00:00 2001
From: selfsigned <selfsigned@protonmail.ch>
Date: Fri, 8 May 2020 17:24:28 +0200
Subject: [PATCH 2/2] pcsx2: fix the revision [ci skip]
---
srcpkgs/pcsx2/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template
index afafd70dee3..7074b27d706 100644
--- a/srcpkgs/pcsx2/template
+++ b/srcpkgs/pcsx2/template
@@ -5,11 +5,11 @@ nopie=yes
pkgname=pcsx2
version=1.6.0
-revision=8
+revision=1
build_style=cmake
configure_args="-DGLSL_API=1 -DSDL2_API=0 -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 -DXDG_STD=1
-DPLUGIN_DIR=/usr/lib32/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2 -DDISABLE_ADVANCE_SIMD=1
- -DSDL2_API=TRUE -DCMAKE_BUILD_TYPE=Release"
+ -DSDL2_API=TRUE"
hostmakedepends="pkg-config sparsehash perl"
makedepends="alsa-lib-devel SDL2-devel glu-devel glew-devel libaio-devel
libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
` (3 preceding siblings ...)
2020-05-08 15:24 ` [PR PATCH] [Updated] " selfsigned
@ 2020-05-08 15:59 ` selfsigned
2020-05-08 18:34 ` abenson
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: selfsigned @ 2020-05-08 15:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
There is an updated pull request by selfsigned against master on the void-packages repository
https://github.com/selfsigned/void-packages pcsx2
https://github.com/void-linux/void-packages/pull/21749
pcsx2: update to 1.6.0
[ci skip]
Update pcsx2 to the latest stable version, the patches are now unneeded.
As a side-note, in the template, the license is said to be ` license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"`
Shouldn't it be [GPL-2](https://github.com/PCSX2/pcsx2/blob/master/COPYING.GPLv2)?
A patch file from https://github.com/void-linux/void-packages/pull/21749.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pcsx2-21749.patch --]
[-- Type: text/x-diff, Size: 5164 bytes --]
From b98a974d166a60f1947fe22bf7ff1628d2273ed6 Mon Sep 17 00:00:00 2001
From: selfsigned <selfsigned@protonmail.ch>
Date: Fri, 8 May 2020 16:21:43 +0200
Subject: [PATCH] pcsx2: update to 1.6.0 [ci skip]
---
srcpkgs/pcsx2/patches/gcc6.patch | 11 ---
.../pcsx2/patches/wxwidgets-sdl-check.patch | 74 -------------------
srcpkgs/pcsx2/template | 13 ++--
3 files changed, 7 insertions(+), 91 deletions(-)
delete mode 100644 srcpkgs/pcsx2/patches/gcc6.patch
delete mode 100644 srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
diff --git a/srcpkgs/pcsx2/patches/gcc6.patch b/srcpkgs/pcsx2/patches/gcc6.patch
deleted file mode 100644
index 5c76571328e..00000000000
--- a/srcpkgs/pcsx2/patches/gcc6.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp
---- common/src/x86emitter/cpudetect.cpp
-+++ common/src/x86emitter/cpudetect.cpp
-@@ -16,6 +16,7 @@
- #include "PrecompiledHeader.h"
- #include "cpudetect_internal.h"
- #include "internal.h"
-+#include "fxsrintrin.h"
-
- using namespace x86Emitter;
-
diff --git a/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch b/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
deleted file mode 100644
index 679a437247a..00000000000
--- a/srcpkgs/pcsx2/patches/wxwidgets-sdl-check.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 41c49faa81d4970e903e7d85616774c979e103a5 Mon Sep 17 00:00:00 2001
-From: Jonathan Li <jonathan.li@hotmail.co.uk>
-Date: Sun, 4 Feb 2018 14:04:17 +0000
-Subject: [PATCH] cmake: Improve wxWidgets and SDL linkage check
-
-If wxWidgets is linked to SDL, check what version it's actually linked
-against instead of assuming it's linked to SDL1.2 (which isn't true on
-Fedora 27).
----
- cmake/ApiValidation.cmake | 41 ++++++++++++++++++++++++++-------------
- 1 file changed, 28 insertions(+), 13 deletions(-)
-
-diff --git a/cmake/ApiValidation.cmake b/cmake/ApiValidation.cmake
-index e7a4f99a7..f93bc67fc 100644
---- cmake/ApiValidation.cmake
-+++ cmake/ApiValidation.cmake
-@@ -1,9 +1,14 @@
- set(wx_sdl_c_code "
- #include <wx/setup.h>
-
--#if (wxUSE_LIBSDL != 0)
-+#if (wxUSE_LIBSDL == 0)
- #error cmake_WX_SDL
- #endif
-+
-+int main()
-+{
-+ return 0;
-+}
- ")
-
- set(gcc7_mmx_code "
-@@ -83,19 +88,29 @@ function(WX_vs_SDL)
- file(WRITE "${CMAKE_BINARY_DIR}/wx_sdl.c" "${wx_sdl_c_code}")
- enable_language(C)
-
-- try_run(
-- run_result_unused
-- compile_result_unused
-- "${CMAKE_BINARY_DIR}"
-- "${CMAKE_BINARY_DIR}/wx_sdl.c"
-- COMPILE_OUTPUT_VARIABLE OUT
-- CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
-- )
-+ try_compile(
-+ wx_linked_to_sdl
-+ "${CMAKE_BINARY_DIR}"
-+ "${CMAKE_BINARY_DIR}/wx_sdl.c"
-+ CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${wxWidgets_INCLUDE_DIRS}"
-+ LINK_LIBRARIES "${wxWidgets_LIBRARIES}"
-+ COPY_FILE "${CMAKE_BINARY_DIR}/wx_sdl"
-+ )
-+
-+ if (NOT wx_linked_to_sdl)
-+ return()
-+ endif()
-+
-+ execute_process(
-+ COMMAND ldd "${CMAKE_BINARY_DIR}/wx_sdl"
-+ COMMAND grep -c SDL2
-+ OUTPUT_VARIABLE sdl2_count
-+ )
-
-- if (${OUT} MATCHES "cmake_WX_SDL" AND SDL2_API)
-- message(FATAL_ERROR "WxWidget is linked to SDL (wxUSE_LIBSDL) and it is likely SDL1.2.
-- Unfortunately you try to build PCSX2 with SDL2 support which is not compatible
-- Please use -DSDL2_API=FALSE")
-+ if (SDL2_API AND sdl2_count STREQUAL "0")
-+ message(FATAL_ERROR "wxWidgets is linked to SDL1.2. Please use -DSDL2_API=FALSE.")
-+ elseif (NOT SDL2_API AND NOT sdl2_count STREQUAL "0")
-+ message(FATAL_ERROR "wxWidgets is linked to SDL2. Please use -DSDL2_API=TRUE")
- endif()
- endfunction()
-
diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template
index 7429d012a19..7074b27d706 100644
--- a/srcpkgs/pcsx2/template
+++ b/srcpkgs/pcsx2/template
@@ -4,19 +4,20 @@ lib32mode="full"
nopie=yes
pkgname=pcsx2
-version=1.4.0
-revision=7
+version=1.6.0
+revision=1
build_style=cmake
configure_args="-DGLSL_API=1 -DSDL2_API=0 -DPACKAGE_MODE=1 -DREBUILD_SHADER=1 -DXDG_STD=1
-DPLUGIN_DIR=/usr/lib32/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2 -DDISABLE_ADVANCE_SIMD=1
-DSDL2_API=TRUE"
hostmakedepends="pkg-config sparsehash perl"
makedepends="alsa-lib-devel SDL2-devel glu-devel glew-devel libaio-devel
- libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel"
+ libcanberra-devel libjpeg-turbo-devel wxWidgets-devel portaudio-devel soundtouch-devel
+ libpcap-devel glib-devel"
depends="desktop-file-utils"
-short_desc="A Sony PlayStation 2 emulator"
-maintainer="Orphaned <orphan@voidlinux.org>"
+short_desc="Sony PlayStation 2 emulator"
+maintainer="Selfsigned <selfsigned@protonmail.ch>"
license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"
homepage="http://www.pcsx2.net"
distfiles="https://github.com/PCSX2/pcsx2/archive/v${version}.tar.gz"
-checksum=2c8a986e2b6514d7018f6cfd39c4f2a72229b9b4ab06ca6b1d3466dfd9c33005
+checksum=c09914020e494640f187f46d017f9d142ce2004af763b9a6c5c3a9ea09e5281c
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
` (4 preceding siblings ...)
2020-05-08 15:59 ` selfsigned
@ 2020-05-08 18:34 ` abenson
2020-05-08 19:08 ` abenson
2020-05-08 19:08 ` [PR PATCH] [Merged]: " abenson
7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2020-05-08 18:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/21749#issuecomment-625956279
Comment:
(PCSX2:25266): Gtk-WARNING **: 13:33:13.451: Error loading theme icon 'document-save' for stock: Unable to load image-loading module: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
Looks like it's trying to load things from the wrong path.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
` (5 preceding siblings ...)
2020-05-08 18:34 ` abenson
@ 2020-05-08 19:08 ` abenson
2020-05-08 19:08 ` [PR PATCH] [Merged]: " abenson
7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2020-05-08 19:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/21749#issuecomment-625971122
Comment:
Ah, doesn't seem to be an issue with PCSX2.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Merged]: pcsx2: update to 1.6.0
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
` (6 preceding siblings ...)
2020-05-08 19:08 ` abenson
@ 2020-05-08 19:08 ` abenson
7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2020-05-08 19:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
There's a merged pull request on the void-packages repository
pcsx2: update to 1.6.0
https://github.com/void-linux/void-packages/pull/21749
Description:
[ci skip]
Update pcsx2 to the latest stable version, the patches are now unneeded.
As a side-note, in the template, the license is said to be ` license="GPL-2, GPL-3, LGPL-2.1, LGPL-3"`
Shouldn't it be [GPL-2](https://github.com/PCSX2/pcsx2/blob/master/COPYING.GPLv2)?
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-05-08 19:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 14:49 [PR PATCH] pcsx2: update to 1.6.0 selfsigned
2020-05-08 15:13 ` abenson
2020-05-08 15:23 ` selfsigned
2020-05-08 15:23 ` selfsigned
2020-05-08 15:24 ` [PR PATCH] [Updated] " selfsigned
2020-05-08 15:59 ` selfsigned
2020-05-08 18:34 ` abenson
2020-05-08 19:08 ` abenson
2020-05-08 19:08 ` [PR PATCH] [Merged]: " abenson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).