all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 64313@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#64313] [PATCH v2] gnu: freerdp: Enable server build
Date: Tue, 27 Jun 2023 00:34:24 -0700	[thread overview]
Message-ID: <f02f89eda5b0de7590f97bc799397b61f4c9f683.1687851228.git.atai@atai.org> (raw)
In-Reply-To: <12b30e1ceb8e0c6e82f799447057affe7643d97f.1687849395.git.atai@atai.org>

* 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





  reply	other threads:[~2023-06-27  7:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27  7:04 [bug#64313] [PATCH] gnu: freerdp: Enalbe server build Andy Tai
2023-06-27  7:34 ` Andy Tai [this message]
2023-09-02 18:32   ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f02f89eda5b0de7590f97bc799397b61f4c9f683.1687851228.git.atai@atai.org \
    --to=atai@atai.org \
    --cc=64313@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.