summaryrefslogtreecommitdiff
path: root/gnustep-apps/aclock
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /gnustep-apps/aclock
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'gnustep-apps/aclock')
-rw-r--r--gnustep-apps/aclock/Manifest2
-rw-r--r--gnustep-apps/aclock/aclock-0.4.0-r2.ebuild24
-rw-r--r--gnustep-apps/aclock/files/aclock-0.4.0-init.patch23
3 files changed, 49 insertions, 0 deletions
diff --git a/gnustep-apps/aclock/Manifest b/gnustep-apps/aclock/Manifest
index 04d6db089672..c3d4fd81b469 100644
--- a/gnustep-apps/aclock/Manifest
+++ b/gnustep-apps/aclock/Manifest
@@ -1,3 +1,5 @@
+AUX aclock-0.4.0-init.patch 857 BLAKE2B 04935ff604a5ecc354872d416edccd162dd159194db1483e45bb19ed235e1c1d1f61746c290419baa203bb67b31547629c54b2872d274099d80844799c74a06f SHA512 911e2c94359c881f6e6436e29d47e8e6b3f37c3db769685f37dd6bc09b8f2b3ff7ac36bfff5434d38ccdb332b8be4c9aa6d9e38c3951ebf2a5448ff89e271be7
DIST AClock-0.4.0.tar.gz 299488 BLAKE2B 36f41fe1abcc0de77b4d4c9f9be1af46a5c7741b7f71596803bb2debbd57cf750d4c8c87e86f00f185e20ef8f26ac3e795edd8fe4a5e462f3cfdb991780ff8b7 SHA512 45435e6b1e02b8fb6b924c7fbb5546f3836b7ee8a072323a5b7df0cf855b1a7f838234fb6318c558189f5a12e29275c2c85f61c4c989bfb5dbebfd087a5a7561
EBUILD aclock-0.4.0-r1.ebuild 595 BLAKE2B d4b870576eb6e9b4752512207b7887bac4c8f53fdb71f57826ff9cc83e2fd59527dd926ae8bea2d70bbca5edca544f5a25877fc577cc9ee9ad87c7e35468e0bd SHA512 3582e46fdd04e6a7622fe381ade198caa144df853033bbeb921553a26ed57f1fcac02480e20a4b21abe1b52e39024b4bfcf963c69f5ffd7041b483007bc974e1
+EBUILD aclock-0.4.0-r2.ebuild 640 BLAKE2B 5221758da52a72de13b475091eb4bf01ade7a3eae13d7aee4fdebb1c49100db240df5e27f03c6ca05d5685664992fbe08c79cba1c7e5c7b739a7d926df1c4807 SHA512 a9a863219271ac16fff3feceb4a63e01f7986d16bc7c277f88a441ba50635ba28665e09d04b963131810118994781d575c11b5d9792cf8e056fda2fd9537a265
MISC metadata.xml 503 BLAKE2B 72749d8d389c921c86ca0fa82250f619733700edd2c965be77f22cd0cb11e153d1b069b18281ac66774ea5f5ffdddd925ad6944536e15b76fa0e93c011173ae3 SHA512 b3ed55119a2dbd330a7ceaa9026a5611cc1dedc0c55161a7776066ac25e0f1c7af81742898ffbf55c278a95872644bb4ab07af107955d317ef4e43eec3b14a91
diff --git a/gnustep-apps/aclock/aclock-0.4.0-r2.ebuild b/gnustep-apps/aclock/aclock-0.4.0-r2.ebuild
new file mode 100644
index 000000000000..96b7f4ecaec9
--- /dev/null
+++ b/gnustep-apps/aclock/aclock-0.4.0-r2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnustep-2
+
+MY_P="${P/ac/AC}"
+DESCRIPTION="Analog dockapp clock for GNUstep"
+HOMEPAGE="http://gap.nongnu.org/aclock/"
+SRC_URI="https://savannah.nongnu.org/download/gap/${MY_P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-init.patch )
+
+gnustep_config_script() {
+ echo "echo ' * using smooth seconds'"
+ echo "defaults write AClock SmoothSeconds YES"
+ echo "echo ' * setting refresh rate to 0.1 seconds'"
+ echo "defaults write AClock RefreshRate 0.1"
+}
diff --git a/gnustep-apps/aclock/files/aclock-0.4.0-init.patch b/gnustep-apps/aclock/files/aclock-0.4.0-init.patch
new file mode 100644
index 000000000000..45961369c09d
--- /dev/null
+++ b/gnustep-apps/aclock/files/aclock-0.4.0-init.patch
@@ -0,0 +1,23 @@
+diff -Naur AClock-0.4.0.orig/AppController.m AClock-0.4.0/AppController.m
+--- AClock-0.4.0.orig/AppController.m 2011-07-01 13:00:12.000000000 +0200
++++ AClock-0.4.0/AppController.m 2024-07-21 23:27:31.977296966 +0200
+@@ -25,6 +25,7 @@
+ */
+
+ #import <AppKit/AppKit.h>
++#import <GNUstepGUI/GSInfoPanel.h>
+ #import "AppController.h"
+
+ @implementation AppController
+diff -Naur AClock-0.4.0.orig/Clock.m AClock-0.4.0/Clock.m
+--- AClock-0.4.0.orig/Clock.m 2011-07-01 13:00:23.000000000 +0200
++++ AClock-0.4.0/Clock.m 2024-07-21 23:27:31.977296966 +0200
+@@ -50,7 +50,7 @@
+ RETAIN(numArray[0]);
+ RETAIN(numArray[1]);
+
+- dayWeek = [NSArray arrayWithObjects:@"su",@"mo",@"tu",@"we",@"th",@"fr",@"sa"];
++ dayWeek = [NSArray arrayWithObjects:@"su",@"mo",@"tu",@"we",@"th",@"fr",@"sa",nil];
+ RETAIN(dayWeek);
+
+ defaults = [NSUserDefaults standardUserDefaults];