[freeplane] 01/01: add patch against freeplane.sh: fix mind map paths with spaces

Felix Natter fnatter-guest at moszumanska.debian.org
Sun Mar 29 11:45:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

fnatter-guest pushed a commit to branch master
in repository freeplane.

commit 30e4d33e4622170edb4172480f360ac6699c3d52
Author: Felix Natter <fnatter at gmx.net>
Date:   Sun Mar 29 13:44:44 2015 +0200

    add patch against freeplane.sh: fix mind map paths with spaces
---
 debian/changelog                                |  4 +++-
 debian/patches/21_freeplane_sh_fix_spaces.patch | 22 ++++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0b4c2fc..f2eda8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-freeplane (1.3.15-1) UNRELEASED; urgency=medium
+freeplane (1.3.15-1) unstable; urgency=medium
 
   [ tony mancill ]
   * Add java6-runtime as alternative to default-jre for runtime JRE
@@ -11,6 +11,8 @@ freeplane (1.3.15-1) UNRELEASED; urgency=medium
   * use groovy2
   * depend on libknopflerfish-osgi-framework-java (>= 5.1.0)
     (freeplane >= 1.3.15 requires this)
+  * add patch: freeplane.sh: fix mind map paths with spaces
+    (patch applied upstream for 1.3 and 1.4)
 
  -- Felix Natter <fnatter at gmx.net>  Mon, 16 Mar 2015 11:15:04 +0100
 
diff --git a/debian/patches/21_freeplane_sh_fix_spaces.patch b/debian/patches/21_freeplane_sh_fix_spaces.patch
new file mode 100644
index 0000000..ed418fb
--- /dev/null
+++ b/debian/patches/21_freeplane_sh_fix_spaces.patch
@@ -0,0 +1,22 @@
+Description: Fix behavior of freeplane.sh (/usr/bin/freeplane)
+ when mind map files with spaces are passed
+Author: Felix Natter <fnatter at gmx.net>
+Applied-Upstream: 1.3/1.4, https://github.com/freeplane/freeplane/commit/762a0710eef7b7fe4fb7fc0b7584cdc01ba92da9
+Last-Update: 2015-03-29
+--- a/freeplane_framework/script/freeplane.sh
++++ b/freeplane_framework/script/freeplane.sh
+@@ -195,7 +195,7 @@
+  $JAVA_OPTS\
+  $xdockname\
+  -jar "${freedir}/freeplanelauncher.jar"\
+- $*
++ "$@"
+ ( echo "${DEBUG}" | grep -qe "exit" ) && exit 0 # do not start Freeplane
+ 
+ # now actually launch Freeplane
+@@ -206,4 +206,4 @@
+  $JAVA_OPTS\
+  $xdockname\
+  -jar "${freedir}/freeplanelauncher.jar"\
+- $*
++ "$@"
diff --git a/debian/patches/series b/debian/patches/series
index 7c1cbb4..19e3d46 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
 10_libraries_properties.patch
 15_libraries_manifest.patch
 20_freeplane_sh.patch
+21_freeplane_sh_fix_spaces.patch
 40_no_winmac.patch
 50_no_copy_files.patch
 60_no_license_latex.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/freeplane.git



More information about the pkg-java-commits mailing list