emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#37284: closed ([PATCH] added gnu/packages/fmit.scm


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#37284: closed ([PATCH] added gnu/packages/fmit.scm (Free Musical Instrument Tuner))
Date: Sun, 08 Sep 2019 09:18:01 +0000

Your message dated Sun, 08 Sep 2019 11:17:36 +0200
with message-id <address@hidden>
and subject line Re: [bug#37284] [PATCH] added gnu/packages/fmit.scm (Free 
Musical Instrument Tuner)
has caused the debbugs.gnu.org bug report #37284,
regarding [PATCH] added gnu/packages/fmit.scm (Free Musical Instrument Tuner)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
37284: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37284
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] added gnu/packages/fmit.scm (Free Musical Instrument Tuner) Date: Mon, 02 Sep 2019 16:16:19 +0000
* gnu/packages/fmit.scm: created

---
 gnu/packages/fmit.scm | 64 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
 create mode 100644 gnu/packages/fmit.scm

diff --git a/gnu/packages/fmit.scm b/gnu/packages/fmit.scm
new file mode 100644
index 0000000000..2db5b1ca25
--- /dev/null
+++ b/gnu/packages/fmit.scm
@@ -0,0 +1,64 @@
+(define-module (gnu packages fmit)
+  #:use-module (guix packages)
+  #:use-module (guix git-download)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix licenses)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages algebra)
+  #:use-module (gnu packages audio)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages gettext))
+
+(define-public fmit
+  (package
+    (name "fmit")
+    (version "1.2.6")
+    (source (origin
+             (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/gillesdegottex/fmit/";)
+                   (commit (string-append "v" version))))
+             (sha256 (base32 
"03nzkig5mw2rqwhwmg0qvc5cnk9bwh2wp13jh0mdrr935w0587mz"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:make-flags (let ((out (assoc-ref %outputs "out"))) (list 
(string-append "PREFIX=" out) (string-append "PREFIXSHORTCUT=" out)))
+       #:phases
+       (modify-phases %standard-phases
+        (delete 'configure)
+        (add-before 'build 'qmake
+          (lambda _
+            (let ((out (assoc-ref %outputs "out"))) (invoke "qmake" "fmit.pro" 
(string-append "PREFIX=" out) (string-append "PREFIXSHORTCUT=" out) 
"CONFIG+=acs_qt acs_alsa acs_jack acs_portaudio"))))
+         (add-after 'install 'wrap-executable
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (wrap-program (string-append out "/bin/fmit")
+                 `("QT_PLUGIN_PATH" ":" prefix
+                   ,(map (lambda (label)
+                           (string-append (assoc-ref inputs label)
+                                          "/lib/qt5/plugins"))
+                         '("qtbase" "qtmultimedia" "qtsvg")))
+                 `("QML2_IMPORT_PATH" ":" prefix
+                   ,(map (lambda (label)
+                           (string-append (assoc-ref inputs label)
+                                          "/lib/qt5/qml"))
+                         '("qtmultimedia"))))
+               #t))))))
+    (inputs
+     `(("fftw" ,fftw)
+       ("portaudio" ,portaudio)
+       ("qtmultimedia" ,qtmultimedia)
+       ("qtsvg" ,qtsvg)
+       ("alsa-lib" ,alsa-lib)
+       ("jack" ,jack-1)
+       ("qtbase" ,qtbase)))
+    (native-inputs
+     `(("itstool" ,itstool)
+       ("qttools" ,qttools)
+       ("hicolor-icon-theme" ,hicolor-icon-theme)
+       ("gettext" ,gnu-gettext)))
+    (synopsis "Free Musical Instrument Tuner")
+    (description "FMIT is a graphical utility for tuning musical instruments, 
with error and volume history, and advanced features")
+    (home-page "http://gillesdegottex.github.io/fmit/";)
+    (license gpl3+)))
--
2.23.0





--- End Message ---
--- Begin Message --- Subject: Re: [bug#37284] [PATCH] added gnu/packages/fmit.scm (Free Musical Instrument Tuner) Date: Sun, 08 Sep 2019 11:17:36 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello,

raingloom <address@hidden> writes:

> Updated again. Is sending it as an attachment fine?

Well, oddly, it seems that your update addressed only one of my
suggestions. So, I applied your patch with the following changes:

- fixed the commit message,
- added a copyright line,
- added the (file-name ...) line,
- split the (sha256 ...) line,
- re-ordered the inputs,
- changed case in synopsis,
- fixed typographic mistakes in the description and the licenses
  comments.

Let me know if something is wrong, in particular the copyright line,
which I add to guess.

Thank you for your contribution!

Regards,

-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]