Songwrite is a tablature (guitar partition) editor. Songwrite is coded in Python and uses Tk (Tkinter); it relies on Timidity to play midi and on GNU Lilypond for printing. Songwrite was previously known as GTablature. Due to many incompatibilities between Gnome 1 and Gnome 2, it is no longer a part of Gnome, and has been renamed Songwrite. File compatibility is preserved between GTablature and Songwrite. Songwrite is Free Software, under the GNU GPL. It requires Python 2.2 or +, and EditObj. A recent version (>= 1.7) of GNU Lilypond is mandatory for printing. I'd like to have an ebuild in portage for this... if you want I can try to make it myself... Thank you Reproducible: Always Steps to Reproduce: 1. 2. 3.
thanks for submitting this request, i would like to see you give an ebuild a try :) easiest is to set up a portage overlay (see /etc/make.conf) in /usr/local/portage man 5 ebuild have a look at /usr/portage/skel.ebuild good luck, hit me (nickname "Rn") on freenode IRC if you get stuck.
Created attachment 41392 [details] songwrite-0.13.ebuild Since no one did it yet, this is an ebuild for songwrite. The lilypond version needed is at least 2.3.19, just make a version bump of the latest one available in portage, it should be sufficient. It's the first time I write one for a software not using Makefile, so don't be surprised if it behaves strangely. For instance, the .py files are installed in a subdirectory of /usr/bin, and a symlink is created from there. It looks like EditObj, from the same author, is stored in /usr/lib/python2.3/site-packages/editobj/, so maybe it would be better to put the source in /usr/lib/python2.3/site-packages/songwrite-0.13 rather than /usr/bin/songwrite-0.13 ? Actually, my main problem is that songwrite crashes at launch: $ songwrite Traceback (most recent call last): File "/usr/bin/songwrite", line 135, in ? main.App() File "/usr/bin/Songwrite-0.13/main.py", line 296, in __init__ else: self.on_new() File "/usr/bin/Songwrite-0.13/main.py", line 509, in on_new self.set_song(s) File "/usr/bin/Songwrite-0.13/main.py", line 437, in set_song import init_editobj File "/usr/bin/Songwrite-0.13/init_editobj.py", line 244, in ? custom.register_attr("view" , editor.ListEditor(view.view_types), song.Partition) File "/usr/lib/python2.3/site-packages/editobj/editor.py", line 276, in ListEditor for value in values: str2values[str(value)] = value UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128) and I don't know anything about python, the only guess I can do is that python needs to re recompiled with the unicode support, but the USE flag has an unpleasant comment: - - ucs2 : Enable UCS2 for internal unicode support. (don't do this unless you know what it means.) I don't want to break python and my system, so I hope someone can answer clearly about this problem.
will look at when i get some free time.
I tested the 0.12 version (previous version). It work well and doesn't make error with EditObj. Unlike 0.13, this version use lilypond < 2.3 (2.0 is stable in portage) We can't find songwrite-0.12.tar.gz on the net, so I used songwrite_0.12b.orig.tar.gz (http://ftp.debian.org/debian/pool/main/s/songwrite/songwrite_0.12b.orig.tar.gz) from Debian. Rename "songwrite_0.12b.orig" to "songwrite-0.12" for portage distfiles. Attached an ebuild (don't depend to lilypond cause optionnaly require)
Created attachment 47158 [details] 0.12 ebuild
0.13 work with editobj-0.56. Ebuild request for editobj-0.56: #76129
Misses SRC_URI url to download from. You can probably remove src_compile() function if it just calls distutils's one.
Please fix the following and reopen: * SRC_URI * http://dev.gentoo.org/~ciaranm/docs/mw-faq/quoting.txt * Avoid rmdir. Use rm instead.