Package Details: tableplus 0.1.186-1

Git Clone URL: https://aur.archlinux.org/tableplus.git (read-only, click to copy)
Package Base: tableplus
Description: Modern, native, and friendly GUI tool for relational databases (Alpha)
Upstream URL: https://tableplus.com/
Keywords: database gui mysql postgres tool
Licenses: custom
Submitter: rew1red
Maintainer: tableplus
Last Packager: rew1red
Votes: 7
Popularity: 1.08
First Submitted: 2019-12-02 20:06 (UTC)
Last Updated: 2022-03-31 15:00 (UTC)

Latest Comments

1 2 3 Next › Last »

loopsmark commented on 2022-10-28 13:08 (UTC) (edited on 2022-10-28 13:11 (UTC) by loopsmark)

I had some problems with the last patch. This patch will allow you to use the .desktop:

git clone https://aur.archlinux.org/tableplus.git
cd tableplus
curl -Lso tableplus.patch https://0x0.st/o3d9.192.patc
git apply tableplus.patch
makepkg -si

PS: Even though when you select the db type the port seems to be already written it is not being used, so you should type it. (I had this problem while doing SSH Tunnel)

sistematico commented on 2022-10-16 01:10 (UTC)

A patch from patch:

git clone https://aur.archlinux.org/tableplus.git
cd tableplus
curl -Lso tableplus.patch https://0x0.st/ovC7.patch
git apply tableplus.patch
makepkg -s

Thank you.

rew1red commented on 2022-05-16 14:17 (UTC)

It's been nearly one year since Tableplus actually worked on Arch Linux, and development (on the Linux version) seems to have ground to a halt. I have slowly lost interest and moved on to other solutions-- but hope that some day that Tableplus will continue development, and that another packager will pick up where this was left off.

hps commented on 2022-03-14 20:12 (UTC) (edited on 2022-10-09 15:49 (UTC) by hps)

I made a patched PKGBUILD that downloads the required dependencies from archive.ubuntu.com and archive.archlinux.org. It also adds the required LD_PRELOAD to the .desktop file

  • 2022-10-09 Updated to 0.1.192
  • 2022-03-31 Updated for 0.1.186-1
git clone https://aur.archlinux.org/tableplus.git
cd tableplus
wget https://gist.githubusercontent.com/hpsu/49f2162bd9ded9c97e0c201065345189/raw/92fdf44f7fbf2dcdd98dd7edcdb613d497e906f4/tableplus-dependencies.patch
git apply tableplus-dependencies.patch
makepkg

Gringo commented on 2022-01-07 12:10 (UTC)

Is there a way to get TablePlus to run on Arch? I've been fiddling with copying the required libraries over from Ubuntu packages to /opt/tableplus and including them in LD_PRELOAD. However, I finally run into: "[1] 176669 segmentation fault (core dumped) LD_PRELOAD= /usr/local/bin/tableplus"

wooque commented on 2021-12-26 18:56 (UTC) (edited on 2021-12-26 18:56 (UTC) by wooque)

Version for Ubuntu 21.10 won't work as it depends on libldap 2.5 which was never packaged for Arch (Arch went 2.4->2.6) and glibc 2.34 which is newer than latest Arch.

I made version for Ubuntu 20.04 to work with older libldap and libgio as before but also needed libsasl from Ubuntu package, did not work with Arch libsasl no matter what I tried.

hps commented on 2021-11-15 08:28 (UTC)

Heads up again

Same story with libldap 2.6, now in testing.

We specifically need libldap_r-2.4.so.2.11.7 and liblber-2.4.so.2.11.7 from libldap-2.4.59-2-x86_64.pkg.tar.zst

mdarr commented on 2021-11-02 04:49 (UTC) (edited on 2021-11-02 05:30 (UTC) by mdarr)

Here's a patch which preloads an old version of glib2 (2.68.4) within the tableplus executable itself, applying the fix in a launcher-agnostic manner.

To avoid tab/space issues, use this GitHub gist instead of copy & pasting the patch.

diff --git a/.SRCINFO b/.SRCINFO
index c87c1f1..d815b00 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = tableplus
    pkgdesc = Modern, native, and friendly GUI tool for relational databases (Alpha)
    pkgver = 0.1.176
-   pkgrel = 1
+   pkgrel = 2
    url = https://tableplus.com/
    arch = x86_64
    license = custom
@@ -10,7 +10,11 @@ pkgbase = tableplus
    depends = gnome-keyring
    source = LICENSE
    source = https://deb.tableplus.com/debian/pool/main/t/tableplus/tableplus_0.1.176_amd64.deb
+   source = run-patched-tableplus.sh
+   source = https://archive.archlinux.org/packages/g/glib2/glib2-2.68.4-1-x86_64.pkg.tar.zst
    sha256sums = 76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb
    sha256sums = 5aadff18ee5ec29a5b169fc8aab2d13a3aecc200f773136c0a8fb43cfc283860
+   sha256sums = f8f6f42e6149cc66d7052ef9d1b90db9f975c040bb365249b7744e8d440b20b9
+   sha256sums = e8e759bd9abb58c93067e199088077f3d6fa2c608ebc6f571cb9dd814812bcea

 pkgname = tableplus
diff --git a/.gitignore b/.gitignore
index a598864..8551814 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 *.tar.gz
 *.tar.xz
+*.tar.zst
 tableplus*
 pkg
 deb
diff --git a/PKGBUILD b/PKGBUILD
index 2d6f95f..5a285f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,20 @@

 pkgname=tableplus
 pkgver=0.1.176
-pkgrel=1
+pkgrel=2
 pkgdesc='Modern, native, and friendly GUI tool for relational databases (Alpha)'
 arch=('x86_64')
 url='https://tableplus.com/'
 license=('custom')
 depends=('gtksourceview3' 'libgee' 'gnome-keyring')
 source=('LICENSE'
-        "https://deb.tableplus.com/debian/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb")
+        "https://deb.tableplus.com/debian/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb"
+        'run-patched-tableplus.sh'
+        "https://archive.archlinux.org/packages/g/glib2/glib2-2.68.4-1-x86_64.pkg.tar.zst")
 sha256sums=('76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb'
-            '5aadff18ee5ec29a5b169fc8aab2d13a3aecc200f773136c0a8fb43cfc283860')
+            '5aadff18ee5ec29a5b169fc8aab2d13a3aecc200f773136c0a8fb43cfc283860'
+            'f8f6f42e6149cc66d7052ef9d1b90db9f975c040bb365249b7744e8d440b20b9'
+            'e8e759bd9abb58c93067e199088077f3d6fa2c608ebc6f571cb9dd814812bcea')

 prepare() {
     tar -xf "${srcdir}/data.tar.xz"
@@ -22,10 +26,12 @@ package() {
     cd "$srcdir"

     install -d "${pkgdir}/opt/tableplus/"
-    install -Dm755 opt/tableplus/tableplus -t "$pkgdir/usr/local/bin/"
+    install -Dm755 opt/tableplus/tableplus -t "$pkgdir/opt/tableplus/bin/"
+    install -Dm755 run-patched-tableplus.sh "$pkgdir/usr/local/bin/tableplus"
     install -Dm644 opt/tableplus/tableplus.desktop -t "${pkgdir}/usr/share/applications/"
     install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     cp -r opt/tableplus/resource "${pkgdir}/opt/tableplus/"
+    cp usr/lib/libgio-2.0.so.0.6800.4 "${pkgdir}/opt/tableplus/libgio-2.0.so.0.6800.4"

     echo "" >> "${pkgdir}/usr/share/applications/tableplus.desktop"
     echo "Categories=Utility;Development;" >> "${pkgdir}/usr/share/applications/tableplus.desktop"
@@ -33,4 +39,6 @@ package() {

     find "${pkgdir}/opt/tableplus/" -type d -exec chmod 755 {} \;
     find "${pkgdir}/opt/tableplus/" -type f -exec chmod 644 {} \;
+
+    chmod 755 "${pkgdir}/opt/tableplus/bin/tableplus"
 }
diff --git a/run-patched-tableplus.sh b/run-patched-tableplus.sh
new file mode 100755
index 0000000..35548fc
--- /dev/null
+++ b/run-patched-tableplus.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+LD_PRELOAD=/opt/tableplus/libgio-2.0.so.0.6800.4 /opt/tableplus/bin/tableplus

wooque commented on 2021-09-22 15:14 (UTC) (edited on 2021-09-22 15:15 (UTC) by wooque)

Current workaround: