1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages gobby)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix utils)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages glib)
27 #:use-module (gnu packages gnome)
28 #:use-module (gnu packages gtk)
29 #:use-module (gnu packages pkg-config)
30 #:use-module (gnu packages tls)
31 #:use-module (gnu packages xml))
33 (define-public libnet6
39 (uri (string-append "http://releases.0x539.de/net6/net6-"
43 "088yqq60wjx3jqjlhl12893p15gl9asjpavrbhh590qzpqndhp8m"))))
44 (build-system gnu-build-system)
46 `(("pkg-config" ,pkg-config)))
49 '("CXXFLAGS=-std=c++11") ; required by libsigc++
51 (modify-phases %standard-phases
52 (add-before 'configure 'update-gnutls-api
54 (substitute* "src/encrypt.cpp"
55 ;; The GnuTLS API to set authentication and other parameters
56 ;; and priorities changed in 3.4; update to allow ANON_DH via
58 (("gnutls_kx_set_priority\\(session, kx_prio\\)")
59 (string-append "gnutls_priority_set_direct"
60 "(session, \"NORMAL:+ANON-DH\", NULL)"))))))))
62 `(("libsigc++" ,libsigc++)
64 (home-page "https://gobby.github.io/")
65 (synopsis "Network access framework for IPv4/IPv6")
67 "Library which that provides a TCP protocol abstraction for C++.")
68 (license license:lgpl2.1)))
76 (uri (string-append "http://releases.0x539.de/obby/obby-"
78 (file-name (string-append name "-" version ".tar.gz"))
81 "0rwvp0kzsb8y6mq73rzb8yk4kvsrz64i2zf4lfqs3kh0x2k7n7bx"))))
82 (build-system gnu-build-system)
84 `(("pkg-config" ,pkg-config)))
86 `(("libsigc++" ,libsigc++)
88 ("libnet6" ,libnet6)))
90 ;; Required by libsigc++.
91 `(#:configure-flags '("CXXFLAGS=-std=c++11")))
92 (home-page "https://gobby.github.io/")
93 (synopsis "Library for building collaborative editors")
95 "Library that provides synced document buffers. It supports multiple
96 documents in one session. Obby is used by the Gobby collaborative editor.")
97 (license license:gpl2+)))
105 (uri (string-append "http://releases.0x539.de/gobby/gobby-"
107 (file-name (string-append name "-" version ".tar.gz"))
110 "0w8q01lf6bcdz537b29m7rwlbc7k87b12vnpm1h6219ypvzqkgcc"))))
111 (build-system gnu-build-system)
113 `(("pkg-config" ,pkg-config)
114 ("intltool" ,intltool)))
116 `(("libxml++-2" ,libxml++-2)
119 ("gtksourceview-2" ,gtksourceview-2)
123 ;; Required by libsigc++.
124 `(#:configure-flags '("CXXFLAGS=-std=c++11")))
125 (home-page "https://gobby.github.io/")
126 (synopsis "Collaborative editor")
128 "Collaborative editor that supports multiple documents in one session and
129 a multi-user chat. Gobby allows multiple users to edit the same document
130 together over the internet in real-time.")
131 (license license:gpl2+)))