From 9f89405ff1a8b6accdc35337ab5d63a5afb7c4a5 Mon Sep 17 00:00:00 2001 From: Mazin Fadl Date: Sat, 14 Oct 2023 10:49:16 -0400 Subject: [PATCH] chatty: update to 0.25 --- srcpkgs/chatty/patches/config_dir.patch | 30 +++++++++---------------- srcpkgs/chatty/template | 4 ++-- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/srcpkgs/chatty/patches/config_dir.patch b/srcpkgs/chatty/patches/config_dir.patch index a159acba9c3b11..5fe6cf007f946e 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 2023-07-21 14:35:08.000000000 -0400 ++++ b/src/chatty/Chatty.java 2023-10-15 19:50:07.106438597 -0400 +@@ -212,7 +212,7 @@ + // 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/template b/srcpkgs/chatty/template index 80a7c3d5ea6fc6..77e277dbecfced 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 " 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