Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914890 - media-sound/tuxguitar-1.6.0: multitrack tablature editor and player (Java/Maven) (New package)
Summary: media-sound/tuxguitar-1.6.0: multitrack tablature editor and player (Java/Mav...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/helge17/tuxguitar
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 14:29 UTC by Dominique Michel
Modified: 2023-10-03 14:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tuxguitaar-1.6.0.ebuild (tuxguitar-1.6.0.ebuild,2.70 KB, application/vnd.gentoo.ebuild)
2023-09-28 14:30 UTC, Dominique Michel
Details
tuxguitar launcher (tuxguitar,49 bytes, application/x-shellscript)
2023-09-28 14:31 UTC, Dominique Michel
Details
The script I used to make the archive with the dependencies (make_portage_build,2.84 KB, application/x-shellscript)
2023-09-28 14:38 UTC, Dominique Michel
Details
tuxguitar-1.6.0 ebuild (tuxguitar-1.6.0.ebuild,2.84 KB, application/vnd.gentoo.ebuild)
2023-09-28 16:13 UTC, Dominique Michel
Details
replace the sf2 soundfont by one we have in the main tree (replace-soundfont.patch,2.76 KB, patch)
2023-09-28 16:14 UTC, Dominique Michel
Details | Diff
ebuild with fluidsynth audio driver setup (tuxguitar-1.6.0.ebuild,4.87 KB, application/vnd.gentoo.ebuild)
2023-09-28 19:15 UTC, Dominique Michel
Details
fix typo in ewarn (tuxguitar-1.6.0.ebuild,4.88 KB, application/vnd.gentoo.ebuild)
2023-09-28 19:39 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2023-09-28 14:29:09 UTC
TuxGuitar is an Open Source multitrack tablature editor and player written in Java.

That ebuild have a few particularities because tuxguitar build system changed to marven, and it want to download a lot of dependencies during the build.

So, I made a separate archive with them. That in order to get all that is needed during the unpack phase. Also, that archive contain a copy of marven's settings.xml system file, it is sed edited by the ebuild, that in order for mvn to find the needed dependencies, and not try to download them again during the compilation phase, which would fail.

It would be great if that software can make its way into the main tree again.

Reproducible: Always
Comment 1 Dominique Michel 2023-09-28 14:30:21 UTC
Created attachment 871665 [details]
tuxguitaar-1.6.0.ebuild
Comment 2 Dominique Michel 2023-09-28 14:31:45 UTC
Created attachment 871666 [details]
tuxguitar launcher

Is in $FILESDIR and installed as /usr/bin/tuxguitar.
Comment 3 Dominique Michel 2023-09-28 14:38:19 UTC
Created attachment 871667 [details]
The script I used to make the archive with the dependencies

It is a script I made. Put it into an empty directory and run it. It will download and unpack everything needed to build tuxguitar, build it, launch it (without installing it) and make the archive. Not needed with the ebuild because the ebuild instruct portage to donwload that archive on github.
Comment 4 Dominique Michel 2023-09-28 16:13:23 UTC
Created attachment 871676 [details]
tuxguitar-1.6.0 ebuild

To be used with the replace soundfont patch
Comment 5 Dominique Michel 2023-09-28 16:14:17 UTC
Created attachment 871677 [details, diff]
replace the sf2 soundfont by one we have in the main tree
Comment 6 Dominique Michel 2023-09-28 19:15:21 UTC
Created attachment 871678 [details]
ebuild with fluidsynth audio driver setup

The audio driver of the fluidsynth plugin is hard-coded to pulseaudio. In order to give a choice to the user, that ebuild add several USE flags, one for each available audio driver, their RDEPEND, a test to tell the user what to do, and a sed patch to change that driver to the wanted one.
Comment 7 Dominique Michel 2023-09-28 19:39:21 UTC
Created attachment 871687 [details]
fix typo in ewarn
Comment 8 Jonas Stein gentoo-dev 2023-10-03 11:30:14 UTC
I suggest to clean up the .ebuild and upload it to an overlay till we have a maintainer for this new package.

* add missing || die 
https://devmanual.gentoo.org/ebuild-writing/common-mistakes/index.html#unguarded-external-calls

* Please test the ebuild with pkgcheck scan --net from dev-util/pkgcheck
* use variables where possible https://devmanual.gentoo.org/ebuild-writing/variables/index.html