Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: graphwar-1.0.0
@ 2023-03-12 16:40 Eloitor
  2023-03-12 16:44 ` Eloitor
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Eloitor @ 2023-03-12 16:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages graphwar
https://github.com/void-linux/void-packages/pull/42721

New package: graphwar-1.0.0
#### Testing the changes
- I tested the changes in this PR: **YES**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)

closes  #40437

#### How to test:

1.

``` bash
graphwar-globalServer 127.0.0.1 &
graphwar-roomServer 127.0.0.1 &
graphwar 127.0.0.1
```
2. Select `create room` and add a player name.
3.

``` bash
graphwar 127.0.0.1
```
4. Select `join game`, add a player name and `127.0.0.1` as the ip.


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

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

From 266b0faab5effb8f6b51a782fdd3ce613114031f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Sat, 11 Mar 2023 20:10:15 +0100
Subject: [PATCH] New package: graphwar-1.0.0

---
 srcpkgs/graphwar/files/graphwar              |  2 ++
 srcpkgs/graphwar/files/graphwar-globalServer |  2 ++
 srcpkgs/graphwar/files/graphwar-roomServer   |  2 ++
 srcpkgs/graphwar/template                    | 24 ++++++++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/graphwar/files/graphwar
 create mode 100644 srcpkgs/graphwar/files/graphwar-globalServer
 create mode 100644 srcpkgs/graphwar/files/graphwar-roomServer
 create mode 100644 srcpkgs/graphwar/template

diff --git a/srcpkgs/graphwar/files/graphwar b/srcpkgs/graphwar/files/graphwar
new file mode 100644
index 000000000000..7cbd7e668554
--- /dev/null
+++ b/srcpkgs/graphwar/files/graphwar
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/graphwar/graphwar.jar "$@"
diff --git a/srcpkgs/graphwar/files/graphwar-globalServer b/srcpkgs/graphwar/files/graphwar-globalServer
new file mode 100644
index 000000000000..ac962e012d71
--- /dev/null
+++ b/srcpkgs/graphwar/files/graphwar-globalServer
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/graphwar/globalServer.jar "$@"
diff --git a/srcpkgs/graphwar/files/graphwar-roomServer b/srcpkgs/graphwar/files/graphwar-roomServer
new file mode 100644
index 000000000000..23d885fa24de
--- /dev/null
+++ b/srcpkgs/graphwar/files/graphwar-roomServer
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/graphwar/roomServer.jar "$@"
diff --git a/srcpkgs/graphwar/template b/srcpkgs/graphwar/template
new file mode 100644
index 000000000000..1444f635bd46
--- /dev/null
+++ b/srcpkgs/graphwar/template
@@ -0,0 +1,24 @@
+# Template file for 'graphwar'
+pkgname=graphwar
+version=1.0.0
+revision=1
+build_style=gnu-makefile
+makedepends="openjdk11"
+depends="virtual?java-environment"
+short_desc="Hit your enemies using mathematical functions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="http://www.graphwar.com/"
+distfiles="https://github.com/catabriga/graphwar/archive/refs/tags/${version}.tar.gz"
+checksum=53011a55adf3577d22dd2a190356d7fff7dc1379e4b8736dfd4933b47ab1e4e9
+
+do_install() {
+	vmkdir usr/share/java
+	vmkdir usr/share/java/${pkgname}
+	vinstall globalServer.jar 644 usr/share/java/${pkgname}
+	vinstall graphwar.jar 644 usr/share/java/${pkgname}
+	vinstall roomServer.jar 644 usr/share/java/${pkgname}
+	vbin "${FILESDIR}/${pkgname}"
+	vbin "${FILESDIR}/${pkgname}-globalServer"
+	vbin "${FILESDIR}/${pkgname}-roomServer"
+}

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

* Re: New package: graphwar-1.0.0
  2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
@ 2023-03-12 16:44 ` Eloitor
  2023-03-12 19:44 ` [PR REVIEW] " classabbyamp
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-03-12 16:44 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/42721#issuecomment-1465244857

Comment:
Cross compilation failed with

```
=> ERROR: graphwar-1.0.0_1: failed to install target dependencies! (error 8)
openjdk11-jre-11.0.12+7_3: broken, unresolvable shlib `libthread_db.so.1'
Transaction aborted due to unresolved shlibs.
=> ERROR: Please see above for the real error, exiting...
```

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

* Re: [PR REVIEW] New package: graphwar-1.0.0
  2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
  2023-03-12 16:44 ` Eloitor
@ 2023-03-12 19:44 ` classabbyamp
  2023-03-12 19:55 ` [PR PATCH] [Updated] " Eloitor
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-03-12 19:44 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42721#discussion_r1133312516

Comment:
```suggestion
hostmakedepends="openjdk11"
```

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

* Re: [PR PATCH] [Updated] New package: graphwar-1.0.0
  2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
  2023-03-12 16:44 ` Eloitor
  2023-03-12 19:44 ` [PR REVIEW] " classabbyamp
@ 2023-03-12 19:55 ` Eloitor
  2023-06-11  2:09 ` github-actions
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-03-12 19:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages graphwar
https://github.com/void-linux/void-packages/pull/42721

New package: graphwar-1.0.0
#### Testing the changes
- I tested the changes in this PR: **YES**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)

closes  #40437

#### How to test:

1.

``` bash
graphwar-globalServer 127.0.0.1 &
graphwar-roomServer 127.0.0.1 &
graphwar 127.0.0.1
```
2. Select `create room` and add a player name.
3.

``` bash
graphwar 127.0.0.1
```
4. Select `join game`, add a player name and `127.0.0.1` as the ip.


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

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

From e266f5194eac8ea5f2053941a3816c9b91dea614 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Sat, 11 Mar 2023 20:10:15 +0100
Subject: [PATCH] New package: graphwar-1.0.0

---
 srcpkgs/graphwar/files/graphwar              |  2 ++
 srcpkgs/graphwar/files/graphwar-globalServer |  2 ++
 srcpkgs/graphwar/files/graphwar-roomServer   |  2 ++
 srcpkgs/graphwar/template                    | 24 ++++++++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/graphwar/files/graphwar
 create mode 100644 srcpkgs/graphwar/files/graphwar-globalServer
 create mode 100644 srcpkgs/graphwar/files/graphwar-roomServer
 create mode 100644 srcpkgs/graphwar/template

diff --git a/srcpkgs/graphwar/files/graphwar b/srcpkgs/graphwar/files/graphwar
new file mode 100644
index 000000000000..7cbd7e668554
--- /dev/null
+++ b/srcpkgs/graphwar/files/graphwar
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/graphwar/graphwar.jar "$@"
diff --git a/srcpkgs/graphwar/files/graphwar-globalServer b/srcpkgs/graphwar/files/graphwar-globalServer
new file mode 100644
index 000000000000..ac962e012d71
--- /dev/null
+++ b/srcpkgs/graphwar/files/graphwar-globalServer
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/graphwar/globalServer.jar "$@"
diff --git a/srcpkgs/graphwar/files/graphwar-roomServer b/srcpkgs/graphwar/files/graphwar-roomServer
new file mode 100644
index 000000000000..23d885fa24de
--- /dev/null
+++ b/srcpkgs/graphwar/files/graphwar-roomServer
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/graphwar/roomServer.jar "$@"
diff --git a/srcpkgs/graphwar/template b/srcpkgs/graphwar/template
new file mode 100644
index 000000000000..91dbc1b6f021
--- /dev/null
+++ b/srcpkgs/graphwar/template
@@ -0,0 +1,24 @@
+# Template file for 'graphwar'
+pkgname=graphwar
+version=1.0.0
+revision=1
+build_style=gnu-makefile
+hostmakedepends="openjdk11"
+depends="virtual?java-environment"
+short_desc="Hit your enemies using mathematical functions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="http://www.graphwar.com/"
+distfiles="https://github.com/catabriga/graphwar/archive/refs/tags/${version}.tar.gz"
+checksum=53011a55adf3577d22dd2a190356d7fff7dc1379e4b8736dfd4933b47ab1e4e9
+
+do_install() {
+	vmkdir usr/share/java
+	vmkdir usr/share/java/${pkgname}
+	vinstall globalServer.jar 644 usr/share/java/${pkgname}
+	vinstall graphwar.jar 644 usr/share/java/${pkgname}
+	vinstall roomServer.jar 644 usr/share/java/${pkgname}
+	vbin "${FILESDIR}/${pkgname}"
+	vbin "${FILESDIR}/${pkgname}-globalServer"
+	vbin "${FILESDIR}/${pkgname}-roomServer"
+}

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

* Re: New package: graphwar-1.0.0
  2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
                   ` (2 preceding siblings ...)
  2023-03-12 19:55 ` [PR PATCH] [Updated] " Eloitor
@ 2023-06-11  2:09 ` github-actions
  2023-06-14  5:49 ` Eloitor
  2023-06-27 11:43 ` [PR PATCH] [Merged]: " Duncaen
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-06-11  2:09 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42721#issuecomment-1585974083

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: graphwar-1.0.0
  2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
                   ` (3 preceding siblings ...)
  2023-06-11  2:09 ` github-actions
@ 2023-06-14  5:49 ` Eloitor
  2023-06-27 11:43 ` [PR PATCH] [Merged]: " Duncaen
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-06-14  5:49 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/42721#issuecomment-1590512844

Comment:
I think that this package is ready

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

* Re: [PR PATCH] [Merged]: New package: graphwar-1.0.0
  2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
                   ` (4 preceding siblings ...)
  2023-06-14  5:49 ` Eloitor
@ 2023-06-27 11:43 ` Duncaen
  5 siblings, 0 replies; 7+ messages in thread
From: Duncaen @ 2023-06-27 11:43 UTC (permalink / raw)
  To: ml

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

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

New package: graphwar-1.0.0
https://github.com/void-linux/void-packages/pull/42721

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)

closes  #40437

#### How to test:

1.

``` bash
graphwar-globalServer 127.0.0.1 &
graphwar-roomServer 127.0.0.1 &
graphwar 127.0.0.1
```
2. Select `create room` and add a player name.
3.

``` bash
graphwar 127.0.0.1
```
4. Select `join game`, add a player name and `127.0.0.1` as the ip.


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

end of thread, other threads:[~2023-06-27 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-12 16:40 [PR PATCH] New package: graphwar-1.0.0 Eloitor
2023-03-12 16:44 ` Eloitor
2023-03-12 19:44 ` [PR REVIEW] " classabbyamp
2023-03-12 19:55 ` [PR PATCH] [Updated] " Eloitor
2023-06-11  2:09 ` github-actions
2023-06-14  5:49 ` Eloitor
2023-06-27 11:43 ` [PR PATCH] [Merged]: " Duncaen

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