unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39312] gnu: Add chatty.
@ 2020-01-27 18:25 Jonathan Brielmaier
  2020-01-31 16:04 ` [bug#39312] gnu: Add chatty.[v2] Jonathan Brielmaier
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-01-27 18:25 UTC (permalink / raw)
  To: 39312

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Hi,

attached is a patch for Chatty. A GUI program for SMS and XMPP optimized
for mobile interfaces. XMPP works nicely already. SMS not yet: I have
the required package "purple-mm-sms" already in my local git, but
couldn't test it yet, because I lack the hardware. I'll submit it
separately as soon it's ready and tested :)

~Jonathan

[-- Attachment #2: 0001-gnu-Add-chatty.patch --]
[-- Type: text/x-patch, Size: 2862 bytes --]

From d746b3b01acdec8a4ce6a508a063f951dd9e74f6 Mon Sep 17 00:00:00 2001
From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Date: Mon, 27 Jan 2020 19:10:10 +0100
Subject: [PATCH] gnu: Add chatty.

* gnu/packages/messaging.scm (chatty): New variable.
---
 gnu/packages/messaging.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 839f718134..e66d10b0e9 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
+;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -55,6 +56,7 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages enchant)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -1995,4 +1997,40 @@ support for high performance Telegram Bot creation.")
       (home-page "https://core.telegram.org/tdlib")
       (license license:boost1.0))))

+(define-public chatty
+ (package
+   (name "chatty")
+   (version "0.1.7")
+   (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/chatty.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1prqd2dnib3j12pjiplzr2rim9q617vmvzv76lgmz0n3bmp7v7ma"))))
+   (build-system meson-build-system)
+   (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ;for update-desktop-database
+       ("evolution-data-server" ,evolution-data-server) ;libebook-contacts
+       ("folks" ,folks)
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("libgcrypt" ,libgcrypt)
+       ("libgee" ,libgee)
+       ("libhandy" ,libhandy)
+       ("pidgin" ,pidgin)
+       ("purple-mm-sms" ,purple-mm-sms)
+       ("pkg-config" ,pkg-config)
+       ("sqlite" ,sqlite)))
+   (propagated-inputs
+     `(("hicolor-icon-theme" ,hicolor-icon-theme)))
+   (synopsis "Mobile client for XMPP and SMS messaging")
+   (description "Chatty is a chat program for XMPP and SMS.  It works on mobile
+as well as on desktop platforms.  It's based on libpurple and ModemManager.")
+   (home-page "https://source.puri.sm/Librem5/chatty")
+   (license license:gpl3+)))
+
 ;;; messaging.scm ends here
--
2.25.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] gnu: Add chatty.[v2]
  2020-01-27 18:25 [bug#39312] gnu: Add chatty Jonathan Brielmaier
@ 2020-01-31 16:04 ` Jonathan Brielmaier
  2020-02-02 19:37   ` Leo Famulari
  2020-02-03 10:55 ` [bug#39312] [PATCH] gnu: Add chatty jonathan.brielmaier
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-01-31 16:04 UTC (permalink / raw)
  To: 39312

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

This time patch v2 without purple-mm-sms, as it's not included yet.

On 27.01.20 19:25, Jonathan Brielmaier wrote:
> Hi,
>
> attached is a patch for Chatty. A GUI program for SMS and XMPP optimized
> for mobile interfaces. XMPP works nicely already. SMS not yet: I have
> the required package "purple-mm-sms" already in my local git, but
> couldn't test it yet, because I lack the hardware. I'll submit it
> separately as soon it's ready and tested :)
>
> ~Jonathan

[-- Attachment #2: 0001-gnu-Add-chatty.patch --]
[-- Type: text/x-patch, Size: 2182 bytes --]

From 87e4b48eae543d53c7d80bf031dd93671186e45f Mon Sep 17 00:00:00 2001
From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Date: Thu, 23 Jan 2020 21:32:39 +0100
Subject: [PATCH] gnu: Add chatty.

* gnu/packages/messaging.scm (chatty): New variable.
---
 gnu/packages/messaging.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 5754c7ce08..1dba50d55c 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2041,4 +2041,39 @@ support for high performance Telegram Bot creation.")
     (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
     (license license:gpl2+)))

+(define-public chatty
+ (package
+   (name "chatty")
+   (version "0.1.7")
+   (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/chatty.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1prqd2dnib3j12pjiplzr2rim9q617vmvzv76lgmz0n3bmp7v7ma"))))
+   (build-system meson-build-system)
+   (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+       ("evolution-data-server" ,evolution-data-server) ;libebook-contacts
+       ("folks" ,folks)
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("libgcrypt" ,libgcrypt)
+       ("libgee" ,libgee)
+       ("libhandy" ,libhandy)
+       ("pidgin" ,pidgin)
+       ("pkg-config" ,pkg-config)
+       ("sqlite" ,sqlite)))
+   (propagated-inputs
+     `(("hicolor-icon-theme" ,hicolor-icon-theme)))
+   (synopsis "Mobile client for XMPP and SMS messaging")
+   (description "Chatty is a chat program for XMPP and SMS.  It works on mobile
+as well as on desktop platforms.  It's based on libpurple and ModemManager.")
+   (home-page "https://source.puri.sm/Librem5/chatty")
+   (license license:gpl3+)))
+
 ;;; messaging.scm ends here
--
2.24.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] gnu: Add chatty.[v2]
  2020-01-31 16:04 ` [bug#39312] gnu: Add chatty.[v2] Jonathan Brielmaier
@ 2020-02-02 19:37   ` Leo Famulari
  0 siblings, 0 replies; 17+ messages in thread
From: Leo Famulari @ 2020-02-02 19:37 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 39312

On Fri, Jan 31, 2020 at 05:04:52PM +0100, Jonathan Brielmaier wrote:
> This time patch v2 without purple-mm-sms, as it's not included yet.

Okay!

> From 87e4b48eae543d53c7d80bf031dd93671186e45f Mon Sep 17 00:00:00 2001
> From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
> Date: Thu, 23 Jan 2020 21:32:39 +0100
> Subject: [PATCH] gnu: Add chatty.
> 
> * gnu/packages/messaging.scm (chatty): New variable.
> ---
>  gnu/packages/messaging.scm | 35 +++++++++++++++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
> 
> diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
> index 5754c7ce08..1dba50d55c 100644
> --- a/gnu/packages/messaging.scm
> +++ b/gnu/packages/messaging.scm
> @@ -2041,4 +2041,39 @@ support for high performance Telegram Bot creation.")
>      (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
>      (license license:gpl2+)))
> 
> +(define-public chatty

Except that it's still part of the context of this patch (the first two
lines) and so the patch doesn't apply. Can you send a v3?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH] gnu: Add chatty.
  2020-01-27 18:25 [bug#39312] gnu: Add chatty Jonathan Brielmaier
  2020-01-31 16:04 ` [bug#39312] gnu: Add chatty.[v2] Jonathan Brielmaier
@ 2020-02-03 10:55 ` jonathan.brielmaier
  2020-02-15 13:17   ` Jakub Kądziołka
  2020-03-24 15:48 ` Jakub Kądziołka
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 17+ messages in thread
From: jonathan.brielmaier @ 2020-02-03 10:55 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

From: Jonathan Brielmaier <jonathan.brielmaier@web.de>

* gnu/packages/messaging.scm (chatty): New variable.
---
 gnu/packages/messaging.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 839f718134..0a45711ee6 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
+;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -55,6 +56,7 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages enchant)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -1995,4 +1997,39 @@ support for high performance Telegram Bot creation.")
       (home-page "https://core.telegram.org/tdlib")
       (license license:boost1.0))))

+(define-public chatty
+ (package
+   (name "chatty")
+   (version "0.1.7")
+   (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/chatty.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1prqd2dnib3j12pjiplzr2rim9q617vmvzv76lgmz0n3bmp7v7ma"))))
+   (build-system meson-build-system)
+   (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ;for update-desktop-database
+       ("evolution-data-server" ,evolution-data-server) ;libebook-contacts
+       ("folks" ,folks)
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("libgcrypt" ,libgcrypt)
+       ("libgee" ,libgee)
+       ("libhandy" ,libhandy)
+       ("pidgin" ,pidgin)
+       ("pkg-config" ,pkg-config)
+       ("sqlite" ,sqlite)))
+   (propagated-inputs
+     `(("hicolor-icon-theme" ,hicolor-icon-theme)))
+   (synopsis "Mobile client for XMPP and SMS messaging")
+   (description "Chatty is a chat program for XMPP and SMS.  It works on mobile
+as well as on desktop platforms.  It's based on libpurple and ModemManager.")
+   (home-page "https://source.puri.sm/Librem5/chatty")
+   (license license:gpl3+)))
+
 ;;; messaging.scm ends here
--
2.25.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH] gnu: Add chatty.
  2020-02-03 10:55 ` [bug#39312] [PATCH] gnu: Add chatty jonathan.brielmaier
@ 2020-02-15 13:17   ` Jakub Kądziołka
  0 siblings, 0 replies; 17+ messages in thread
From: Jakub Kądziołka @ 2020-02-15 13:17 UTC (permalink / raw)
  To: jonathan.brielmaier; +Cc: 39312

[-- Attachment #1: Type: text/plain, Size: 1913 bytes --]

On Mon, Feb 03, 2020 at 11:55:06AM +0100, jonathan.brielmaier@web.de wrote:
> From: Jonathan Brielmaier <jonathan.brielmaier@web.de>
> 
> * gnu/packages/messaging.scm (chatty): New variable.
> ---
>  gnu/packages/messaging.scm | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)

Hi, I installed the package into my user profile, and all the icons had
the "image not found" icon. After I installed adwaita-icon-theme
separately, the icons showed up properly. Maybe you need
adwaita-icon-theme in the propagated-inputs? But, if so, I'm confused as
to why hicolor-icon-theme is being propagated. Maybe both are needed,
but that seems weird.

> +   (native-inputs
> +     `(("desktop-file-utils" ,desktop-file-utils) ;for update-desktop-database
> +       ("evolution-data-server" ,evolution-data-server) ;libebook-contacts
> +       ("folks" ,folks)
> +       ("gettext" ,gettext-minimal)
> +       ("glib:bin" ,glib "bin")
> +       ("gtk+:bin" ,gtk+ "bin")
> +       ("libgcrypt" ,libgcrypt)
> +       ("libgee" ,libgee)
> +       ("libhandy" ,libhandy)
> +       ("pidgin" ,pidgin)
> +       ("pkg-config" ,pkg-config)
> +       ("sqlite" ,sqlite)))
Most of these should not be in native-inputs, but normal inputs.
See '(guix)package Reference':

|         The distinction between ‘native-inputs’ and ‘inputs’ is
|         necessary when considering cross-compilation.  When
|         cross-compiling, dependencies listed in ‘inputs’ are built for
|         the _target_ architecture; conversely, dependencies listed in
|         ‘native-inputs’ are built for the architecture of the _build_
|         machine.
|
|         ‘native-inputs’ is typically used to list tools needed at
|         build time, but not at run time, such as Autoconf, Automake,
|         pkg-config, Gettext, or Bison.

Regards,
Jakub Kądziołka

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH] gnu: Add chatty.
  2020-01-27 18:25 [bug#39312] gnu: Add chatty Jonathan Brielmaier
  2020-01-31 16:04 ` [bug#39312] gnu: Add chatty.[v2] Jonathan Brielmaier
  2020-02-03 10:55 ` [bug#39312] [PATCH] gnu: Add chatty jonathan.brielmaier
@ 2020-03-24 15:48 ` Jakub Kądziołka
  2020-03-24 17:40   ` Jonathan Brielmaier
  2020-04-13 17:25 ` [bug#39312] [PATCH 0/3] [v2] " Jonathan Brielmaier
  2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
  4 siblings, 1 reply; 17+ messages in thread
From: Jakub Kądziołka @ 2020-03-24 15:48 UTC (permalink / raw)
  To: 39312; +Cc: control, jonathan.brielmaier

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

tags 39312 moreinfo
thanks

Hi there,

what is the status of this patch? Could you fix the issues mentioned in
[0] and send an updated patch, or is that something you don't feel like
pursuing?

[0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39312#17

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH] gnu: Add chatty.
  2020-03-24 15:48 ` Jakub Kądziołka
@ 2020-03-24 17:40   ` Jonathan Brielmaier
  0 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-03-24 17:40 UTC (permalink / raw)
  To: Jakub Kądziołka, 39312; +Cc: control

Hi Jakub,

thanks for the heads up. I continued some work but in the mean-time
chatty got a new dependency which has still failing tests. I'll post a
new patch series in the coming days...

All in all, this patch suite is not really urgent :P

On 24.03.20 16:48, Jakub Kądziołka wrote:
> tags 39312 moreinfo
> thanks
>
> Hi there,
>
> what is the status of this patch? Could you fix the issues mentioned in
> [0] and send an updated patch, or is that something you don't feel like
> pursuing?
>
> [0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39312#17
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 0/3] [v2] Add chatty.
  2020-01-27 18:25 [bug#39312] gnu: Add chatty Jonathan Brielmaier
                   ` (2 preceding siblings ...)
  2020-03-24 15:48 ` Jakub Kądziołka
@ 2020-04-13 17:25 ` Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
                     ` (2 more replies)
  2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
  4 siblings, 3 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-04-13 17:25 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

Hi Jakub,

I finally got the new dependency (feedbackd) building.

The status of the patch series:
* compared to the previous version I moved several inputs around
* chatty runs and XMPP functionality is fine, SMS is still unknown as I
  don't have a proper device for testing
* feedbackd builds but I don't know if its really working for the same
  reason as above
* feedbackd could maybe go to another module, but audio.scm doesn't
  really fit as it also provides haptic feedback...

All in all I think it should be in a state to be merged into master.
Further improvements can be done in master. Should be easier.

Jonathan Brielmaier (3):
  gnu: Add feedbackd.
  gnu: Add purple-mm-sms.
  gnu: Add chatty.

 gnu/packages/gnome.scm     | 36 +++++++++++++++++-
 gnu/packages/messaging.scm | 76 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+), 1 deletion(-)

--
2.26.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 1/3] gnu: Add feedbackd.
  2020-04-13 17:25 ` [bug#39312] [PATCH 0/3] [v2] " Jonathan Brielmaier
@ 2020-04-13 17:25   ` Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
  2 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-04-13 17:25 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

* gnu/packages/gnome.scm (feedbackd): New variable.
---
 gnu/packages/gnome.scm | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 820811f8fa..a2d77700e7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -43,7 +43,7 @@
 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
-;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
+;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
@@ -10042,3 +10042,37 @@ communicating using the GVariant serialization format instead of JSON when
 both peers support it.  You might want that when communicating on a single
 host to avoid parser overhead and memory-allocator fragmentation.")
     (license license:lgpl2.1+)))
+
+(define-public feedbackd
+  (package
+    (name "feedbackd")
+    (version "0.0.0+git20200304")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/feedbackd.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0a1pg3gckcdfd0scpv7pi4pp8i4fcikdy2nqj5fv1nfmhnzlhq3q"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("gobject-introspection" ,gobject-introspection)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)))
+    (inputs
+     `(("dbus" ,dbus)
+       ("gsound" ,gsound)
+       ("json-glib" ,json-glib)
+       ("libgudev" ,libgudev)))
+    (propagated-inputs
+     `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
+    (synopsis "Haptic/visual/audio feedback via DBus")
+    (description "Feedbackd provides a DBus daemon to act on events to provide
+haptic, visual and audio feedback.  It offers the libfeedbackd library and
+GObject introspection bindings.")
+     (home-page "https://source.puri.sm/Librem5/feedbackd")
+     (license (list license:lgpl2.1+   ; libfeedbackd
+                    license:lgpl3+)))) ; the rest
--
2.26.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms.
  2020-04-13 17:25 ` [bug#39312] [PATCH 0/3] [v2] " Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
@ 2020-04-13 17:25   ` Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
  2 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-04-13 17:25 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

* gnu/packages/messaging.scm (purple-mm-sms): New variable.
---
 gnu/packages/messaging.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c6217a95de..98b8fb2637 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
+;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -58,6 +59,7 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages enchant)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -2108,4 +2110,40 @@ support for high performance Telegram Bot creation.")
       (home-page "https://core.telegram.org/tdlib")
       (license license:boost1.0))))

+(define-public purple-mm-sms
+  (package
+    (name "purple-mm-sms")
+    (version "0.1.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/purple-mm-sms.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1daf7zl8bhhm1szkgxflpqql69f2w9i9nlgf1n4p1nynxifz1bim"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (let ((out (assoc-ref %outputs "out")))
+         ;; Fix hardcoded paths
+         (list (string-append "DESTDIR=" out)
+               (string-append "PLUGIN_DIR_PURPLE=" out "/lib/purple-2")
+               (string-append "DATA_ROOT_DIR_PURPLE=" out "/usr/share")))
+       #:phases
+       (modify-phases %standard-phases
+          (delete 'configure)
+          (delete 'check)))) ; no tests
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("modem-manager" ,modem-manager)
+       ("pidgin" ,pidgin)))
+    (synopsis "Libpurple plugin for SMS via ModemManager")
+    (description "Plugin for libpurple to allow sending SMS using ModemManager.")
+    (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
+    (license license:gpl2+)))
+
 ;;; messaging.scm ends here
--
2.26.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 3/3] gnu: Add chatty.
  2020-04-13 17:25 ` [bug#39312] [PATCH 0/3] [v2] " Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
  2020-04-13 17:25   ` [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms Jonathan Brielmaier
@ 2020-04-13 17:25   ` Jonathan Brielmaier
  2020-04-22 15:08     ` Jonathan Brielmaier
  2 siblings, 1 reply; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-04-13 17:25 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

* gnu/packages/messaging.scm (chatty): New variable.
---
 gnu/packages/messaging.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 98b8fb2637..075d69ed81 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2146,4 +2146,42 @@ support for high performance Telegram Bot creation.")
     (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
     (license license:gpl2+)))

+(define-public chatty
+ (package
+   (name "chatty")
+   (version "0.1.9")
+   (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/chatty.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "18cjm24sj3sm9n2888id9dmzqn3fp5yrwvfkxfbjmvhvv1hyckj8"))))
+   (build-system meson-build-system)
+   (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)))
+   (inputs
+    `(("evolution-data-server" ,evolution-data-server) ;libebook-contacts
+      ("feedbackd" ,feedbackd)
+      ("folks" ,folks)
+      ("libgcrypt" ,libgcrypt)
+      ("libgee" ,libgee)
+      ("libhandy" ,libhandy)
+      ("pidgin" ,pidgin)
+      ("purple-mm-sms" ,purple-mm-sms)
+      ("sqlite" ,sqlite)))
+   (propagated-inputs
+     `(("adwaita-icon-theme" ,adwaita-icon-theme)))
+   (synopsis "Mobile client for XMPP and SMS messaging")
+   (description "Chatty is a chat program for XMPP and SMS.  It works on mobile
+as well as on desktop platforms.  It's based on libpurple and ModemManager.")
+   (home-page "https://source.puri.sm/Librem5/chatty")
+   (license license:gpl3+)))
+
 ;;; messaging.scm ends here
--
2.26.0

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 3/3] gnu: Add chatty.
  2020-04-13 17:25   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
@ 2020-04-22 15:08     ` Jonathan Brielmaier
  0 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-04-22 15:08 UTC (permalink / raw)
  To: 39312

Ping...

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [v3 PATCH 0/3] Add chatty
  2020-01-27 18:25 [bug#39312] gnu: Add chatty Jonathan Brielmaier
                   ` (3 preceding siblings ...)
  2020-04-13 17:25 ` [bug#39312] [PATCH 0/3] [v2] " Jonathan Brielmaier
@ 2020-05-11 16:16 ` Jonathan Brielmaier
  2020-05-11 16:16   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
                     ` (3 more replies)
  4 siblings, 4 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-05-11 16:16 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

Changes compared to v2:
* rebased on current master
* updated feedbackd to most current release
* updated chatty to 1.10.0 and propagated evolution-data-service as it otherwise would not start

Jonathan Brielmaier (3):
  gnu: Add feedbackd.
  gnu: Add purple-mm-sms.
  gnu: Add chatty.

 gnu/packages/gnome.scm     | 36 +++++++++++++++++-
 gnu/packages/messaging.scm | 76 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+), 1 deletion(-)

--
2.26.2





^ permalink raw reply	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 1/3] gnu: Add feedbackd.
  2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
@ 2020-05-11 16:16   ` Jonathan Brielmaier
  2020-05-11 16:16   ` [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms Jonathan Brielmaier
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-05-11 16:16 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

* gnu/packages/gnome.scm (feedbackd): New variable.
---
 gnu/packages/gnome.scm | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d5a2032ccf..f99a41adae 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -43,7 +43,7 @@
 ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
 ;;; Copyright © 2019 David Wilson <david@daviwil.com>
 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan@disroot.org>
-;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
+;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler@student.tugraz.at>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
@@ -10216,3 +10216,37 @@ communicating using the GVariant serialization format instead of JSON when
 both peers support it.  You might want that when communicating on a single
 host to avoid parser overhead and memory-allocator fragmentation.")
     (license license:lgpl2.1+)))
+
+(define-public feedbackd
+  (package
+    (name "feedbackd")
+    (version "0.0.0+git20200420")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/feedbackd.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0glzc284wbvwvax52lp6sqr4whhpbqrkn8isidlqz1yrag3phfv9"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("gobject-introspection" ,gobject-introspection)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)))
+    (inputs
+     `(("dbus" ,dbus)
+       ("gsound" ,gsound)
+       ("json-glib" ,json-glib)
+       ("libgudev" ,libgudev)))
+    (propagated-inputs
+     `(("glib" ,glib))) ; in Requires of libfeedback-0.0.pc
+    (synopsis "Haptic/visual/audio feedback via DBus")
+    (description "Feedbackd provides a DBus daemon to act on events to provide
+haptic, visual and audio feedback.  It offers the libfeedbackd library and
+GObject introspection bindings.")
+     (home-page "https://source.puri.sm/Librem5/feedbackd")
+     (license (list license:lgpl2.1+   ; libfeedbackd
+                    license:lgpl3+)))) ; the rest
--
2.26.2





^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms.
  2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
  2020-05-11 16:16   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
@ 2020-05-11 16:16   ` Jonathan Brielmaier
  2020-05-11 16:16   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
  2020-06-16 20:57   ` bug#39312: [v3 PATCH 0/3] " Efraim Flashner
  3 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-05-11 16:16 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

* gnu/packages/messaging.scm (purple-mm-sms): New variable.
---
 gnu/packages/messaging.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 46242f20e9..25bd239d8f 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -59,6 +60,7 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages enchant)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
@@ -2160,4 +2162,40 @@ support for high performance Telegram Bot creation.")
       (home-page "https://core.telegram.org/tdlib")
       (license license:boost1.0))))

+(define-public purple-mm-sms
+  (package
+    (name "purple-mm-sms")
+    (version "0.1.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/purple-mm-sms.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1daf7zl8bhhm1szkgxflpqql69f2w9i9nlgf1n4p1nynxifz1bim"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (let ((out (assoc-ref %outputs "out")))
+         ;; Fix hardcoded paths
+         (list (string-append "DESTDIR=" out)
+               (string-append "PLUGIN_DIR_PURPLE=" out "/lib/purple-2")
+               (string-append "DATA_ROOT_DIR_PURPLE=" out "/usr/share")))
+       #:phases
+       (modify-phases %standard-phases
+          (delete 'configure)
+          (delete 'check)))) ; no tests
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("modem-manager" ,modem-manager)
+       ("pidgin" ,pidgin)))
+    (synopsis "Libpurple plugin for SMS via ModemManager")
+    (description "Plugin for libpurple to allow sending SMS using ModemManager.")
+    (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
+    (license license:gpl2+)))
+
 ;;; messaging.scm ends here
--
2.26.2





^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [bug#39312] [PATCH 3/3] gnu: Add chatty.
  2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
  2020-05-11 16:16   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
  2020-05-11 16:16   ` [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms Jonathan Brielmaier
@ 2020-05-11 16:16   ` Jonathan Brielmaier
  2020-06-16 20:57   ` bug#39312: [v3 PATCH 0/3] " Efraim Flashner
  3 siblings, 0 replies; 17+ messages in thread
From: Jonathan Brielmaier @ 2020-05-11 16:16 UTC (permalink / raw)
  To: 39312; +Cc: Jonathan Brielmaier

* gnu/packages/messaging.scm (chatty): New variable.
---
 gnu/packages/messaging.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 25bd239d8f..331287fc04 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2198,4 +2198,42 @@ support for high performance Telegram Bot creation.")
     (home-page "https://source.puri.sm/Librem5/purple-mm-sms")
     (license license:gpl2+)))

+(define-public chatty
+ (package
+   (name "chatty")
+   (version "0.1.10")
+   (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://source.puri.sm/Librem5/chatty.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0czvqwjzsb0rvmgrmbh97m1b35rnwl41j7q32z4fcqb7bschibql"))))
+   (build-system meson-build-system)
+   (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("gtk+:bin" ,gtk+ "bin")
+       ("pkg-config" ,pkg-config)))
+   (inputs
+    `(("feedbackd" ,feedbackd)
+      ("folks" ,folks)
+      ("libgcrypt" ,libgcrypt)
+      ("libgee" ,libgee)
+      ("libhandy" ,libhandy)
+      ("pidgin" ,pidgin)
+      ("purple-mm-sms" ,purple-mm-sms)
+      ("sqlite" ,sqlite)))
+   (propagated-inputs
+     `(("adwaita-icon-theme" ,adwaita-icon-theme)
+       ("evolution-data-server" ,evolution-data-server)))
+   (synopsis "Mobile client for XMPP and SMS messaging")
+   (description "Chatty is a chat program for XMPP and SMS.  It works on mobile
+as well as on desktop platforms.  It's based on libpurple and ModemManager.")
+   (home-page "https://source.puri.sm/Librem5/chatty")
+   (license license:gpl3+)))
+
 ;;; messaging.scm ends here
--
2.26.2





^ permalink raw reply related	[flat|nested] 17+ messages in thread

* bug#39312: [v3 PATCH 0/3] Add chatty
  2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
                     ` (2 preceding siblings ...)
  2020-05-11 16:16   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
@ 2020-06-16 20:57   ` Efraim Flashner
  3 siblings, 0 replies; 17+ messages in thread
From: Efraim Flashner @ 2020-06-16 20:57 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 39312-done

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

On Mon, May 11, 2020 at 06:16:50PM +0200, Jonathan Brielmaier wrote:
> Changes compared to v2:
> * rebased on current master
> * updated feedbackd to most current release
> * updated chatty to 1.10.0 and propagated evolution-data-service as it otherwise would not start
> 
> Jonathan Brielmaier (3):
>   gnu: Add feedbackd.
>   gnu: Add purple-mm-sms.
>   gnu: Add chatty.
> 
>  gnu/packages/gnome.scm     | 36 +++++++++++++++++-
>  gnu/packages/messaging.scm | 76 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 111 insertions(+), 1 deletion(-)
> 

Patches pushed with some minor changes.
feedbackd: Bumped it to 0.0.0+git20200527
purple-mm-sms: replaced (delete 'tests) with #:tests? #f. Also changed
the output directories in the make-flags
chatty: Tried to skip the post-install update-desktop-database phase
and remove the extra native-inputs but was only partly successful.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-06-16 21:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 18:25 [bug#39312] gnu: Add chatty Jonathan Brielmaier
2020-01-31 16:04 ` [bug#39312] gnu: Add chatty.[v2] Jonathan Brielmaier
2020-02-02 19:37   ` Leo Famulari
2020-02-03 10:55 ` [bug#39312] [PATCH] gnu: Add chatty jonathan.brielmaier
2020-02-15 13:17   ` Jakub Kądziołka
2020-03-24 15:48 ` Jakub Kądziołka
2020-03-24 17:40   ` Jonathan Brielmaier
2020-04-13 17:25 ` [bug#39312] [PATCH 0/3] [v2] " Jonathan Brielmaier
2020-04-13 17:25   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
2020-04-13 17:25   ` [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms Jonathan Brielmaier
2020-04-13 17:25   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
2020-04-22 15:08     ` Jonathan Brielmaier
2020-05-11 16:16 ` [bug#39312] [v3 PATCH 0/3] " Jonathan Brielmaier
2020-05-11 16:16   ` [bug#39312] [PATCH 1/3] gnu: Add feedbackd Jonathan Brielmaier
2020-05-11 16:16   ` [bug#39312] [PATCH 2/3] gnu: Add purple-mm-sms Jonathan Brielmaier
2020-05-11 16:16   ` [bug#39312] [PATCH 3/3] gnu: Add chatty Jonathan Brielmaier
2020-06-16 20:57   ` bug#39312: [v3 PATCH 0/3] " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).