From: "Ben de Groot" <yngwin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ardour/files/, media-sound/ardour/
Date: Mon, 17 Aug 2015 15:39:59 +0000 (UTC) [thread overview]
Message-ID: <1439822314.1af77d448c006a4a7be70005b803334911c0cf69.yngwin@gentoo> (raw)
commit: 1af77d448c006a4a7be70005b803334911c0cf69
Author: Ben de Groot <yngwin <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 17 14:38:34 2015 +0000
Commit: Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 14:38:34 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af77d44
media-sound/ardour: update revision naming patch
Thanks to Lars Wendler for rolling a new patch.
Bug: 557990
Package-Manager: portage-2.2.20.1
.../{ardour-4.2.ebuild => ardour-4.2-r1.ebuild} | 2 +-
.../ardour/files/ardour-4.2-revision-naming.patch | 38 ++++++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/media-sound/ardour/ardour-4.2.ebuild b/media-sound/ardour/ardour-4.2-r1.ebuild
similarity index 98%
rename from media-sound/ardour/ardour-4.2.ebuild
rename to media-sound/ardour/ardour-4.2-r1.ebuild
index 4830a49..c4f8bc4 100644
--- a/media-sound/ardour/ardour-4.2.ebuild
+++ b/media-sound/ardour/ardour-4.2-r1.ebuild
@@ -84,7 +84,7 @@ src_unpack() {
src_prepare(){
if ! [ ${PV} = 9999 ]; then
- epatch "${FILESDIR}"/${PN}-4.0-revision-naming.patch
+ epatch "${FILESDIR}"/${PN}-4.2-revision-naming.patch
touch "${S}/libs/ardour/revision.cc"
fi
$(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch)
diff --git a/media-sound/ardour/files/ardour-4.2-revision-naming.patch b/media-sound/ardour/files/ardour-4.2-revision-naming.patch
new file mode 100644
index 0000000..d558f47
--- /dev/null
+++ b/media-sound/ardour/files/ardour-4.2-revision-naming.patch
@@ -0,0 +1,38 @@
+--- ardour-4.2/wscript
++++ ardour-4.2/wscript
+@@ -162,7 +162,7 @@
+ if os.path.isdir (os.path.join(os.getcwd(), '.git')):
+ rev = fetch_git_revision ()
+ else:
+- rev = fetch_tarball_revision ()
++ rev = os.environ['PV']
+
+ #
+ # rev is now of the form MAJOR.MINOR[-rcX]-rev-commit
+@@ -238,16 +238,16 @@
+ return version
+
+ def create_stored_revision():
+- rev = ""
+- if os.path.exists('.git'):
+- rev = fetch_git_revision();
+- print("Git version: " + rev + "\n")
+- elif os.path.exists('libs/ardour/revision.cc'):
+- print("Using packaged revision")
+- return
+- else:
+- print("Missing libs/ardour/revision.cc. Blame the packager.")
+- sys.exit(-1)
++ rev = os.environ['PV'] + "-gentoo"
++# if os.path.exists('.git'):
++# rev = fetch_git_revision();
++# print("Git version: " + rev + "\n")
++# elif os.path.exists('libs/ardour/revision.cc'):
++# print("Using packaged revision")
++# return
++# else:
++# print("Missing libs/ardour/revision.cc. Blame the packager.")
++# sys.exit(-1)
+
+ try:
+ #
next reply other threads:[~2015-08-17 15:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 15:39 Ben de Groot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-25 8:23 [gentoo-commits] repo/gentoo:master commit in: media-sound/ardour/files/, media-sound/ardour/ Miroslav Šulc
2024-11-06 7:43 Miroslav Šulc
2024-11-04 19:28 Miroslav Šulc
2024-05-21 17:24 Miroslav Šulc
2023-09-22 15:44 Sam James
2021-08-06 14:10 Miroslav Šulc
2020-11-13 8:34 Miroslav Šulc
2018-06-11 21:18 Lars Wendler
2016-12-06 9:48 Lars Wendler
2015-08-17 15:12 Andreas Schuerch
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439822314.1af77d448c006a4a7be70005b803334911c0cf69.yngwin@gentoo \
--to=yngwin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox