From patchwork Tue Mar 5 17:26:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1347 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 2FDD316D2B; Tue, 5 Mar 2019 17:29:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id DDDFA16D26 for ; Tue, 5 Mar 2019 17:29:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:46560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1DsN-0008LE-8A for patchwork@mira.cbaines.net; Tue, 05 Mar 2019 12:29:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1DqJ-0006fV-4H for guix-patches@gnu.org; Tue, 05 Mar 2019 12:27:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1DqI-0000GB-A6 for guix-patches@gnu.org; Tue, 05 Mar 2019 12:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1DqI-0000G0-5t for guix-patches@gnu.org; Tue, 05 Mar 2019 12:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1DqH-0002Us-UK for guix-patches@gnu.org; Tue, 05 Mar 2019 12:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34758] [PATCH 1/4] gnu: Add libmirage. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34758@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15518068039570 (code B ref -1); Tue, 05 Mar 2019 17:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2019 17:26:43 +0000 Received: from localhost ([127.0.0.1]:33395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1Dpy-0002UI-TZ for submit@debbugs.gnu.org; Tue, 05 Mar 2019 12:26:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1Dpw-0002U0-Pf for submit@debbugs.gnu.org; Tue, 05 Mar 2019 12:26:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:47287) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1Dpq-00085l-LF for submit@debbugs.gnu.org; Tue, 05 Mar 2019 12:26:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Dpp-0006H5-8U for guix-patches@gnu.org; Tue, 05 Mar 2019 12:26:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1Dpo-0007z1-9o for guix-patches@gnu.org; Tue, 05 Mar 2019 12:26:33 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42457) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1Dpo-0007lQ-1t for guix-patches@gnu.org; Tue, 05 Mar 2019 12:26:32 -0500 X-Originating-IP: 90.92.41.33 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5D05F60004 for ; Tue, 5 Mar 2019 17:26:26 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 5 Mar 2019 18:26:20 +0100 Message-Id: <20190305172620.20118-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/cdrom.scm (libmirage): New variable. --- gnu/packages/cdrom.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index cdbe25fe4..846ce705b 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -860,3 +860,31 @@ Supported extensions to ISO 9660 are Rock Ridge, Joliet, AAIP, zisofs.") blanking CD-RW media, creating ISO-9660 file system images, extracting audio CD data, and more. It's mostly compatible with @code{cdrtools}.") (license gpl2+))) + +(define-public libmirage + (package + (name "libmirage") + (version "3.2.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://downloads.sourceforge.net/cdemu/libmirage-" + version ".tar.bz2")) + (sha256 + (base32 + "1ydph33sfxplp4872dp8ghp574jk5d4qr8hqz61qnznq1b11cnbr")))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("glib" ,glib))) + (arguments + ;; No tests. + '(#:tests? #f)) + (home-page "https://cdemu.sourceforge.io/") + (synopsis "CD-ROM image (B6T/C2D/CCD/CDI/CIF/CUE/ISO/MDS/MDX/NRG/TOC) access library") + (description "libMirage is a CD-ROM image access library. It is written +in C and based on GLib. Its aim is to provide uniform access to the data +stored in various image formats.") + (license gpl2+))) From patchwork Tue Mar 5 17:28:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1348 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 D62FF16D2C; Tue, 5 Mar 2019 17:30:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 90CD716D29 for ; Tue, 5 Mar 2019 17:30:34 +0000 (GMT) Received: from localhost ([127.0.0.1]:46607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Dti-0001DN-5y for patchwork@mira.cbaines.net; Tue, 05 Mar 2019 12:30:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1DtD-0000ni-QN for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1DtC-0005dw-Vl for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1DtC-0005dC-RS for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1DtC-0002bL-Jv for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34758] [PATCH 2/4] gnu: Add vhba. References: <20190305172620.20118-1-mail@ambrevar.xyz> In-Reply-To: <20190305172620.20118-1-mail@ambrevar.xyz> Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34758@debbugs.gnu.org Received: via spool by 34758-submit@debbugs.gnu.org id=B34758.15518069499889 (code B ref 34758); Tue, 05 Mar 2019 17:30:02 +0000 Received: (at 34758) by debbugs.gnu.org; 5 Mar 2019 17:29:09 +0000 Received: from localhost ([127.0.0.1]:33402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1DsL-0002ZP-F7 for submit@debbugs.gnu.org; Tue, 05 Mar 2019 12:29:09 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:41885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1DsJ-0002Z4-8H for 34758@debbugs.gnu.org; Tue, 05 Mar 2019 12:29:08 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 11513100004 for <34758@debbugs.gnu.org>; Tue, 5 Mar 2019 17:29:03 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 5 Mar 2019 18:28:51 +0100 Message-Id: <20190305172853.21358-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/cdrom.scm (vhba): New variable. --- gnu/packages/cdrom.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 846ce705b..67b234e47 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -888,3 +888,31 @@ CD data, and more. It's mostly compatible with @code{cdrtools}.") in C and based on GLib. Its aim is to provide uniform access to the data stored in various image formats.") (license gpl2+))) + +(define-public vhba-module + (package + (name "vhba-module") + (version "20170610") + (source (origin + (method url-fetch) + (uri (string-append + "http://downloads.sourceforge.net/cdemu/vhba-module-" + version ".tar.bz2")) + (sha256 + (base32 + "1v6r0bgx0a65vlh36b1l2965xybngbpga6rp54k4z74xk0zwjw3r")))) + (build-system gnu-build-system) + (arguments + ;; TODO: No tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + ;; TODO: Compress kernel modules? + ;; TODO: Build does not work because it needs the Makefile in + ;; /lib/modules/$(KERNELRELEASE)/build which we don't ship in Guix. + (delete 'configure)))) + (home-page "https://cdemu.sourceforge.io/") + (synopsis "Kernel module that emulates SCSI devices") + (description "VHBA module provides a Virtual (SCSI) HBA, which is the link +between the CDemu userspace daemon and linux kernel.") + (license gpl2+))) From patchwork Tue Mar 5 17:28:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1350 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 9026616D2C; Tue, 5 Mar 2019 17:30:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4ED8216D29 for ; Tue, 5 Mar 2019 17:30:55 +0000 (GMT) Received: from localhost ([127.0.0.1]:46619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Du2-0001VX-Si for patchwork@mira.cbaines.net; Tue, 05 Mar 2019 12:30:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1DtI-0000sQ-Vh for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1DtE-0005gL-1x for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1DtD-0005g3-T2 for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1DtD-0002bd-OH for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34758] [PATCH 3/4] gnu: Add cdemu-daemon. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 17:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34758@debbugs.gnu.org Received: via spool by 34758-submit@debbugs.gnu.org id=B34758.15518069509904 (code B ref 34758); Tue, 05 Mar 2019 17:30:03 +0000 Received: (at 34758) by debbugs.gnu.org; 5 Mar 2019 17:29:10 +0000 Received: from localhost ([127.0.0.1]:33406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1DsM-0002ZZ-3r for submit@debbugs.gnu.org; Tue, 05 Mar 2019 12:29:10 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:38563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1DsJ-0002Z3-Ic for 34758@debbugs.gnu.org; Tue, 05 Mar 2019 12:29:08 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 3DA29100016 for <34758@debbugs.gnu.org>; Tue, 5 Mar 2019 17:29:04 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 5 Mar 2019 18:28:52 +0100 Message-Id: <20190305172853.21358-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190305172853.21358-1-mail@ambrevar.xyz> References: <20190305172853.21358-1-mail@ambrevar.xyz> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/cdrom.scm (cdemu-daemon): New variable. --- gnu/packages/cdrom.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 67b234e47..48d6f58a2 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -916,3 +916,32 @@ stored in various image formats.") (description "VHBA module provides a Virtual (SCSI) HBA, which is the link between the CDemu userspace daemon and linux kernel.") (license gpl2+))) + +(define-public cdemu-daemon + (package + (name "cdemu-daemon") + (version "3.2.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://downloads.sourceforge.net/cdemu/cdemu-daemon/cdemu-daemon-" + version ".tar.bz2")) + (sha256 + (base32 + "171qqcziqgf6dd9n8xs9hc71krhjiyx9qr767s8znidyjj88hbc4")))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("libmirage" ,libmirage) + ("glib" ,glib) + ("ao" ,ao))) + (arguments + ;; No tests. + '(#:tests? #f)) + (home-page "https://cdemu.sourceforge.io/") + (synopsis "CD/DVD-ROM device emulator") + (description "CDemu is a software suite designed to emulate an optical +drive and disc (including CD-ROMs and DVD-ROMs).") + (license gpl2+))) From patchwork Tue Mar 5 17:28:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 1349 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 3650E16D2C; Tue, 5 Mar 2019 17:30:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E387E16D29 for ; Tue, 5 Mar 2019 17:30:46 +0000 (GMT) Received: from localhost ([127.0.0.1]:46614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Dtu-0001Ni-Fm for patchwork@mira.cbaines.net; Tue, 05 Mar 2019 12:30:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1DtE-0000oK-I6 for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1DtD-0005fm-Gs for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1DtD-0005fa-Bf for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1DtD-0002bV-74 for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34758] [PATCH 4/4] gnu: Add cdemu-client. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 17:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34758@debbugs.gnu.org Received: via spool by 34758-submit@debbugs.gnu.org id=B34758.15518069509897 (code B ref 34758); Tue, 05 Mar 2019 17:30:03 +0000 Received: (at 34758) by debbugs.gnu.org; 5 Mar 2019 17:29:10 +0000 Received: from localhost ([127.0.0.1]:33404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1DsL-0002ZS-Q5 for submit@debbugs.gnu.org; Tue, 05 Mar 2019 12:29:10 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:34085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1DsJ-0002Z5-BI for 34758@debbugs.gnu.org; Tue, 05 Mar 2019 12:29:08 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 6B25E100017 for <34758@debbugs.gnu.org>; Tue, 5 Mar 2019 17:29:04 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 5 Mar 2019 18:28:53 +0100 Message-Id: <20190305172853.21358-3-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190305172853.21358-1-mail@ambrevar.xyz> References: <20190305172853.21358-1-mail@ambrevar.xyz> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 * gnu/packages/cdrom.scm (cdemu-client): New variable. --- gnu/packages/cdrom.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 48d6f58a2..9fd3b9201 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -945,3 +945,52 @@ between the CDemu userspace daemon and linux kernel.") (description "CDemu is a software suite designed to emulate an optical drive and disc (including CD-ROMs and DVD-ROMs).") (license gpl2+))) + +(define-public cdemu-client + (package + (name "cdemu-client") + (version "3.2.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://downloads.sourceforge.net/cdemu/cdemu-client-" + version ".tar.bz2")) + (sha256 + (base32 + "1zwz987pb2pakfk9kz8a6xa9hq1ip48cn4ryl9z85dik8k2sizm9")))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool))) + (inputs + `(("python" ,python) + ("python-pygobject" ,python-pygobject) + ("cdemu-daemon" ,cdemu-daemon))) + (arguments + ;; No tests. + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'install 'patch-shebang + (lambda* (#:key outputs #:allow-other-keys) + (patch-shebang (string-append (assoc-ref outputs "out") + "/bin/cdemu")) + #t)) + (add-after 'patch-shebang 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/cdemu"))) + (wrap-program prog + `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) + ;; `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))) + ) + #t)))))) + (home-page "https://cdemu.sourceforge.io/") + (synopsis "Command-line client for controlling cdemu-daemon") + (description "CDEmu client is a simple command-line client for controlling +CDEmu daemon. + +It provides a way to perform the key tasks related to controlling the CDEmu +daemon, such as loading and unloading devices, displaying devices' status and +retrieving/setting devices' debug masks.") + (license gpl2+)))