Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: minecraft-legacy-1.6.93
@ 2020-05-14  3:45 MattTreadwell
  2020-05-14  4:12 ` Vaelatern
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: MattTreadwell @ 2020-05-14  3:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MattTreadwell/void-packages minecraft-legacy
https://github.com/void-linux/void-packages/pull/21944

New package: minecraft-legacy-1.6.93
As discussed in https://github.com/void-linux/void-packages/issues/13139, this will replace the existing the minecraft package and has proper licensing and versioning. 

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-minecraft-legacy-21944.patch --]
[-- Type: text/x-diff, Size: 3022 bytes --]

From dc56f14edc403584447adafa850b8a0e2152ea8a Mon Sep 17 00:00:00 2001
From: Matthew Treadwell <Treadwell@inventati.org>
Date: Wed, 13 May 2020 20:40:52 -0700
Subject: [PATCH] New package: minecraft-legacy-1.6.93

---
 srcpkgs/minecraft-legacy/INSTALL.msg          | 10 +++++++
 .../minecraft-legacy/files/minecraft-legacy   |  4 +++
 srcpkgs/minecraft-legacy/template             | 30 +++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/minecraft-legacy/INSTALL.msg
 create mode 100644 srcpkgs/minecraft-legacy/files/minecraft-legacy
 create mode 100644 srcpkgs/minecraft-legacy/template

diff --git a/srcpkgs/minecraft-legacy/INSTALL.msg b/srcpkgs/minecraft-legacy/INSTALL.msg
new file mode 100644
index 00000000000..8622c5213da
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/INSTALL.msg
@@ -0,0 +1,10 @@
+To start the Minecraft launcher a java implementation is required,
+right now you can install the Open Java Runtime (openjdk-jre) or
+the Oracle propietary "oracle-jre" package available
+in the nonfree repository; alternatively you can also use your own
+and make sure that "java" executable is in your PATH.
+------------------------------------------------------------------
+NOTE: This package may not be compatible with newest versions of
+      minecraft.
+      Install minecraft-launcher to run the latest versions of 
+      minecraft.
diff --git a/srcpkgs/minecraft-legacy/files/minecraft-legacy b/srcpkgs/minecraft-legacy/files/minecraft-legacy
new file mode 100644
index 00000000000..f2fadfa24d6
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/files/minecraft-legacy
@@ -0,0 +1,4 @@
+#!/bin/sh
+JAR_PATH=/opt/minecraft-legacy/launcher.jar
+
+java -jar $JAR_PATH
diff --git a/srcpkgs/minecraft-legacy/template b/srcpkgs/minecraft-legacy/template
new file mode 100644
index 00000000000..e6487050268
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/template
@@ -0,0 +1,30 @@
+# Template file for 'minecraft-legacy'
+pkgname=minecraft-legacy
+version=1.6.93
+revision=1
+archs=noarch
+wrksrc="minecraft-legacy"
+depends="virtual?java-runtime wmname wget"
+short_desc="Legacy launcher for Minecraft (outdated)"
+maintainer="Matthew Treadwell <hewtreadwell@gmail.com>"
+license="custom:Minecraft"
+homepage="http://www.minecraft.net/"
+distfiles="https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar https://account.mojang.com/documents/minecraft_eula"
+checksum="d98de795667f666652e4d0f453708c51292cc326860f387ae8fdfc7cbaf33ca1 a1487b03e88c43c7a33ed2f24328ae28767c17fca73d846193adc188b9e0ddc2"
+skip_extraction="launcher.jar minecraft_eula"
+repository=nonfree
+restricted=yes
+
+do_extract() {
+	# Need placeholder file because we don't extract any distfiles
+	touch placeholder
+}
+
+do_install() {
+	vmkdir /opt
+	vmkdir /opt/minecraft-legacy
+	vcopy "${XBPS_SRCDISTDIR}/${pkgname}-${version}/launcher.jar" "/opt/minecraft-legacy/"
+	vbin ${FILESDIR}/minecraft-legacy
+
+	vlicense "${XBPS_SRCDISTDIR}/${pkgname}-${version}/minecraft_eula"
+}

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

* Re: New package: minecraft-legacy-1.6.93
  2020-05-14  3:45 [PR PATCH] New package: minecraft-legacy-1.6.93 MattTreadwell
@ 2020-05-14  4:12 ` Vaelatern
  2020-05-14  4:37 ` [PR PATCH] [Updated] " MattTreadwell
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Vaelatern @ 2020-05-14  4:12 UTC (permalink / raw)
  To: ml

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

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/pull/21944#issuecomment-628375138

Comment:
It's a build_style=fetch, the INSTALL.msg is way too long, and why do we need this? The minecraft package was working just fine for me the other day.

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

* Re: [PR PATCH] [Updated] New package: minecraft-legacy-1.6.93
  2020-05-14  3:45 [PR PATCH] New package: minecraft-legacy-1.6.93 MattTreadwell
  2020-05-14  4:12 ` Vaelatern
@ 2020-05-14  4:37 ` MattTreadwell
  2020-05-14 14:48 ` dawidpotocki
  2020-05-18  7:26 ` [PR PATCH] [Closed]: " MattTreadwell
  3 siblings, 0 replies; 5+ messages in thread
From: MattTreadwell @ 2020-05-14  4:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MattTreadwell/void-packages minecraft-legacy
https://github.com/void-linux/void-packages/pull/21944

New package: minecraft-legacy-1.6.93
As discussed in https://github.com/void-linux/void-packages/issues/13139, this will replace the existing the minecraft package and has proper licensing and versioning. 

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-minecraft-legacy-21944.patch --]
[-- Type: text/x-diff, Size: 2497 bytes --]

From 6754bd9df0575104c33f349bfa925c6747dd1055 Mon Sep 17 00:00:00 2001
From: Matthew Treadwell <Treadwell@inventati.org>
Date: Wed, 13 May 2020 20:40:52 -0700
Subject: [PATCH] New package: minecraft-legacy-1.6.93

---
 srcpkgs/minecraft-legacy/INSTALL.msg          |  3 +++
 .../minecraft-legacy/files/minecraft-legacy   |  4 +++
 srcpkgs/minecraft-legacy/template             | 25 +++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/minecraft-legacy/INSTALL.msg
 create mode 100644 srcpkgs/minecraft-legacy/files/minecraft-legacy
 create mode 100644 srcpkgs/minecraft-legacy/template

diff --git a/srcpkgs/minecraft-legacy/INSTALL.msg b/srcpkgs/minecraft-legacy/INSTALL.msg
new file mode 100644
index 00000000000..7e15f3a350e
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/INSTALL.msg
@@ -0,0 +1,3 @@
+NOTE: This package may not be compatible with newest versions of
+      minecraft. Install minecraft-launcher to run the latest 
+      versions of minecraft.
diff --git a/srcpkgs/minecraft-legacy/files/minecraft-legacy b/srcpkgs/minecraft-legacy/files/minecraft-legacy
new file mode 100644
index 00000000000..f2fadfa24d6
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/files/minecraft-legacy
@@ -0,0 +1,4 @@
+#!/bin/sh
+JAR_PATH=/opt/minecraft-legacy/launcher.jar
+
+java -jar $JAR_PATH
diff --git a/srcpkgs/minecraft-legacy/template b/srcpkgs/minecraft-legacy/template
new file mode 100644
index 00000000000..6338b1fb8e7
--- /dev/null
+++ b/srcpkgs/minecraft-legacy/template
@@ -0,0 +1,25 @@
+# Template file for 'minecraft-legacy'
+pkgname=minecraft-legacy
+version=1.6.93
+revision=1
+archs=noarch
+wrksrc="minecraft-legacy"
+build_style=fetch
+depends="virtual?java-runtime wmname wget"
+short_desc="Legacy launcher for Minecraft (outdated)"
+maintainer="Matthew Treadwell <hewtreadwell@gmail.com>"
+license="custom:Minecraft"
+homepage="http://www.minecraft.net/"
+distfiles="https://launcher.mojang.com/v1/objects/eabbff5ff8e21250e33670924a0c5e38f47c840b/launcher.jar https://account.mojang.com/documents/minecraft_eula"
+checksum="d98de795667f666652e4d0f453708c51292cc326860f387ae8fdfc7cbaf33ca1 a1487b03e88c43c7a33ed2f24328ae28767c17fca73d846193adc188b9e0ddc2"
+repository=nonfree
+restricted=yes
+
+do_install() {
+	vmkdir /opt
+	vmkdir /opt/minecraft-legacy
+	vcopy "${XBPS_SRCDISTDIR}/${pkgname}-${version}/launcher.jar" "/opt/minecraft-legacy/"
+	vbin ${FILESDIR}/minecraft-legacy
+
+	vlicense "${XBPS_SRCDISTDIR}/${pkgname}-${version}/minecraft_eula"
+}

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

* Re: New package: minecraft-legacy-1.6.93
  2020-05-14  3:45 [PR PATCH] New package: minecraft-legacy-1.6.93 MattTreadwell
  2020-05-14  4:12 ` Vaelatern
  2020-05-14  4:37 ` [PR PATCH] [Updated] " MattTreadwell
@ 2020-05-14 14:48 ` dawidpotocki
  2020-05-18  7:26 ` [PR PATCH] [Closed]: " MattTreadwell
  3 siblings, 0 replies; 5+ messages in thread
From: dawidpotocki @ 2020-05-14 14:48 UTC (permalink / raw)
  To: ml

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

New comment by dawidpotocki on void-packages repository

https://github.com/void-linux/void-packages/pull/21944#issuecomment-628684837

Comment:
> the INSTALL.msg is way too long, and why do we need this? The minecraft package was working just fine for me the other day.

From what I remember some snapshots were only showing up in latest launcher.

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

* Re: [PR PATCH] [Closed]: New package: minecraft-legacy-1.6.93
  2020-05-14  3:45 [PR PATCH] New package: minecraft-legacy-1.6.93 MattTreadwell
                   ` (2 preceding siblings ...)
  2020-05-14 14:48 ` dawidpotocki
@ 2020-05-18  7:26 ` MattTreadwell
  3 siblings, 0 replies; 5+ messages in thread
From: MattTreadwell @ 2020-05-18  7:26 UTC (permalink / raw)
  To: ml

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

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

New package: minecraft-legacy-1.6.93
https://github.com/void-linux/void-packages/pull/21944

Description:
As discussed in https://github.com/void-linux/void-packages/issues/13139, this will replace the existing the minecraft package and has proper licensing and versioning. 

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

end of thread, other threads:[~2020-05-18  7:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14  3:45 [PR PATCH] New package: minecraft-legacy-1.6.93 MattTreadwell
2020-05-14  4:12 ` Vaelatern
2020-05-14  4:37 ` [PR PATCH] [Updated] " MattTreadwell
2020-05-14 14:48 ` dawidpotocki
2020-05-18  7:26 ` [PR PATCH] [Closed]: " MattTreadwell

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