[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: gnu: utox: Update to 0.11.0.
From: |
Ludovic Courtès |
Subject: |
03/10: gnu: utox: Update to 0.11.0. |
Date: |
Mon, 19 Dec 2016 22:58:30 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit c413c6ade8530fd3bd5e76c88e0642b7f3b52798
Author: ng0 <address@hidden>
Date: Sun Dec 18 20:10:16 2016 +0000
gnu: utox: Update to 0.11.0.
* gnu/packages/messaging.scm (utox): Update to 0.11.0.
[source]: Update source uri to new group namespace on github.
[build-system]: Change to cmake-build-system.
[arguments]: Remove previous content and disable tests,
add two new phases.
[inputs]: Remove libtoxcore, add c-toxcore.
[native-inputs]: Remove it.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/messaging.scm | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 4e3cc30..2d172d8 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -34,6 +34,7 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system python)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages aidc)
#:use-module (gnu packages autotools)
@@ -667,46 +668,52 @@ encrypted messenger protocol.")
(define-public utox
(package
(name "utox")
- (version "0.9.8")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
- (uri (string-append "https://github.com/GrayHatter/uTox/archive/v"
+ (uri (string-append "https://github.com/uTox/uTox/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "13hfqbwzcgvfbvf9yjm62aqsvxnpqppb50c88sys43m7022yqcsy"))))
- (build-system gnu-build-system)
+ "15s4iwjk1s0kihjqn0f07c9618clbphpr827mds3xddkiwnjz37v"))))
+ (build-system cmake-build-system)
(arguments
- '(#:make-flags (list (string-append "PREFIX=" %output)
- "CC=gcc")
- #:tests? #f ; No tests
+ '(#:tests? #f ; No test phase.
#:phases
(modify-phases %standard-phases
- ;; No configure script
- (delete 'configure))))
+ (add-after 'unpack 'fix-freetype-include
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("/usr/include/freetype2")
+ (string-append (assoc-ref %build-inputs "freetype")
+ "/include/freetype2")))))
+ (add-before 'install 'patch-cmake-find-utox
+ (lambda _
+ (substitute* "../build/cmake_install.cmake"
+ (("/uTox-0.11.0/utox")
+ "/build/utox")))))))
(inputs
+ ;; TODO: Fix the file chooser dialog; which input does it need?
`(("dbus" ,dbus)
("filteraudio" ,filteraudio)
("fontconfig" ,fontconfig)
("freetype" ,freetype)
("libsodium" ,libsodium)
- ("libtoxcore" ,libtoxcore)
+ ("c-toxcore" ,c-toxcore)
("libvpx" ,libvpx)
("libx11" ,libx11)
("libxext" ,libxext)
("libxrender" ,libxrender)
("openal" ,openal)
("v4l-utils" ,v4l-utils)))
- (native-inputs
- `(("pkg-config" ,pkg-config)))
(synopsis "Lightweight Tox client")
(description "A lightweight Tox client. Tox is a distributed and secure
instant messenger with audio and video chat capabilities.")
(home-page "http://utox.org/")
(license license:gpl3)))
-
+
(define-public qtox
(package
(name "qtox")
- branch master updated (acb5f7c -> dc0ef09), Ludovic Courtès, 2016/12/19
- 05/10: gnu: cuirass: Add Git to 'PATH'., Ludovic Courtès, 2016/12/19
- 07/10: services: cuirass: Honor 'user' and 'group'., Ludovic Courtès, 2016/12/19
- 09/10: services: guix: Remove dependency on lsh., Ludovic Courtès, 2016/12/19
- 08/10: services: cuirass: Cache defaults to /var/cache/cuirass., Ludovic Courtès, 2016/12/19
- 06/10: services: cuirass: Add 'log-file' option., Ludovic Courtès, 2016/12/19
- 04/10: gnu: utox: Fix description., Ludovic Courtès, 2016/12/19
- 01/10: install: The list of services is now a plain list., Ludovic Courtès, 2016/12/19
- 03/10: gnu: utox: Update to 0.11.0.,
Ludovic Courtès <=
- 02/10: gnu: Add c-toxcore., Ludovic Courtès, 2016/12/19
- 10/10: services: guix: Add 'log-file' configuration option., Ludovic Courtès, 2016/12/19