Github messages for voidlinux
 help / color / mirror / Atom feed
From: My9xVm <My9xVm@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] anki: fix mpv args
Date: Fri, 13 Nov 2020 03:28:04 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26341@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

There is a new pull request by My9xVm against master on the void-packages repository

https://github.com/My9xVm/void-packages anki
https://github.com/void-linux/void-packages/pull/26341

anki: fix mpv args
source: https://github.com/ankitects/anki/commit/ccd715013609133c55e83924734efa78abc03326

A patch file from https://github.com/void-linux/void-packages/pull/26341.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anki-26341.patch --]
[-- Type: text/x-diff, Size: 2136 bytes --]

From bf6ab2b1068b7d3a9ee2084bc3bdb5829e256fc6 Mon Sep 17 00:00:00 2001
From: My9xVm <48840001+My9xVm@users.noreply.github.com>
Date: Fri, 13 Nov 2020 02:21:38 +0000
Subject: [PATCH 1/2] Update template

---
 srcpkgs/anki/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/anki/template b/srcpkgs/anki/template
index a25bc0d4e7e..d9f54c25f99 100644
--- a/srcpkgs/anki/template
+++ b/srcpkgs/anki/template
@@ -1,7 +1,7 @@
 # Template file for 'anki'
 pkgname=anki
 version=2.1.15
-revision=3
+revision=4
 archs=noarch
 build_style=gnu-makefile
 depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy

From 42aa75c9c9f575e0fe8b38bef23739236c1e1c20 Mon Sep 17 00:00:00 2001
From: My9xVm <48840001+My9xVm@users.noreply.github.com>
Date: Fri, 13 Nov 2020 02:23:49 +0000
Subject: [PATCH 2/2] Create 0000-fix_mpv_args.patch

---
 srcpkgs/anki/patches/0000-fix_mpv_args.patch | 29 ++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/anki/patches/0000-fix_mpv_args.patch

diff --git a/srcpkgs/anki/patches/0000-fix_mpv_args.patch b/srcpkgs/anki/patches/0000-fix_mpv_args.patch
new file mode 100644
index 00000000000..96dec5eceaf
--- /dev/null
+++ b/srcpkgs/anki/patches/0000-fix_mpv_args.patch
@@ -0,0 +1,29 @@
+--- ./anki/mpv.py
++++ ./anki/mpv.py
+@@ -104,9 +104,9 @@
+         """
+         self.argv = [self.executable]
+         self.argv += self.default_argv
+-        self.argv += ["--input-ipc-server", self._sock_filename]
++        self.argv += ["--input-ipc-server="+self._sock_filename]
+         if self.window_id is not None:
+-            self.argv += ["--wid", str(self.window_id)]
++            self.argv += ["--wid="+str(self.window_id)]
+ 
+     def _start_process(self):
+         """Start the mpv process.
+
+--- ./anki/sound.py
++++ ./anki/sound.py
+@@ -123,10 +123,7 @@
+ 
+ def setMpvConfigBase(base):
+     mpvConfPath = os.path.join(base, "mpv.conf")
+-    MpvManager.default_argv += [
+-        "--no-config",
+-        "--include="+mpvConfPath,
+-    ]
++    MpvManager.default_argv += ["--include="+mpvConfPath]
+ 
+ mpvManager = None
+ 

             reply	other threads:[~2020-11-13  2:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13  2:28 My9xVm [this message]
2020-11-13  2:31 ` My9xVm
2020-11-13  2:31 ` [PR PATCH] [Closed]: " My9xVm
2020-11-13  2:32 ` My9xVm
2020-11-14  2:01 ` ericonr
2020-11-14 15:44 ` [PR PATCH] [Updated] " My9xVm
2020-11-16 13:40 ` [PR PATCH] [Merged]: " ericonr

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26341@inbox.vuxu.org \
    --to=my9xvm@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).