Replies: 3 comments 1 reply
-
Hello,
Note : history is working fine to reopen a file. What can help can I bring there ? I will have a look at #99 but as a newbie on java and tuxguitar and Mac GUI .. it can take some times :) |
Beta Was this translation helpful? Give feedback.
-
With the help of this commit from tuxguitar-2.0beta I was able to rebuild the jni lib for the AudioUnit plugin (and for the deprecated CoreAudio plugin) under MacOS, see commit 604fee7. The lib is now a universal binary for x86_64/arm64. Maybe this fixes problem #77. The lib is still in the source tree as a binary, but as soon as I switch to MacOS 14 with my build system, the lib can always be built from source. |
Beta Was this translation helpful? Give feedback.
-
Hello, I add a GitHub action to build Mac M1. note, it needs a swt version with arm support. I choose the same one as in your tuxguitar-next branch. |
Beta Was this translation helpful? Give feedback.
-
Currently I am building TuxGuitar for MacOS on an older MacOS 11 x86_64 VM.
I wanted to migrate to a cleaner MacOS 14 x86_64 VM with Xcode installed. Unfortunately I have a problem with SWT on MacOS 14 and some other MacOS specific questions, so I'm starting this discussion here. Maybe someone can help.
SWT
While the SWT builds from MacOS 11 work fine on 14, when I build the same code on MacOS 14, some GUI elements are invisible when starting TuxGuitar:Update: I can now build and run TuxGuitar on macOS 14 after upgrading SWT to 4.33 (commit ad5c896).
You can click where you would expect the missing elements to be and they react, but they are simply invisible.Upgrading SWT to version 4.21 or 4.26 did not fix the issue.This bug currently prevents me from migrating to MacOS 14 and mybe care about the next issues:SWT - application menu
The application menu items that MacOS adds to TuxGuitar are not translated.
SWT - Cocoa integration plugin
Same question: What is this plugin good for? I can't tell the difference whether the plugin is activated or not.Update: Since PR #335, tg files can be opened with a double click in Finder if this plugin is activated. According to the source code, there should be other advantages, but I haven't noticed them yet.
The plugin causes errors on newer SWT versions (SWT 4.14 is the last working version, 4.15 and above show the error):Update: Fixed in #355. TuxGuitar can now be built with SWT 4.26 and runs fine.
JFX
The JFX build on MacOS 14 works as good as on 11 after upgrading JFX to version 21.0.2 with commit 3289a8b.
With JFX 17.0.2 TuxGuitar crashed on starup:
As suggested in Col-E/Recaf#636 (comment), upgrading JFX helped.
But unlike other MacOS apps, TuxGuitar's menu is not integrated into the MacOS menu bar on top of the screen, but shown in the TuxGuitar window (mentioned in #213; although I cannot reproduce the other problems described in the ticket).Update: TuxGuitar's menu is now integrated into the MacOS menu bar with commit adccd49.
CoreAudio and AudioUnit plugin
The CoreAudio plugin has already been deprecated (in folder deprecated/TuxGuitar-CoreAudio/), the AudioUnit plugin is still part of TuxGuitar (desktop/TuxGuitar-AudioUnit/).
Both plugins are ment "for using the native Quicktime synthesizer in TuxGuitar on mac OS X.", according to their
"How to Install.txt"README files.So my first question would be: Is it still worth taking care of the plugins or should we also deprecate the AudioUnit plugin?
@Sy256, since you opened issue #77 about the AudioUnit plugin, maybe you can explain what the plugin is good for these days.
In case we want to keep the plugins, the first step would be to rebuild the libraries libtuxguitar-coreaudio-jni.jnilib (currently a universal binary for ppc/i386) and libtuxguitar-audiounit-jni.jnilib (universal binary for ppc/i386/x86_64) from source (as universal binaries for x86_64/arm64). Commit a8ba51b re-adds the Makefiles and fixes a few obvious things, but there ist still a lot to do.Commit 604fee7 now allows rebuilding both libs as universal binaries for x86_64/arm64.
ARM Macs
Our tar.gz packages currently only contain Java binaries for x86_64. Therefore, TuxGuitar on ARM Macs has to run through Rosetta, which can cause additional problems. Sooner or later we will have to ship a native ARM package (and maybe later switch to pkg format).
More issues
#116
#99#336Beta Was this translation helpful? Give feedback.
All reactions