From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sPRnLx5MmWCFAwEAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 17:07:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KPgTKx5MmWBjEAAAB5/wlQ (envelope-from ) for ; Mon, 10 May 2021 15:07:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 72F9C1F3AB for ; Mon, 10 May 2021 17:07:10 +0200 (CEST) Received: from localhost ([::1]:45720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg7Uz-0005lw-Gs for larch@yhetil.org; Mon, 10 May 2021 11:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg7Us-0005kR-TO for guix-patches@gnu.org; Mon, 10 May 2021 11:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lg7Us-00016C-LH for guix-patches@gnu.org; Mon, 10 May 2021 11:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lg7Us-0000wl-Fc for guix-patches@gnu.org; Mon, 10 May 2021 11:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48326] [PATCH v2] gnu: Add remmina. References: <70f225a0-3e3d-062c-510d-83c98cad7521@raghavgururajan.name> In-Reply-To: <70f225a0-3e3d-062c-510d-83c98cad7521@raghavgururajan.name> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 May 2021 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48326 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48326@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48326-submit@debbugs.gnu.org id=B48326.16206592023613 (code B ref 48326); Mon, 10 May 2021 15:07:02 +0000 Received: (at 48326) by debbugs.gnu.org; 10 May 2021 15:06:42 +0000 Received: from localhost ([127.0.0.1]:34013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lg7UY-0000wD-94 for submit@debbugs.gnu.org; Mon, 10 May 2021 11:06:42 -0400 Received: from out2.migadu.com ([188.165.223.204]:28444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lg7UV-0000w2-4L for 48326@debbugs.gnu.org; Mon, 10 May 2021 11:06:40 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1620659197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pqH0UI5fyrNVBTJ1cjdeaNhFc7W1j68MKCWZkMdZaZs=; b=ckG0LR0vlWArbKaDHyEUEGpNhUhJTOD/3VMyLoFSTg6/+uUwO+ffa9XWLAXFbEa+AU6gqO o2NDxcdSHNXiABsO5IYKLlQbYucii9iYVcC+vjdLInGaMEciHMroDCz/B2r5FTShO2hXSf CqzMQ53LJCsUAk1ziQCzvpr/ItcNUj5186OnCiSJub14WPURGaGW/uM6zV1L4rD35xVekh U9xJkeeY5WSPH8Xc4RSG1u9ts21daICUQEMiqM4TQZ/TaAxRkpNZXY0PDT7GmBPRNhY389 65T9eLsrPg8hfEDDSyxzAiI3HPtnnCqG5xJD0QrrNSaoWc4fjWkyXD/vl1j+cg== Date: Mon, 10 May 2021 11:06:31 -0400 Message-Id: <20210510150631.2510-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 72F9C1F3AB X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: ssrNKK+hAVmk * gnu/packages/remmina.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * gnu/packages/remmina.scm (remmina): New variable. --- gnu/local.mk | 1 + gnu/packages/remmina.scm | 139 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 gnu/packages/remmina.scm diff --git a/gnu/local.mk b/gnu/local.mk index 37166bb2fc..0f3d33e1d5 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -485,6 +485,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/readline.scm \ %D%/packages/rednotebook.scm \ %D%/packages/regex.scm \ + %D%/packages/remmina.scm \ %D%/packages/robotics.scm \ %D%/packages/rpc.scm \ %D%/packages/rrdtool.scm \ diff --git a/gnu/packages/remmina.scm b/gnu/packages/remmina.scm new file mode 100644 index 0000000000..5a438c8b30 --- /dev/null +++ b/gnu/packages/remmina.scm @@ -0,0 +1,139 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Raghav Gururajan +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages remmina) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build utils) + #:use-module (guix build-system cmake) + #:use-module (guix build-system glib-or-gtk) + #:use-module (gnu packages avahi) + #:use-module (gnu packages crypto) + #:use-module (gnu packages cups) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pcre) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages rdesktop) + #:use-module (gnu packages spice) + #:use-module (gnu packages ssh) + #:use-module (gnu packages tls) + #:use-module (gnu packages video) + #:use-module (gnu packages vnc) + #:use-module (gnu packages webkit) + #:use-module (gnu packages xorg)) + +(define-public remmina + (package + (name "remmina") + (version "1.4.13") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.com/Remmina/Remmina") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hc2r42hr34ksbxrybglw5caw0zjhwlybvb5c9s99dr761rmzr27")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; No target + #:configure-flags + (list + "-DWITH_NEWS=OFF") ; Disable online version checking + #:imported-modules + (,@%cmake-build-system-modules + (guix build glib-or-gtk-build-system)) + #:modules + ((guix build cmake-build-system) + ((guix build glib-or-gtk-build-system) + #:prefix glib-or-gtk:) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-progs + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each + (lambda (name) + (let ((file (string-append out "/bin/" name)) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program file + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))) + '("remmina" "remmina-file-wrapper"))) + #t)) + (add-after 'wrap-progs 'glib-or-gtk-compile-schemas + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) + (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk+:bin" ,gtk+ "bin") + ("intl" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("app-indicator" ,libappindicator) + ("atk" ,atk) + ("avahi" ,avahi) + ("cairo" ,cairo) + ("cups" ,cups) + ("dconf" ,dconf) + ("ffmpeg" ,ffmpeg) + ("freerdp" ,freerdp) + ("gcrypt" ,libgcrypt) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("glib" ,glib) + ("gnome-keyring" ,gnome-keyring) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("gtk+" ,gtk+) + ("harfbuzz" ,harfbuzz) + ("json-glib" ,json-glib) + ("libsecret" ,libsecret) + ("libsoup" ,libsoup) + ("libssh" ,libssh) + ("libvnc" ,libvnc) + ("openssl" ,openssl) + ("pango" ,pango) + ("pcre" ,pcre) + ("shared-mime-info" ,shared-mime-info) + ("sodium" ,libsodium) + ("spice-client-gtk" ,spice-gtk) + ("telepathy" ,telepathy-glib) + ("vte" ,vte) + ("wayland" ,wayland) + ("webkitgtk" ,webkitgtk) + ("x11" ,libx11) + ("xext" ,libxext) + ("xdg-utils" ,xdg-utils) + ("xkbfile" ,libxkbfile))) + (propagated-inputs + `(("dconf" ,dconf))) + (home-page "https://remmina.org/") + (synopsis "Remote Desktop Client") + (description "Remmina is a client to use other desktops remotely. +RDP, VNC, SPICE, NX, XDMCP, SSH and EXEC network protocols are supported.") + (license license:gpl2+))) -- 2.31.1