GNU bug report logs - #64261
[PATCH] gnu: Add xrdp

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sat, 24 Jun 2023 07:38:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64261 in the body.
You can then email your comments to 64261 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 24 Jun 2023 07:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 24 Jun 2023 07:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH] gnu: Add xrdp
Date: Sat, 24 Jun 2023 00:37:11 -0700
* gnu/packages/xorg.scm (xrdp): New variable
---
 gnu/packages/xorg.scm | 68 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index e41ddea28f..2b26deddc2 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
 ;;; Copyright © 2021 Lu Hui <luhux76 <at> gmail.com>
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2023 Andy Tai <atai <at> atai.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -66,6 +67,7 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages)
   #:use-module (gnu packages aidc)
   #:use-module (gnu packages anthy)
+  #:use-module (gnu packages assembly)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
@@ -90,6 +92,7 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages libedit)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
+  #:use-module (gnu packages mp3)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages onc-rpc)
@@ -103,6 +106,8 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages spice)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
@@ -6685,3 +6690,66 @@ (define-public setroot
 syntax without its image viewing capabilities.  It supports multiple monitors
 and can restore previously set wallpapers and options.")
     (license license:gpl3+)))
+
+
+(define-public xrdp
+  (package
+    (name "xrdp")
+    (version "0.9.22.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xrdp/releases/download/v"
+                    version "/xrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jzknwy003fk5lqzrncbypirq3smpghxy2prg2m2ljjrx77j1lvd"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  fuse
+                  gettext-minimal
+                  imlib2
+                  lame
+                  libjpeg-turbo
+                  libx11
+                  libxfixes
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  linux-pam
+                  openssl
+                  pixman
+                  python
+                  python-libxml2))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         bison
+                         flex
+                         intltool
+                         nasm
+                         pkg-config
+                         pixman))
+
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     "--enable-fuse"
+                                     "--enable-mp3lame"
+                                     "--enable-pixman"
+                                     "--enable-pam-config=unix"
+                                     "--enable-ipv6=yes")))
+    (home-page "https://github.com/ttzhou/setroohttps://www.xrdp.org/t")
+    (synopsis "Open source RDP server ")
+    (description
+     "Xrdp provides a graphical login to remote machines using
+Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
+variety of RDP clients:
+* FreeRDP
+* rdesktop
+* KRDC
+* NeutrinoRDP
+* Windows MSTSC (Microsoft Terminal Services Client, aka mstsc.exe)
+* Microsoft Remote Desktop (found on Microsoft Store, which is distinct from MSTSC)")
+    (license license:asl2.0)))

base-commit: dcca13ed7340f17a33a4c0907c13b64d5da66a8e
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 24 Jun 2023 09:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v2] gnu: Add xrdp
Date: Sat, 24 Jun 2023 02:21:28 -0700
* gnu/packages/xorg.scm (xrdp): New variable
---
 gnu/packages/xorg.scm | 69 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index e41ddea28f..6316c515f7 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
 ;;; Copyright © 2021 Lu Hui <luhux76 <at> gmail.com>
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2023 Andy Tai <atai <at> atai.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -66,6 +67,7 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages)
   #:use-module (gnu packages aidc)
   #:use-module (gnu packages anthy)
+  #:use-module (gnu packages assembly)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bash)
@@ -90,6 +92,7 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages libedit)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
+  #:use-module (gnu packages mp3)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages onc-rpc)
@@ -103,6 +106,8 @@ (define-module (gnu packages xorg)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages spice)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
@@ -6685,3 +6690,67 @@ (define-public setroot
 syntax without its image viewing capabilities.  It supports multiple monitors
 and can restore previously set wallpapers and options.")
     (license license:gpl3+)))
+
+
+(define-public xrdp
+  (package
+    (name "xrdp")
+    (version "0.9.22.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xrdp/releases/download/v"
+                    version "/xrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jzknwy003fk5lqzrncbypirq3smpghxy2prg2m2ljjrx77j1lvd"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  fuse
+                  gettext-minimal
+                  imlib2
+                  lame
+                  libjpeg-turbo
+                  libx11
+                  libxfixes
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  linux-pam
+                  openssl
+                  pixman
+                  python
+                  python-libxml2))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         bison
+                         flex
+                         intltool
+                         nasm
+                         pkg-config
+                         pixman))
+
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     "--enable-fuse=yes"
+                                     "--enable-mp3lame=yes"
+                                     "--enable-pixman=yes"
+                                     "--enable-imlib2=yes"
+                                     "--enable-pam-config=unix"
+                                     "--enable-ipv6=yes")))
+    (home-page "https://www.xrdp.org")
+    (synopsis "Open source RDP server ")
+    (description
+     "Xrdp provides a graphical login to remote machines using
+Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
+variety of RDP clients:
+* FreeRDP
+* rdesktop
+* KRDC
+* NeutrinoRDP
+* Windows MSTSC (Microsoft Terminal Services Client, aka mstsc.exe)
+* Microsoft Remote Desktop (found on Microsoft Store, which is distinct from MSTSC)")
+    (license license:asl2.0)))

base-commit: dcca13ed7340f17a33a4c0907c13b64d5da66a8e
-- 
2.40.1





Added indication that bug 64261 blocks64262 Request was from Andy Tai <atai <at> atai.org> to control <at> debbugs.gnu.org. (Sun, 25 Jun 2023 05:27:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Tue, 27 Jun 2023 07:30:02 GMT) Full text and rfc822 format available.

Message #13 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v3] gnu: Add xrdp and xorgxrdp
Date: Tue, 27 Jun 2023 00:29:39 -0700
* gnu/packages/rdesktop.scm (xrdp): New variabble
  (xorgxrdp): New variable
---
 gnu/packages/rdesktop.scm | 122 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 122 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index be4fe83cdc..9c73f57754 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -31,19 +31,29 @@ (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 assembly)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages docbook)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #: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 pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -137,3 +147,115 @@ (define-public freerdp
 functionality, and Windows Portable Runtime (WinPR), a portable implementation
 of parts of the Windows API.")
     (license license:asl2.0)))
+
+(define-public xrdp
+  (package
+    (name "xrdp")
+    (version "0.9.22.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xrdp/releases/download/v"
+                    version "/xrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jzknwy003fk5lqzrncbypirq3smpghxy2prg2m2ljjrx77j1lvd"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  fuse
+                  imlib2
+                  lame
+                  libjpeg-turbo
+                  libx11
+                  libxfixes
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  linux-pam
+                  openssl
+                  pixman
+                  python
+                  python-libxml2))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         bison
+                         flex
+                         gettext-minimal
+                         intltool
+                         nasm
+                         pkg-config
+                         pixman))
+
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     "--enable-fuse=yes"
+                                     "--enable-mp3lame=yes"
+                                     "--enable-pixman=yes"
+                                     "--enable-imlib2=yes"
+                                     "--enable-pam-config=unix"
+                                     "--enable-ipv6=yes")))
+    (home-page "https://www.xrdp.org")
+    (synopsis "Open source RDP server ")
+    (description
+     "Xrdp provides a graphical login to remote machines using
+Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
+variety of RDP clients:
+* FreeRDP
+* rdesktop
+* KRDC
+* NeutrinoRDP
+* Windows MSTSC (Microsoft Terminal Services Client, aka mstsc.exe)
+* Microsoft Remote Desktop (found on Microsoft Store, which is distinct from MSTSC)")
+    (license license:asl2.0)))
+
+
+
+(define-public xorgxrdp
+  (package
+    (name "xorgxrdp")
+    (version "0.9.19")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xorgxrdp/releases/download/v"
+                    version "/xorgxrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0m8lvdnhfvwwqrr56difgy3mblplp23x6iy12kl4r8i87ic4rky1"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  libx11
+                  libxfixes
+                  libxfont2
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  pixman
+                  xdpyinfo
+                  xorg-server
+                  xrdp))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         nasm
+                         intltool
+                         pkg-config
+                         pixman))
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     (string-append "XRDP_CFLAGS=-I"
+                                                    (assoc-ref %build-inputs
+                                                               "xrdp")
+                                                    "/common"))))
+    (home-page "https://github.com/neutrinolabs/xorgxrdp")
+    (synopsis "Xorg drivers for xrdp")
+    (description
+     "xorgxrdp is a collection of modules to be used with a pre-existing X.Org
+install to make the X server act like X11rdp")
+    (license license:x11)))
+

base-commit: ac86174e22fcd762893bd4515786b1376af9397b
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Tue, 11 Jul 2023 14:13:02 GMT) Full text and rfc822 format available.

Message #16 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andy Tai <atai <at> atai.org>
Cc: 64261 <at> debbugs.gnu.org
Subject: Re: bug#64261: [PATCH] gnu: Add xrdp
Date: Tue, 11 Jul 2023 16:12:00 +0200
Hi Andy,

Andy Tai <atai <at> atai.org> skribis:

> * gnu/packages/rdesktop.scm (xrdp): New variabble
>   (xorgxrdp): New variable

Could you send a v2 with one patch per package, as is customary?

> +    (home-page "https://www.xrdp.org")
> +    (synopsis "Open source RDP server ")

Please remote the trailing slash as well as “open source”: everything is
free software in here, so no need to specify it! :-) However, please
spell out “Remote Desktop Protocol (RDP)”.

> +    (description
> +     "Xrdp provides a graphical login to remote machines using
> +Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
> +variety of RDP clients:
> +* FreeRDP
> +* rdesktop

Please use @itemize.

See
<https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html>.

> +(define-public xorgxrdp
> +  (package
> +    (name "xorgxrdp")
> +    (version "0.9.19")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/neutrinolabs/xorgxrdp/releases/download/v"
> +                    version "/xorgxrdp-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0m8lvdnhfvwwqrr56difgy3mblplp23x6iy12kl4r8i87ic4rky1"))))

Should it inherit from ‘xrdp’?  I fail to see what the difference is.

> +    (arguments
> +     (list #:configure-flags #~(list "--enable-strict-locations=yes"
> +                                     (string-append "XRDP_CFLAGS=-I"
> +                                                    (assoc-ref %build-inputs
> +                                                               "xrdp")
> +                                                    "/common"))))

Rather than (assoc-ref …), write #$(this-package-input "xrdp').

Also, xrdp should not have .h files under /common; it should be under
/include or /include/common or similar.  Could you check that?

> +    (home-page "https://github.com/neutrinolabs/xorgxrdp")
> +    (synopsis "Xorg drivers for xrdp")
> +    (description
> +     "xorgxrdp is a collection of modules to be used with a pre-existing X.Org
> +install to make the X server act like X11rdp")

Please add a period at the end of the sentence and expound a bit so one
can better understand what this is about.

Thanks in advance!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Tue, 11 Jul 2023 14:15:02 GMT) Full text and rfc822 format available.

Message #19 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 64261 <at> debbugs.gnu.org
Subject: Re: bug#64261: [PATCH] gnu: Add xrdp
Date: Tue, 11 Jul 2023 07:13:18 -0700
[Message part 1 (text/plain, inline)]
will do

On Tue, Jul 11, 2023 at 7:12 AM Ludovic Courtès <ludo <at> gnu.org> wrote:

> Hi Andy,
>
> Andy Tai <atai <at> atai.org> skribis:
>
> > * gnu/packages/rdesktop.scm (xrdp): New variabble
> >   (xorgxrdp): New variable
>
> Could you send a v2 with one patch per package, as is customary?
>
> > +    (home-page "https://www.xrdp.org")
> > +    (synopsis "Open source RDP server ")
>
> Please remote the trailing slash as well as “open source”: everything is
> free software in here, so no need to specify it! :-) However, please
> spell out “Remote Desktop Protocol (RDP)”.
>
> > +    (description
> > +     "Xrdp provides a graphical login to remote machines using
> > +Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from
> a
> > +variety of RDP clients:
> > +* FreeRDP
> > +* rdesktop
>
> Please use @itemize.
>
> See
> <
> https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html
> >.
>
> > +(define-public xorgxrdp
> > +  (package
> > +    (name "xorgxrdp")
> > +    (version "0.9.19")
> > +    (source (origin
> > +              (method url-fetch)
> > +              (uri (string-append
> > +                    "
> https://github.com/neutrinolabs/xorgxrdp/releases/download/v"
> > +                    version "/xorgxrdp-" version ".tar.gz"))
> > +              (sha256
> > +               (base32
> > +
> "0m8lvdnhfvwwqrr56difgy3mblplp23x6iy12kl4r8i87ic4rky1"))))
>
> Should it inherit from ‘xrdp’?  I fail to see what the difference is.
>
> > +    (arguments
> > +     (list #:configure-flags #~(list "--enable-strict-locations=yes"
> > +                                     (string-append "XRDP_CFLAGS=-I"
> > +                                                    (assoc-ref
> %build-inputs
> > +                                                               "xrdp")
> > +                                                    "/common"))))
>
> Rather than (assoc-ref …), write #$(this-package-input "xrdp').
>
> Also, xrdp should not have .h files under /common; it should be under
> /include or /include/common or similar.  Could you check that?
>
> > +    (home-page "https://github.com/neutrinolabs/xorgxrdp")
> > +    (synopsis "Xorg drivers for xrdp")
> > +    (description
> > +     "xorgxrdp is a collection of modules to be used with a
> pre-existing X.Org
> > +install to make the X server act like X11rdp")
>
> Please add a period at the end of the sentence and expound a bit so one
> can better understand what this is about.
>
> Thanks in advance!
>
> Ludo’.
>


-- 
Andy Tai, atai <at> atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 22 Jul 2023 23:30:02 GMT) Full text and rfc822 format available.

Message #22 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org,
	ludo <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v4 0/2] Add xrdp and xorgxrdp
Date: Sat, 22 Jul 2023 16:28:54 -0700
Add xrdp and xorgxrdp

Andy Tai (2):
  gnu: Add xrdp
  gnu: Add xorgxrdp

 gnu/packages/rdesktop.scm | 123 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 123 insertions(+)


base-commit: a0508975dd6c70a2d2997a75c302a9fd42f7c370
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 22 Jul 2023 23:30:02 GMT) Full text and rfc822 format available.

Message #25 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org,
	ludo <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v4 1/2] gnu: Add xrdp
Date: Sat, 22 Jul 2023 16:28:55 -0700
* gnu/packages/rdesktop.scm (xrdp): New variable
---
 gnu/packages/rdesktop.scm | 76 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index be4fe83cdc..04d3db610d 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -31,19 +31,29 @@ (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 assembly)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages docbook)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #: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 pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -137,3 +147,69 @@ (define-public freerdp
 functionality, and Windows Portable Runtime (WinPR), a portable implementation
 of parts of the Windows API.")
     (license license:asl2.0)))
+
+(define-public xrdp
+  (package
+    (name "xrdp")
+    (version "0.9.22.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xrdp/releases/download/v"
+                    version "/xrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jzknwy003fk5lqzrncbypirq3smpghxy2prg2m2ljjrx77j1lvd"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  fuse
+                  imlib2
+                  lame
+                  libjpeg-turbo
+                  libx11
+                  libxfixes
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  linux-pam
+                  openssl
+                  pixman
+                  python
+                  python-libxml2))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         bison
+                         flex
+                         gettext-minimal
+                         intltool
+                         nasm
+                         pkg-config
+                         pixman))
+
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     "--enable-fuse=yes"
+                                     "--enable-mp3lame=yes"
+                                     "--enable-pixman=yes"
+                                     "--enable-imlib2=yes"
+                                     "--enable-pam-config=unix"
+                                     "--enable-ipv6=yes")))
+    (home-page "https://www.xrdp.org")
+    (synopsis "Remote Desktop Protocol (RDP) server")
+    (description
+     "Xrdp provides a graphical login to remote machines using
+Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
+variety of RDP clients:
+@itemize
+@item FreeRDP
+@item rdesktop
+@item KRDC
+@item NeutrinoRDP
+@item Windows MSTSC (Microsoft Terminal Services Client, aka mstsc.exe)
+@item Microsoft Remote Desktop (found on Microsoft Store, which is distinct from MSTSC).
+@end itemize")
+    (license license:asl2.0)))
+
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 22 Jul 2023 23:30:02 GMT) Full text and rfc822 format available.

Message #28 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org,
	ludo <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v4 2/2] gnu: Add xorgxrdp
Date: Sat, 22 Jul 2023 16:28:56 -0700
* gnu/packages/rdesktop.scm (xorgxrdp): New variable
---
 gnu/packages/rdesktop.scm | 47 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index 04d3db610d..43db733cf6 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -213,3 +213,50 @@ (define-public xrdp
 @end itemize")
     (license license:asl2.0)))
 
+
+(define-public xorgxrdp
+  (package
+    (name "xorgxrdp")
+    (version "0.9.19")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xorgxrdp/releases/download/v"
+                    version "/xorgxrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0m8lvdnhfvwwqrr56difgy3mblplp23x6iy12kl4r8i87ic4rky1"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  libx11
+                  libxfixes
+                  libxfont2
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  pixman
+                  xdpyinfo
+                  xorg-server
+                  xrdp))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         nasm
+                         intltool
+                         pkg-config
+                         pixman))
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     (string-append "XRDP_CFLAGS=-I"
+                                                    #$(this-package-input
+                                                       "xrdp") "/common"))))
+    (home-page "https://github.com/neutrinolabs/xorgxrdp")
+    (synopsis "Xorg drivers for xrdp")
+    (description
+     "xorgxrdp is a collection of modules to be used with a pre-existing X.Org
+install to make the X server act like X11rdp.  Unlike X11rdp, you don't have to
+recompile the whole X Window System.  Instead, additional modules are installed
+to a location where the existing Xorg installation would pick them.")
+    (license license:x11)))
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Wed, 26 Jul 2023 05:58:01 GMT) Full text and rfc822 format available.

Message #31 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org
Subject: Guix QA showing failure on invalid derivation
Date: Tue, 25 Jul 2023 22:56:25 -0700
Hi, for this latest patch Guix QA shows build failure for
arm targets for this package

guile-for-guile-emacs

that has nothing to do with xrdp or xorgxrdp.   So that is a Guix QA
bug and the build for the latest patch should be successful.




Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Wed, 26 Jul 2023 09:55:02 GMT) Full text and rfc822 format available.

Message #34 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Andy Tai <atai <at> atai.org>
Cc: 64261 <at> debbugs.gnu.org
Subject: Re: [bug#64261] Guix QA showing failure on invalid derivation
Date: Wed, 26 Jul 2023 10:53:11 +0100
[Message part 1 (text/plain, inline)]
Andy Tai <atai <at> atai.org> writes:

> Hi, for this latest patch Guix QA shows build failure for
> arm targets for this package
>
> guile-for-guile-emacs
>
> that has nothing to do with xrdp or xorgxrdp.   So that is a Guix QA
> bug and the build for the latest patch should be successful.

It's not a bug in QA, just that the guile-for-guile-emacs package in
Guix is broken, and broken in such a way that the derivation changes
constantly.

I've fixed it in [1] but that'll take a while to filter in to the patch
testing.

1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d979197eaf10883e02c53b87f8e0d14bf254c525
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 29 Jul 2023 03:54:01 GMT) Full text and rfc822 format available.

Message #37 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v5 1/2] gnu: Add xrdp
Date: Fri, 28 Jul 2023 20:53:24 -0700
* gnu/packages/rdesktop.scm (xrdp): New variable
---
 gnu/packages/rdesktop.scm | 76 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index be4fe83cdc..04d3db610d 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -31,19 +31,29 @@ (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 assembly)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages docbook)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #: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 pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -137,3 +147,69 @@ (define-public freerdp
 functionality, and Windows Portable Runtime (WinPR), a portable implementation
 of parts of the Windows API.")
     (license license:asl2.0)))
+
+(define-public xrdp
+  (package
+    (name "xrdp")
+    (version "0.9.22.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xrdp/releases/download/v"
+                    version "/xrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jzknwy003fk5lqzrncbypirq3smpghxy2prg2m2ljjrx77j1lvd"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  fuse
+                  imlib2
+                  lame
+                  libjpeg-turbo
+                  libx11
+                  libxfixes
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  linux-pam
+                  openssl
+                  pixman
+                  python
+                  python-libxml2))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         bison
+                         flex
+                         gettext-minimal
+                         intltool
+                         nasm
+                         pkg-config
+                         pixman))
+
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     "--enable-fuse=yes"
+                                     "--enable-mp3lame=yes"
+                                     "--enable-pixman=yes"
+                                     "--enable-imlib2=yes"
+                                     "--enable-pam-config=unix"
+                                     "--enable-ipv6=yes")))
+    (home-page "https://www.xrdp.org")
+    (synopsis "Remote Desktop Protocol (RDP) server")
+    (description
+     "Xrdp provides a graphical login to remote machines using
+Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
+variety of RDP clients:
+@itemize
+@item FreeRDP
+@item rdesktop
+@item KRDC
+@item NeutrinoRDP
+@item Windows MSTSC (Microsoft Terminal Services Client, aka mstsc.exe)
+@item Microsoft Remote Desktop (found on Microsoft Store, which is distinct from MSTSC).
+@end itemize")
+    (license license:asl2.0)))
+

base-commit: e43cbeafd1b632f39b08b3644af5230d5350a656
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Sat, 29 Jul 2023 03:54:02 GMT) Full text and rfc822 format available.

Message #40 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v5 2/2] gnu: Add xorgxrdp
Date: Fri, 28 Jul 2023 20:53:25 -0700
* gnu/packages/rdesktop.scm (xorgxrdp): New variable
---
 gnu/packages/rdesktop.scm | 47 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index 04d3db610d..43db733cf6 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -213,3 +213,50 @@ (define-public xrdp
 @end itemize")
     (license license:asl2.0)))
 
+
+(define-public xorgxrdp
+  (package
+    (name "xorgxrdp")
+    (version "0.9.19")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xorgxrdp/releases/download/v"
+                    version "/xorgxrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0m8lvdnhfvwwqrr56difgy3mblplp23x6iy12kl4r8i87ic4rky1"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  libx11
+                  libxfixes
+                  libxfont2
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  pixman
+                  xdpyinfo
+                  xorg-server
+                  xrdp))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         nasm
+                         intltool
+                         pkg-config
+                         pixman))
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     (string-append "XRDP_CFLAGS=-I"
+                                                    #$(this-package-input
+                                                       "xrdp") "/common"))))
+    (home-page "https://github.com/neutrinolabs/xorgxrdp")
+    (synopsis "Xorg drivers for xrdp")
+    (description
+     "xorgxrdp is a collection of modules to be used with a pre-existing X.Org
+install to make the X server act like X11rdp.  Unlike X11rdp, you don't have to
+recompile the whole X Window System.  Instead, additional modules are installed
+to a location where the existing Xorg installation would pick them.")
+    (license license:x11)))
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Mon, 07 Aug 2023 13:28:02 GMT) Full text and rfc822 format available.

Message #43 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andy Tai <atai <at> atai.org>
Cc: 64261 <at> debbugs.gnu.org
Subject: Re: bug#64261: [PATCH] gnu: Add xrdp
Date: Mon, 07 Aug 2023 15:27:26 +0200
Hi Andy,

LGTM, but on current ‘master’ I get:

--8<---------------cut here---------------start------------->8---
configure: imlib2 will not be supported
checking for security/pam_appl.h... yes
checking for FUSE... no
configure: error: please install libfuse-dev or fuse-devel
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/54a1c7ar3hhbyncf5g6s4nndy3bwxssq-xrdp-0.9.22.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-strict-locations=yes" "--enable-fuse=yes" "--enable-mp3lame=yes" "--enable-pixman=yes" "--enable-imlib2=yes" "--enable-pam-config=unix" "--enable-ipv6=yes") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `configure' failed after 4.2 seconds
command "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/54a1c7ar3hhbyncf5g6s4nndy3bwxssq-xrdp-0.9.22.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-strict-locations=yes" "--enable-fuse=yes" "--enable-mp3lame=yes" "--enable-pixman=yes" "--enable-imlib2=yes" "--enable-pam-config=unix" "--enable-ipv6=yes" failed with status 1
builder for `/gnu/store/szpyq693qdj51f0444jjvgl4afl8ffv6-xrdp-0.9.22.1.drv' failed with exit code 1
build of /gnu/store/szpyq693qdj51f0444jjvgl4afl8ffv6-xrdp-0.9.22.1.drv failed
--8<---------------cut here---------------end--------------->8---

Could you take a look?

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Mon, 07 Aug 2023 13:30:02 GMT) Full text and rfc822 format available.

Message #46 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 64261 <at> debbugs.gnu.org
Subject: Re: bug#64261: [PATCH] gnu: Add xrdp
Date: Mon, 7 Aug 2023 06:29:07 -0700
OK, will check... the patch may be out of date now with resp. to
current guix git.


On Mon, Aug 7, 2023 at 6:27 AM Ludovic Courtès <ludo <at> gnu.org> wrote:
>
> Hi Andy,
>
> LGTM, but on current ‘master’ I get:
>
> --8<---------------cut here---------------start------------->8---
> configure: imlib2 will not be supported
> checking for security/pam_appl.h... yes
> checking for FUSE... no
> configure: error: please install libfuse-dev or fuse-devel
> error: in phase 'configure': uncaught exception:
> %exception #<&invoke-error program: "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/54a1c7ar3hhbyncf5g6s4nndy3bwxssq-xrdp-0.9.22.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-strict-locations=yes" "--enable-fuse=yes" "--enable-mp3lame=yes" "--enable-pixman=yes" "--enable-imlib2=yes" "--enable-pam-config=unix" "--enable-ipv6=yes") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `configure' failed after 4.2 seconds
> command "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "./configure" "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" "--prefix=/gnu/store/54a1c7ar3hhbyncf5g6s4nndy3bwxssq-xrdp-0.9.22.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--enable-strict-locations=yes" "--enable-fuse=yes" "--enable-mp3lame=yes" "--enable-pixman=yes" "--enable-imlib2=yes" "--enable-pam-config=unix" "--enable-ipv6=yes" failed with status 1
> builder for `/gnu/store/szpyq693qdj51f0444jjvgl4afl8ffv6-xrdp-0.9.22.1.drv' failed with exit code 1
> build of /gnu/store/szpyq693qdj51f0444jjvgl4afl8ffv6-xrdp-0.9.22.1.drv failed
> --8<---------------cut here---------------end--------------->8---
>
> Could you take a look?
>
> Ludo’.



-- 
Andy Tai, atai <at> atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能




Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Thu, 10 Aug 2023 05:32:01 GMT) Full text and rfc822 format available.

Message #49 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org,
	ludo <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v6 1/2] gnu: Add xrdp
Date: Wed,  9 Aug 2023 22:31:01 -0700
* gnu/packages/rdesktop.scm (xrdp): New variable
---
 gnu/packages/rdesktop.scm | 76 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index be4fe83cdc..0edb7a746d 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -31,19 +31,29 @@ (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 assembly)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages docbook)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #: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 pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -137,3 +147,69 @@ (define-public freerdp
 functionality, and Windows Portable Runtime (WinPR), a portable implementation
 of parts of the Windows API.")
     (license license:asl2.0)))
+
+(define-public xrdp
+  (package
+    (name "xrdp")
+    (version "0.9.22.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xrdp/releases/download/v"
+                    version "/xrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1jzknwy003fk5lqzrncbypirq3smpghxy2prg2m2ljjrx77j1lvd"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  fuse-2
+                  imlib2
+                  lame
+                  libjpeg-turbo
+                  libx11
+                  libxfixes
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  linux-pam
+                  openssl
+                  pixman
+                  python
+                  python-libxml2))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         bison
+                         flex
+                         gettext-minimal
+                         intltool
+                         nasm
+                         pkg-config
+                         pixman))
+
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     "--enable-fuse=yes"
+                                     "--enable-mp3lame=yes"
+                                     "--enable-pixman=yes"
+                                     "--enable-imlib2=yes"
+                                     "--enable-pam-config=unix"
+                                     "--enable-ipv6=yes")))
+    (home-page "https://www.xrdp.org")
+    (synopsis "Remote Desktop Protocol (RDP) server")
+    (description
+     "Xrdp provides a graphical login to remote machines using
+Microsoft Remote Desktop Protocol (RDP).  Xrdp accepts connections from a
+variety of RDP clients:
+@itemize
+@item FreeRDP
+@item rdesktop
+@item KRDC
+@item NeutrinoRDP
+@item Windows MSTSC (Microsoft Terminal Services Client, aka mstsc.exe)
+@item Microsoft Remote Desktop (found on Microsoft Store, which is distinct from MSTSC).
+@end itemize")
+    (license license:asl2.0)))
+

base-commit: 210bbf9c59355218fec1484a686cc2ecdc218506
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64261; Package guix-patches. (Thu, 10 Aug 2023 05:32:02 GMT) Full text and rfc822 format available.

Message #52 received at 64261 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 64261 <at> debbugs.gnu.org,
	ludo <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v6 2/2] gnu: Add xorgxrdp
Date: Wed,  9 Aug 2023 22:31:02 -0700
* gnu/packages/rdesktop.scm (xorgxrdp): New variable
---
 gnu/packages/rdesktop.scm | 47 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm
index 0edb7a746d..8133edede6 100644
--- a/gnu/packages/rdesktop.scm
+++ b/gnu/packages/rdesktop.scm
@@ -213,3 +213,50 @@ (define-public xrdp
 @end itemize")
     (license license:asl2.0)))
 
+(define-public xorgxrdp
+  (package
+    (name "xorgxrdp")
+    (version "0.9.19")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/neutrinolabs/xorgxrdp/releases/download/v"
+                    version "/xorgxrdp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0m8lvdnhfvwwqrr56difgy3mblplp23x6iy12kl4r8i87ic4rky1"))))
+    (build-system gnu-build-system)
+    (inputs (list check
+                  imlib2
+                  libx11
+                  libxfixes
+                  libxfont2
+                  libxml2
+                  libxpm
+                  libxrandr
+                  libxslt
+                  libxt
+                  pixman
+                  xdpyinfo
+                  xorg-server
+                  xrdp))
+    (native-inputs (list autoconf
+                         automake
+                         libtool
+                         nasm
+                         intltool
+                         pkg-config
+                         pixman))
+    (arguments
+     (list #:configure-flags #~(list "--enable-strict-locations=yes"
+                                     (string-append "XRDP_CFLAGS=-I"
+                                                    #$(this-package-input
+                                                       "xrdp") "/common"))))
+    (home-page "https://github.com/neutrinolabs/xorgxrdp")
+    (synopsis "Xorg drivers for xrdp")
+    (description
+     "xorgxrdp is a collection of modules to be used with a pre-existing X.Org
+install to make the X server act like X11rdp.  Unlike X11rdp, you don't have to
+recompile the whole X Window System.  Instead, additional modules are installed
+to a location where the existing Xorg installation would pick them.")
+    (license license:x11)))
-- 
2.41.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 12 Aug 2023 20:43:01 GMT) Full text and rfc822 format available.

Notification sent to Andy Tai <atai <at> atai.org>:
bug acknowledged by developer. (Sat, 12 Aug 2023 20:43:02 GMT) Full text and rfc822 format available.

Message #57 received at 64261-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andy Tai <atai <at> atai.org>
Cc: 64261-done <at> debbugs.gnu.org
Subject: Re: [PATCH v6 1/2] gnu: Add xrdp
Date: Sat, 12 Aug 2023 22:42:13 +0200
Andy Tai <atai <at> atai.org> skribis:

> * gnu/packages/rdesktop.scm (xrdp): New variable

[...]

> * gnu/packages/rdesktop.scm (xorgxrdp): New variable

Hi Andy!  Applied after removing autoconf/automake/libtool from
‘native-inputs’ since they were unused.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 Sep 2023 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.