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
Created attachment 871665 [details] tuxguitaar-1.6.0.ebuild
Created attachment 871666 [details] tuxguitar launcher Is in $FILESDIR and installed as /usr/bin/tuxguitar.
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.
Created attachment 871676 [details] tuxguitar-1.6.0 ebuild To be used with the replace soundfont patch
Created attachment 871677 [details, diff] replace the sf2 soundfont by one we have in the main tree
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.
Created attachment 871687 [details] fix typo in ewarn
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
Created attachment 895360 [details] tuxguitar-1.6.3.ebuild
Created attachment 895361 [details] metadata.xml
Created attachment 895362 [details, diff] replace-soundfont_1.6.3.patch
I bumped everything to 1.6.3. This also include several changes and simplification. - The swt archive download is not needed anymore. - The test for the fluid* USE flag is now in pkg_pretend and launch a premerge check. - The VST build is marked as deprecated, so I removed it from the ebuild. - Maybe 1.6.0 was not installing the sh wrapper script tuxguitar.sh. Fixed. - As tuxguitar's soundfont don't collide with other soundfont in the main tree or the different overlays, and we don't have many of them, the ebuild install it. - I don't used the shell script to make the bdepends archive. It is replaced by a comment into the ebuild. - Add metadata.xml
Created attachment 895368 [details] metadata.xml: fix according to #c8
Created attachment 895369 [details] tuxguitar-1.6.3.ebuild: fixes according to #c8
(In reply to Jonas Stein from comment #8) > I suggest to clean up the .ebuild and upload it to an overlay till we have a > maintainer for this new package. <snip> Thanks for the suggestions. I made some cleanup and fixes according to them. I put tuxguitar into the proaudio-gentoo overlay available via 'eselect repository'.
(In reply to Dominique Michel from comment #14) > Created attachment 895369 [details] > tuxguitar-1.6.3.ebuild: fixes according to #c8 It should be possible to build it the simple way instead of bothering with maven. see the dev-java/batik ebuild as an example.