From unknown Tue Jun 17 22:28:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47998] [PATCH] gnu: Add siggen. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Apr 2021 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47998 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47998@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16192843758989 (code B ref -1); Sat, 24 Apr 2021 17:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Apr 2021 17:12:55 +0000 Received: from localhost ([127.0.0.1]:41387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLpq-0002Ko-4O for submit@debbugs.gnu.org; Sat, 24 Apr 2021 13:12:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:55680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLpn-0002Kf-Aa for submit@debbugs.gnu.org; Sat, 24 Apr 2021 13:12:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laLpn-0006Cw-5U for guix-patches@gnu.org; Sat, 24 Apr 2021 13:12:47 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:34366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laLpj-0005Ym-1l for guix-patches@gnu.org; Sat, 24 Apr 2021 13:12:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n7YHjH2mhcgoZEvFWoTxoq55KmHc8yX4uyGJaBf/bc4=; b=OCXUEGpV9Mwwuf65Q046YHjv58 VmWwpHHfjBENFiNUvW2Etv55CLlZQyuGuZLfAQrXst2Xtr9mPZMdAQEn0HHptcOx47F46kAOclDYp QMiES2/r/31HwmrLL7IuJvU3kYqFp8MtTCPPBrBavw79ptGKBgH9PvD5ZMelihJ/jZM0DJIEjhUze /6UDGZTUbrHzyb+pSo0AMJ7ffuE8vF3MIfyNcGETqohxpW0u994FTkh62aICRNWSM6zYnrQnL7Yuw GlohlLXsZzmeWGpl8UGgBbxaViG/uING7xEC7tuu7eU6sh/79SX5Tyndf5G2V8A5++T06eYajposb t2KK4FXg==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1laLpd-000fqe-9Z; Sat, 24 Apr 2021 22:42:37 +0530 From: Arun Isaac Date: Sat, 24 Apr 2021 22:42:34 +0530 Message-Id: <20210424171234.28651-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/audio.scm (siggen): New variable. --- gnu/packages/audio.scm | 51 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index a866492558..5f95268af2 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -21,7 +21,7 @@ ;;; Copyright © 2019, 2021 Pierre Langlois ;;; Copyright © 2019, 2021 Leo Famulari ;;; Copyright © 2019 Rutger Helling -;;; Copyright © 2019 Arun Isaac +;;; Copyright © 2019, 2021 Arun Isaac ;;; Copyright © 2019 Mathieu Othacehe ;;; Copyright © 2019, 2020 Alexandros Theodotou ;;; Copyright © 2019 Christopher Lemmer Webber @@ -78,6 +78,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gnunet) ; libmicrohttpd #:use-module (gnu packages gperf) + #:use-module (gnu packages groff) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) @@ -107,6 +108,7 @@ #:use-module (gnu packages serialization) #:use-module (gnu packages telephony) #:use-module (gnu packages linphone) + #:use-module (gnu packages linux) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages video) @@ -5190,3 +5192,50 @@ while still staying in time.") (description "Butt is a tool to stream audio to a ShoutCast or Icecast server.") (license license:gpl2+))) + +(define-public siggen + (package + (name "siggen") + (version "2.3.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bleskodev/siggen") + (commit "a407611b59d59c7770bbe62ba9b8e9a948cf3210"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0szhgfd9kddr6qsz0imp0x66jjn6ry236f35vjl82ivc1v2bllcb")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "INSDIR=" %output "/bin") + (string-append "MANDIR=" %output "/share/man")) + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + ;; Patch misc.c to prevent a segfault. + (add-after 'unpack 'patch-segfault + (lambda _ + (substitute* "misc.c" + (("#include \n" all) + (string-append all "#include \n"))))) + (delete 'configure) + (replace 'install + (lambda* (#:key make-flags outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (dir) + (mkdir-p (string-append out dir))) + (list "/bin" "/share/man/man1" "/share/man/man5")) + (apply invoke "make" "sysinstall" make-flags))))))) + (inputs + `(("ncurses" ,ncurses))) + (native-inputs + `(("groff" ,groff-minimal) ; for nroff + ("util-linux" ,util-linux))) ; for col + (home-page "https://github.com/bleskodev/siggen") + (synopsis "Signal generation tools") + (description "siggen is a set of tools for imitating a laboratory signal +generator, generating audio signals out of Linux's /dev/dsp audio +device. There is support for mono and/or stereo and 8 or 16 bit samples.") + (license license:gpl2))) -- 2.31.0 From unknown Tue Jun 17 22:28:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47998] [PATCH] gnu: Add siggen. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Jun 2021 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47998 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 47998@debbugs.gnu.org Received: via spool by 47998-submit@debbugs.gnu.org id=B47998.16228121685136 (code B ref 47998); Fri, 04 Jun 2021 13:10:02 +0000 Received: (at 47998) by debbugs.gnu.org; 4 Jun 2021 13:09:28 +0000 Received: from localhost ([127.0.0.1]:45818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9Zo-0001Kk-IV for submit@debbugs.gnu.org; Fri, 04 Jun 2021 09:09:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9Zm-0001KX-7C for 47998@debbugs.gnu.org; Fri, 04 Jun 2021 09:09:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34284) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lp9Zf-0006Cv-TP; Fri, 04 Jun 2021 09:09:19 -0400 Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=54536 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp9Zf-0004HY-L6; Fri, 04 Jun 2021 09:09:19 -0400 From: Mathieu Othacehe References: <20210424171234.28651-1-arunisaac@systemreboot.net> Date: Fri, 04 Jun 2021 15:09:18 +0200 In-Reply-To: <20210424171234.28651-1-arunisaac@systemreboot.net> (Arun Isaac's message of "Sat, 24 Apr 2021 22:42:34 +0530") Message-ID: <87wnr9dbep.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Arun, > * gnu/packages/audio.scm (siggen): New variable. This LGTM, please go ahead :) Thanks, Mathieu From unknown Tue Jun 17 22:28:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Arun Isaac Subject: bug#47998: closed (Re: bug#47998: [PATCH] gnu: Add siggen.) Message-ID: References: <87h7i7j6dl.fsf@systemreboot.net> <20210424171234.28651-1-arunisaac@systemreboot.net> X-Gnu-PR-Message: they-closed 47998 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 47998@debbugs.gnu.org Date: Wed, 09 Jun 2021 17:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1623259682-13035-1" This is a multi-part message in MIME format... ------------=_1623259682-13035-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47998: [PATCH] gnu: Add siggen. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 47998@debbugs.gnu.org. --=20 47998: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47998 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1623259682-13035-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 47998-done) by debbugs.gnu.org; 9 Jun 2021 17:27:33 +0000 Received: from localhost ([127.0.0.1]:34625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1zJ-0003NT-Lo for submit@debbugs.gnu.org; Wed, 09 Jun 2021 13:27:33 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr1zG-0003NJ-BI for 47998-done@debbugs.gnu.org; Wed, 09 Jun 2021 13:27:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=K8G+glSlGjNCaAgl7hf7NxVxacDiMmSpjA2Cw21MmPw=; b=j+FVa7VOEyC7HiqBD7uODZy6YK h+9rMUA7K82P+TZ5FzklGHmDz45CGMkNTVQOozYugy7gqhOXz3dDL9TSKQig4yAgib0kDrV617gWI wxOZfVY/FmWpl2QxfoaOXLT+Ex8R+xj8Y29VCXMRSmNOxsHCHQ2JyTWW2dJ/LVxBb98psop69IULl Ra0XVUI1g21R2mLjUSq3HYPrwb5C95d8txLc8dBJ1erJo5oGHuv19lXgl1TMf23vfW5AdMrHPPrIJ uCNeQTtTrV6fsLLAbDpDUl+wK5Z0IdNXEw4vccf0JhbNucRzQSdChfjatkx84TcB71ndzkpe8hLOf 7Sit3Y3A==; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lr1zD-0000Hj-PF; Wed, 09 Jun 2021 22:57:27 +0530 From: Arun Isaac To: Mathieu Othacehe Subject: Re: bug#47998: [PATCH] gnu: Add siggen. In-Reply-To: <87wnr9dbep.fsf@gnu.org> References: <20210424171234.28651-1-arunisaac@systemreboot.net> <87wnr9dbep.fsf@gnu.org> Date: Wed, 09 Jun 2021 22:57:18 +0530 Message-ID: <87h7i7j6dl.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47998-done Cc: 47998-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Pushed to master, thanks! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmDA+fYbHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuzjS4H/RItgby6WmYhDkb1VIU2 6P928QDVCp8esUHJ4ohFvQ35Ve78aScPqa/zDgKRhDsj+OyKwamBqKw78fp3yV9c XATP7oj9m1lhrnDf87+KJaH3+5Oix7235H8pMTXtd8tKRQru9djygb29N7UKeSyg nf4G0Jq/aJSCh64bic3O+CzHL6sl7N4js9E+7I1P1rXcTe3SN5LoHCf87H9nzbgk JlY4X+N51HkE0eMXUXFNrio3b+JQIqm43L4cinxjOVGzZniflMApPUrFXT//kAHN zFMpxDy7L9yPcw8aTvqxq8x6R44cewx4EKAv6QGmAj+Co2ulGxcI0TYblgJARSuM AQQ= =GGze -----END PGP SIGNATURE----- --=-=-=-- ------------=_1623259682-13035-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Apr 2021 17:12:55 +0000 Received: from localhost ([127.0.0.1]:41387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLpq-0002Ko-4O for submit@debbugs.gnu.org; Sat, 24 Apr 2021 13:12:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:55680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laLpn-0002Kf-Aa for submit@debbugs.gnu.org; Sat, 24 Apr 2021 13:12:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laLpn-0006Cw-5U for guix-patches@gnu.org; Sat, 24 Apr 2021 13:12:47 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:34366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laLpj-0005Ym-1l for guix-patches@gnu.org; Sat, 24 Apr 2021 13:12:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n7YHjH2mhcgoZEvFWoTxoq55KmHc8yX4uyGJaBf/bc4=; b=OCXUEGpV9Mwwuf65Q046YHjv58 VmWwpHHfjBENFiNUvW2Etv55CLlZQyuGuZLfAQrXst2Xtr9mPZMdAQEn0HHptcOx47F46kAOclDYp QMiES2/r/31HwmrLL7IuJvU3kYqFp8MtTCPPBrBavw79ptGKBgH9PvD5ZMelihJ/jZM0DJIEjhUze /6UDGZTUbrHzyb+pSo0AMJ7ffuE8vF3MIfyNcGETqohxpW0u994FTkh62aICRNWSM6zYnrQnL7Yuw GlohlLXsZzmeWGpl8UGgBbxaViG/uING7xEC7tuu7eU6sh/79SX5Tyndf5G2V8A5++T06eYajposb t2KK4FXg==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1laLpd-000fqe-9Z; Sat, 24 Apr 2021 22:42:37 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] gnu: Add siggen. Date: Sat, 24 Apr 2021 22:42:34 +0530 Message-Id: <20210424171234.28651-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Arun Isaac X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/audio.scm (siggen): New variable. --- gnu/packages/audio.scm | 51 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index a866492558..5f95268af2 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -21,7 +21,7 @@ ;;; Copyright © 2019, 2021 Pierre Langlois ;;; Copyright © 2019, 2021 Leo Famulari ;;; Copyright © 2019 Rutger Helling -;;; Copyright © 2019 Arun Isaac +;;; Copyright © 2019, 2021 Arun Isaac ;;; Copyright © 2019 Mathieu Othacehe ;;; Copyright © 2019, 2020 Alexandros Theodotou ;;; Copyright © 2019 Christopher Lemmer Webber @@ -78,6 +78,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gnunet) ; libmicrohttpd #:use-module (gnu packages gperf) + #:use-module (gnu packages groff) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) @@ -107,6 +108,7 @@ #:use-module (gnu packages serialization) #:use-module (gnu packages telephony) #:use-module (gnu packages linphone) + #:use-module (gnu packages linux) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages video) @@ -5190,3 +5192,50 @@ while still staying in time.") (description "Butt is a tool to stream audio to a ShoutCast or Icecast server.") (license license:gpl2+))) + +(define-public siggen + (package + (name "siggen") + (version "2.3.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bleskodev/siggen") + (commit "a407611b59d59c7770bbe62ba9b8e9a948cf3210"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0szhgfd9kddr6qsz0imp0x66jjn6ry236f35vjl82ivc1v2bllcb")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list (string-append "INSDIR=" %output "/bin") + (string-append "MANDIR=" %output "/share/man")) + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + ;; Patch misc.c to prevent a segfault. + (add-after 'unpack 'patch-segfault + (lambda _ + (substitute* "misc.c" + (("#include \n" all) + (string-append all "#include \n"))))) + (delete 'configure) + (replace 'install + (lambda* (#:key make-flags outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (dir) + (mkdir-p (string-append out dir))) + (list "/bin" "/share/man/man1" "/share/man/man5")) + (apply invoke "make" "sysinstall" make-flags))))))) + (inputs + `(("ncurses" ,ncurses))) + (native-inputs + `(("groff" ,groff-minimal) ; for nroff + ("util-linux" ,util-linux))) ; for col + (home-page "https://github.com/bleskodev/siggen") + (synopsis "Signal generation tools") + (description "siggen is a set of tools for imitating a laboratory signal +generator, generating audio signals out of Linux's /dev/dsp audio +device. There is support for mono and/or stereo and 8 or 16 bit samples.") + (license license:gpl2))) -- 2.31.0 ------------=_1623259682-13035-1--