1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
4 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages rdesktop)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix git-download)
26 #:use-module (guix build-system cmake)
27 #:use-module (guix build-system gnu)
28 #:use-module (gnu packages compression)
29 #:use-module (gnu packages cups)
30 #:use-module (gnu packages docbook)
31 #:use-module (gnu packages gstreamer)
32 #:use-module (gnu packages image)
33 #:use-module (gnu packages linux)
34 #:use-module (gnu packages pkg-config)
35 #:use-module (gnu packages pulseaudio)
36 #:use-module (gnu packages tls)
37 #:use-module (gnu packages video)
38 #:use-module (gnu packages xorg)
39 #:use-module (gnu packages xml))
41 (define-public rdesktop
48 "mirror://sourceforge/" name "/" name "/" version "/"
49 name "-" version ".tar.gz"))
52 "1r7c1rjmw2xzq8fw0scyb453gy9z19774z1z8ldmzzsfndb03cl8"))))
53 (build-system gnu-build-system)
55 '(#:configure-flags (list (string-append "--with-openssl="
56 (assoc-ref %build-inputs
59 ;; XXX: optional dependencies missing
61 "--disable-smartcard")
63 #:tests? #f)) ;no 'check' target
66 ("openssl" ,openssl)))
67 (home-page "http://www.rdesktop.org/")
68 (synopsis "Client for Windows Terminal Services")
70 "rdesktop is a client for Microsoft's Windows Remote Desktop Services,
71 capable of natively speaking Remote Desktop Protocol (RDP). It allows users
72 to remotely control a user's Windows desktop.")
73 (license license:gpl3+)))
75 (define-public freerdp
76 (let ((commit "03ab68318966c3a22935a02838daaea7b7fbe96c"))
79 (version (git-version "1.1" "1" commit))
83 ;; We need the 1.1 branch for RDP support in vinagre.
84 (url "git://github.com/FreeRDP/FreeRDP.git")
86 (file-name (git-file-name name version))
88 (base32 "07ish8rmvbk2zd99k91qybmmh5h4afly75l5kbvslhq1r6k8pbmp"))))
89 (build-system cmake-build-system)
91 `(("pkg-config" ,pkg-config)
94 ("docbook-xsl" ,docbook-xsl)
98 ("libxkbfile" ,libxkbfile)
99 ("libxcursor" ,libxcursor)
103 ("libxrandr" ,libxrandr)
104 ("libxrender" ,libxrender)
105 ("libxinerama" ,libxinerama)
106 ("libxshmfence" ,libxshmfence)
108 ("ffmpeg" ,ffmpeg-2.8)
110 ("pulseaudio" ,pulseaudio)
111 ("alsa-lib" ,alsa-lib)
113 ("openssl" ,openssl)))
115 `(#:build-type "RELEASE"
117 (list "-DWITH_JPEG=ON"
118 ,@(if (string-prefix? "x86_64"
119 (or (%current-target-system)
123 (string-append "-DDOCBOOKXSL_DIR="
124 (assoc-ref %build-inputs "docbook-xsl")
125 "/xml/xsl/docbook-xsl-"
126 ,(package-version docbook-xsl))
129 #:tests? #f)) ; no 'test' target
130 (home-page "https://www.freerdp.com")
131 (synopsis "Remote Desktop Protocol implementation")
132 (description "FreeRDP implements Microsoft's Remote Desktop Protocol.
133 It consists of the @code{xfreerdp} client, libraries for client and server
134 functionality, and Windows Portable Runtime (WinPR), a portable implementation
135 of parts of the Windows API.")
136 (license license:asl2.0))))