public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gtk-vnc/files/, net-libs/gtk-vnc/
Date: Sat,  4 Apr 2020 21:15:57 +0000 (UTC)	[thread overview]
Message-ID: <1586034916.4e05eb368d1eec80b81dbfc7c1cb8a0edba1d17c.leio@gentoo> (raw)

commit:     4e05eb368d1eec80b81dbfc7c1cb8a0edba1d17c
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  4 21:10:06 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Apr  4 21:15:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e05eb36

net-libs/gtk-vnc: fix honoring of python-any chosen py version

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 .../gtk-vnc/files/1.0.0-honor-python-ver.patch     | 26 ++++++++++++++++++++++
 net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild              |  1 +
 2 files changed, 27 insertions(+)

diff --git a/net-libs/gtk-vnc/files/1.0.0-honor-python-ver.patch b/net-libs/gtk-vnc/files/1.0.0-honor-python-ver.patch
new file mode 100644
index 00000000000..f26a85719b0
--- /dev/null
+++ b/net-libs/gtk-vnc/files/1.0.0-honor-python-ver.patch
@@ -0,0 +1,26 @@
+From a51acc0c353959e8af06a031724a79cfe6b60963 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp <leio@gentoo.org>
+Date: Sun, 5 Apr 2020 00:05:49 +0300
+Subject: [PATCH] meson: Find python explicitly to honor downstream python
+ choice
+
+---
+ src/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/meson.build b/src/meson.build
+index 461d8d2..a09aee9 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -308,7 +308,7 @@ gtk_vnc_sources = gtk_vnc_gir_sources + gvnc_marshal + [
+   'vncdisplaykeymap.c',
+ ]
+ 
+-python = import('python').find_installation()
++python = import('python').find_installation('python3')
+ keymaps = [
+   'xorgevdev',
+   'xorgkbd',
+-- 
+2.20.1
+

diff --git a/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild
index c8939c84f65..da83431610b 100644
--- a/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild
+++ b/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild
@@ -43,6 +43,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
 	# Few fixes from origin/master + optionality patches filed as https://gitlab.gnome.org/GNOME/gtk-vnc/merge_requests/6
 	"${WORKDIR}"/patches
+	"${FILESDIR}"/${PV}-honor-python-ver.patch
 )
 
 src_prepare() {


                 reply	other threads:[~2020-04-04 21:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1586034916.4e05eb368d1eec80b81dbfc7c1cb8a0edba1d17c.leio@gentoo \
    --to=leio@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