Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] chatty: update to 0.25.
@ 2023-08-11 22:16 yoshiyoshyosh
  2023-11-11  2:47 ` github-actions
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2023-08-11 22:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages chatty
https://github.com/void-linux/void-packages/pull/45556

chatty: update to 0.25.
#### Testing the changes
- I tested the changes in this PR: **YES**

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

- with the existence of the `java` alternatives group, I removed the setting of `$PATH` in the binary script. I tested that chatty works and runs on both jre8 and jre17.
- updated the patches to work on latest. the rationale for keeping the `config_dir` patch despite it not being required for the software to work is due to existing setups already using `.config/chatty` as the config dir from previous updates (as the patch has existed since this package's inception), thus preserving compatibility with them.

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

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

From 199c5f30c16026ce960a72311e65292c4ba3a1c6 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Fri, 11 Aug 2023 17:05:35 -0500
Subject: [PATCH] chatty: update to 0.25.

---
 srcpkgs/chatty/files/chatty                   |  4 +--
 srcpkgs/chatty/patches/config_dir.patch       | 30 +++++++------------
 .../patches/disable_version_check.patch       | 30 +++++++------------
 srcpkgs/chatty/template                       |  8 ++---
 4 files changed, 28 insertions(+), 44 deletions(-)

diff --git a/srcpkgs/chatty/files/chatty b/srcpkgs/chatty/files/chatty
index a375876885fed..20838b866e129 100644
--- a/srcpkgs/chatty/files/chatty
+++ b/srcpkgs/chatty/files/chatty
@@ -1,4 +1,4 @@
 #!/bin/sh
+
 cd /usr/share/chatty
-export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
-java -jar Chatty.jar "$@"
+exec java -jar Chatty.jar "$@"
diff --git a/srcpkgs/chatty/patches/config_dir.patch b/srcpkgs/chatty/patches/config_dir.patch
index a159acba9c3b1..86c48e8a767b9 100644
--- a/srcpkgs/chatty/patches/config_dir.patch
+++ b/srcpkgs/chatty/patches/config_dir.patch
@@ -1,19 +1,11 @@
-*** a/src/chatty/Chatty.java	2017-12-26 11:56:51.000000000 -0500
---- a/src/chatty/Chatty.java	2018-02-19 04:41:33.348588121 -0500
-***************
-*** 91,97 ****
-       * Custom Settings directory, either the current working directory if the
-       * -cd parameter was used, or the directory specified with the -d parameter.
-       */
-!     private static String settingsDir = null;
-      
-      /**
-       * Parse the commandline arguments and start the actual chat client.
---- 91,97 ----
-       * Custom Settings directory, either the current working directory if the
-       * -cd parameter was used, or the directory specified with the -d parameter.
-       */
-!     private static String settingsDir = System.getProperty("user.home") + File.separator + ".config" + File.separator + "chatty";
-      
-      /**
-       * Parse the commandline arguments and start the actual chat client.
+--- a/src/chatty/Chatty.java
++++ b/src/chatty/Chatty.java
+@@ -212,7 +212,7 @@ public class Chatty {
+     // Paths
+     //--------------------------
+     public enum PathType {
+-        SETTINGS(() -> Paths.get(System.getProperty("user.home"), ".chatty"), null),
++        SETTINGS(() -> Paths.get(System.getProperty("user.home"), ".config/chatty"), null),
+         WORKING(() -> Paths.get(System.getProperty("user.dir")), null),
+         BACKUP(() -> getUserDataDirectory().resolve("backup"), null),
+         IMAGE(() -> getWorkingDirectory().resolve("img"), "imgPath"),
diff --git a/srcpkgs/chatty/patches/disable_version_check.patch b/srcpkgs/chatty/patches/disable_version_check.patch
index 5e689e513cb42..5265dcc1f626a 100644
--- a/srcpkgs/chatty/patches/disable_version_check.patch
+++ b/srcpkgs/chatty/patches/disable_version_check.patch
@@ -1,19 +1,11 @@
-*** a/src/chatty/Chatty.java	2018-02-19 04:22:40.961744905 -0500
---- a/src/chatty/Chatty.java	2018-02-19 04:24:16.080555756 -0500
-***************
-*** 60,66 ****
-       * Enable Version Checker (if you compile and distribute this yourself, you
-       * may want to disable this)
-       */
-!     public static final boolean VERSION_CHECK_ENABLED = true;
-      
-      /**
-       * The regular URL of the textfile where the most recent version is stored.
---- 60,66 ----
-       * Enable Version Checker (if you compile and distribute this yourself, you
-       * may want to disable this)
-       */
-!     public static final boolean VERSION_CHECK_ENABLED = false;
-      
-      /**
-       * The regular URL of the textfile where the most recent version is stored.
+--- a/src/chatty/Chatty.java
++++ b/src/chatty/Chatty.java
+@@ -63,7 +63,7 @@ public class Chatty {
+      * Enable Version Checker (if you compile and distribute this yourself, you
+      * may want to disable this)
+      */
+-    public static final boolean VERSION_CHECK_ENABLED = true;
++    public static final boolean VERSION_CHECK_ENABLED = false;
+     
+     /**
+      * The regular URL of the textfile where the most recent version is stored.
diff --git a/srcpkgs/chatty/template b/srcpkgs/chatty/template
index 80a7c3d5ea6fc..9f2bfc7a4df10 100644
--- a/srcpkgs/chatty/template
+++ b/srcpkgs/chatty/template
@@ -1,6 +1,6 @@
 # Template file for 'chatty'
 pkgname=chatty
-version=0.22
+version=0.25
 revision=1
 hostmakedepends="gradle openjdk8"
 depends="virtual?java-runtime"
@@ -8,11 +8,11 @@ short_desc="Twitch Chat Client for Desktop"
 maintainer="Frank Steinborn <steinex@nognu.de>"
 license="GPL-3.0-or-later"
 homepage="https://chatty.github.io/"
-distfiles="https://github.com/chatty/chatty/archive/v${version}.tar.gz"
-checksum=4d5f4236bba0190608e825fa5baf11d718650bf83e6571ab83dd9457af9f888c
+distfiles="https://github.com/chatty/chatty/archive/refs/tags/v${version}.tar.gz"
+checksum=44e07701885045e17e6871cb0cc58ff013c561a56b3108d51e770b4cb12c010f
 
 do_build() {
-	gradle shadowJar
+	gradle --no-daemon shadowJar
 }
 
 do_install() {

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

* Re: chatty: update to 0.25.
  2023-08-11 22:16 [PR PATCH] chatty: update to 0.25 yoshiyoshyosh
@ 2023-11-11  2:47 ` github-actions
  2023-11-18 16:40 ` yoshiyoshyosh
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-11-11  2:47 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/45556#issuecomment-1806619856

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: chatty: update to 0.25.
  2023-08-11 22:16 [PR PATCH] chatty: update to 0.25 yoshiyoshyosh
  2023-11-11  2:47 ` github-actions
@ 2023-11-18 16:40 ` yoshiyoshyosh
  2024-02-18  1:46 ` github-actions
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2023-11-18 16:40 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/45556#issuecomment-1817554831

Comment:
still relevant

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

* Re: chatty: update to 0.25.
  2023-08-11 22:16 [PR PATCH] chatty: update to 0.25 yoshiyoshyosh
  2023-11-11  2:47 ` github-actions
  2023-11-18 16:40 ` yoshiyoshyosh
@ 2024-02-18  1:46 ` github-actions
  2024-02-19  4:20 ` yoshiyoshyosh
  2024-04-09  6:06 ` [PR PATCH] [Updated] " yoshiyoshyosh
  4 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2024-02-18  1:46 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/45556#issuecomment-1950746168

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: chatty: update to 0.25.
  2023-08-11 22:16 [PR PATCH] chatty: update to 0.25 yoshiyoshyosh
                   ` (2 preceding siblings ...)
  2024-02-18  1:46 ` github-actions
@ 2024-02-19  4:20 ` yoshiyoshyosh
  2024-04-09  6:06 ` [PR PATCH] [Updated] " yoshiyoshyosh
  4 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2024-02-19  4:20 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/45556#issuecomment-1951668180

Comment:
still relevant

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

* Re: [PR PATCH] [Updated] chatty: update to 0.25.
  2023-08-11 22:16 [PR PATCH] chatty: update to 0.25 yoshiyoshyosh
                   ` (3 preceding siblings ...)
  2024-02-19  4:20 ` yoshiyoshyosh
@ 2024-04-09  6:06 ` yoshiyoshyosh
  4 siblings, 0 replies; 7+ messages in thread
From: yoshiyoshyosh @ 2024-04-09  6:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages chatty
https://github.com/void-linux/void-packages/pull/45556

chatty: update to 0.25.
#### Testing the changes
- I tested the changes in this PR: **YES**

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

#### Comments
- with the existence of the `java` alternatives group, I removed the setting of `$PATH` in the binary script. I tested that chatty works and runs on both jre8 and jre17.
- updated the patches to work on latest. the rationale for keeping the `config_dir` patch despite it not being required for the software to work is due to existing setups already using `.config/chatty` as the config dir from previous updates (as the patch has existed since this package's inception), thus preserving compatibility with them. if this is undesirable, let me know

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

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

From 9787af18d8c7ca6d1e94188eda8768e3eaf4326b Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Fri, 11 Aug 2023 17:05:35 -0500
Subject: [PATCH] chatty: update to 0.26.

---
 srcpkgs/chatty/files/chatty                   |  4 +--
 srcpkgs/chatty/patches/config_dir.patch       | 30 +++++++------------
 .../patches/disable_version_check.patch       | 30 +++++++------------
 srcpkgs/chatty/template                       |  8 ++---
 4 files changed, 28 insertions(+), 44 deletions(-)

diff --git a/srcpkgs/chatty/files/chatty b/srcpkgs/chatty/files/chatty
index a375876885fed4..20838b866e1290 100644
--- a/srcpkgs/chatty/files/chatty
+++ b/srcpkgs/chatty/files/chatty
@@ -1,4 +1,4 @@
 #!/bin/sh
+
 cd /usr/share/chatty
-export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
-java -jar Chatty.jar "$@"
+exec java -jar Chatty.jar "$@"
diff --git a/srcpkgs/chatty/patches/config_dir.patch b/srcpkgs/chatty/patches/config_dir.patch
index a159acba9c3b11..86c48e8a767b93 100644
--- a/srcpkgs/chatty/patches/config_dir.patch
+++ b/srcpkgs/chatty/patches/config_dir.patch
@@ -1,19 +1,11 @@
-*** a/src/chatty/Chatty.java	2017-12-26 11:56:51.000000000 -0500
---- a/src/chatty/Chatty.java	2018-02-19 04:41:33.348588121 -0500
-***************
-*** 91,97 ****
-       * Custom Settings directory, either the current working directory if the
-       * -cd parameter was used, or the directory specified with the -d parameter.
-       */
-!     private static String settingsDir = null;
-      
-      /**
-       * Parse the commandline arguments and start the actual chat client.
---- 91,97 ----
-       * Custom Settings directory, either the current working directory if the
-       * -cd parameter was used, or the directory specified with the -d parameter.
-       */
-!     private static String settingsDir = System.getProperty("user.home") + File.separator + ".config" + File.separator + "chatty";
-      
-      /**
-       * Parse the commandline arguments and start the actual chat client.
+--- a/src/chatty/Chatty.java
++++ b/src/chatty/Chatty.java
+@@ -212,7 +212,7 @@ public class Chatty {
+     // Paths
+     //--------------------------
+     public enum PathType {
+-        SETTINGS(() -> Paths.get(System.getProperty("user.home"), ".chatty"), null),
++        SETTINGS(() -> Paths.get(System.getProperty("user.home"), ".config/chatty"), null),
+         WORKING(() -> Paths.get(System.getProperty("user.dir")), null),
+         BACKUP(() -> getUserDataDirectory().resolve("backup"), null),
+         IMAGE(() -> getWorkingDirectory().resolve("img"), "imgPath"),
diff --git a/srcpkgs/chatty/patches/disable_version_check.patch b/srcpkgs/chatty/patches/disable_version_check.patch
index 5e689e513cb42b..5265dcc1f626ac 100644
--- a/srcpkgs/chatty/patches/disable_version_check.patch
+++ b/srcpkgs/chatty/patches/disable_version_check.patch
@@ -1,19 +1,11 @@
-*** a/src/chatty/Chatty.java	2018-02-19 04:22:40.961744905 -0500
---- a/src/chatty/Chatty.java	2018-02-19 04:24:16.080555756 -0500
-***************
-*** 60,66 ****
-       * Enable Version Checker (if you compile and distribute this yourself, you
-       * may want to disable this)
-       */
-!     public static final boolean VERSION_CHECK_ENABLED = true;
-      
-      /**
-       * The regular URL of the textfile where the most recent version is stored.
---- 60,66 ----
-       * Enable Version Checker (if you compile and distribute this yourself, you
-       * may want to disable this)
-       */
-!     public static final boolean VERSION_CHECK_ENABLED = false;
-      
-      /**
-       * The regular URL of the textfile where the most recent version is stored.
+--- a/src/chatty/Chatty.java
++++ b/src/chatty/Chatty.java
+@@ -63,7 +63,7 @@ public class Chatty {
+      * Enable Version Checker (if you compile and distribute this yourself, you
+      * may want to disable this)
+      */
+-    public static final boolean VERSION_CHECK_ENABLED = true;
++    public static final boolean VERSION_CHECK_ENABLED = false;
+     
+     /**
+      * The regular URL of the textfile where the most recent version is stored.
diff --git a/srcpkgs/chatty/template b/srcpkgs/chatty/template
index 80a7c3d5ea6fc6..262498aa30b839 100644
--- a/srcpkgs/chatty/template
+++ b/srcpkgs/chatty/template
@@ -1,6 +1,6 @@
 # Template file for 'chatty'
 pkgname=chatty
-version=0.22
+version=0.26
 revision=1
 hostmakedepends="gradle openjdk8"
 depends="virtual?java-runtime"
@@ -8,11 +8,11 @@ short_desc="Twitch Chat Client for Desktop"
 maintainer="Frank Steinborn <steinex@nognu.de>"
 license="GPL-3.0-or-later"
 homepage="https://chatty.github.io/"
-distfiles="https://github.com/chatty/chatty/archive/v${version}.tar.gz"
-checksum=4d5f4236bba0190608e825fa5baf11d718650bf83e6571ab83dd9457af9f888c
+distfiles="https://github.com/chatty/chatty/archive/refs/tags/v${version}.tar.gz"
+checksum=f9b6287a257fa50d757128af116ee29cf4c8d29e96e09616857017b859aa43f5
 
 do_build() {
-	gradle shadowJar
+	gradle --no-daemon shadowJar
 }
 
 do_install() {

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

* [PR PATCH] chatty: update to 0.25
@ 2023-10-15 23:35 rookiejet
  0 siblings, 0 replies; 7+ messages in thread
From: rookiejet @ 2023-10-15 23:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/rookiejet/void-packages chatty-0.25
https://github.com/void-linux/void-packages/pull/46708

chatty: update to 0.25
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**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/46708.patch is attached

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

From 647c779c014f689147b357a5f49b8c3d5bcb03b2 Mon Sep 17 00:00:00 2001
From: Mazin Fadl <mazen@illumed.net>
Date: Sat, 14 Oct 2023 10:49:16 -0400
Subject: [PATCH] chatty: update to 0.25

---
 srcpkgs/chatty/patches/config_dir.patch | 19 -------------------
 srcpkgs/chatty/template                 |  4 ++--
 2 files changed, 2 insertions(+), 21 deletions(-)
 delete mode 100644 srcpkgs/chatty/patches/config_dir.patch

diff --git a/srcpkgs/chatty/patches/config_dir.patch b/srcpkgs/chatty/patches/config_dir.patch
deleted file mode 100644
index a159acba9c3b1..0000000000000
--- a/srcpkgs/chatty/patches/config_dir.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-*** a/src/chatty/Chatty.java	2017-12-26 11:56:51.000000000 -0500
---- a/src/chatty/Chatty.java	2018-02-19 04:41:33.348588121 -0500
-***************
-*** 91,97 ****
-       * Custom Settings directory, either the current working directory if the
-       * -cd parameter was used, or the directory specified with the -d parameter.
-       */
-!     private static String settingsDir = null;
-      
-      /**
-       * Parse the commandline arguments and start the actual chat client.
---- 91,97 ----
-       * Custom Settings directory, either the current working directory if the
-       * -cd parameter was used, or the directory specified with the -d parameter.
-       */
-!     private static String settingsDir = System.getProperty("user.home") + File.separator + ".config" + File.separator + "chatty";
-      
-      /**
-       * Parse the commandline arguments and start the actual chat client.
diff --git a/srcpkgs/chatty/template b/srcpkgs/chatty/template
index 80a7c3d5ea6fc..77e277dbecfce 100644
--- a/srcpkgs/chatty/template
+++ b/srcpkgs/chatty/template
@@ -1,6 +1,6 @@
 # Template file for 'chatty'
 pkgname=chatty
-version=0.22
+version=0.25
 revision=1
 hostmakedepends="gradle openjdk8"
 depends="virtual?java-runtime"
@@ -9,7 +9,7 @@ maintainer="Frank Steinborn <steinex@nognu.de>"
 license="GPL-3.0-or-later"
 homepage="https://chatty.github.io/"
 distfiles="https://github.com/chatty/chatty/archive/v${version}.tar.gz"
-checksum=4d5f4236bba0190608e825fa5baf11d718650bf83e6571ab83dd9457af9f888c
+checksum=44e07701885045e17e6871cb0cc58ff013c561a56b3108d51e770b4cb12c010f
 
 do_build() {
 	gradle shadowJar

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

end of thread, other threads:[~2024-04-09  6:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 22:16 [PR PATCH] chatty: update to 0.25 yoshiyoshyosh
2023-11-11  2:47 ` github-actions
2023-11-18 16:40 ` yoshiyoshyosh
2024-02-18  1:46 ` github-actions
2024-02-19  4:20 ` yoshiyoshyosh
2024-04-09  6:06 ` [PR PATCH] [Updated] " yoshiyoshyosh
2023-10-15 23:35 [PR PATCH] " rookiejet

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