Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] flowblade: fix launch process
Date: Sun, 07 Jul 2019 04:00:02 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12854@inbox.vuxu.org> (raw)

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

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

https://github.com/jorgenatz/void-packages flowblade_fix
https://github.com/void-linux/void-packages/pull/12854

flowblade: fix launch process
Fix module path-checking to ensure that flowblade launches.

On systems where the flowblade executable is placed in /bin or /usr/local/bin, flowblade improperly detects module inclusion directories and fails to launch. This patch remedies that.

I did not submit this change upstream because development is temporarily suspended.

Thank you for any reply.

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

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

From 5a4236baf5cf24db3bb670e09e87e3a99eaca63a Mon Sep 17 00:00:00 2001
From: Jorge <jorgenatzdev@gmail.com>
Date: Sat, 6 Jul 2019 19:38:52 -0600
Subject: [PATCH] flowblade: fix launch process

Fix module path-checking to ensure that flowblade launches.
---
 .../flowblade/patches/00-add-bin-directories.patch    | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/flowblade/patches/00-add-bin-directories.patch

diff --git a/srcpkgs/flowblade/patches/00-add-bin-directories.patch b/srcpkgs/flowblade/patches/00-add-bin-directories.patch
new file mode 100644
index 00000000000..b73fe73df61
--- /dev/null
+++ b/srcpkgs/flowblade/patches/00-add-bin-directories.patch
@@ -0,0 +1,11 @@
+--- flowblade-trunk/flowblade	2019-02-04 02:29:07.000000000 -0700
++++ flowblade-trunk/flowblade	2019-07-06 17:48:47.295155396 -0600
+@@ -34,7 +34,7 @@ print "Launch script dir:", launch_dir
+ 
+ # Update sys.path to include modules
+ # When running on distro
+-if launch_dir == "/usr/bin":
++if launch_dir in {"/usr/bin", "/bin", "/usr/local/bin"}:
+     print "Running from installation..."
+     modules_path = "/usr/share/flowblade/Flowblade"
+     if not os.path.isdir(modules_path):

             reply	other threads:[~2019-07-07  2:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-07  2:00 voidlinux-github [this message]
2019-07-07 17:04 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-07 17:04 ` voidlinux-github
2019-07-07 17:05 ` voidlinux-github
2019-07-08 18:55 ` [PR PATCH] [Merged]: " voidlinux-github

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-12854@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).