First of all thank you for your feedback, Adam!

Am Donnerstag, 8. Dezember 2022, 17:17:48 CET schrieb Adam Borowski:
> On Thu, Dec 01, 2022 at 09:35:15PM +0100, Helmar Gerloni wrote:
> > The package builds and runs on amd64.  I was not able to build it on i386
> > because of missing libswt-gtk-4-java.
> 
> That's not a problem, upstream of that package has dropped support for
> 32-bit and unless it somehow comes back, tuxguitar will stay
> BD-Uninstallable on those architectures.
> 
> Because of the off chance the dependences _do_ come back, it's better
> to leave them enabled instead of explicitly dropping in debian/control.
Tuxguitar 1.5 is now built with Maven and comes with build scripts for Linux 
on amd64 (x86_64), i386 (x86) and armv7hl. The differences between the build 
scripts for amd64 and i386 are minor, and for many other architectures 
supported by Debian there are no build scripts at all.
So my idea was to use the upstream build scripts for amd64 for all 
architectures and modify/patch them so that they hopefully work on all 
architectures supported by Debian.
This is the reason why i removed all non-amd64 build scripts from the Debian 
sources (among other things).
But maybe this is not the right way, i don't know. Right now i only have amd64 
hardware available, so i can't build on other architectures (cross-compile 
maybe, but that doesn't sound trivial).

> > I don't know if it builds on other architectures; probably not
> > out-of-the-box.
> 
> The previous versions were ok, I tested arm64 and it fails the same way
> amd64 does.  Which is:
> 
> [ERROR] Plugin org.apache.maven.plugins:maven-antrun-plugin:1.7 or one of
> its dependencies could not be resolved: Cannot access central
> (https://repo.maven.apache.org/maven2) in offline mode and the artifact
> org.apache.maven.plugins:maven-antrun-plugin:jar:1.7 has not been downloaded
> from it before.
> 
> Sounds like you missed a build dependency...
I thought ${maven:CompileDepends} in debian/control handles this build 
dependencies, but somehow it did not work.
I added some more dependencies to the Build-Depends, so hopefully they are 
complete now.

Reply via email to