Package Details: tuxguitar 1.6.2-3

Git Clone URL: https://aur.archlinux.org/tuxguitar.git (read-only, click to copy)
Package Base: tuxguitar
Description: A multitrack guitar tablature editor and player
Upstream URL: https://www.tuxguitar.app/
Licenses: LGPL-3.0-or-later
Replaces: tuxguitar-common, tuxguitar-gtk2
Submitter: Barthalion
Maintainer: Visne
Last Packager: Visne
Votes: 61
Popularity: 3.76
First Submitted: 2018-01-05 17:06 (UTC)
Last Updated: 2024-04-15 21:40 (UTC)

Dependencies (21)

Required by (1)

Sources (1)

Pinned Comments

Visne commented on 2024-04-13 10:54 (UTC)

I've adopted the package and updated to 1.6.2. Sadly this means that GTK2 support is dropped (SWT dropped support back in 2018...). I'm not sure if anyone was using this on Arch Linux ARM, but temporarily support for that is also dropped. They did some work on that upstream though but it is not part of 1.6.2 yet, so hopefully it can be supported after the next release.

Let me know if you run into any issues.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

Martchus commented on 2022-05-01 11:42 (UTC)

I see that you haven't abandoned the package yet. It would still be nice to fix the architecture as mentioned in my last comment.

Martchus commented on 2022-03-05 18:46 (UTC)

tuxguitar-common is an arch-specific package, e.g.:

file /usr/share/tuxguitar/lib/libicedtea-sound.so
/usr/share/tuxguitar/lib/libicedtea-sound.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=eab02ca7164fbb3413fc59630ec84b2e24800c49, stripped

So archs should be x86_64, see https://wiki.archlinux.org/title/Arch_package_guidelines#Architectures. (I'd say for AUR packages it is also acceptable to add further archs such as i686 and aarch64 if the package is known to compile for those. However, one must not any if the resulting package contains arch specific contents.)

steveoriol commented on 2022-01-08 12:30 (UTC)

Thank you @tunalad, after installation of the package jre11-openjdk-headless, tuxguitar works like a charme when you start it with your command :-)

JAVA_HOME=/usr/lib/jvm/java-11-openjdk tuxguitar

dvzrv commented on 2021-11-04 14:08 (UTC)

@actionless: If tuxguitar-common links against libfluidsynth.so.2, then your package is broken and needs to be rebuilt (as it likely was not built against the current fluidsynth 2.2.3). There is nothing more to that.

Please read through the AUR submission guidelines to understand which packages are accepted and why this package is considered not okay for the AUR and please also have a look at the debugging section to understand how to debug the build and how to build in a clean chroot (the chroot directory may entirely exist in RAM btw.).

actionless commented on 2021-11-04 13:20 (UTC) (edited on 2021-11-04 13:20 (UTC) by actionless)

@dvzrv first of all it's not BUILD failure, but RUNTIME

second, i dont have multiple gigs of free space on my laptop to build stuff in chroot, whlist workaround with extra fluidsynth library just works

dvzrv commented on 2021-11-04 08:40 (UTC)

@actionless: Please follow the pinned comment (which instructs you to build in a clean chroot). There is nothing wrong with the package and fluidsynth2-compat is not needed at all:

find-libdeps tuxguitar-common-1.5.4-2-any.pkg.tar.zst
libc.so=6-64
libjack.so=0-64
libfluidsynth.so=3-64
libasound.so=2-64

actionless commented on 2021-11-04 02:09 (UTC)

after fluidsynth upgraded i needed this package in order to run tuxguitar with fluidsynth output plugin:

https://aur.archlinux.org/packages/fluidsynth2-compat

tunalad commented on 2021-08-23 21:18 (UTC) (edited on 2021-08-23 21:21 (UTC) by tunalad)

For whatever reason, solutions below didn't work for me and I found a simpler way to fix this (with a friend of mine). If you don't have it, get jre11-openjdk. Now you should be able to open it with this command:

JAVA_HOME=/usr/lib/jvm/java-11-openjdk tuxguitar
.

djandries commented on 2021-06-30 04:37 (UTC) (edited on 2021-06-30 04:39 (UTC) by djandries)

Looks like the upgrade to Java 16 broke playback:

org.herac.tuxguitar.player.base.MidiPlayerException: class org.herac.tuxguitar.midi.synth.impl.GervillProcessor (in unnamed module @0x14de7401) cannot access class com.sun.media.sound.SoftSynthesizer (in module java.desktop) because module java.desktop does not export com.sun.media.sound to unnamed module @0x14de7401

Changed the PKGBUILD to rely on Java 11 (jre11-openjdk) in the meantime. I set the JAVA_HOME and PATH to use Java 11 in the app startup scripts, rather than setting my system default Java version to 11.

diff --git a/PKGBUILD b/PKGBUILD
index d21e71f..068e61b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,15 +12,15 @@ pkgdesc="multitrack guitar tablature editor and player"
 arch=('any')
 url="https://sourceforge.net/projects/tuxguitar/"
 license=('LGPL')
-depends=('jre-openjdk' 'alsa-lib' 'libxtst')
+depends=('jre11-openjdk' 'alsa-lib' 'libxtst')
 makedepends=('unzip' 'zip' 'ant' 'jack' 'fluidsynth' 'jdk-openjdk' 'maven')
 optdepends=('fluidsynth')
 source=(https://downloads.sourceforge.net/tuxguitar/tuxguitar-$pkgver-src.tar.gz
         tuxguitar
         tuxguitar-gtk2)
 sha256sums=('8f73c8c9a90d5df7828f9854a93068c623eec9ed27240436411552484d71503a'
-            'efeef39d43ecf5a87ed64abc7d8cf63a01f3c9b08bac0ea299bf959fcb7c216a'
-            '39f92c0de6fcf86635dec5ac3b83613ca980fa7d24f66888fd06e5bb2c7c571f')
+            '40a9e904004fce3bee0fb68ec873100eb61bcd590d242cdc923cbc115fc3e752'
+            '35f77e2c59c22698a1f15f7b9985e4dfe9601ed7528824d29a63324b4c6cb6f2')

 case $CARCH in
   i686) _arch=x86;;
@@ -96,3 +96,4 @@ package_tuxguitar-gtk2 () {
   install -Dm 755 "${srcdir}/tuxguitar-$pkgver-src/build-scripts/tuxguitar-linux-$_arch/target/tuxguitar-$pkgver-linux-$_arch/tuxguitar.sh" \
                   "${pkgdir}/usr/share/tuxguitar/tuxguitar.sh"
 }
+
diff --git a/tuxguitar b/tuxguitar
index 1940436..d5d47ae 100755
--- a/tuxguitar
+++ b/tuxguitar
@@ -1,3 +1,5 @@
 #!/bin/sh -e
 cd /usr/share/tuxguitar
+export PATH="/usr/lib/jvm/java-11-openjdk/bin:$PATH"
+export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
 exec ./tuxguitar.sh "$@"
diff --git a/tuxguitar-gtk2 b/tuxguitar-gtk2
index 6c78512..50edd8f 100755
--- a/tuxguitar-gtk2
+++ b/tuxguitar-gtk2
@@ -1,3 +1,5 @@
 #!/bin/sh -e
 cd /usr/share/tuxguitar
+export PATH="/usr/lib/jvm/java-11-openjdk/bin:$PATH"
+export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
 exec ./tuxguitar.sh -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false "$@"

buzo commented on 2021-05-10 16:53 (UTC)

Thanks Argus, fixed.