Package Details: srain 1:1.2.2-1

Git Clone URL: https://aur.archlinux.org/srain.git (read-only, click to copy)
Package Base: srain
Description: Modern IRC client written in GTK.
Upstream URL: https://srain.im
Keywords: Client GTK IRC
Licenses: GPL
Submitter: SilverRainZ
Maintainer: SilverRainZ (lilac)
Last Packager: lilac
Votes: 8
Popularity: 0.009912
First Submitted: 2016-04-07 12:56
Last Updated: 2021-05-30 12:21

Latest Comments

1 2 Next › Last »

aulonsal commented on 2021-05-10 11:31

Add this patch until upstream releases a version with the build fixed please. I believe the problem is caused by the latest sphinx update, python-sphinx 4.0.0-1.

diff --git a/PKGBUILD b/PKGBUILD
index e098472..1bb0e4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,26 @@
 pkgname=srain
 epoch=1
 pkgver=1.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Modern IRC client written in GTK."
 arch=('i686' 'x86_64')
 license=('GPL')
 url="https://srain.im"
 makedepends=('python-sphinx' 'meson')
 depends=('gtk3' 'libconfig' 'libsoup' 'libsecret')
-source=("https://github.com/SrainApp/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('a81a3177e09bf1d9ff1302fc95c79dba2514f50409dc52a29451801e57467655')
+source=("https://github.com/SrainApp/${pkgname}/archive/${pkgver}.tar.gz"
+   "$pkgname-man_build.patch")
+sha256sums=('a81a3177e09bf1d9ff1302fc95c79dba2514f50409dc52a29451801e57467655'
+            'c6af2702b5b9c76c4679b925fb02600080da866b8a03bdc8f38bb21c175bed63')

 _prefix='/usr'

+prepare() {
+    cd "$pkgname-$pkgver"
+
+    patch -Np1 -i "$srcdir/$pkgname-man_build.patch"
+}
+
 build() {
     cd ${pkgname}-${pkgver}

diff --git a/srain-man_build.patch b/srain-man_build.patch
new file mode 100644
index 0000000..e0b0101
--- /dev/null
+++ b/srain-man_build.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/meson.build b/doc/meson.build
+index f261344..b58b8c0 100644
+--- a/doc/meson.build
++++ b/doc/meson.build
+@@ -13,7 +13,7 @@ endforeach
+ 
+ # `in` operator requires meson 0.49.0
+ if doc_builders.contains('man')
+-  install_man(join_paths(sphinx_build_dir, 'man', 'srain.1'))
++  install_man(join_paths(sphinx_build_dir, 'man', '1', 'srain.1'))
+ endif
+ 
+ # `in` operator requires meson 0.49.0

Also, curly braces without quotes provide no protection. https://github.com/anordal/shellharden/blob/master/how_to_do_things_safely_in_bash.md#should-i-use-curly-braces

txtsd commented on 2021-04-18 14:12

There is no 1.2.2 on github. Where are you getting this info from?

solonovamax commented on 2021-04-15 15:55

The link still 404's and the buiild fails.

SilverRainZ commented on 2021-04-12 04:08

Tag 1.2.2 is deleted by mistake, now I add it back.

solonovamax commented on 2021-04-11 18:26

Attempting to install/update srain fails:

==> Making package: srain 1.2.2-1 (Sun 11 Apr 2021 02:26:15 PM EDT)
==> Retrieving sources...
  -> Downloading 1.2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   121  100   121    0     0    448      0 --:--:-- --:--:-- --:--:--   448
  0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/SrainApp/srain/archive/1.2.2.tar.gz
    Aborting...

solonovamax commented on 2021-04-11 18:26

Attempting to install/update srain fails:

==> Making package: srain 1.2.2-1 (Sun 11 Apr 2021 02:26:15 PM EDT)
==> Retrieving sources...
  -> Downloading 1.2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   121  100   121    0     0    448      0 --:--:-- --:--:-- --:--:--   448
  0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/SrainApp/srain/archive/1.2.2.tar.gz
    Aborting...

SilverRainZ commented on 2020-03-24 01:08

@Lihis @yochananmarqos should be fixed (again) ;-)

Lihis commented on 2020-03-21 05:26

gcc, makeand gettext are part of base-devel thus are not required to be listed in makedepends.

SilverRainZ commented on 2020-03-19 15:28

@yochananmarqos @svito Thanks for your sugestions, updated.

yochananmarqos commented on 2020-03-01 16:25

git is not used in this package. make, gcc, pkg-config and gettext are all in the base-devel group and do not need to be included. No need to include glib-networking as it's required by libsoup. glib2 is required by libsecret.