From patchwork Mon Apr 4 20:54:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 38323 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 67FC627BBEA; Mon, 4 Apr 2022 21:55:41 +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 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 13AA427BBE9 for ; Mon, 4 Apr 2022 21:55:41 +0100 (BST) Received: from localhost ([::1]:57488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbTjg-00035y-8R for patchwork@mira.cbaines.net; Mon, 04 Apr 2022 16:55:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbTj5-00035R-8i for guix-patches@gnu.org; Mon, 04 Apr 2022 16:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbTj3-0006gs-Vf for guix-patches@gnu.org; Mon, 04 Apr 2022 16:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nbTj3-00010t-VH for guix-patches@gnu.org; Mon, 04 Apr 2022 16:55:01 -0400 Subject: bug#54570: [PATCH] gnu: Add parole. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 04 Apr 2022 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 54570 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Feng Shu" Cc: Maxime Devos , 54570-done@debbugs.gnu.org Mail-Followup-To: 54570@debbugs.gnu.org, ludo@gnu.org, tumashu@163.com Received: via spool by 54570-done@debbugs.gnu.org id=D54570.16491056613815 (code D ref 54570); Mon, 04 Apr 2022 20:55:01 +0000 Received: (at 54570-done) by debbugs.gnu.org; 4 Apr 2022 20:54:21 +0000 Received: from localhost ([127.0.0.1]:53193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbTiO-0000zS-VW for submit@debbugs.gnu.org; Mon, 04 Apr 2022 16:54:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbTiN-0000z8-Ou for 54570-done@debbugs.gnu.org; Mon, 04 Apr 2022 16:54:20 -0400 Received: from [2001:470:142:3::e] (port=42532 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbTiI-0006dR-0o; Mon, 04 Apr 2022 16:54:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=SnvFHrd/JiC8km8cx096kma81DI9nMtpPOTJ+hpEVW8=; b=JboRfqL+o1IZgiDTm+mW IDOZYkCh52EeWME0flyqN2u+owc6LC/AWhyhca6PXLZ2ESQTAfVnBJ/pkMawnyRBBMfWeOtmbZyRI 398Gd/zRcLFSPyCCElD8zNsl2KA6EclpWRjpAxrkK5UMRaYuboagDMXJEggrYcH5zfungGRwveSci Sk92PE8jPqXtXc5GAKD8AwDIKCnbL+AVg03no1Q66Ta3BLr67wPQlYoYtDdVIbk6fTXhtYfyqIIi6 2ycvnSUGUUx8vGy7rl6leMRPLOdHRuRFSo1StcM5V/VE8s66nIfxriyjhhCyy38kyFF6WqrtF2Q0K MHSmYciYmZHoAQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61422 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbTiH-0007kl-Kb; Mon, 04 Apr 2022 16:54:13 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20220325230522.6352-1-tumashu@163.com> <3b5cabb60258ebcf17e8d0f93c60f06d09d4cd01.camel@telenet.be> <87czi8opce.fsf@163.com> Date: Mon, 04 Apr 2022 22:54:11 +0200 In-Reply-To: <87czi8opce.fsf@163.com> (Feng Shu's message of "Sat, 26 Mar 2022 20:44:33 +0800") Message-ID: <874k38sh70.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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" X-getmail-retrieved-from-mailbox: Patches Hi, "Feng Shu" skribis: >>From 03ca3c58c8bc54cec5e12cafbc6dc65aafcbd6cc Mon Sep 17 00:00:00 2001 > From: Feng Shu > Date: Sat, 26 Mar 2022 07:01:25 +0800 > Subject: [patch v2] gnu: Add parole. > > * gnu/packages/xfce.scm (parole): New variable. I made the minor changes below mostly to placate ‘guix lint’. Thanks! Ludo’. diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index a4bdc38aa3..44b6c34b29 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -36,6 +36,7 @@ (define-module (gnu packages xfce) #:use-module (gnu artwork) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages calendar) #:use-module (gnu packages cdrom) #:use-module (gnu packages fonts) @@ -926,14 +927,16 @@ (define-public parole #:phases #~(modify-phases %standard-phases (add-after 'install 'wrap-parole - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (let ((gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) (wrap-program (string-append #$output "/bin/parole") + #:sh (search-input-file inputs "bin/bash") `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))))))) (native-inputs (list pkg-config intltool gobject-introspection)) (inputs - (list dbus-glib + (list bash-minimal ;for 'wrap-program' + dbus-glib (list glib "bin") gstreamer gst-plugins-base @@ -942,10 +945,10 @@ (define-public parole libxfce4ui libxfce4util)) (home-page "https://www.xfce.org/") - (synopsis "Modern simple media player based on the GStreamer framework") + (synopsis "Media player based on the GStreamer framework") (description "Parole is a modern simple media player based on the GStreamer framework and written to fit well in the Xfce desktop. Parole -features playback of local media files, DVD/CD and live streams. ") +features playback of local media files, DVD/CD and live streams.") (license gpl2))) ;version 2 only (define-public xfce4-terminal