From patchwork Tue Jun 27 07:04:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 51383 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 0133227BBEA; Tue, 27 Jun 2023 08:05:50 +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=ham 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 6C89627BBE9 for ; Tue, 27 Jun 2023 08:05:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qE2lN-0003PZ-06; Tue, 27 Jun 2023 03:05:21 -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 1qE2lF-0003P4-Il for guix-patches@gnu.org; Tue, 27 Jun 2023 03:05:13 -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 1qE2l4-0007Ri-GV for guix-patches@gnu.org; Tue, 27 Jun 2023 03:05:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qE2l4-0007AQ-1j for guix-patches@gnu.org; Tue, 27 Jun 2023 03:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64313] [PATCH] gnu: freerdp: Enalbe server build Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Jun 2023 07:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64313 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64313@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168784948027501 (code B ref -1); Tue, 27 Jun 2023 07:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jun 2023 07:04:40 +0000 Received: from localhost ([127.0.0.1]:47467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE2ki-00079V-3A for submit@debbugs.gnu.org; Tue, 27 Jun 2023 03:04:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:47110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE2kh-00079O-0f for submit@debbugs.gnu.org; Tue, 27 Jun 2023 03:04:39 -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 1qE2kg-0003MB-O5 for guix-patches@gnu.org; Tue, 27 Jun 2023 03:04:38 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qE2ke-0007Ll-9m for guix-patches@gnu.org; Tue, 27 Jun 2023 03:04:38 -0400 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-263036d4bc3so913957a91.2 for ; Tue, 27 Jun 2023 00:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687849474; x=1690441474; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=CRapuw5WR++iEgpTNNh2Hz+fIqLAs3iLDBzp0eWwPhc=; b=QirCMx7P4pvZ5QP7QNST2+AopqlF6CrGMb6TKzMuBdCJy2ssFJ2WuBg6L6Zcb3jdUI AVUL8lggLjSe2IeqqVRGOLBM1AKplPptRSSuf4heqRiuypwDL4AICJAUsuYpQgnli+KB zwA4U/gzcmor1PBKVZhjrVodqxsIJhmGz8OJihPa65hqWVl2niny/W48LLKWwvuPNWgC hNuUvx3AYHhiJAnkC+nIgCoh7DjxB9+uvPJzNsFqbbGUpp0xssF9fOPJ8xRsYW0hiOhX nB/zvy2i8yFz9ietqVAaB3HV/qH6deNb4ZYZaSPBGTU8SLgQR9f9oe4+l3p+zTpX5m73 zYFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687849474; x=1690441474; 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=CRapuw5WR++iEgpTNNh2Hz+fIqLAs3iLDBzp0eWwPhc=; b=lQ/tvxwbnbKCsIj7Xavv02KH6nJrRtS8MzziVHudkCsFUmfmaGYwVCpB3RPN9FJVeI iXUuXTcLQP0OKVgWrxTO3G6b2WgPRahh88OsPC54u6hlBzpN37/1A0/ZMpjnnTgtLfQ1 /z+cpGLSGn4EmxzBuq1ZCU6b1XwvzeQ0D4iwhge1lWhA2Tbn48zFcX486fnSmmFDOCkE 0/RjXnKFUNNbiGRYYjxoaIgvpt5btjyTttgaXGdMtSzlGZN2CBIv8S35ly0U6DveX1+y lpYckPOrjCU0rbTX5aRPihmCFXoWhPyy/bgimIC2Dz3pnE329HZVBqyCOX/mn3FZjkEg mz4A== X-Gm-Message-State: AC+VfDydedM3P7b7p7RoeV42FHgR5IiUi3fkxB8NDDHM+HMPtcEdUVb3 lXoc4iVaARRO3+LEhCijR8mA2tbLdhk= X-Google-Smtp-Source: ACHHUZ77wayUsIwIK7hYqt23xgIpmuo2tWy1ztNBYo8Fzww96VAws6fM0VCEMg1NCtYZATE7PGseRw== X-Received: by 2002:a17:90b:1c09:b0:263:312:611f with SMTP id oc9-20020a17090b1c0900b002630312611fmr2843876pjb.3.1687849474082; Tue, 27 Jun 2023 00:04:34 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id q9-20020a17090a2e0900b00261139fd67asm7176400pjd.36.2023.06.27.00.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 00:04:33 -0700 (PDT) From: Andy Tai Date: Tue, 27 Jun 2023 00:04:29 -0700 Message-Id: <12b30e1ceb8e0c6e82f799447057affe7643d97f.1687849395.git.atai@atai.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=lichengtai@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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 (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(-) base-commit: ac86174e22fcd762893bd4515786b1376af9397b 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.")