From unknown Mon Jun 23 11:27:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38217] [PATCH] gnu: rtmidi: Update to 4.0.0. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Nov 2019 09:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38217@debbugs.gnu.org Cc: Pierre Langlois X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15738103016055 (code B ref -1); Fri, 15 Nov 2019 09:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2019 09:31:41 +0000 Received: from localhost ([127.0.0.1]:35667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXx6-0001Zb-6r for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:31:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:43162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXx3-0001ZS-9q for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:31:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50510) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVXwy-00020X-7O for guix-patches@gnu.org; Fri, 15 Nov 2019 04:31:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVXwm-0008GH-Jz for guix-patches@gnu.org; Fri, 15 Nov 2019 04:31:28 -0500 Received: from mout.gmx.net ([212.227.17.21]:44823) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVXwl-0008FH-8s for guix-patches@gnu.org; Fri, 15 Nov 2019 04:31:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1573810274; bh=HCXkm+B/vuZoKf3NiOyAW8Syr9KTQP8FvfL2GX4fq/o=; h=X-UI-Sender-Class:From:To:Subject:CC:Date; b=P1c2HO5VzFx5qysTuqD7iXNyX5POzKqhDPlDHmnR6yxA05Q+2zv9AmPBvUNjkA+Hy r/T59vZnvfg7XsWzpiJaA/mJkywKKNo0FNIzuupz8c06S0qipvclhMOFst8QkB/0d4 +2VRt4zIA+1JIygo99iRFx5yCL/pkfsmSzFuAYG8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([80.44.68.57]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mz9Z5-1hivhq2zf1-00wC0v; Fri, 15 Nov 2019 10:31:13 +0100 User-agent: mu4e 1.2.0; emacs 26.3 From: Pierre Langlois Date: Fri, 15 Nov 2019 09:31:11 +0000 Message-ID: <878sohwko0.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:GQRrMMGJBUHGtz3Qrzc3h6jXp4u7K7QNfRxC3AP6qDJMR9AhA/S 1WTPwt/ZiDNfuDStspbS4A3FGumUsBFuZTzdHnkt874orrFQfRLK0leV/Vw5q6Wlpn7JfFq hk18ARFbSubQRBCOk9al8NfaGT4/XDggZsepQXyB+D3KOFY6lSnsxCzFTnixkPnsLXZdD9M WzhePdQk/cPACih25S9/g== X-UI-Out-Filterresults: notjunk:1;V03:K0:zzhW6x7G/LY=:3TZuD6j89qROMVkzwa5iOo Dct8xj41DLYclznMivHNsV0XfBwoS08sT3/8XEwvnn6xlyDtM2NLrmWYTLlWJwAo3gySBM11F auTllrLQPeSdOel6yshTH8EG+5NkOlOdUn+j8lkF1deOcJH5RzLMB/5Vu3tS/92Ls7dLV0aWV 9Oa7SwQ9x4iFYCDUbREYJQ9vwdQMGUpyNiOHotdvDF+cKGnypkZtlaOQ/rSjrAgmUJXIaxH6I yEsjxRKJm/jGh4TYhdYszW0C+q5GecrKX9AESudLRvfGKIP3RZRJ9xSdkbww4gD8w7Mbe3ArY a+rz7AdFmrPuJLeXET12fsMM2kbL6rj7gzRRVGreECOLh7WravEwm0OQU7rnWqMOyQtL6+IeC 70Ty+rid56v0KEQLz/bYhrYSotzQHu2BICE8B80BejlN3lTDZ6Rb3LS8gWKia9YiSTNEsMhIw SJRy0121ncmRHwsfzyvLEAD9nIoXp4FQ5iSY1izXHM6xuQpYwYdvLzaaVxojstTjx/p+odr8J /3MDanpA0fnaIssVHXsQ/ltYSZS7iJZMFjTaJQwDNIb/KmmHDPVb2zrnuqUj5pS4dBjIgcUd5 sAbd59Yz+SjE6IHUAFW44RIwMdq3Ta1yp5rJMEUTEmdfWEeolj2kWRiGP7VuWkfgRvBIzuPHI bZgGuBkmsoN/4P99p6suCmprIBQxa6SChIX8zcESZw82Ja+AhbFZn770xFKfJ6V467f0jTcsm NUHBvGDgfQJSUtoH1VTVt06Lj+4M9wM6o1HolSdd4sZ88W553gAax7orE2pJKECKPWv+ckEib ixFB3tbLRMpK+iVseirzgfYQSNmgKAmV23/9mhjb2Plr3ZQbzdmSQ5OvcFqMLA2FkSrgcT+gh xQMM3g+nRWcUy4Vk3fI4OYd4m45P9n7DdH2oONOCCAQjT4bIngZupOo6o0NSNiZYAMynTTWuV I/UY/lp62F4w7NcpJKWcOszrsnvzwIJboAujOowkPBsusZPpAQW7ZQhVouXJLYQDOD0NxIwEJ IvQ1EBzKOxpTaruUjXXGPI7bpzAXYuSPYoCUVmYZ3gKK/wZZRAZSKUPIiau41LyBToBuBYLKl WHHhxmvNCS4FmXBI/hAYoBoE6rW6ls0SxjDCqSV2sNKX+5/aqKsUeS1gmLeUX8RUBr1Gf2n5j GfaFOsGCOn89syCMe4gfuH4q1e3jZ+5Goakc4WtGNeFsXK5Yt9rfWcSQ1KWIKqzGOQngXG9xT KDE/UFOhN1a/kg4iRvoGITd6XO9YFB31mnz1TB4yxrJpTO3e3yQBZG7IsebU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 X-Spam-Score: 0.6 (/) 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: -2.4 (--) --=-=-= Content-Type: text/plain Hello Guix! Here's an update for the rtmidi package. I've had to fix the powertabeditor package to be able to find the RtMidi.h header which has now moved into a subdirectory. It looks like the issue is fixed upstream in the build system but no release have been made yet so I've added a TODO to remove the hack later. WDYT? Thanks, Pierre --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-rtmidi-Update-to-4.0.0.patch Content-Transfer-Encoding: quoted-printable =46rom ca890314f2a5d05d97c5bee39e0e571cf9344ba2 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Fri, 15 Nov 2019 09:23:16 +0000 Subject: [PATCH] gnu: rtmidi: Update to 4.0.0. * gnu/packages/audio.scm (rtmidi): Update to 4.0.0. [source]: Download tarball from upstream URL rather than the powertab gith= ub fork. [arguments]: Enable tests. Remove 'build and 'install phases and add a ne= w 'noconfigure phase to prevent the bootstrap script from invoking configure= . [home-page]: Update homepage to upstream URL. * gnu/packages/music.scm (powertabeditor)[arguments]: Add phase that subst= itutes the rtmidi #include directive to find the header. =2D-- gnu/packages/audio.scm | 31 ++++++++++--------------------- gnu/packages/music.scm | 8 ++++++++ 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 15ba454edd..66ef787dcc 100644 =2D-- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2341,33 +2341,22 @@ tempo and pitch of an audio recording independentl= y of one another.") (define-public rtmidi (package (name "rtmidi") - (version "2.1.0") + (version "4.0.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/powertab/rtmidi.git") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (string-append "https://www.music.mcgill.ca/~gary/rtmi= di" + "/release/rtmidi-" version ".tar.gz")) + (file-name (string-append "rtmidi-" version ".tar.gz")) (sha256 (base32 - "106v177y3nrjv2l1yskch4phpqd8h97b67zj0jiq9pc3c69jr1ay")))= ) + "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p")))= ) (build-system gnu-build-system) (arguments - `(#:tests? #f ;no "check" target - #:phases + `(#:phases (modify-phases %standard-phases - (add-before 'build 'fix-makefile - (lambda _ - (substitute* "Makefile" - (("/bin/ln") "ln") - (("RtMidi.h RtError.h") "RtMidi.h")) - #t)) - (add-before 'install 'make-target-dirs + (add-before 'bootstrap 'noconfigure (lambda _ - (let ((out (assoc-ref %outputs "out"))) - (mkdir-p (string-append out "/bin")) - (mkdir (string-append out "/lib")) - (mkdir (string-append out "/include"))) + (setenv "NOCONFIGURE" "yes") #t))))) (inputs `(("jack" ,jack-1) @@ -2377,7 +2366,7 @@ tempo and pitch of an audio recording independently = of one another.") ("automake" ,automake) ("libtool" ,libtool) ("pkg-config" ,pkg-config))) - (home-page "https://github.com/powertab/rtmidi") + (home-page "https://www.music.mcgill.ca/~gary/rtmidi") (synopsis "Cross-platform MIDI library for C++") (description "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specif= ic diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 3373b4c0a3..241ede58d8 100644 =2D-- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1284,6 +1284,14 @@ add_library( rapidjson INTERFACE IMPORTED )")) (("#include " m) (string-append m "\n#include \n#include "))) #t)) + ;; FIXME: Finding RtMidi was fixed upstream so we should be able= to + ;; remove this hack when a release is made. + ;; See https://github.com/powertab/powertabeditor/issues/255 + (add-after 'unpack 'fix-rtmidi-header + (lambda _ + (substitute* "source/audio/midioutputdevice.cpp" + (("#include ") "#include ")) + #t)) (add-before 'configure 'remove-third-party-libs (lambda* (#:key inputs #:allow-other-keys) ;; Link with required static libraries, because we're not =2D- 2.24.0 --=-=-=-- From unknown Mon Jun 23 11:27:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38217] [PATCH] gnu: rtmidi: Update to 4.0.0. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Nov 2019 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38217@debbugs.gnu.org Cc: pierre.langlois@gmx.com X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Cc: Pierre Langlois , 38217@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157381564622407 (code B ref -1); Fri, 15 Nov 2019 11:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2019 11:00:46 +0000 Received: from localhost ([127.0.0.1]:35703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVZLK-0005pL-AX for submit@debbugs.gnu.org; Fri, 15 Nov 2019 06:00:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:41185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVZLI-0005pC-VT for submit@debbugs.gnu.org; Fri, 15 Nov 2019 06:00:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33858) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVZLH-0001ZR-8S for guix-patches@gnu.org; Fri, 15 Nov 2019 06:00:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVZLC-0008F9-7y for guix-patches@gnu.org; Fri, 15 Nov 2019 06:00:43 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:33758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVZLC-0008Et-1H for guix-patches@gnu.org; Fri, 15 Nov 2019 06:00:38 -0500 Received: by mail-wr1-x441.google.com with SMTP id w9so10528045wrr.0 for ; Fri, 15 Nov 2019 03:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=ee9vJj7iZ32PG64r11tGhv+zihM7AnL10W1NdFf0ryU=; b=lTMvjdOHMmJmcV69PtzfDaph7l+lrLa6yii3P+UqgRG62lkdF8Uli77BBnfvEgx1ie 1pgRC6sEMiof6UKj7pOy1LUjMfrPqE5lwySBePmz/1qOHI1ShvXCP7zQD122BxXhWL9f vGUGvkao9IWVP8tDAx1Tn98yizmKCuaHcYcdy/WV41uT0tz+S8tVubIKCn2DeB8t7eGx nF2dCPel1E05xp3bS8gp0ciJ03CbGqKy8BpT4XOj7rBoyQrj0qx8Vf/PfXBFuXC7dC57 bj4lyFt5n8Nco8byr6MldEqSFxSWW5KAZU1oZ4zDlOl+WvG/tk/GbDmevWD/saxYJDDW oK8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=ee9vJj7iZ32PG64r11tGhv+zihM7AnL10W1NdFf0ryU=; b=WljkewT41rMPhfKsdaupP9qd1erCdlH/6lbfth3CV/IGtrgR4fwc+U8uPYN6PONMfb eTXesGrknXyEUP9GmaoWqJoxhtJ+fOLBRlIhVEGcOWbXc9HckV8xfiWEv/veeIHLtyHg IWC4GXgzhIpESwibhb2Wql7mshyiTXodfqZ8yei5phaALhDv+f8615uYUDpAD/jrXeyP CKAyptfF4PwPCMwPQxXPAOgDhuziXXhKzNGjz87qjqPR4j9sU39RyI3IHe2tFkeie/dz 7u8UixsEU5fzh4B8RFDDp7hXrPS1s+BFekKvna/JnbAfgsb2im1vV/IvOCQA2C3VQRVR aRsQ== X-Gm-Message-State: APjAAAU3VhkW9ZJfdFJzejSBS5vPia36UVV3TeIoUByc7imbfKBx04Jw AhGd/WKbpuQ8WBPESeCUdgQ= X-Google-Smtp-Source: APXvYqzCoExZ8J0fvxF1Th7bONS4gKqdsBzgioyHAT/TONf4bX6b84YSMF5BPecI6WZ4MaGxWuhetw== X-Received: by 2002:adf:f442:: with SMTP id f2mr14924971wrp.289.1573815636393; Fri, 15 Nov 2019 03:00:36 -0800 (PST) Received: from meru ([90.114.75.61]) by smtp.gmail.com with ESMTPSA id y6sm10847034wrr.19.2019.11.15.03.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 03:00:35 -0800 (PST) References: <878sohwko0.fsf@gmx.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe In-reply-to: <878sohwko0.fsf@gmx.com> Date: Fri, 15 Nov 2019 12:00:32 +0100 Message-ID: <87lfshtne7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-Spam-Score: -1.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: -2.3 (--) Hello Pierre, > Here's an update for the rtmidi package. I've had to fix the > powertabeditor package to be able to find the RtMidi.h header which has > now moved into a subdirectory. It looks like the issue is fixed upstream > in the build system but no release have been made yet so I've added a > TODO to remove the hack later. > > WDYT? This patch LTGM! I have an error when closing powertabeditor but this might be unrelated to this patch: --8<---------------cut here---------------start------------->8--- Unhandled exception: Parse error at offset 18446744073709551615: The document is empty. /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [???] /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [???] /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/lib/libstdc++.so.6 [???] /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/lib/libstdc++.so.6 [???] /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/lib/libstdc++.so.6 [???] /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [TuningDictionary::ensureLoaded] /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [TuningDictionary::save] /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [PowerTabEditor::closeEvent] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QWidget::event] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QMainWindow::event] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplicationPrivate::notify_helper] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplication::notify] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QCoreApplication::notifyInternal2] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QWidgetPrivate::close_helper] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [???] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [???] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplicationPrivate::notify_helper] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplication::notify] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QCoreApplication::notifyInternal2] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Gui.so.5 [QGuiApplicationPrivate::processCloseEvent] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Gui.so.5 [QGuiApplicationPrivate::processWindowSystemEvent] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Gui.so.5 [QWindowSystemInterface::sendWindowSystemEvents] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 [???] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QEventLoop::exec] /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QCoreApplication::exec] /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [main] /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 [__libc_start_main] /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [_start] --8<---------------cut here---------------end--------------->8--- Mathieu From unknown Mon Jun 23 11:27:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38217] [PATCH] gnu: rtmidi: Update to 4.0.0. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Nov 2019 13:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38217 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: pierre.langlois@gmx.com, 38217@debbugs.gnu.org X-Debbugs-Original-Cc: Pierre Langlois , 38217@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157382428710804 (code B ref -1); Fri, 15 Nov 2019 13:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2019 13:24:47 +0000 Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVbah-0002oB-EA for submit@debbugs.gnu.org; Fri, 15 Nov 2019 08:24:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:53282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVbaf-0002o3-9o for submit@debbugs.gnu.org; Fri, 15 Nov 2019 08:24:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50991) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVbad-0005Xu-W3 for guix-patches@gnu.org; Fri, 15 Nov 2019 08:24:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVbac-00013i-MM for guix-patches@gnu.org; Fri, 15 Nov 2019 08:24:43 -0500 Received: from mout.gmx.net ([212.227.15.15]:48379) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVbac-00010T-9H for guix-patches@gnu.org; Fri, 15 Nov 2019 08:24:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1573824271; bh=Nxp7o1AlWG9RmdriGXbJM8wK84wp+lKb448cSc8mUN4=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=KZiNpYWBt1bZRjhpdjDDknKkIBQUbE8BmHRjBz/4k3dLReG5MgVpALYKr7c9tSbb3 j35qXrb9kOdIZ7+6Hf5hmBrDBmkr7GalcJ1U/QOa825zjlyKJly8cWGtpCUJTMbUtS 7gn4DYuBgxTwSpQHUYwOObT5u5AeDt6y5q+//1Ok= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([80.44.68.57]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MeU4s-1hvAN83K5M-00aXGe; Fri, 15 Nov 2019 14:24:31 +0100 References: <878sohwko0.fsf@gmx.com> <87lfshtne7.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Pierre Langlois In-reply-to: <87lfshtne7.fsf@gmail.com> Date: Fri, 15 Nov 2019 13:24:28 +0000 Message-ID: <877e41w9v7.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:+kp4vdVs5HR2xO6gZlploFOg2J5IeixFJGNI0jOc3U+48eSvMB+ CBnOzWh6sb7W5NsdLlWA6WgI0BrEa6/EsY+GNoPG16euTJSQ15YZ0ZlHz/6BW7kB0DtJCQ3 /7GHwSOj+ys+P2XRxZxp9YN8YYaGZhBwMjne9vhajskjeqI1TyQFKDlqjjDBnpRL89V1DTA OH0rp27s+9y/zGula/GUA== X-UI-Out-Filterresults: notjunk:1;V03:K0:gcHQgCmGQQw=:sXPMFSxxiHvpE9VErJebAo +MOUbM9IHBwvVoCr+6z9uxEheBvxxBRCbJHVWAVbZ2l+LvIMiJmfwEUk5nOFNsx5wX2udTKIF A0jMp9dYhRmbKpNU+0E5Hw1hKOyGP4ypDulwz72TUF+st/UI99jL8lXAsu0KGx4gEcCsW4Muh /xIh5Ak0mOtzNbKFhNM2SRxGG5pquP7VSIZ6Jxj94P8CQj0i5B0QnHtI/aj/KxfNPmN9lf9wq jWanutDL+W/qOeeXb0zpOOjvyfxfly19KRWfrYl9nX96NgI08yCRVc3TBukeXQZQvm/8RysXt AuFB7jaaElSkU8WbkiGD8SMOJLCHcrEOBfC7Ntp20VN4Y1zGs8MVGi3twK6MEybG8OHD+9woG JT4svyW9dFiZkXMINsK39rPVaniJI5r8mzyeJbItHdSBWfxURCex5Ym6tg0SG3mJ3zDh4iIGC FwbhXDFcJGDU4iuCuXjmHvdc/U6+eJz39DDPX2x2PJJAjCYcgkv2LrDoZfYtAWodSav69etrr DNV/kVB1ZdqWrIwyJYuZG91iN6p5ylu31kP5mNnUq+UCcAfm2AfmHJwA7tJXfmOVGO2otD/7W qPpMLGHdoJwhTzsEb4NZrNcTc8z7+KWYESjFlrw39FXbfL4kmqk7Onqd0C/d8fr2BbvAh4uFu ka2PkkvHjBHkuES266K9BWcly/5m1NjIBWOp0fFiRGakBHzTcMKH8ACGUhtJg1JQCWNWsu4Ko m9GAJo+8n50Xyu5i/EF/2oDfciwMIwACY4iGjyATfCl0EZ5Vcsgj9G06ynOPXf+A0UWqP1rMN sI8BLg3vufa5Ovvap//EIIwpWx5YjehQxniTUsnuksqLWR1Sj5iQnCFcHsqOHDArvXyUDVvmE ixcLfXprmZjU5lhUJZDEDhz5UIanAE8BBqe2/hzld6FQxOBZU8N5m5mRNgpQXKArqGyWathte ++4cx/LT8cwjVwA5aCRJ/tsaDHdGVQzEdeDSCsA8AUTDiLu2h1DLGbv8lSw0RYX49+BBLOrBQ /eOvKl3ZbzPyzz7pI6SKvjq6F6nLyP+QAHGxhMuHxaeAReJwVCV01zFXSKZo19P1M/t1GuZW2 x6V8cs10Bhfs7N7ZSMcAqXDv6hcppULWJVy/gsGYsHVo5Wq34dImQ0l3OInYQOMVMYgNpWS4s oXvoRnYiYRxW6yM+QMZX7PXVNCh8xk8XaP1m8IMBbSS4QybasCiQuO0fq5xcxE1vcge4LqwP3 qyK8s3sHgkiUF5DCdeH+qFxyL7eyPXRvKbwpuWEhPHJECIfvr9IMIi/wAV0Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 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: -2.4 (--) Hi Mathieu, Mathieu Othacehe writes: > Hello Pierre, > >> Here's an update for the rtmidi package. I've had to fix the >> powertabeditor package to be able to find the RtMidi.h header which has >> now moved into a subdirectory. It looks like the issue is fixed upstream >> in the build system but no release have been made yet so I've added a >> TODO to remove the hack later. >> >> WDYT? > > This patch LTGM! I have an error when closing powertabeditor but this > might be unrelated to this patch: > > --8<---------------cut here---------------start------------->8--- > Unhandled exception: Parse error at offset 18446744073709551615: The document is empty. > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [???] > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [???] > /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/lib/libstdc++.so.6 [???] > /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/lib/libstdc++.so.6 [???] > /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/lib/libstdc++.so.6 [???] > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [TuningDictionary::ensureLoaded] > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [TuningDictionary::save] > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [PowerTabEditor::closeEvent] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QWidget::event] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QMainWindow::event] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplicationPrivate::notify_helper] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplication::notify] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QCoreApplication::notifyInternal2] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QWidgetPrivate::close_helper] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [???] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [???] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplicationPrivate::notify_helper] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Widgets.so.5 [QApplication::notify] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QCoreApplication::notifyInternal2] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Gui.so.5 [QGuiApplicationPrivate::processCloseEvent] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Gui.so.5 [QGuiApplicationPrivate::processWindowSystemEvent] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Gui.so.5 [QWindowSystemInterface::sendWindowSystemEvents] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 [???] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QEventLoop::exec] > /gnu/store/gl2mzs7ybzzfmy2yparzhrb6k0yqhxw2-qtbase-5.11.3/lib/libQt5Core.so.5 [QCoreApplication::exec] > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [main] > /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libc.so.6 [__libc_start_main] > /gnu/store/4pj5nbb1j5s6049h6jjk580v6rp21wc3-powertabeditor-2.0.0-alpha10/bin/powertabeditor [_start] > --8<---------------cut here---------------end--------------->8--- Oh thanks for trying it out! I'm also seeing this error on master so I guess we should be OK with this patch. Funny thing is, I see this error as a GUI pop-up when running it under GDB, but on its own I just get an abort, not sure what that's about. I've only tested it with `guix environment --ad-hoc powertabeditor gdb` though. The issue seems harmless as it just happens when you close the it, but I don't personally use powertabeditor so I can't be sure. Thanks, Pierre From unknown Mon Jun 23 11:27:12 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: Pierre Langlois Subject: bug#38217: closed (Re: [bug#38217] [PATCH] gnu: rtmidi: Update to 4.0.0.) Message-ID: References: <87h835feov.fsf@gmail.com> <878sohwko0.fsf@gmx.com> X-Gnu-PR-Message: they-closed 38217 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 38217@debbugs.gnu.org Date: Fri, 15 Nov 2019 13:33:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1573824781-19069-1" This is a multi-part message in MIME format... ------------=_1573824781-19069-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38217: [PATCH] gnu: rtmidi: Update to 4.0.0. 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 38217@debbugs.gnu.org. --=20 38217: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38217 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1573824781-19069-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38217-done) by debbugs.gnu.org; 15 Nov 2019 13:32:27 +0000 Received: from localhost ([127.0.0.1]:35827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVbi7-0004wY-BN for submit@debbugs.gnu.org; Fri, 15 Nov 2019 08:32:27 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVbi5-0004wF-5b for 38217-done@debbugs.gnu.org; Fri, 15 Nov 2019 08:32:25 -0500 Received: by mail-wr1-f68.google.com with SMTP id l7so10996714wrp.6 for <38217-done@debbugs.gnu.org>; Fri, 15 Nov 2019 05:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=J1l0at51EbAvGdUfUr/ggrliLwTY+7qP9rHLGqmyAo4=; b=hbHUZPX/txocxqJzYN406ai1jLXTQNVad0Zbkyw9xauqiuxMsC8XtEmgbK5Sgiw8Un osWls3KagGt5TkFVOCpQyAFVtYhq9MOQr/9dWiBlS2spDC2s2cBDUh+ZwKiTl741u9VT kgk5JWfvip3p1h8Opw7iyMwqSd5coJNLFRCUQLA43CNRvu7/ksCi7tTdRGaC0MDfwWSi rHYYfMuh9pBuevyho40svTbWAo2lCt0ELfzBitnbqQPt9peQvnTs6C4u7AnHMdayCAgo lfIFJnrDmj3roLy6TCnQJ+ClxBBzAwxNUFfcwy8pY8CkXgifyri615QyJrFlj7XFcTpU YaYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=J1l0at51EbAvGdUfUr/ggrliLwTY+7qP9rHLGqmyAo4=; b=MKCogf1PDmBwKlAZ4OBhJfcAUeEVi0ErsyKgkgu9014bKt+VsKNr/rgwqJwkYVyO/F tuvGnJfgFnjIeyojoGyIQwKByE3LQYeiNhU0dlexWZ8VjQJuD+0X4980SZqNq0pEJ1H+ SH5kQnWxwsiex7D1ajsj35yX5VgFqs7QTS1hE2qi/Ve0qqPaClpjn8ft3N3WuYijxpUW c4YMddvzZy08CHYk8YM/MG++TqafBPw/QFxQtxyf3FRv1OnszRTyDNg5Dk3QntDToyGb MLaQKCPVWPtREv3U933ML+kDAqwRrrUV8nRbI7WHR/ToNGp/OO4RjtbOxMSvKv5Bs+8K JfkQ== X-Gm-Message-State: APjAAAU73LH06e8/Vo75GqEaKjl6mqlSUq+AKLlybWw93JWSlyt8r5po cowPpKCepgdPvTDNpmFmfX3K8uLV X-Google-Smtp-Source: APXvYqx5rIhl/IpYPCTCw7Bn5znbgvjha2n1BBmKnmIF56M1NHIpFdMQAkFD3l6KcExFxpi1/K0SRg== X-Received: by 2002:adf:9f52:: with SMTP id f18mr14626505wrg.51.1573824739049; Fri, 15 Nov 2019 05:32:19 -0800 (PST) Received: from meru ([90.114.75.61]) by smtp.gmail.com with ESMTPSA id m16sm9882720wml.47.2019.11.15.05.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 05:32:18 -0800 (PST) References: <878sohwko0.fsf@gmx.com> <87lfshtne7.fsf@gmail.com> <877e41w9v7.fsf@gmx.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: Pierre Langlois Subject: Re: [bug#38217] [PATCH] gnu: rtmidi: Update to 4.0.0. In-reply-to: <877e41w9v7.fsf@gmx.com> Date: Fri, 15 Nov 2019 14:32:16 +0100 Message-ID: <87h835feov.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38217-done Cc: 38217-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 (-) > The issue seems harmless as it just happens when you close the it, but > I don't personally use powertabeditor so I can't be sure. Ok, I pushed it then. Thanks, Mathieu ------------=_1573824781-19069-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Nov 2019 09:31:41 +0000 Received: from localhost ([127.0.0.1]:35667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXx6-0001Zb-6r for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:31:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:43162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXx3-0001ZS-9q for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:31:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50510) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVXwy-00020X-7O for guix-patches@gnu.org; Fri, 15 Nov 2019 04:31:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iVXwm-0008GH-Jz for guix-patches@gnu.org; Fri, 15 Nov 2019 04:31:28 -0500 Received: from mout.gmx.net ([212.227.17.21]:44823) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iVXwl-0008FH-8s for guix-patches@gnu.org; Fri, 15 Nov 2019 04:31:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1573810274; bh=HCXkm+B/vuZoKf3NiOyAW8Syr9KTQP8FvfL2GX4fq/o=; h=X-UI-Sender-Class:From:To:Subject:CC:Date; b=P1c2HO5VzFx5qysTuqD7iXNyX5POzKqhDPlDHmnR6yxA05Q+2zv9AmPBvUNjkA+Hy r/T59vZnvfg7XsWzpiJaA/mJkywKKNo0FNIzuupz8c06S0qipvclhMOFst8QkB/0d4 +2VRt4zIA+1JIygo99iRFx5yCL/pkfsmSzFuAYG8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([80.44.68.57]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mz9Z5-1hivhq2zf1-00wC0v; Fri, 15 Nov 2019 10:31:13 +0100 User-agent: mu4e 1.2.0; emacs 26.3 From: Pierre Langlois To: guix-patches@gnu.org Subject: [PATCH] gnu: rtmidi: Update to 4.0.0. Date: Fri, 15 Nov 2019 09:31:11 +0000 Message-ID: <878sohwko0.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:GQRrMMGJBUHGtz3Qrzc3h6jXp4u7K7QNfRxC3AP6qDJMR9AhA/S 1WTPwt/ZiDNfuDStspbS4A3FGumUsBFuZTzdHnkt874orrFQfRLK0leV/Vw5q6Wlpn7JfFq hk18ARFbSubQRBCOk9al8NfaGT4/XDggZsepQXyB+D3KOFY6lSnsxCzFTnixkPnsLXZdD9M WzhePdQk/cPACih25S9/g== X-UI-Out-Filterresults: notjunk:1;V03:K0:zzhW6x7G/LY=:3TZuD6j89qROMVkzwa5iOo Dct8xj41DLYclznMivHNsV0XfBwoS08sT3/8XEwvnn6xlyDtM2NLrmWYTLlWJwAo3gySBM11F auTllrLQPeSdOel6yshTH8EG+5NkOlOdUn+j8lkF1deOcJH5RzLMB/5Vu3tS/92Ls7dLV0aWV 9Oa7SwQ9x4iFYCDUbREYJQ9vwdQMGUpyNiOHotdvDF+cKGnypkZtlaOQ/rSjrAgmUJXIaxH6I yEsjxRKJm/jGh4TYhdYszW0C+q5GecrKX9AESudLRvfGKIP3RZRJ9xSdkbww4gD8w7Mbe3ArY a+rz7AdFmrPuJLeXET12fsMM2kbL6rj7gzRRVGreECOLh7WravEwm0OQU7rnWqMOyQtL6+IeC 70Ty+rid56v0KEQLz/bYhrYSotzQHu2BICE8B80BejlN3lTDZ6Rb3LS8gWKia9YiSTNEsMhIw SJRy0121ncmRHwsfzyvLEAD9nIoXp4FQ5iSY1izXHM6xuQpYwYdvLzaaVxojstTjx/p+odr8J /3MDanpA0fnaIssVHXsQ/ltYSZS7iJZMFjTaJQwDNIb/KmmHDPVb2zrnuqUj5pS4dBjIgcUd5 sAbd59Yz+SjE6IHUAFW44RIwMdq3Ta1yp5rJMEUTEmdfWEeolj2kWRiGP7VuWkfgRvBIzuPHI bZgGuBkmsoN/4P99p6suCmprIBQxa6SChIX8zcESZw82Ja+AhbFZn770xFKfJ6V467f0jTcsm NUHBvGDgfQJSUtoH1VTVt06Lj+4M9wM6o1HolSdd4sZ88W553gAax7orE2pJKECKPWv+ckEib ixFB3tbLRMpK+iVseirzgfYQSNmgKAmV23/9mhjb2Plr3ZQbzdmSQ5OvcFqMLA2FkSrgcT+gh xQMM3g+nRWcUy4Vk3fI4OYd4m45P9n7DdH2oONOCCAQjT4bIngZupOo6o0NSNiZYAMynTTWuV I/UY/lp62F4w7NcpJKWcOszrsnvzwIJboAujOowkPBsusZPpAQW7ZQhVouXJLYQDOD0NxIwEJ IvQ1EBzKOxpTaruUjXXGPI7bpzAXYuSPYoCUVmYZ3gKK/wZZRAZSKUPIiau41LyBToBuBYLKl WHHhxmvNCS4FmXBI/hAYoBoE6rW6ls0SxjDCqSV2sNKX+5/aqKsUeS1gmLeUX8RUBr1Gf2n5j GfaFOsGCOn89syCMe4gfuH4q1e3jZ+5Goakc4WtGNeFsXK5Yt9rfWcSQ1KWIKqzGOQngXG9xT KDE/UFOhN1a/kg4iRvoGITd6XO9YFB31mnz1TB4yxrJpTO3e3yQBZG7IsebU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit Cc: Pierre Langlois 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: -2.4 (--) --=-=-= Content-Type: text/plain Hello Guix! Here's an update for the rtmidi package. I've had to fix the powertabeditor package to be able to find the RtMidi.h header which has now moved into a subdirectory. It looks like the issue is fixed upstream in the build system but no release have been made yet so I've added a TODO to remove the hack later. WDYT? Thanks, Pierre --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-rtmidi-Update-to-4.0.0.patch Content-Transfer-Encoding: quoted-printable =46rom ca890314f2a5d05d97c5bee39e0e571cf9344ba2 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Fri, 15 Nov 2019 09:23:16 +0000 Subject: [PATCH] gnu: rtmidi: Update to 4.0.0. * gnu/packages/audio.scm (rtmidi): Update to 4.0.0. [source]: Download tarball from upstream URL rather than the powertab gith= ub fork. [arguments]: Enable tests. Remove 'build and 'install phases and add a ne= w 'noconfigure phase to prevent the bootstrap script from invoking configure= . [home-page]: Update homepage to upstream URL. * gnu/packages/music.scm (powertabeditor)[arguments]: Add phase that subst= itutes the rtmidi #include directive to find the header. =2D-- gnu/packages/audio.scm | 31 ++++++++++--------------------- gnu/packages/music.scm | 8 ++++++++ 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 15ba454edd..66ef787dcc 100644 =2D-- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2341,33 +2341,22 @@ tempo and pitch of an audio recording independentl= y of one another.") (define-public rtmidi (package (name "rtmidi") - (version "2.1.0") + (version "4.0.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/powertab/rtmidi.git") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (string-append "https://www.music.mcgill.ca/~gary/rtmi= di" + "/release/rtmidi-" version ".tar.gz")) + (file-name (string-append "rtmidi-" version ".tar.gz")) (sha256 (base32 - "106v177y3nrjv2l1yskch4phpqd8h97b67zj0jiq9pc3c69jr1ay")))= ) + "1k962ljpnwyjw9jjiky2372khhri1wqvrj5qsalfpys31xqzw31p")))= ) (build-system gnu-build-system) (arguments - `(#:tests? #f ;no "check" target - #:phases + `(#:phases (modify-phases %standard-phases - (add-before 'build 'fix-makefile - (lambda _ - (substitute* "Makefile" - (("/bin/ln") "ln") - (("RtMidi.h RtError.h") "RtMidi.h")) - #t)) - (add-before 'install 'make-target-dirs + (add-before 'bootstrap 'noconfigure (lambda _ - (let ((out (assoc-ref %outputs "out"))) - (mkdir-p (string-append out "/bin")) - (mkdir (string-append out "/lib")) - (mkdir (string-append out "/include"))) + (setenv "NOCONFIGURE" "yes") #t))))) (inputs `(("jack" ,jack-1) @@ -2377,7 +2366,7 @@ tempo and pitch of an audio recording independently = of one another.") ("automake" ,automake) ("libtool" ,libtool) ("pkg-config" ,pkg-config))) - (home-page "https://github.com/powertab/rtmidi") + (home-page "https://www.music.mcgill.ca/~gary/rtmidi") (synopsis "Cross-platform MIDI library for C++") (description "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specif= ic diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 3373b4c0a3..241ede58d8 100644 =2D-- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1284,6 +1284,14 @@ add_library( rapidjson INTERFACE IMPORTED )")) (("#include " m) (string-append m "\n#include \n#include "))) #t)) + ;; FIXME: Finding RtMidi was fixed upstream so we should be able= to + ;; remove this hack when a release is made. + ;; See https://github.com/powertab/powertabeditor/issues/255 + (add-after 'unpack 'fix-rtmidi-header + (lambda _ + (substitute* "source/audio/midioutputdevice.cpp" + (("#include ") "#include ")) + #t)) (add-before 'configure 'remove-third-party-libs (lambda* (#:key inputs #:allow-other-keys) ;; Link with required static libraries, because we're not =2D- 2.24.0 --=-=-=-- ------------=_1573824781-19069-1--