From patchwork Tue Jun 27 07:29:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 51385 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EB74127BBE9; Tue, 27 Jun 2023 08:30:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 251D627BBE2 for ; Tue, 27 Jun 2023 08:30:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qE39K-0003re-3p; Tue, 27 Jun 2023 03:30:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qE39H-0003rT-MN for guix-patches@gnu.org; Tue, 27 Jun 2023 03:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qE39G-0007dt-UE for guix-patches@gnu.org; Tue, 27 Jun 2023 03:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qE39G-0007sY-NL for guix-patches@gnu.org; Tue, 27 Jun 2023 03:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64261] [PATCH v3] gnu: Add xrdp and xorgxrdp References: <6175dfd2c421fadf757a66ebd96ed1085c168c6b.1687592180.git.atai@atai.org> In-Reply-To: <6175dfd2c421fadf757a66ebd96ed1085c168c6b.1687592180.git.atai@atai.org> Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Jun 2023 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64261 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64261@debbugs.gnu.org Cc: Andy Tai Received: via spool by 64261-submit@debbugs.gnu.org id=B64261.168785099230243 (code B ref 64261); Tue, 27 Jun 2023 07:30:02 +0000 Received: (at 64261) by debbugs.gnu.org; 27 Jun 2023 07:29:52 +0000 Received: from localhost ([127.0.0.1]:47505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE395-0007rh-Qr for submit@debbugs.gnu.org; Tue, 27 Jun 2023 03:29:52 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:59629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE393-0007rP-OS for 64261@debbugs.gnu.org; Tue, 27 Jun 2023 03:29:51 -0400 Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1b8171718a1so6282715ad.2 for <64261@debbugs.gnu.org>; Tue, 27 Jun 2023 00:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687850983; x=1690442983; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=r2JbL+ah9NKXr51H7VK1TT6YvbV/9UDdidBpu4Hagdo=; b=A+uyizJWGKMjCeqEt/qWnubkyRLEY0XOu7DG2f7X4vszvfi6GplIy9Uv/pV21g7VmI IuKxvISF4+K4z1AbRUpKiqUONb92UC90P+QEFG9moAmC/T/WLWS/0ueXh+g7BsZs4i9s c5kULDKSHCvWIYX/rmtRb41SCCyTi5MeGGhaz7sCgpKsmVWlQwjvw7yJiHIzcipBEysO VlIUwWJKGL8h78J7zaOCa7A10CzM998ln8Tvugc3SDHGpwhqpWUzUrPyRaW51UMzG+m6 nWhe13xQmCyMOFhOw/TVbWHRtYscrM6jq4zrSw9btIjd6x5R7yFNI0HxVc83pvaVplmS LvCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687850983; x=1690442983; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=r2JbL+ah9NKXr51H7VK1TT6YvbV/9UDdidBpu4Hagdo=; b=ITderMrz1KOoygFrCa8ZElxkYsAQ792HVA1EOI6gjMqLDLWVbNzB+cK1SwdOH64Bgs c8F5tAxe+kIDhoq/wMpEK6YNm8GRDdxPab8B3QPZk8lJJQHB7ZCdBrtb1lH2tR17te61 uaNsFoAKAaIiDWdeDqf84kQOhHGcfV+IvmnjxrwfXFgUs3pB3UmwmhHRomem9Vn0UMRG yPszZY0MsAQLFlHsLYNKsWq9iWdpm0ExuEFayVCInCl9QSBo6QO9zzZLptLUz6CnL+7S 9zKs3AuLRwbAIRCT3YeUEC550WqUvk29OTG3TfqAxXvyhFVmb8FVogbJNFn9xa6Bfjv2 aFFw== X-Gm-Message-State: AC+VfDwrLlcayLzwG4BiMwAKBlSm6pcdox6ndaHUCfuH5tC4Db6iqHEE VBdIhktaP5p53A9B+klphFA6mKlx/7Y= X-Google-Smtp-Source: ACHHUZ5r961WjetouucYV86h5HRbGX3RJG3hquNl1MD4sewmX/ZzW3eXQaP6bNz5PF0tagpBJPataQ== X-Received: by 2002:a17:903:41d0:b0:1b5:31f8:2450 with SMTP id u16-20020a17090341d000b001b531f82450mr11570336ple.51.1687850983197; Tue, 27 Jun 2023 00:29:43 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id o5-20020a170902d4c500b001b810dabe0fsm1823824plg.254.2023.06.27.00.29.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 00:29:42 -0700 (PDT) From: Andy Tai Date: Tue, 27 Jun 2023 00:29:39 -0700 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/rdesktop.scm (xrdp): New variabble (xorgxrdp): New variable --- gnu/packages/rdesktop.scm | 122 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) base-commit: ac86174e22fcd762893bd4515786b1376af9397b 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))) +