all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#64313] [PATCH] gnu: freerdp: Enalbe server build
@ 2023-06-27  7:04 Andy Tai
  2023-06-27  7:34 ` [bug#64313] [PATCH v2] gnu: freerdp: Enable " Andy Tai
  2023-09-03  0:15 ` [bug#64313] [PATCH v3] gnu: freerdp: Enable " Andy Tai
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Tai @ 2023-06-27  7:04 UTC (permalink / raw)
  To: 64313; +Cc: Andy Tai

* gnu/packages/rdesktop.scm (freerdp): Enable server build
  [phases] (configure-flags): Enable server build flags
  [inputs]: add server build dependencies and additional protocols
  cairo, dbus, gsm, lame, libxdamage, opencl, openh264, openssl
---
 gnu/packages/rdesktop.scm | 102 ++++++++++++++++++++++----------------
 1 file changed, 58 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index be4fe83cdc..0855e11a11 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -31,16 +31,20 @@ (define-module (gnu packages rdesktop)
   #:use-module (guix utils)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (gnu packages audio)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages mp3)
   #:use-module (gnu packages nettle)
+  #:use-module (gnu packages opencl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages tls)
@@ -83,56 +87,66 @@ (define-public freerdp
   (package
     (name "freerdp")
     (version "2.10.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/FreeRDP/FreeRDP")
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0j5waq4h7l5f0vrh7wmrv6r27p537qwbg7ab8j0n0ia5p4nvgjp2"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/FreeRDP/FreeRDP")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0j5waq4h7l5f0vrh7wmrv6r27p537qwbg7ab8j0n0ia5p4nvgjp2"))))
     (build-system cmake-build-system)
-    (native-inputs
-     (list docbook-xml
-           docbook-xsl
-           glib
-           libxml2
-           libxslt
-           pkg-config
-           xmlto))
-    (inputs
-     (list alsa-lib
-           cups
-           ffmpeg-4
-           libjpeg-turbo
-           libusb
-           libx11
-           libxkbfile
-           libxcursor
-           libxext
-           libxi
-           libxv
-           libxrandr
-           libxrender
-           libxinerama
-           libxshmfence
-           pulseaudio
-           zlib))
+    (native-inputs (list docbook-xml
+                         docbook-xsl
+                         glib
+                         libxml2
+                         libxslt
+                         pkg-config
+                         xmlto))
+    (inputs (list alsa-lib
+                  cairo
+                  cups
+                  dbus
+                  ffmpeg-4
+                  gsm
+                  lame
+                  libjpeg-turbo
+                  libusb
+                  libx11
+                  libxcursor
+                  libxdamage
+                  libxext
+                  libxkbfile
+                  libxi
+                  libxv
+                  libxrandr
+                  libxrender
+                  libxinerama
+                  libxshmfence
+                  pulseaudio
+                  opencl-headers
+                  openh264
+                  opensles
+                  openssl
+                  zlib))
     (propagated-inputs (list libxkbcommon openssl wayland))
     (arguments
      (list #:build-type "RELEASE"
-           #:configure-flags
-           #~(list "-DWITH_JPEG=ON"
-                   #$@(if (target-x86-64?)
-                          #~("-DWITH_SSE2=ON")
-                          #~())
-                   "-DWITH_PULSE=ON"
-                   "-DWITH_CUPS=ON"
-                   "-DBUILD_TESTING=ON")))
+           #:configure-flags #~(list "-DWITH_JPEG=ON"
+                                     #$@(if (target-x86-64?)
+                                            #~("-DWITH_SSE2=ON")
+                                            #~())
+                                     "-DWITH_PULSE=ON"
+                                     "-DWITH_CUPS=ON"
+                                     "-DBUILD_TESTING=ON"
+                                     "-DWITH_SERVER=ON" ;build servers
+                                     "-DWITH_SHADOW=ON" ;build shadow server
+                                     "-DWITH_PROXY=ON"))) ;build proxy server
     (home-page "https://www.freerdp.com")
     (synopsis "Remote Desktop Protocol implementation")
-    (description "FreeRDP implements Microsoft's Remote Desktop Protocol.
+    (description
+     "FreeRDP implements Microsoft's Remote Desktop Protocol.
 It consists of the @code{xfreerdp} client, libraries for client and server
 functionality, and Windows Portable Runtime (WinPR), a portable implementation
 of parts of the Windows API.")

base-commit: ac86174e22fcd762893bd4515786b1376af9397b
-- 
2.40.1





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

end of thread, other threads:[~2023-09-05  3:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27  7:04 [bug#64313] [PATCH] gnu: freerdp: Enalbe server build Andy Tai
2023-06-27  7:34 ` [bug#64313] [PATCH v2] gnu: freerdp: Enable " Andy Tai
2023-09-02 18:32   ` [bug#64313] [PATCH] gnu: freerdp: Enalbe " Maxim Cournoyer
2023-09-03  0:20     ` Andy Tai
2023-09-05  3:45       ` bug#64313: " Maxim Cournoyer
2023-09-03  0:15 ` [bug#64313] [PATCH v3] gnu: freerdp: Enable " Andy Tai

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.