Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dbeaver: update to 23.2.5.
@ 2023-11-19 22:01 ar-jan
  2023-12-02  7:59 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: ar-jan @ 2023-11-19 22:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ar-jan/void-packages dbeaver
https://github.com/void-linux/void-packages/pull/47318

dbeaver: update to 23.2.5.
#### Testing the changes
- I tested the changes in this PR: **briefly**

Since v23.2.3 DBeaver contains a new JNA plugin with .so libs for many architectures; delete the non-applicable arches.

Also needed to fix `=> ERROR: dbeaver-23.2.3_1: failed to strip /usr/lib/dbeaver/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/sunos-sparc/libjnidispatch.so`.

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

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

From c649fa5f21c3194e07854b23222d9fdc3a20f83c Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Fri, 10 Nov 2023 23:40:26 +0100
Subject: [PATCH] dbeaver: update to 23.2.5.

Since v23.2.3 DBeaver contains a new JNA plugin with .so libs for
many architectures; delete the non-applicable arches.
---
 srcpkgs/dbeaver/template | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dbeaver/template b/srcpkgs/dbeaver/template
index 94ab33ca20d64..f1b89803c0e2a 100644
--- a/srcpkgs/dbeaver/template
+++ b/srcpkgs/dbeaver/template
@@ -1,6 +1,6 @@
 # Template file for 'dbeaver'
 pkgname=dbeaver
-version=23.2.2
+version=23.2.5
 revision=1
 # the build downloads binaries linked to glibc
 archs="x86_64 aarch64"
@@ -12,7 +12,7 @@ license="Apache-2.0"
 homepage="https://dbeaver.io"
 changelog="https://dbeaver.io/news/"
 distfiles="https://github.com/dbeaver/dbeaver/archive/${version}.tar.gz"
-checksum=7bea1833a26e928e43f8dc977b8a09949b7b1c63959723e5c26d87e24a26dbdb
+checksum=f2ae503a5bba9f41bd2d9a477e493da158b4d7c2c4d02ca0d9d46c62f0b7f755
 nopie=true
 
 do_build() {
@@ -23,6 +23,11 @@ do_install() {
 	vmkdir /usr/lib
 	vcopy "product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/${XBPS_TARGET_MACHINE}/dbeaver" /usr/lib/
 
+	# Delete folders with Java Native Access .so's for different architectures
+	jna_dir="${DESTDIR}/usr/lib/dbeaver/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna"
+	jna_arch="linux-${XBPS_TARGET_MACHINE//_/-}"
+	find "$jna_dir" -depth -mindepth 1 -type d -not -name $jna_arch -exec rm -rf {} \;
+
 	vmkdir /usr/bin
 	ln -s /usr/lib/dbeaver/dbeaver ${DESTDIR}/usr/bin/dbeaver
 

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

* Re: [PR PATCH] [Merged]: dbeaver: update to 23.2.5.
  2023-11-19 22:01 [PR PATCH] dbeaver: update to 23.2.5 ar-jan
@ 2023-12-02  7:59 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2023-12-02  7:59 UTC (permalink / raw)
  To: ml

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

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

dbeaver: update to 23.2.5.
https://github.com/void-linux/void-packages/pull/47318

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

Since v23.2.3 DBeaver contains a new JNA plugin with .so libs for many architectures; this update deletes the non-applicable arches. The deletion is also needed to fix `=> ERROR: dbeaver-23.2.3_1: failed to strip /usr/lib/dbeaver/plugins/com.sun.jna_5.13.0.v20230812-1000/com/sun/jna/sunos-sparc/libjnidispatch.so`.

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

end of thread, other threads:[~2023-12-02  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-19 22:01 [PR PATCH] dbeaver: update to 23.2.5 ar-jan
2023-12-02  7:59 ` [PR PATCH] [Merged]: " classabbyamp

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