From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add powertabeditor.
Date: Tue, 09 Jun 2015 15:32:28 +0200 [thread overview]
Message-ID: <871thl3t3n.fsf@gnu.org> (raw)
In-Reply-To: <874mml87yh.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 06 Jun 2015 12:08:54 +0200")
Ricardo Wurmus <rekado@elephly.net> skribis:
> From da77c25e8c32243ca2bd77bd76de41312aafaac1 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 25 May 2015 22:13:27 +0200
> Subject: [PATCH 1/6] gnu: Add withershins.
>
> * gnu/packages/code.scm (withershins): New variable.
[...]
> + (inputs
> + `(("gcc" ,gcc-4.8 "lib") ;for libiberty.a
> + ("binutils" ,binutils) ;for libbfd
> + ("zlib" ,zlib)))
> + (synopsis "C++11 library for generating stack traces")
> + (description
> + "Withershins is a simple cross-platform C++11 library for generating
> +stack traces.")
> + (license license:expat)))
BFD is GPLv3+ so the whole thing and its users are GPLv3+ once combined.
I guess ‘license’ should be gpl3+, with a comment saying that the source
is Expat?
Otherwise LGTM.
> From d426c47462be1dcc5ff4bbe9d1b154bbbb0761b9 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 25 May 2015 22:14:39 +0200
> Subject: [PATCH 2/6] gnu: Add RapidJSON.
>
> * gnu/packages/web.scm (rapidjson): New variable.
OK.
> From 337f0790e7917f7ae2b394310c8543256756f0fe Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Thu, 28 May 2015 09:43:53 +0200
> Subject: [PATCH 3/6] gnu: Add pugixml.
>
> * gnu/packages/xml.scm (pugixml): New variable.
OK.
> From 67ec5348f611d58299ae2ab0b8575e817e0f1272 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Thu, 28 May 2015 09:44:30 +0200
> Subject: [PATCH 4/6] gnu: Add rtmidi.
>
> * gnu/packages/audio.scm (rtmidi): New variable.
OK.
> + `(("autoconf" ,autoconf)
> + ("automake" ,automake)
> + ("libtool" ,libtool)
Too bad they don’t provide a ‘make dist’-generated tarball.
> From ab277b32cd5ace5ab257ec31abd719b2ee2470dd Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Wed, 3 Jun 2015 22:53:56 +0200
> Subject: [PATCH 5/6] gnu: catch-framework: Update to 1.1.3.
>
> * gnu/packages/check.scm (catch-framework): Update to 1.1.3.
OK.
> From 98e2ab304ef345178ab1caad27d6e4412d19c476 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Thu, 4 Jun 2015 10:01:11 +0200
> Subject: [PATCH 6/6] gnu: Add powertabeditor.
>
> * gnu/packages/music.scm (powertabeditor): New variable.
[...]
> + (name "powertabeditor")
> + (version "2.0.0-alpha7")
I suppose the stable version is way too old or non-existent?
> + #:configure-flags
> + (list (string-append "-DCMAKE_INSTALL_RPATH='"
> + (string-join (map (match-lambda
> + ((name . directory)
> + (string-append directory "/lib")))
> + %build-inputs)
> + ";")
> + "'"))
Could you add a comment explaining why this is needed? Ideally this
would be handled by ‘cmake-build-system’.
I think the single quotes aren’t needed, are they? Also, the semicolon
is surprising here.
> + #:phases
> + (modify-phases %standard-phases
> + (add-before
> + 'configure 'remove-third-party-libs
> + (lambda _
> + (substitute* "CMakeLists.txt"
> + (("include_directories\\(\\$\\{PROJECT_SOURCE_DIR\\}/external/.*") "")
> + ;; TODO: tests cannot be built:
> + ;; test/test_main.cpp:28:12: error: ‘Session’ is not a member of ‘Catch’
> + (("add_subdirectory\\(test\\)") "")
> + (("add_subdirectory\\(external\\)") ""))
Shouldn’t this and...
> + (delete-file-recursively "external")
... this, and possibly...
> + #t))
> + (add-after
> + 'unpack 'add-install-target
> + (lambda _
> + (substitute* "source/CMakeLists.txt"
> + (("qt5_use_modules")
> + "install(TARGETS powertabeditor RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
> +install(FILES data/tunings.json DESTINATION ${CMAKE_INSTALL_PREFIX}/share/powertabeditor/)
> +qt5_use_modules"))
... this be done in a snippet?
> + (description
> + "PTE2.0 is the successor to the famous Power Tab Editor. It is
> +compatible with PTE1.7 and Guitar Pro.")
Isn’t “PTE” and “Power Tab Editor” the same thing? Furthermore, the
package name is ‘powertabeditor’, not ‘pte’.
Otherwise LGTM!
Thanks,
Ludo’.
next prev parent reply other threads:[~2015-06-09 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-06 10:08 [PATCH] Add powertabeditor Ricardo Wurmus
2015-06-09 13:32 ` Ludovic Courtès [this message]
2015-06-12 17:17 ` Ricardo Wurmus
2015-06-12 19:39 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871thl3t3n.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).