Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65336 - songwrite (new package)
Summary: songwrite (new package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-09-25 11:30 UTC by Emanuele Tamponi
Modified: 2005-09-13 19:24 UTC (History)
3 users (show)

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


Attachments
songwrite-0.13.ebuild (songwrite-0.13.ebuild,874 bytes, text/plain)
2004-10-08 14:28 UTC, Thomas K
Details
0.12 ebuild (songwrite-0.12.ebuild,675 bytes, text/plain)
2004-12-29 13:52 UTC, Nicolas GRANDCLAUDE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Tamponi 2004-09-25 11:30:09 UTC
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.
Comment 1 Eric Shattow 2004-09-25 15:41:13 UTC
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.
Comment 2 Thomas K 2004-10-08 14:28:27 UTC
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.
Comment 3 Eric Shattow 2004-11-03 21:54:26 UTC
will look at when i get some free time.
Comment 4 Nicolas GRANDCLAUDE 2004-12-29 13:50:55 UTC
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)
Comment 5 Nicolas GRANDCLAUDE 2004-12-29 13:52:04 UTC
Created attachment 47158 [details]
0.12 ebuild
Comment 6 Nicolas GRANDCLAUDE 2004-12-30 05:00:32 UTC
0.13 work with editobj-0.56.
Ebuild request for editobj-0.56: #76129
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-08 11:09:32 UTC
Misses SRC_URI url to download from. You can probably remove src_compile() function if it just calls distutils's one.
Comment 8 Ciaran McCreesh 2005-09-13 19:24:13 UTC
Please fix the following and reopen:

* SRC_URI
* http://dev.gentoo.org/~ciaranm/docs/mw-faq/quoting.txt
* Avoid rmdir. Use rm instead.