A sr.ht/gamja/0001-Add-custom-chat.sr.ht-noscript-page.patch => sr.ht/gamja/0001-Add-custom-chat.sr.ht-noscript-page.patch +31 -0
@@ 0,0 1,31 @@
+From 45bfa01d738bf8cc9821153b643711b11db3b507 Mon Sep 17 00:00:00 2001
+From: Drew DeVault <sir@cmpwn.com>
+Date: Mon, 29 Nov 2021 12:52:42 +0100
+Subject: [PATCH gamja] Add custom chat.sr.ht noscript page
+
+---
+ index.html | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/index.html b/index.html
+index ec656db..455a6f2 100644
+--- a/index.html
++++ b/index.html
+@@ -11,7 +11,13 @@
+ </head>
+ <body>
+ <noscript>
+- <p>This application requires JavaScript. Please enable it!</p>
++ <p>
++ chat.sr.ht provides a web chat client, but it requires
++ JavaScript to use. If you do not wish to enable JavaScript, you
++ may also use chat.sr.ht by
++ <a href="https://man.sr.ht/chat.sr.ht/quickstart.md">connecting to the IRC bouncer</a>
++ directly with your own IRC client.
++ </p>
+ </noscript>
+ </body>
+ </html>
+--
+2.34.1
+
M sr.ht/gamja/APKBUILD => sr.ht/gamja/APKBUILD +8 -4
@@ 1,7 1,7 @@
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=gamja
-pkgver=1.0.0_beta1-r12
+pkgver=1.0.0_beta1-r13
pkgrel=0
pkgdesc="Simple IRC web client"
url="https://sr.ht/~emersion/gamja/"
@@ 9,8 9,11 @@ license="AGPL-3.0"
arch="all"
makedepends="npm"
subpackages="$pkgname-doc"
-githash=c4c0a771625376649620f0600b945a0f2f985937
-source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/gamja/archive/$githash.tar.gz"
+githash=b1d5f1436ef8a44d48df8b56f5a530827d5ad83f
+source="
+ $pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/gamja/archive/$githash.tar.gz
+ 0001-Add-custom-chat.sr.ht-noscript-page.patch
+"
builddir="$srcdir/$pkgname-$githash"
options="!check" # no test suite
@@ 33,5 36,6 @@ package() {
}
sha512sums="
-8ee19de44b9566f61ef0cd83a6a06e6a72f380d380ca3779fc1c45a4962faef1ecfa04010a2d0cfa1110276f2f6f554ef18c72b563b17bb392755b2ab0064472 gamja-1.0.0_beta1-r12.tar.gz
+ab6b1b979336e464e3b116e7dc609e688807a017076dce046a40951744c84955f683555b5ebb61d148bcf1309d7b7eb4e4f2073685dfc037d6fb72fe33d9855f gamja-1.0.0_beta1-r13.tar.gz
+7ebb5050f197881169ded60f16af23e9adc454b8f607192948ca8a4d36452daaec55aa85b938c61b58bc70fcbbe9f10a99c0f8d436374562edd448df9c63c34a 0001-Add-custom-chat.sr.ht-noscript-page.patch
"