Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC
@ 2022-10-19 17:51 classabbyamp
  2022-10-19 17:54 ` [PR PATCH] [Updated] " classabbyamp
                   ` (33 more replies)
  0 siblings, 34 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 17:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, renamed from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 3421 bytes --]

From fdf88b7810809dde332d29c71202dc40dade6713 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, renamed from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/update                         |  2 --
 .../files/README.voidlinux                    |  0
 srcpkgs/{PolyMC => PrismLauncher}/template    | 21 ++++++++++++-------
 srcpkgs/PrismLauncher/update                  |  2 ++
 5 files changed, 16 insertions(+), 10 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 rename srcpkgs/{PolyMC => PrismLauncher}/template (60%)
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PrismLauncher/template
similarity index 60%
rename from srcpkgs/PolyMC/template
rename to srcpkgs/PrismLauncher/template
index 350b51fd49d3..266a9847ea96 100644
--- a/srcpkgs/PolyMC/template
+++ b/srcpkgs/PrismLauncher/template
@@ -1,10 +1,9 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
 build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
+configure_args="-DLauncher_BUILD_PLATFORM=Void -DLauncher_VERSION_BUILD=${revision}"
 hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
  qt5-qmake scdoc"
 makedepends="qt5-devel"
@@ -12,8 +11,8 @@ depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
 short_desc="Custom launcher for Minecraft"
 maintainer="Philipp David <pd@3b.pm>"
 license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
 checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
 
 if [ -z "$XBPS_CHECK_PKGS" ]; then
@@ -33,3 +32,9 @@ post_patch() {
 post_install() {
 	vdoc ${FILESDIR}/README.voidlinux
 }
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, renamed from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
@ 2022-10-19 17:54 ` classabbyamp
  2022-10-19 17:57 ` PrismLauncher: update to 5.0, rename " classabbyamp
                   ` (32 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 17:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, renamed from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 3535 bytes --]

From 50c60a38bb75c97e1db4881f1d9fde4611a84a34 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, renamed from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/update                         |  2 --
 .../files/README.voidlinux                    |  0
 srcpkgs/{PolyMC => PrismLauncher}/template    | 23 +++++++++++--------
 srcpkgs/PrismLauncher/update                  |  2 ++
 5 files changed, 17 insertions(+), 11 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 rename srcpkgs/{PolyMC => PrismLauncher}/template (54%)
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PrismLauncher/template
similarity index 54%
rename from srcpkgs/PolyMC/template
rename to srcpkgs/PrismLauncher/template
index 350b51fd49d3..b7680d9109c5 100644
--- a/srcpkgs/PolyMC/template
+++ b/srcpkgs/PrismLauncher/template
@@ -1,10 +1,9 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
 build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
+configure_args="-DLauncher_BUILD_PLATFORM=Void -DLauncher_VERSION_BUILD=${revision}"
 hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
  qt5-qmake scdoc"
 makedepends="qt5-devel"
@@ -12,9 +11,9 @@ depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
 short_desc="Custom launcher for Minecraft"
 maintainer="Philipp David <pd@3b.pm>"
 license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
 
 if [ -z "$XBPS_CHECK_PKGS" ]; then
 	configure_args+=" -DBUILD_TESTING=0"
@@ -33,3 +32,9 @@ post_patch() {
 post_install() {
 	vdoc ${FILESDIR}/README.voidlinux
 }
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
  2022-10-19 17:54 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-10-19 17:57 ` classabbyamp
  2022-10-19 18:15 ` [PR PATCH] [Updated] " classabbyamp
                   ` (31 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 17:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284379512

Comment:
cc: maintainer @oynqr for awareness

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
  2022-10-19 17:54 ` [PR PATCH] [Updated] " classabbyamp
  2022-10-19 17:57 ` PrismLauncher: update to 5.0, rename " classabbyamp
@ 2022-10-19 18:15 ` classabbyamp
  2022-10-19 18:17 ` [PR REVIEW] " classabbyamp
                   ` (30 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 18:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, rename from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 4542 bytes --]

From 89c6f2a69e6a541373ab5d79727fc7b9153ed372 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, rename from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/template                       | 35 ----------------
 srcpkgs/PolyMC/update                         |  2 -
 .../files/README.voidlinux                    |  0
 srcpkgs/PrismLauncher/template                | 42 +++++++++++++++++++
 srcpkgs/PrismLauncher/update                  |  2 +
 6 files changed, 45 insertions(+), 37 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/template
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 create mode 100644 srcpkgs/PrismLauncher/template
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template
deleted file mode 100644
index 350b51fd49d3..000000000000
--- a/srcpkgs/PolyMC/template
+++ /dev/null
@@ -1,35 +0,0 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
-build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
-hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
- qt5-qmake scdoc"
-makedepends="qt5-devel"
-depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
-short_desc="Custom launcher for Minecraft"
-maintainer="Philipp David <pd@3b.pm>"
-license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
-
-if [ -z "$XBPS_CHECK_PKGS" ]; then
-	configure_args+=" -DBUILD_TESTING=0"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
-esac
-
-post_patch() {
-	vsed -i buildconfig/BuildConfig.cpp.in \
-		-e 's/+build\./_/'
-	rm -rf .git
-}
-
-post_install() {
-	vdoc ${FILESDIR}/README.voidlinux
-}
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template
new file mode 100644
index 000000000000..6730398cff21
--- /dev/null
+++ b/srcpkgs/PrismLauncher/template
@@ -0,0 +1,42 @@
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
+build_style=cmake
+configure_args="-DLauncher_BUILD_PLATFORM=Void"
+hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
+ qt5-qmake scdoc"
+makedepends="qt5-devel"
+depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
+short_desc="Custom launcher for Minecraft"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-only"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
+
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=0"
+fi
+
+post_extract() {
+	rm -rf .git
+}
+
+pre_configure() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+}
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (2 preceding siblings ...)
  2022-10-19 18:15 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-10-19 18:17 ` classabbyamp
  2022-10-19 18:31 ` classabbyamp
                   ` (29 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 18:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r999797558

Comment:
@oynqr why does this depend on xrandr?

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (3 preceding siblings ...)
  2022-10-19 18:17 ` [PR REVIEW] " classabbyamp
@ 2022-10-19 18:31 ` classabbyamp
  2022-10-19 18:35 ` classabbyamp
                   ` (28 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 18:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284415432

Comment:
> can we/should we use qt6?

it works, but I'm not a fan because my qt theme (breeze) doesn't seem to support qt6 🤷‍♀️

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (4 preceding siblings ...)
  2022-10-19 18:31 ` classabbyamp
@ 2022-10-19 18:35 ` classabbyamp
  2022-10-19 18:35 ` classabbyamp
                   ` (27 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284419696

Comment:
> armv* should not be broken anymore according to the changelog

getting linker errors on those platforms, a bunch of variations of `/usr/lib/gcc/arm-linux-musleabihf/10.2.1/../../../../arm-linux-musleabihf/bin/ld: launcher/libLauncher_logic.a(World.cpp.o):(.data.rel.ro+0x3c): multiple definition of `typeinfo for nbt::tag_primitive<double>'; launcher/libLauncher_logic.a(ServersPage.cpp.o):(.data.rel.ro+0x3c): first defined here`

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (5 preceding siblings ...)
  2022-10-19 18:35 ` classabbyamp
@ 2022-10-19 18:35 ` classabbyamp
  2022-10-19 19:02 ` classabbyamp
                   ` (26 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284419696

Comment:
> armv* should not be broken anymore according to the changelog

getting linker errors on those platforms, a bunch of variations of
```
/usr/lib/gcc/arm-linux-musleabihf/10.2.1/../../../../arm-linux-musleabihf/bin/ld: launcher/libLauncher_logic.a(World.cpp.o):(.data.rel.ro+0x3c): multiple definition of `typeinfo for nbt::tag_primitive<double>'; launcher/libLauncher_logic.a(ServersPage.cpp.o):(.data.rel.ro+0x3c): first defined here
```

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (6 preceding siblings ...)
  2022-10-19 18:35 ` classabbyamp
@ 2022-10-19 19:02 ` classabbyamp
  2022-10-19 19:24 ` [PR PATCH] [Updated] " classabbyamp
                   ` (25 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 19:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284419696

Comment:
> armv* should not be broken anymore according to the changelog

getting linker errors on those platforms, a bunch of variations of
```
/usr/lib/gcc/arm-linux-musleabihf/10.2.1/../../../../arm-linux-musleabihf/bin/ld: launcher/libLauncher_logic.a(World.cpp.o):(.data.rel.ro+0x3c): multiple definition of `typeinfo for nbt::tag_primitive<double>'; launcher/libLauncher_logic.a(ServersPage.cpp.o):(.data.rel.ro+0x3c): first defined here
```
(this is the reason it was marked broken before)

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (7 preceding siblings ...)
  2022-10-19 19:02 ` classabbyamp
@ 2022-10-19 19:24 ` classabbyamp
  2022-10-19 19:24 ` classabbyamp
                   ` (24 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 19:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, rename from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 4659 bytes --]

From 1d76e9cd67382a9fb6126f575d6ec8a7af196b7a Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, rename from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/template                       | 35 --------------
 srcpkgs/PolyMC/update                         |  2 -
 .../files/README.voidlinux                    |  0
 srcpkgs/PrismLauncher/template                | 46 +++++++++++++++++++
 srcpkgs/PrismLauncher/update                  |  2 +
 6 files changed, 49 insertions(+), 37 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/template
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 create mode 100644 srcpkgs/PrismLauncher/template
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template
deleted file mode 100644
index 350b51fd49d3..000000000000
--- a/srcpkgs/PolyMC/template
+++ /dev/null
@@ -1,35 +0,0 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
-build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
-hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
- qt5-qmake scdoc"
-makedepends="qt5-devel"
-depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
-short_desc="Custom launcher for Minecraft"
-maintainer="Philipp David <pd@3b.pm>"
-license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
-
-if [ -z "$XBPS_CHECK_PKGS" ]; then
-	configure_args+=" -DBUILD_TESTING=0"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
-esac
-
-post_patch() {
-	vsed -i buildconfig/BuildConfig.cpp.in \
-		-e 's/+build\./_/'
-	rm -rf .git
-}
-
-post_install() {
-	vdoc ${FILESDIR}/README.voidlinux
-}
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template
new file mode 100644
index 000000000000..7c197bc74937
--- /dev/null
+++ b/srcpkgs/PrismLauncher/template
@@ -0,0 +1,46 @@
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
+build_style=cmake
+configure_args="-DLauncher_BUILD_PLATFORM=Void"
+hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
+ qt5-qmake scdoc"
+makedepends="qt5-devel"
+depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
+short_desc="Custom launcher for Minecraft"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-only"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
+
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=0"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
+esac
+
+post_extract() {
+	rm -rf .git
+}
+
+pre_configure() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+}
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (8 preceding siblings ...)
  2022-10-19 19:24 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-10-19 19:24 ` classabbyamp
  2022-10-19 19:40 ` classabbyamp
                   ` (23 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 19:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284419696

Comment:
> armv* should not be broken anymore according to the changelog

getting linker errors on those platforms, a bunch of variations of
```
/usr/lib/gcc/arm-linux-musleabihf/10.2.1/../../../../arm-linux-musleabihf/bin/ld: launcher/libLauncher_logic.a(World.cpp.o):(.data.rel.ro+0x3c): multiple definition of `typeinfo for nbt::tag_primitive<double>'; launcher/libLauncher_logic.a(ServersPage.cpp.o):(.data.rel.ro+0x3c): first defined here
```
(this is the reason it was marked broken before, issue made upstream: https://github.com/PrismLauncher/PrismLauncher/issues/128)

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (9 preceding siblings ...)
  2022-10-19 19:24 ` classabbyamp
@ 2022-10-19 19:40 ` classabbyamp
  2022-10-19 19:47 ` [PR REVIEW] " classabbyamp
                   ` (22 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 19:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284487503

Comment:
```
Trying to install dependants of PrismLauncher:
openjdk11-jre-11.0.12+7_3: broken, unresolvable shlib `libthread_db.so.1'
Transaction aborted due to unresolved shlibs.
Failed to install 'PrismLauncher' and 'PolyMC-5.0_1'
```
I think i've run into this before, it's a false error probably, because `libthread_db.so.1` is from glibc

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (10 preceding siblings ...)
  2022-10-19 19:40 ` classabbyamp
@ 2022-10-19 19:47 ` classabbyamp
  2022-10-19 19:48 ` [PR PATCH] [Updated] " classabbyamp
                   ` (21 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 19:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r999872965

Comment:
ok the only reference I can find to it no longer exists in the repo: https://github.com/PrismLauncher/PrismLauncher/commit/663a1a5a8383dd60ef3cf2c54ba8e8edca12c552

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (11 preceding siblings ...)
  2022-10-19 19:47 ` [PR REVIEW] " classabbyamp
@ 2022-10-19 19:48 ` classabbyamp
  2022-10-19 21:30 ` OoLunar
                   ` (20 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-19 19:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, rename from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 4652 bytes --]

From 62f53be63d5f708138df0b804d9019fe5b19ba71 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, rename from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/template                       | 35 --------------
 srcpkgs/PolyMC/update                         |  2 -
 .../files/README.voidlinux                    |  0
 srcpkgs/PrismLauncher/template                | 46 +++++++++++++++++++
 srcpkgs/PrismLauncher/update                  |  2 +
 6 files changed, 49 insertions(+), 37 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/template
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 create mode 100644 srcpkgs/PrismLauncher/template
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template
deleted file mode 100644
index 350b51fd49d3..000000000000
--- a/srcpkgs/PolyMC/template
+++ /dev/null
@@ -1,35 +0,0 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
-build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
-hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
- qt5-qmake scdoc"
-makedepends="qt5-devel"
-depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
-short_desc="Custom launcher for Minecraft"
-maintainer="Philipp David <pd@3b.pm>"
-license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
-
-if [ -z "$XBPS_CHECK_PKGS" ]; then
-	configure_args+=" -DBUILD_TESTING=0"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
-esac
-
-post_patch() {
-	vsed -i buildconfig/BuildConfig.cpp.in \
-		-e 's/+build\./_/'
-	rm -rf .git
-}
-
-post_install() {
-	vdoc ${FILESDIR}/README.voidlinux
-}
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template
new file mode 100644
index 000000000000..6453f0893a41
--- /dev/null
+++ b/srcpkgs/PrismLauncher/template
@@ -0,0 +1,46 @@
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
+build_style=cmake
+configure_args="-DLauncher_BUILD_PLATFORM=Void"
+hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
+ qt5-qmake scdoc"
+makedepends="qt5-devel"
+depends="virtual?java-runtime qt5-svg qt5-imageformats"
+short_desc="Custom launcher for Minecraft"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-only"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
+
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=0"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
+esac
+
+post_extract() {
+	rm -rf .git
+}
+
+pre_configure() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+}
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (12 preceding siblings ...)
  2022-10-19 19:48 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-10-19 21:30 ` OoLunar
  2022-10-19 21:30 ` OoLunar
                   ` (19 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: OoLunar @ 2022-10-19 21:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

New comment by OoLunar on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284594379

Comment:
Building this package from `xbps-src` is a bit slower than the others, which makes me think it's only using 1 core to compile it. I'm not familiar with xbps-src at all though, so I'm likely wrong.

I've tested the compilation and ran Prism, everything works as expected.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (13 preceding siblings ...)
  2022-10-19 21:30 ` OoLunar
@ 2022-10-19 21:30 ` OoLunar
  2022-10-19 21:34 ` paper42
                   ` (18 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: OoLunar @ 2022-10-19 21:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

New comment by OoLunar on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284594379

Comment:
Building this package from `xbps-src` is a bit slower than the others, which makes me think it's only using 1 core to compile it. I'm not familiar with xbps-src at all though, so I'm likely wrong.

I've tested the compilation on x86_64 and ran Prism, everything works as expected.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (14 preceding siblings ...)
  2022-10-19 21:30 ` OoLunar
@ 2022-10-19 21:34 ` paper42
  2022-10-20  5:04 ` [PR PATCH] [Updated] " classabbyamp
                   ` (17 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: paper42 @ 2022-10-19 21:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1284597909

Comment:
> Building this package from `xbps-src` is a bit slower than the others, which makes me think it's only using 1 core to compile it. I'm not familiar with xbps-src at all though, so I'm likely wrong.
> 
> I've tested the compilation on x86_64 and ran Prism, everything works as expected.

You can use -j<num> or add XBPS_MAKEJOBS=<num> to etc/conf, the README should document this.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (15 preceding siblings ...)
  2022-10-19 21:34 ` paper42
@ 2022-10-20  5:04 ` classabbyamp
  2022-10-20  5:05 ` classabbyamp
                   ` (16 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-20  5:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, rename from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 4849 bytes --]

From a37bf18fcb2f9733d14a3b9e21fac23a88ff9816 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, rename from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/template                       | 35 -------------
 srcpkgs/PolyMC/update                         |  2 -
 .../files/README.voidlinux                    |  0
 srcpkgs/PrismLauncher/template                | 49 +++++++++++++++++++
 srcpkgs/PrismLauncher/update                  |  2 +
 6 files changed, 52 insertions(+), 37 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/template
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 create mode 100644 srcpkgs/PrismLauncher/template
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template
deleted file mode 100644
index 350b51fd49d3..000000000000
--- a/srcpkgs/PolyMC/template
+++ /dev/null
@@ -1,35 +0,0 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
-build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
-hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
- qt5-qmake scdoc"
-makedepends="qt5-devel"
-depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
-short_desc="Custom launcher for Minecraft"
-maintainer="Philipp David <pd@3b.pm>"
-license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
-
-if [ -z "$XBPS_CHECK_PKGS" ]; then
-	configure_args+=" -DBUILD_TESTING=0"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
-esac
-
-post_patch() {
-	vsed -i buildconfig/BuildConfig.cpp.in \
-		-e 's/+build\./_/'
-	rm -rf .git
-}
-
-post_install() {
-	vdoc ${FILESDIR}/README.voidlinux
-}
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template
new file mode 100644
index 000000000000..1e1f762f4084
--- /dev/null
+++ b/srcpkgs/PrismLauncher/template
@@ -0,0 +1,49 @@
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
+build_style=cmake
+configure_args="-DLauncher_BUILD_PLATFORM=Void"
+hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
+ qt5-qmake scdoc"
+makedepends="qt5-devel"
+depends="virtual?java-runtime qt5-svg qt5-imageformats"
+short_desc="Custom launcher for Minecraft"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-only"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
+
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=0"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	# XXX: this could be fixed by switching to clang, but it seems to produce
+	# non-PIE executables despite -fPIE being in the C(XX)FLAGS
+	# There's also some effort in getting it working on cross
+	armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
+esac
+
+post_extract() {
+	rm -rf .git
+}
+
+pre_configure() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+}
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (16 preceding siblings ...)
  2022-10-20  5:04 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-10-20  5:05 ` classabbyamp
  2022-10-20  5:34 ` [PR REVIEW] " oynqr
                   ` (15 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-20  5:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, rename from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 4852 bytes --]

From 847d523a22794d22a7d7fe5a26efdd01ca247c35 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, rename from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/template                       | 35 -------------
 srcpkgs/PolyMC/update                         |  2 -
 .../files/README.voidlinux                    |  0
 srcpkgs/PrismLauncher/template                | 49 +++++++++++++++++++
 srcpkgs/PrismLauncher/update                  |  2 +
 6 files changed, 52 insertions(+), 37 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/template
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (100%)
 create mode 100644 srcpkgs/PrismLauncher/template
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template
deleted file mode 100644
index 350b51fd49d3..000000000000
--- a/srcpkgs/PolyMC/template
+++ /dev/null
@@ -1,35 +0,0 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
-build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
-hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
- qt5-qmake scdoc"
-makedepends="qt5-devel"
-depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
-short_desc="Custom launcher for Minecraft"
-maintainer="Philipp David <pd@3b.pm>"
-license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
-
-if [ -z "$XBPS_CHECK_PKGS" ]; then
-	configure_args+=" -DBUILD_TESTING=0"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
-esac
-
-post_patch() {
-	vsed -i buildconfig/BuildConfig.cpp.in \
-		-e 's/+build\./_/'
-	rm -rf .git
-}
-
-post_install() {
-	vdoc ${FILESDIR}/README.voidlinux
-}
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 100%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template
new file mode 100644
index 000000000000..d5dfecff0a43
--- /dev/null
+++ b/srcpkgs/PrismLauncher/template
@@ -0,0 +1,49 @@
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
+build_style=cmake
+configure_args="-DLauncher_BUILD_PLATFORM=Void"
+hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
+ qt5-qmake scdoc"
+makedepends="qt5-devel"
+depends="virtual?java-runtime qt5-svg qt5-imageformats"
+short_desc="Custom launcher for Minecraft"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-only"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
+
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=0"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	# XXX: this could be fixed by switching to clang, but it seems to produce
+	# non-PIE executables despite -fPIE being in the C(XX)FLAGS
+	# There's also some effort needed to get it working on cross
+	armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
+esac
+
+post_extract() {
+	rm -rf .git
+}
+
+pre_configure() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+}
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (17 preceding siblings ...)
  2022-10-20  5:05 ` classabbyamp
@ 2022-10-20  5:34 ` oynqr
  2022-10-20  5:39 ` classabbyamp
                   ` (14 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: oynqr @ 2022-10-20  5:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

New review comment by oynqr on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r1000160203

Comment:
Old Minecraft versions need xrandr to run.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (18 preceding siblings ...)
  2022-10-20  5:34 ` [PR REVIEW] " oynqr
@ 2022-10-20  5:39 ` classabbyamp
  2022-10-20  5:55 ` oynqr
                   ` (13 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-20  5:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r1000162558

Comment:
hm i see. since it's not needed for every version, maybe it could be mentioned in the README.voidlinux instead? I'll defer to you as package maintainer

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (19 preceding siblings ...)
  2022-10-20  5:39 ` classabbyamp
@ 2022-10-20  5:55 ` oynqr
  2022-10-20  6:03 ` [PR PATCH] [Updated] " classabbyamp
                   ` (12 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: oynqr @ 2022-10-20  5:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

New review comment by oynqr on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r1000171139

Comment:
I don't remember how descriptive the error messages for missing xrandr were and don't really have time to check right now, but a message in the README.voidlinux should suffice.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Updated] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (20 preceding siblings ...)
  2022-10-20  5:55 ` oynqr
@ 2022-10-20  6:03 ` classabbyamp
  2022-10-20  8:43 ` [PR REVIEW] " paper42
                   ` (11 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-20  6:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages poly-prism
https://github.com/void-linux/void-packages/pull/40044

PrismLauncher: update to 5.0, rename from PolyMC
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/40044.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-poly-prism-40044.patch --]
[-- Type: text/x-diff, Size: 5359 bytes --]

From bc27581e42d6537c027772802234a78f3dd9b0e1 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 19 Oct 2022 13:50:33 -0400
Subject: [PATCH] PrismLauncher: update to 5.0, rename from PolyMC

---
 srcpkgs/PolyMC                                |  1 +
 srcpkgs/PolyMC/template                       | 35 -------------
 srcpkgs/PolyMC/update                         |  2 -
 .../files/README.voidlinux                    |  3 ++
 srcpkgs/PrismLauncher/template                | 49 +++++++++++++++++++
 srcpkgs/PrismLauncher/update                  |  2 +
 6 files changed, 55 insertions(+), 37 deletions(-)
 create mode 120000 srcpkgs/PolyMC
 delete mode 100644 srcpkgs/PolyMC/template
 delete mode 100644 srcpkgs/PolyMC/update
 rename srcpkgs/{PolyMC => PrismLauncher}/files/README.voidlinux (64%)
 create mode 100644 srcpkgs/PrismLauncher/template
 create mode 100644 srcpkgs/PrismLauncher/update

diff --git a/srcpkgs/PolyMC b/srcpkgs/PolyMC
new file mode 120000
index 000000000000..7527b4a5e65c
--- /dev/null
+++ b/srcpkgs/PolyMC
@@ -0,0 +1 @@
+PrismLauncher
\ No newline at end of file
diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template
deleted file mode 100644
index 350b51fd49d3..000000000000
--- a/srcpkgs/PolyMC/template
+++ /dev/null
@@ -1,35 +0,0 @@
-# Template file for 'PolyMC'
-pkgname=PolyMC
-version=1.4.2
-revision=2
-build_style=cmake
-configure_args="-DLauncher_BUILD_PLATFORM=Void
- -DLauncher_VERSION_BUILD=${revision} -DLauncher_META_URL=https://meta.scrumplex.rocks/v1/"
-hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
- qt5-qmake scdoc"
-makedepends="qt5-devel"
-depends="virtual?java-runtime qt5-svg qt5-imageformats xrandr"
-short_desc="Custom launcher for Minecraft"
-maintainer="Philipp David <pd@3b.pm>"
-license="GPL-3.0-only"
-homepage="https://polymc.org/"
-distfiles="https://github.com/PolyMC/PolyMC/releases/download/${version}/PolyMC-${version}.tar.gz"
-checksum=a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
-
-if [ -z "$XBPS_CHECK_PKGS" ]; then
-	configure_args+=" -DBUILD_TESTING=0"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";;
-esac
-
-post_patch() {
-	vsed -i buildconfig/BuildConfig.cpp.in \
-		-e 's/+build\./_/'
-	rm -rf .git
-}
-
-post_install() {
-	vdoc ${FILESDIR}/README.voidlinux
-}
diff --git a/srcpkgs/PolyMC/update b/srcpkgs/PolyMC/update
deleted file mode 100644
index 7517baa7a2f7..000000000000
--- a/srcpkgs/PolyMC/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site=https://github.com/PolyMC/PolyMC/tags
-pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'
diff --git a/srcpkgs/PolyMC/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux
similarity index 64%
rename from srcpkgs/PolyMC/files/README.voidlinux
rename to srcpkgs/PrismLauncher/files/README.voidlinux
index 16ee7f91717b..40f8f4bce81c 100644
--- a/srcpkgs/PolyMC/files/README.voidlinux
+++ b/srcpkgs/PrismLauncher/files/README.voidlinux
@@ -4,3 +4,6 @@ Void-specific instructions:
 You may not have the correct version of java installed for running specific
 versions of Minecraft. For Minecraft version 1.17 and up install openjdk17-jre
 and for older ones openjdk8-jre.
+
+If you get an error message that includes "org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes",
+you may need to install xrandr.
diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template
new file mode 100644
index 000000000000..d5dfecff0a43
--- /dev/null
+++ b/srcpkgs/PrismLauncher/template
@@ -0,0 +1,49 @@
+# Template file for 'PrismLauncher'
+pkgname=PrismLauncher
+version=5.0
+revision=1
+build_style=cmake
+configure_args="-DLauncher_BUILD_PLATFORM=Void"
+hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools
+ qt5-qmake scdoc"
+makedepends="qt5-devel"
+depends="virtual?java-runtime qt5-svg qt5-imageformats"
+short_desc="Custom launcher for Minecraft"
+maintainer="Philipp David <pd@3b.pm>"
+license="GPL-3.0-only"
+homepage="https://prismlauncher.org/"
+distfiles="https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz"
+checksum=27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495
+
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=0"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	# XXX: this could be fixed by switching to clang, but it seems to produce
+	# non-PIE executables despite -fPIE being in the C(XX)FLAGS
+	# There's also some effort needed to get it working on cross
+	armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
+esac
+
+post_extract() {
+	rm -rf .git
+}
+
+pre_configure() {
+	local _date
+	if [ "$SOURCE_DATE_EPOCH" ]; then
+		_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+		configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+}
+
+PolyMC_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
+}
diff --git a/srcpkgs/PrismLauncher/update b/srcpkgs/PrismLauncher/update
new file mode 100644
index 000000000000..cc6e127e099b
--- /dev/null
+++ b/srcpkgs/PrismLauncher/update
@@ -0,0 +1,2 @@
+site=https://github.com/PrismLauncher/PrismLauncher/tags
+pattern='tag/\K[\d]+\.[\d]+(\.[\d]+)?'

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (21 preceding siblings ...)
  2022-10-20  6:03 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-10-20  8:43 ` paper42
  2022-10-20 17:39 ` classabbyamp
                   ` (10 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: paper42 @ 2022-10-20  8:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r1000320926

Comment:
Would it be possible to catch this warning and give the user a better one? That wouldn't be the job of packaging, but we could report it upstream.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR REVIEW] PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (22 preceding siblings ...)
  2022-10-20  8:43 ` [PR REVIEW] " paper42
@ 2022-10-20 17:39 ` classabbyamp
  2022-10-20 17:44 ` [PR PATCH] [Merged]: " classabbyamp
                   ` (9 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-20 17:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#discussion_r1000932219

Comment:
i've brought it up

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PR PATCH] [Merged]: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (23 preceding siblings ...)
  2022-10-20 17:39 ` classabbyamp
@ 2022-10-20 17:44 ` classabbyamp
  2022-11-10 21:11 ` Yorizuka
                   ` (8 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-10-20 17:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

There's a merged pull request on the void-packages repository

PrismLauncher: update to 5.0, rename from PolyMC
https://github.com/void-linux/void-packages/pull/40044

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (24 preceding siblings ...)
  2022-10-20 17:44 ` [PR PATCH] [Merged]: " classabbyamp
@ 2022-11-10 21:11 ` Yorizuka
  2022-11-10 21:17 ` Yorizuka
                   ` (7 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: Yorizuka @ 2022-11-10 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

New comment by Yorizuka on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310896957

Comment:
what the hell, after running an update my PolyMc launcher was replaced with a different launcher called PrismLauncher. why was PolyMc changed out for a different package from under me?

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (25 preceding siblings ...)
  2022-11-10 21:11 ` Yorizuka
@ 2022-11-10 21:17 ` Yorizuka
  2022-11-10 21:19 ` Vulldozer
                   ` (6 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: Yorizuka @ 2022-11-10 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

New comment by Yorizuka on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310896957

Comment:
after running an update my PolyMc launcher was replaced with a different launcher called PrismLauncher. why was PolyMc changed out for a different package from under me?

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (26 preceding siblings ...)
  2022-11-10 21:17 ` Yorizuka
@ 2022-11-10 21:19 ` Vulldozer
  2022-11-10 21:22 ` classabbyamp
                   ` (5 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: Vulldozer @ 2022-11-10 21:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

New comment by Vulldozer on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310905080

Comment:
@Yorizuka 
Long story short: the developer for PolyMC went rouge and kicked all the other maintainers as such it is no longer considered safe (although there aren't malicious commits as of yet)

Prism Launcher is a fork of PolyMC so it should have all the same features 

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (27 preceding siblings ...)
  2022-11-10 21:19 ` Vulldozer
@ 2022-11-10 21:22 ` classabbyamp
  2022-11-10 21:23 ` classabbyamp
                   ` (4 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-11-10 21:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310907314

Comment:
It's the same program and developers (minus one) with a new name.

PolyMC had a dev go rogue and kick out all the other devs. In doing so, that dev also took some possibly-malicious actions that may affect users of void's package, so we decided to follow the fork, which has had more active development so far.

[upstream explains it here](https://prismlauncher.org/wiki/overview/faq/#what-happened-to-polymc-why-is-there-a-new-fork)

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (28 preceding siblings ...)
  2022-11-10 21:22 ` classabbyamp
@ 2022-11-10 21:23 ` classabbyamp
  2022-11-10 21:27 ` Yorizuka
                   ` (3 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-11-10 21:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310907314

Comment:
It's the same program and developers (minus one) with a new name.

PolyMC had a dev go rogue and kick out all the other devs. In doing so, that dev also took some possibly-malicious actions that may affect users of void's package, so we decided to follow the fork, which has had more active development so far.

[upstream explains it here](https://prismlauncher.org/wiki/overview/faq)

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (29 preceding siblings ...)
  2022-11-10 21:23 ` classabbyamp
@ 2022-11-10 21:27 ` Yorizuka
  2022-11-10 21:32 ` Yorizuka
                   ` (2 subsequent siblings)
  33 siblings, 0 replies; 35+ messages in thread
From: Yorizuka @ 2022-11-10 21:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

New comment by Yorizuka on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310912086

Comment:
> @Yorizuka Long story short: the developer for PolyMC went rouge and kicked all the other maintainers as such it is no longer considered safe (although there aren't malicious commits as of yet)
> 
> Prism Launcher is a fork of PolyMC so it should have all the same features

Sounds logical and makes sense.

Only complain is that I don't think it was a good idea to symlink to the PolyMc name, I understand not including new updates of PolyMc if its hijacked, but what was done here was also effectively a form of hijacking and scared the shit out of me.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (30 preceding siblings ...)
  2022-11-10 21:27 ` Yorizuka
@ 2022-11-10 21:32 ` Yorizuka
  2022-11-10 21:33 ` classabbyamp
  2022-11-11  7:56 ` paper42
  33 siblings, 0 replies; 35+ messages in thread
From: Yorizuka @ 2022-11-10 21:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

New comment by Yorizuka on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310922636

Comment:
any how, good luck and thanks for the all the work you guys do for maintaining void, I had no idea that stuff was going on and this was on heck of a surprise to me.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (31 preceding siblings ...)
  2022-11-10 21:32 ` Yorizuka
@ 2022-11-10 21:33 ` classabbyamp
  2022-11-11  7:56 ` paper42
  33 siblings, 0 replies; 35+ messages in thread
From: classabbyamp @ 2022-11-10 21:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1310924930

Comment:
yeah next time this kind of thing happens, it may be worth an install message at least. sorry for the confusion

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: PrismLauncher: update to 5.0, rename from PolyMC
  2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
                   ` (32 preceding siblings ...)
  2022-11-10 21:33 ` classabbyamp
@ 2022-11-11  7:56 ` paper42
  33 siblings, 0 replies; 35+ messages in thread
From: paper42 @ 2022-11-11  7:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/40044#issuecomment-1311354640

Comment:
Just not updating PolyMC to a new version wouldn't be enough, it downloads binaries from their servers.

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2022-11-11  7:56 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 17:51 [PR PATCH] PrismLauncher: update to 5.0, renamed from PolyMC classabbyamp
2022-10-19 17:54 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 17:57 ` PrismLauncher: update to 5.0, rename " classabbyamp
2022-10-19 18:15 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 18:17 ` [PR REVIEW] " classabbyamp
2022-10-19 18:31 ` classabbyamp
2022-10-19 18:35 ` classabbyamp
2022-10-19 18:35 ` classabbyamp
2022-10-19 19:02 ` classabbyamp
2022-10-19 19:24 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 19:24 ` classabbyamp
2022-10-19 19:40 ` classabbyamp
2022-10-19 19:47 ` [PR REVIEW] " classabbyamp
2022-10-19 19:48 ` [PR PATCH] [Updated] " classabbyamp
2022-10-19 21:30 ` OoLunar
2022-10-19 21:30 ` OoLunar
2022-10-19 21:34 ` paper42
2022-10-20  5:04 ` [PR PATCH] [Updated] " classabbyamp
2022-10-20  5:05 ` classabbyamp
2022-10-20  5:34 ` [PR REVIEW] " oynqr
2022-10-20  5:39 ` classabbyamp
2022-10-20  5:55 ` oynqr
2022-10-20  6:03 ` [PR PATCH] [Updated] " classabbyamp
2022-10-20  8:43 ` [PR REVIEW] " paper42
2022-10-20 17:39 ` classabbyamp
2022-10-20 17:44 ` [PR PATCH] [Merged]: " classabbyamp
2022-11-10 21:11 ` Yorizuka
2022-11-10 21:17 ` Yorizuka
2022-11-10 21:19 ` Vulldozer
2022-11-10 21:22 ` classabbyamp
2022-11-10 21:23 ` classabbyamp
2022-11-10 21:27 ` Yorizuka
2022-11-10 21:32 ` Yorizuka
2022-11-10 21:33 ` classabbyamp
2022-11-11  7:56 ` paper42

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).