gnu: freerdp: Update to 2.0.0-rc4.

* gnu/packages/rdesktop.scm (freerdp): Update to 2.0.0-rc4.
[native-inputs]: Add docbook-xml, glib. Sort alphabetically.
[inputs]: Add libxkbcommon, wayland. Sort alphabetically.
[arguments]: Explicitly disable libsystemd.
This commit is contained in:
Efraim Flashner 2018-11-30 10:29:35 +02:00
parent 6ec43b0d6b
commit a1a6fc702a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 65 additions and 58 deletions

View File

@ -2,6 +2,7 @@
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -28,6 +29,8 @@
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages cups) #:use-module (gnu packages cups)
#:use-module (gnu packages docbook) #:use-module (gnu packages docbook)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib)
#:use-module (gnu packages gstreamer) #:use-module (gnu packages gstreamer)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
@ -35,6 +38,7 @@
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages video) #:use-module (gnu packages video)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
@ -73,64 +77,67 @@ to remotely control a user's Windows desktop.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public freerdp (define-public freerdp
(let ((commit "03ab68318966c3a22935a02838daaea7b7fbe96c")) (package
(package (name "freerdp")
(name "freerdp") (version "2.0.0-rc4")
(version (git-version "1.1" "1" commit)) (source (origin
(source (origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "git://github.com/FreeRDP/FreeRDP.git")
;; We need the 1.1 branch for RDP support in vinagre. (commit version)))
(url "git://github.com/FreeRDP/FreeRDP.git") (file-name (git-file-name name version))
(commit commit))) (sha256
(file-name (git-file-name name version)) (base32 "0546i0m2d4nz5jh84ngwzpcm3c43fp987jk6cynqspsmvapab6da"))))
(sha256 (build-system cmake-build-system)
(base32 "07ish8rmvbk2zd99k91qybmmh5h4afly75l5kbvslhq1r6k8pbmp")))) (native-inputs
(build-system cmake-build-system) `(("docbook-xml" ,docbook-xml)
(native-inputs ("docbook-xsl" ,docbook-xsl)
`(("pkg-config" ,pkg-config) ("glib" ,glib)
("libxslt" ,libxslt) ("libxml2" ,libxml2)
("libxml2" ,libxml2) ("libxslt" ,libxslt)
("docbook-xsl" ,docbook-xsl) ("pkg-config" ,pkg-config)
("xmlto" ,xmlto))) ("xmlto" ,xmlto)))
(inputs (inputs
`(("libx11" ,libx11) `(("alsa-lib" ,alsa-lib)
("libxkbfile" ,libxkbfile) ("cups" ,cups)
("libxcursor" ,libxcursor) ("ffmpeg" ,ffmpeg)
("libxext" ,libxext) ("libjpeg" ,libjpeg)
("libxi" ,libxi) ("libx11" ,libx11)
("libxv" ,libxv) ("libxkbcommon" ,libxkbcommon)
("libxrandr" ,libxrandr) ("libxkbfile" ,libxkbfile)
("libxrender" ,libxrender) ("libxcursor" ,libxcursor)
("libxinerama" ,libxinerama) ("libxext" ,libxext)
("libxshmfence" ,libxshmfence) ("libxi" ,libxi)
("cups" ,cups) ("libxv" ,libxv)
("ffmpeg" ,ffmpeg-2.8) ("libxrandr" ,libxrandr)
("libjpeg" ,libjpeg) ("libxrender" ,libxrender)
("pulseaudio" ,pulseaudio) ("libxinerama" ,libxinerama)
("alsa-lib" ,alsa-lib) ("libxshmfence" ,libxshmfence)
("zlib" ,zlib) ("openssl" ,openssl)
("openssl" ,openssl))) ("pulseaudio" ,pulseaudio)
(arguments ("wayland" ,wayland)
`(#:build-type "RELEASE" ("zlib" ,zlib)))
#:configure-flags (arguments
(list "-DWITH_JPEG=ON" `(#:build-type "RELEASE"
,@(if (string-prefix? "x86_64" #:configure-flags
(or (%current-target-system) (list "-DWITH_JPEG=ON"
(%current-system))) "-DWITH_LIBSYSTEMD=OFF"
'("-DWITH_SSE2=ON") ,@(if (string-prefix? "x86_64"
'()) (or (%current-target-system)
(string-append "-DDOCBOOKXSL_DIR=" (%current-system)))
(assoc-ref %build-inputs "docbook-xsl") '("-DWITH_SSE2=ON")
"/xml/xsl/docbook-xsl-" '())
,(package-version docbook-xsl)) (string-append "-DDOCBOOKXSL_DIR="
"-DWITH_PULSE=ON" (assoc-ref %build-inputs "docbook-xsl")
"-DWITH_CUPS=ON") "/xml/xsl/docbook-xsl-"
#:tests? #f)) ; no 'test' target ,(package-version docbook-xsl))
(home-page "https://www.freerdp.com") "-DWITH_PULSE=ON"
(synopsis "Remote Desktop Protocol implementation") "-DWITH_CUPS=ON")
(description "FreeRDP implements Microsoft's Remote Desktop Protocol. #:tests? #f)) ; no 'test' target
(home-page "https://www.freerdp.com")
(synopsis "Remote Desktop Protocol implementation")
(description "FreeRDP implements Microsoft's Remote Desktop Protocol.
It consists of the @code{xfreerdp} client, libraries for client and server It consists of the @code{xfreerdp} client, libraries for client and server
functionality, and Windows Portable Runtime (WinPR), a portable implementation functionality, and Windows Portable Runtime (WinPR), a portable implementation
of parts of the Windows API.") of parts of the Windows API.")
(license license:asl2.0)))) (license license:asl2.0)))