Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] freeplane: update to 1.9.14, hard-code jdk11
@ 2022-05-05 16:35 classabbyamp
  2022-05-07  1:25 ` [PR PATCH] [Merged]: " abenson
  0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2022-05-05 16:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages update/freeplane
https://github.com/void-linux/void-packages/pull/36989

freeplane: update to 1.9.14, hard-code jdk11
- didn't build with jdk8, so updated the makedep to 11
- didn't run with jdk17, so hard-coded jdk11 as the default

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @thypon 

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

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

From d098fa4efb52085d1ec416c52b4d0dff72b64c09 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Thu, 5 May 2022 11:41:49 -0400
Subject: [PATCH] freeplane: update to 1.9.14, hard-code jdk11

---
 srcpkgs/freeplane/patches/jdk11-default.patch | 15 +++++++++++++++
 srcpkgs/freeplane/template                    | 11 +++++------
 2 files changed, 20 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/freeplane/patches/jdk11-default.patch

diff --git a/srcpkgs/freeplane/patches/jdk11-default.patch b/srcpkgs/freeplane/patches/jdk11-default.patch
new file mode 100644
index 000000000000..2f27d35af84a
--- /dev/null
+++ b/srcpkgs/freeplane/patches/jdk11-default.patch
@@ -0,0 +1,15 @@
+freeplane does not work with jdk17, so set jdk11 as the default.
+This can be overridden by the upstream-created method still.
+
+--- a/freeplane_framework/script/freeplane.sh
++++ b/freeplane_framework/script/freeplane.sh
+@@ -5,6 +5,9 @@
+ 	set -x
+ fi
+ 
++# set openjdk11 as the default, regardless of xbps-alternatives
++[ -z "$FREEPLANE_JAVA_HOME" ] && FREEPLANE_JAVA_HOME=/usr/lib/jvm/openjdk11
++
+ ########## FUNCTIONS DEFINITIONS #######################################
+ 
+ _debug() {
diff --git a/srcpkgs/freeplane/template b/srcpkgs/freeplane/template
index 67a233224e9a..1c65ce682b38 100644
--- a/srcpkgs/freeplane/template
+++ b/srcpkgs/freeplane/template
@@ -1,17 +1,16 @@
 # Template file for 'freeplane'
 pkgname=freeplane
-version=1.9.12
-revision=2
+version=1.9.14
+revision=1
 wrksrc="freeplane-release-${version}"
-hostmakedepends="apache-ant openjdk8 unzip gradle"
-depends="virtual?java-runtime"
+hostmakedepends="apache-ant openjdk11 unzip gradle"
+depends="openjdk11-jre"
 short_desc="Application for Mind Mapping, Knowledge Management, Project Management"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="GPL-2.0-or-later"
 homepage="http://freeplane.sourceforge.net/"
 distfiles="https://github.com/freeplane/freeplane/archive/release-${version}.tar.gz"
-checksum=200002b5cbe3e3286a7595847d28356d3efd8498ff930fa05e5e90af622e544f
-broken="https://build.voidlinux.org/builders/x86_64_builder/builds/37505/steps/shell_3/logs/stdio"
+checksum=8c463c997675b0e351724673e9ca6357f4ef47bd9df0c49b73645090fb19cd7f
 
 make_dirs="
 /usr/share/freeplane/fwdir/condperm/ 755 root root

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: freeplane: update to 1.9.14, hard-code jdk11
  2022-05-05 16:35 [PR PATCH] freeplane: update to 1.9.14, hard-code jdk11 classabbyamp
@ 2022-05-07  1:25 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2022-05-07  1:25 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

freeplane: update to 1.9.14, hard-code jdk11
https://github.com/void-linux/void-packages/pull/36989

Description:
- didn't build with jdk8, so updated the makedep to 11
- didn't run with jdk17, so hard-coded jdk11 as the default

#### Testing the changes
- I tested the changes in this PR: **YES**

cc @thypon 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-07  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 16:35 [PR PATCH] freeplane: update to 1.9.14, hard-code jdk11 classabbyamp
2022-05-07  1:25 ` [PR PATCH] [Merged]: " abenson

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).