Page MenuHomeFreeBSD

New port: audio/guidolib: Library for graphic rendering of music scores
ClosedPublic

Authored by yuri on Dec 31 2017, 2:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 3:10 AM
Unknown Object (File)
Nov 12 2023, 3:06 AM
Unknown Object (File)
Oct 11 2023, 2:27 AM
Unknown Object (File)
Sep 17 2023, 10:26 AM
Unknown Object (File)
Sep 11 2023, 7:16 AM
Unknown Object (File)
Jul 13 2023, 2:02 AM
Unknown Object (File)
Jul 11 2023, 11:30 AM
Unknown Object (File)
Jul 9 2023, 8:42 AM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13979
Build 14173: arc lint + arc unit

Event Timeline

It requires a massive and extensive patching. I submitted pull requests to them, and this helped, but it still has very messy makefiles.

Besides that, GuidoLib implements a new way of rendering musical notes.
It has its own language for this, which resembles a programing language, and special notation for all unique elements and constructs in music notation. This is upwards of 400 unique clauses.
GuidoLib is the (only?) alternative to the ubiquitous MusicXML, which is an XML schema.
GuidoLib language is much more concise, and much more humanly readable and writable, compared to MusicXML, which is only read and written by computer.

Example:

{ 
  [ \staffFormat<size=3pt> 
   \stemsOff  \noteFormat<"x",size=1.3> c d e f g a h c2  ],
  [ \staffFormat<size=3pt> \noteFormat<style="none">
 \beamsOff g/16 g f e/8 f  empty/2 b/32 empty/4 f2*1/16. f f ],
  [ \staffFormat<style="1-line"> \clef<"none">  
    \meter<"",autoBarlines="off"> \stemsOff g/4 g g g g e h ],
  [ \staffFormat<size=3pt> c d e f g a h c2 ] 
}
audio/guidolib/Makefile
24

Is this actually used ?

36–65

patches ?

yuri marked 2 inline comments as done.Dec 31 2017, 9:58 AM
yuri added inline comments.
audio/guidolib/Makefile
24

Yes

36–65

Half of them require variables in them. Plus, some need to be upstreamed.
I went back and forth with them, but with this upstream it's never enough.

yuri marked 3 inline comments as done.Dec 31 2017, 9:58 AM
yuri marked an inline comment as done.Jan 1 2018, 7:27 PM
audio/guidolib/Makefile
36–65

How about providing upstream a sensible CMakeLists.txt for the whole thing ^^ -- seems easier in the long run :D

97

^${DESTKOPDIR}

audio/guidolib/Makefile
19

^buildtools_build qmake_build

yuri marked 3 inline comments as done.

.

audio/guidolib/Makefile
36–65

I did that, then they have added a lot more of the same.

audio/guidolib/Makefile
24

INSTALL_WRKSRC is only used in the do-install target in Mk/bsd.port.mk, which you are re-defining here, and then in USES=cmake, python, qmake, meson that you are not using, and in the ruby framework, which you are not using either.
So, it is never used anywhere.

yuri marked an inline comment as done.

Rm INSTALL_WRKSRC.

yuri marked an inline comment as done.Jan 10 2018, 4:19 PM
yuri added inline comments.
audio/guidolib/Makefile
24

Ok, thanks.

yuri marked an inline comment as done.Jan 10 2018, 4:19 PM
This revision is now accepted and ready to land.Jan 19 2018, 8:51 PM