GNU bug report logs - #42500
[PATCH] gnu: Add srain.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Fri, 24 Jul 2020 01:16:01 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.org (宋文武)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42500 in the body.
You can then email your comments to 42500 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42500; Package guix-patches. (Fri, 24 Jul 2020 01:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vinicius Monego <monego <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 24 Jul 2020 01:16:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add srain.
Date: Thu, 23 Jul 2020 22:14:49 -0300
* gnu/packages/irc.scm (srain): New package.
---
I get a "bus error" when I try to leave a channel. Can someone take a look at this?

It doesn't happen in the flatpak or deb version. Everything else works.

 gnu/packages/irc.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 81e4205acf..8edb2f6bcb 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Marius Bakke <mbakke <at> fastmail.com>
 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust <at> gmail.com>
+;;; Copyright © 2020 Vinicius Monego <monego <at> posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,8 +27,10 @@
 (define-module (gnu packages irc)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
@@ -45,7 +48,9 @@
   #:use-module (gnu packages file)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages lxqt)
@@ -60,6 +65,7 @@
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages tcl)
+  #:use-module (gnu packages textutils)
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
@@ -238,6 +244,48 @@ using a mouse.  It is customizable and extensible with plugins and scripts.")
     (home-page "https://www.weechat.org/")
     (license license:gpl3)))
 
+(define-public srain
+  (package
+    (name "srain")
+    (version "1.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/SrainApp/srain")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ypaxdnag61smd8vy4rzl8sarwxa85543nzp0c9zfq02jqmz1gah"))))
+    (arguments
+     `(#:tests? #f ;there are no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'fix-permissions
+           ;; Make po folder writable for gettext to install translations.
+           (lambda _
+             (for-each make-file-writable
+                       (find-files "po" "." #:directories? #t)))))))
+    (build-system glib-or-gtk-build-system)
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("glib-networking" ,glib-networking)
+       ("gtk+" ,gtk+)
+       ("libconfig" ,libconfig)
+       ("libsecret" ,libsecret)
+       ("libsoup" ,libsoup)
+       ("openssl" ,openssl)))
+    (home-page "https://srain.im")
+    (synopsis "Modern IRC client written in GTK")
+    (description
+     "Srain is an IRC client written in GTK.  It aims to be modern and easy to
+use while still remaining useful to power users.  It also has partial support
+for the IRCv3 protocol.")
+    (license license:gpl3+)))
+
 (define-public ircii
   (package
     (name "ircii")
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#42500; Package guix-patches. (Sat, 25 Jul 2020 08:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 42500 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: Vinicius Monego <monego <at> posteo.net>
Cc: 42500 <at> debbugs.gnu.org
Subject: Re: [bug#42500] [PATCH] gnu: Add srain.
Date: Sat, 25 Jul 2020 16:11:59 +0800
Vinicius Monego <monego <at> posteo.net> writes:

> * gnu/packages/irc.scm (srain): New package.

Pushed, I also add 'gsettings-desktop-schemas' to the inputs, otherwise
it fail with missing schema for 'org.gnome.system.proxy'.

> ---
> I get a "bus error" when I try to leave a channel. Can someone take a look at this?
>
> It doesn't happen in the flatpak or deb version. Everything else works.

I also got the same error once upon exit, and then can't close it (the
window is closed, but the process is still running), also got a
Segmentation fault when connecting freenode.  Will investigate it later...




Reply sent to iyzsong <at> member.fsf.org (宋文武):
You have taken responsibility. (Sat, 25 Jul 2020 08:20:02 GMT) Full text and rfc822 format available.

Notification sent to Vinicius Monego <monego <at> posteo.net>:
bug acknowledged by developer. (Sat, 25 Jul 2020 08:20:02 GMT) Full text and rfc822 format available.

Message #13 received at 42500-done <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: Vinicius Monego <monego <at> posteo.net>
Cc: 42500-done <at> debbugs.gnu.org
Subject: Re: [bug#42500] [PATCH] gnu: Add srain.
Date: Sat, 25 Jul 2020 16:19:19 +0800
iyzsong <at> member.fsf.org (宋文武) writes:

> Vinicius Monego <monego <at> posteo.net> writes:
>
>> * gnu/packages/irc.scm (srain): New package.
>
> Pushed, I also add 'gsettings-desktop-schemas' to the inputs, otherwise
> it fail with missing schema for 'org.gnome.system.proxy'.
>
>> ---
>> I get a "bus error" when I try to leave a channel. Can someone take a look at this?
>>
>> It doesn't happen in the flatpak or deb version. Everything else works.
>
> I also got the same error once upon exit, and then can't close it (the
> window is closed, but the process is still running), also got a
> Segmentation fault when connecting freenode.  Will investigate it later...

Patch applied, close this issue now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 22 Aug 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.