denemo-devel
[Top][All Lists]
Advanced

[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: Jan Nieuwenhuizen
Subject: Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS
Date: Tue, 07 Jul 2009 16:46:21 +0200

On di, 2009-07-07 at 15:05 +0100, Richard Shann wrote:

> > 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:

Ah, great. 
>       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.

The fonts problem is fixed in -6.

> 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 won't help.  In fact, I removed usr, because we had /usr/usr.
I just added these g_prints in utils.c, and here's what
wine says

    gchar *rootdir = g_win32_get_package_installation_directory (NULL,
NULL);
    datadir = g_build_filename (rootdir, "share", "denemo", NULL);
    g_print ("rootdir=%s\n", rootdir);
    g_print ("datadir=%s\n", datadir);

gives

    rootdir=C:\Programma Bestanden\GNU_Denemo\usr
    datadir=C:\Programma Bestanden\GNU_Denemo\usr\share\denemo

So, it must be something else?  I added the prints to latest
GUB, but there's no -7 yet to test it.  Maybe you can try to
build it...

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]