From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SO/FLx5Kr2PibgEAbAwnHQ (envelope-from ) for ; Fri, 30 Dec 2022 21:29:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0K/ELh5Kr2NeOAAAG6o9tA (envelope-from ) for ; Fri, 30 Dec 2022 21:29:18 +0100 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 EB0603C5 for ; Fri, 30 Dec 2022 21:29:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBM00-0008Vj-W5; Fri, 30 Dec 2022 15:29:05 -0500 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 1pBLzz-0008V5-6i for guix-patches@gnu.org; Fri, 30 Dec 2022 15:29:03 -0500 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 1pBLzy-0000jm-Ng for guix-patches@gnu.org; Fri, 30 Dec 2022 15:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBLzy-000208-9R for guix-patches@gnu.org; Fri, 30 Dec 2022 15:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60433] [PATCH v2] gnu: Add petri-foo. References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Dec 2022 20:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60433 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "60433@debbugs.gnu.org" <60433@debbugs.gnu.org> Received: via spool by 60433-submit@debbugs.gnu.org id=B60433.16724321397680 (code B ref 60433); Fri, 30 Dec 2022 20:29:02 +0000 Received: (at 60433) by debbugs.gnu.org; 30 Dec 2022 20:28:59 +0000 Received: from localhost ([127.0.0.1]:36152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBLzu-0001zo-N2 for submit@debbugs.gnu.org; Fri, 30 Dec 2022 15:28:59 -0500 Received: from mail-40137.protonmail.ch ([185.70.40.137]:48225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBLzq-0001zT-78 for 60433@debbugs.gnu.org; Fri, 30 Dec 2022 15:28:56 -0500 Date: Fri, 30 Dec 2022 20:28:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=jjtzuvyl35aihfeyychwzpsa54.protonmail; t=1672432127; x=1672691327; bh=zGVvmHMAZEFL3r/O2IIDFOcTX26uq7UUvJ+xe4Wdpls=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=WSlyvoSyo1hQNrFNPus+Yaj3aJjiFx91COCPC/rUviMfNO51bJbAZSM3sCi3RtC5H /OFLjLngNxPcmioXBJOapqMvWL5w0Elq0swW0g1yYOMP5HBPgpuhPeEl8Lo3QlenRa 4XsfuqKhxIojXYnRwVFqxS1BxVjIk2zHjWWz9dgQTeu3keXUjH6A3FTrH5O3+OVPDs iNRkniSLNVQHjVKyWSD8BHqWmgxP1q7Z4GfZ4CvIaisgfLSma5cK1oqKJIF/9WW+Ot FoiLv8Svr5FXPq3eJsPRWN9PPVL5WZIwURSJX+vc0epTAwknKT9dXopmumKqwFwCn+ cehsvT8SB5vdQ== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672432158; a=rsa-sha256; cv=none; b=aazR1fZCFiaW9FE2KXF0Oo/CHwbATw16yaxv2MN7R8BQ/h0hAqynXghsX0mm69nmxlGjgU 0p2CM/tPBwTDevYFowB7VP/9p30zYxoFbnJfe432mQdVbXZLRMYFgGGcbu0EQqVg+uHcWr s5L+hDSPxqyEXDfx2gV3MLA0xuSkKfZTyeTt0U0mFGqJoWLodP137ez8jLc8+nBQl+DWy9 2qn5Bm811n5N/cSpTfGA0WHXtJ9BdEIwtP0jKCA8qBRPdAVdAjv17BXC/323EY997dxT18 m3DyzmAX7FHXTsbBtEF0Zp9mX79XP0YVapv1Zj+Kx/ag2Fdcp1uzh4dw2PMoZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=jjtzuvyl35aihfeyychwzpsa54.protonmail header.b=WSlyvoSy; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672432158; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zGVvmHMAZEFL3r/O2IIDFOcTX26uq7UUvJ+xe4Wdpls=; b=gMTDdQvpYXQknuS/QcREOOvdpbvopsnsUQJ2lgT3TOFwTmPkJ1JIAbcbVpAnrSLHVsU9Nf htYNM5pYqH8vy4ymGSxsSaW5EfeQP9E/bHr9ILkU9k5tmul80YQx95Dn/v4vlPcm2JG0Vc spenbVeQunttspxrc1GQxkupuIiOdPO3XoC1MBQamf81X6C1jX+gGNzsuCY1hNxKN3PjX2 mHh80jTmgKPL12M1Evgpsy0D+nZr/HXUDSkRJNecK9+heG4wqVXuF3PQVq/8XwI3FUqGdL G7MnIUo/A112XRKKwMgXgj5AFQoKdXmFr4E+/ltNWLqUT+FFkyimywVyN5rGmQ== X-Spam-Score: -3.44 X-Migadu-Queue-Id: EB0603C5 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=jjtzuvyl35aihfeyychwzpsa54.protonmail header.b=WSlyvoSy; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.44 X-TUID: BVUJ0ONaD7VT * gnu/packages/music.scm (petri-foo): New public variable. * gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch * gnu/local.mk (GNU_SYSTEM_MODULES): Add the new patch file. --- gnu/local.mk | 1 + gnu/packages/music.scm | 41 +++++++++++++++++++ ...foo-0.1.87-fix-recent-file-not-exist.patch | 24 +++++++++++ 3 files changed, 66 insertions(+) create mode 100644 gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-n= ot-exist.patch diff --git a/gnu/local.mk b/gnu/local.mk index 0d4028a161..0234ecf52c 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1627,6 +1627,7 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/password-store-tree-compat.patch=09=09\ %D%/packages/patches/pciutils-hurd-configure.patch=09=09\ %D%/packages/patches/pciutils-hurd-fix.patch=09=09=09\ + %D%/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch=09= =09=09\ %D%/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch \ %D%/packages/patches/pocketfft-cpp-prefer-preprocessor-if.patch=09=09=09= \ %D%/packages/patches/pokerth-boost.patch=09=09=09\ diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 5be767a138..257a68af81 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2178,6 +2178,47 @@ (define-public jalv-select users to select LV2 plugins and run them with jalv.") (license license:public-domain))) =20 +(define-public petri-foo + (package + (name "petri-foo") + (version "0.1.87") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/petri-foo/Source" + "/petri-foo-" version ".tar.bz2")) + (sha256 + (base32 + "0b25iicgn8c42487fdw32ycfrll1pm2zjgy5djvgw6mfcaa4gizh")) + (modules '((guix build utils))) + ;; https://github.com/petri-foo/Petri-Foo/pull/43 + (snippet '(begin + (substitute* "gui/gui.c" + (("#include \\\"waveform\\.h\\\"") + (string-append + "#include \"waveform.h\"" + "\n\nGtkRecentManager *recent_manager;"))) + (substitute* "gui/gui.h" + (("GtkRecentManager \\*recent_manager;") + "extern GtkRecentManager *recent_manager;")))= ))) + (build-system cmake-build-system) + (arguments (list #:tests? #f)) ;no test target + (native-inputs (list pkg-config)) + (inputs (list alsa-lib + glib + jack-1 + libgnomecanvas + liblo + libsamplerate + libsndfile + libxml2 + openssl)) + (home-page "https://petri-foo.sourceforge.net/") + (synopsis "Audio sampler for JACK") + (description + "Petri-Foo is a fork of the Specimen sampler project intended to run = under +a JACK session.") + (license license:gpl2))) + (define-public mixxx (package (name "mixxx") diff --git a/gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exis= t.patch b/gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.p= atch new file mode 100644 index 0000000000..3e88487b07 --- /dev/null +++ b/gnu/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch @@ -0,0 +1,24 @@ +diff -Naur a/gui/bank-ops.c b/gui/bank-ops.c +--- a/gui/bank-ops.c=092012-08-06 05:33:34.000000000 +0200 ++++ b/gui/bank-ops.c=092012-08-07 17:57:28.580145691 +0200 +@@ -393,6 +393,8 @@ + g_signal_connect_swapped(G_OBJECT(msg), "response", + G_CALLBACK(gtk_widget_destroy), msg); + gtk_widget_show (msg); ++ ++ gtk_recent_manager_remove_item(recent_manager, filename, NULL); + } + else + { +diff -Naur a/libpetrifui/dish_file.c b/libpetrifui/dish_file.c +--- a/libpetrifui/dish_file.c=092012-08-06 05:33:34.000000000 +0200 ++++ b/libpetrifui/dish_file.c=092012-08-07 17:56:09.063909801 +0200 +@@ -1440,7 +1440,7 @@ +=20 + if (stat(path, &st) !=3D 0) + { +- msg_log(MSG_ERROR, "file '%s' does not exist\n"); ++ msg_log(MSG_ERROR, "file '%s' does not exist\n", path); + return -1; + } +=20 --=20 2.38.1