Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] freeplane: update to 1.9.14, hard-code jdk11
Date: Thu, 05 May 2022 18:35:13 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36989@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2022-05-05 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05 16:35 classabbyamp [this message]
2022-05-07  1:25 ` [PR PATCH] [Merged]: " abenson

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-36989@inbox.vuxu.org \
    --to=classabbyamp@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).