Bug 260753 - deskutils/freeplane: Unable to launch freeplane
Summary: deskutils/freeplane: Unable to launch freeplane
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Loïc Bartoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-28 12:44 UTC by chris
Modified: 2022-01-10 21:34 UTC (History)
1 user (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments
fix freeplane launch (3.54 KB, patch)
2022-01-05 11:52 UTC, Loïc Bartoletti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris 2021-12-28 12:44:52 UTC
I have just upgraded to FreePlane 1.9.12, tried to start from the shell (bash)
and get the following:

[~]$ freeplane
/usr/local/bin/freeplane: 60: Syntax error: "&" unexpected
/usr/local/bin/freeplane: 60: Syntax error: Error in command substitution
[~]$
Comment 1 Loïc Bartoletti freebsd_committer freebsd_triage 2022-01-05 07:16:31 UTC
(In reply to chris from comment #0)
Confirmed.
If you remove the "&" it works (c)(tm). Can you confirm?
I'll prepare a patch.
Comment 2 Loïc Bartoletti freebsd_committer freebsd_triage 2022-01-05 10:57:56 UTC
(In reply to Loïc Bartoletti from comment #1)
Well it's not simple as that. I have a WIP fix.
Comment 3 Loïc Bartoletti freebsd_committer freebsd_triage 2022-01-05 11:52:12 UTC
Created attachment 230727 [details]
fix freeplane launch

Can you try this patch? Thanks.
Comment 4 chris 2022-01-07 16:45:34 UTC
Hi, I applied your patch, and can confirm that it worked fine. Many thanks.
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-01-10 21:34:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d110fac03fba6114a8ad47a3ed45d9674afcc50e

commit d110fac03fba6114a8ad47a3ed45d9674afcc50e
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-01-05 06:17:59 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-01-10 20:32:39 +0000

    deskutils/freeplane: Fix Unable to launch freeplane

    Fix a typo in the launch script and add bash as a dependency.
    Create a new launch script.

    PR:             260753
    Reported by:    chris@crvintel.com

 deskutils/freeplane/Makefile                 | 15 ++++++-----
 deskutils/freeplane/files/freeplane.in (new) |  3 +++
 deskutils/freeplane/files/patch-freeplane.sh | 39 ++++++++++++++++++----------
 3 files changed, 37 insertions(+), 20 deletions(-)
Comment 6 Loïc Bartoletti freebsd_committer freebsd_triage 2022-01-10 21:34:41 UTC
Committed, thanks!