[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] The lilypond build system adopted to build Denemo for
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS |
Date: |
Tue, 07 Jul 2009 15:05:26 +0100 |
On Tue, 2009-07-07 at 10:52 +0200, Jan Nieuwenhuizen wrote:
> > Source: "C:\WinDenemo\share\denemo\fonts\Denemo.ttf"; DestDir:
> "{fonts}"; FontInstall: "Denemo"; Flags: onlyifdoesntexist
> uninsneveruninstall
> >
> > where C:\WinDenemo\share\denemo\fonts\Denemo.ttf is my source
> directory.
>
> Okay, should be fixed too. I won't have much time to work to work on
> this, but you should have a good start ;-)
>
> Have a look at -5 from
> http://lilypond.org/blog/janneke/software/denemo
>
I've installed this on a windows box, and can report progress:
The svg loader is found and working ok.
The actions/menus, bitmaps, editscripts are all installed.
However the program fails to find the Denemo.ttf font, and in fact
there are other font not found messages, which IIRC I get with my
hand-built version as well, though mine does find Denemo.ttf, though
where it gets it from I don't know.
More serious though is a failure to find the installed actions/menus etc
at runtime. The relevant bit of code in denemo/src/utils.c is as
follows:
#ifdef G_OS_WIN32
gchar *rootdir = g_win32_get_package_installation_directory (NULL, NULL);
datadir = g_build_filename (rootdir, "share", "denemo", NULL);
g_free (rootdir);
#else /* not G_OS_WIN32 */
I guess this should be
datadir = g_build_filename (rootdir, "usr", "share", "denemo", NULL);
which I will change.
That only leaves the fonts problem - your installer hasn't put anything
in c:/Windows/Fonts as far as I can see, and, indeed when I try to copy
denemo.ttf there the O/S refuses saying it is not a valid font file -
all the others in that directory (on this Vista box) are of type
OpenType whereas Vista calls denemo.ttf type TrueTypeFontFile, which is
perhaps why. But I see that your installation has put denemo.ttf in
usr/share/fonts/truetype/denemo. I recall finding out that it is the
gtk-init call at the start of denemo's main that does this font finding
thing, whether it looks there I don't know.
Richard
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, (continued)
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/03
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/05
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/06
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS,
Richard Shann <=
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Jan Nieuwenhuizen, 2009/07/07
- Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS, Richard Shann, 2009/07/08