denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] binreloc for mingw builds?


From: Richard Shann
Subject: Re: [Denemo-devel] binreloc for mingw builds?
Date: Fri, 16 Jan 2015 09:02:28 +0000

On Thu, 2015-01-15 at 14:49 -0600, Jeremiah Benham wrote:
> I think the "usb stick" version has an issue finding lilypond. I am
> going to look into fixing that now. Then I have to make sure evince is
> finding its modules.
When I tried it LilyPond was found and evince worked, even though the
previously installed Denemo had been moved from its installation
position. Are you thinking this may be because of some environment
variables or registry entries or something previously installed?

>  I think the the last of the problems. Should we support both the
> installer version and this new version once it is polished? What
> should we call this relocatable version?
> 
Thinking about it, we surely will not need two versions. What are the
differences at the moment between them?

I can do some investigations if you build the standard mingw installer
from the latest git and a new version of the zip file from the same
sources (so that the fonts will be reliably found).

Richard
> 
> Jeremiah
> 
> 
> On Thu, Jan 15, 2015 at 7:17 AM, Richard Shann
> <address@hidden> wrote:
>         Hi Ellen,
>         this
>         http://denemo.org/~jjbenham/gub/uploads/denemo-0.0.0-0.mingw.exe
>         
>         should certainly be ok - I downloaded and installed it myself.
>         The newer stuff will be different - you can run it off a
>         memory stick
>         without installing it at all. Watch this space.
>         
>         Richard
>         
>         
>         On Thu, 2015-01-15 at 08:01 -0500, Ellen Schwindt wrote:
>         > Hello Richard,
>         >
>         >    Your e-mail reminded me that I hadn't downloaded the
>         latest version
>         > and when I tried downloading the Dec. 24th version on
>         Jeremiah's
>         > directory It didn't behave as the previous downloads have.
>         My machine
>         > didn't think it was an application so didn't install it. Is
>         it
>         > something that's changed on my end or is the file different
>         than the
>         > Nov. 4th file which I did download successfully?
>         >
>         > Thanks for dealing with a non-techie on this :)
>         >
>         > -Ellen
>         >
>         >
>         > On Thu, Jan 15, 2015 at 3:49 AM, Richard Shann
>         > <address@hidden> wrote:
>         >         Jeremiah,
>         >
>         >         I have pushed a slightly modified version to git
>         (without the
>         >         trailing
>         >         NULL it can fail sometimes). If you can post up a
>         new version
>         >         built from
>         >         git master that will be good news for Ellen too as
>         she has
>         >         trouble with
>         >         staff selection by mouse in the current version
>         which I fixed
>         >         yesterday.
>         >
>         >         Richard
>         >
>         >         On Wed, 2015-01-14 at 23:13 -0600, Jeremiah Benham
>         wrote:
>         >         > This may not be necessary. I have created a patch
>         that
>         >         allows the
>         >         > fonts to show for me in XP. I didn't even need to
>         run the
>         >         utility.
>         >         >
>         >         > diff --git a/src/core/utils.c b/src/core/utils.c
>         >         > index f1c107e..7c04963 100644
>         >         > --- a/src/core/utils.c
>         >         > +++ b/src/core/utils.c
>         >         > @@ -2807,7 +2807,7 @@ find_denemo_file
>         (DenemoDirectory dir,
>         >         gchar*
>         >         > filename)
>         >         >    dirs = g_list_append(dirs,
>         >         g_build_filename(get_executable_dir (),
>         >         > "..", get_local_dir (dir), NULL));
>         >         >    dirs = g_list_append(dirs,
>         >         g_build_filename(get_user_data_dir
>         >         > (TRUE), get_local_dir (dir), NULL));
>         >         >    dirs = g_list_append(dirs,
>         >         g_strdup(get_system_dir(dir)));
>         >         > -
>         >         > +  dirs = g_list_append(dirs,
>         >         g_build_filename(get_executable_dir (),
>         >         > "..", "share/fonts/truetype/denemo/"));
>         >         >    return find_path_for_file (filename, dirs);
>         >         >  }
>         >         >
>         >         >
>         >         > Would you like me to apply the patch or would you
>         do it
>         >         differently?
>         >         >
>         >         > Jeremiah
>         >         > ~
>         >         > ~
>         >         >
>         >         >
>         >         >
>         >         >
>         >         > On Wed, Jan 14, 2015 at 6:29 AM, Richard Shann
>         >         > <address@hidden> wrote:
>         >         >         I haven't been able to locate the source
>         code on
>         >         that site
>         >         >         though. The
>         >         >         toplevel http://www.marshwiggle.net says
>         they had a
>         >         server
>         >         >         crash and to
>         >         >         contact the author... Shall I do that or
>         would you
>         >         like to?
>         >         >
>         >         >         Richard
>         >         >
>         >         >
>         >         >         On Wed, 2015-01-14 at 06:08 -0600,
>         Jeremiah Benham
>         >         wrote:
>         >         >         > http://www.marshwiggle.net/regfont/
>         >         >         >
>         >         >         > It was in my previous email.
>         >         >         >
>         >         >         > Jeremiah
>         >         >         >
>         >         >         > On Jan 14, 2015 5:55 AM, "Richard Shann"
>         >         >         <address@hidden>
>         >         >         > wrote:
>         >         >         >         The README says that regfont is
>         GPL, do
>         >         you have the
>         >         >         source
>         >         >         >         code? I
>         >         >         >         didn't find it in a google
>         search ... it
>         >         will be
>         >         >         good to
>         >         >         >         re-use the code
>         >         >         >         inside Denemo rather than
>         launching an
>         >         external
>         >         >         process, I'm
>         >         >         >         sure I can
>         >         >         >         do that if you have the source
>         code.
>         >         >         >
>         >         >         >         Richard
>         >         >         >
>         >         >         >         On Tue, 2015-01-13 at 22:10
>         -0600,
>         >         Jeremiah Benham
>         >         >         wrote:
>         >         >         >         > I have created a new mingw
>         that contains
>         >         usr\bin
>         >         >         \regont:
>         >         >         >         >
>         >         >         >
>         >         >
>         >
>          
> http://denemo.org/~jjbenham/gub/uploads/denemo-1.2.0-win_font_test.zip
>         >         >         >         > regfont -a font.ttf needs to
>         be fun
>         >         before denemo
>         >         >         starts in
>         >         >         >         order for
>         >         >         >         > the fonts to show. I have
>         tested this a
>         >         little and
>         >         >         the fonts
>         >         >         >         show in
>         >         >         >         > Windows7 but not XP.
>         >         >         >         >
>         >         >         >         >
>         >         >         >         > Jeremiah
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         > On Tue, Jan 13, 2015 at 10:37
>         AM,
>         >         Jeremiah Benham
>         >         >         >         > <address@hidden>
>         wrote:
>         >         >         >         >         The patch I created
>         needs a
>         >         little work.
>         >         >         There is
>         >         >         >         something
>         >         >         >         >         suspicious with that
>         error
>         >         message at the
>         >         >         beginning.
>         >         >         >         I had
>         >         >         >         >         trouble testing it in
>         windows. I
>         >         will try
>         >         >         to debug
>         >         >         >         that in
>         >         >         >         >         Linux first.
>         >         >         >         >
>         >         >         >         >         I also found this
>         utility for
>         >         registering
>         >         >         fonts in
>         >         >         >         Windows. It
>         >         >         >         >         is written in c and is
>         under the
>         >         GPL.
>         >         >         >         >
>         >          http://www.marshwiggle.net/regfont/
>         >         >         >         >
>         >         >         >         >         So if it works we need
>         to add
>         >         this utility
>         >         >         into the
>         >         >         >         bin
>         >         >         >         >         directory or make it
>         part of
>         >         denemo if it
>         >         >         is a
>         >         >         >         Windows build.
>         >         >         >         >
>         >         >         >         >         Jeremiah
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >         On Jan 10, 2015 11:06
>         PM,
>         >         "Jeremiah
>         >         >         Benham"
>         >         >         >         >
>          <address@hidden>
>         >         wrote:
>         >         >         >         >                 I found
>         documentation
>         >         for
>         >         >         AddFontResource
>         >         >         >         here:
>         >         >         >         >
>         >         >         >
>         >         >
>         >
>         
> http://msdn.microsoft.com/en-us/library/windows/desktop/dd183326%28v=vs.85%29.aspx
>         >         >         >         >
>         >         >         >         >                 I see it
>         called in
>         >         >         add_font_directory() and
>         >         >         >         >
>          add_font_file()
>         >         >         >         >
>         >         >         >         >                 I always see
>         this error
>         >         when
>         >         >         launching
>         >         >         >         denemo no
>         >         >         >         >                 matter if the
>         fonts show
>         >         up or
>         >         >         not!:
>         >         >         >         >
>         >         >         >         >                 Denemo -
>         CRITICAL: Could
>         >         not find
>         >         >         feta.ttf
>         >         >         >         >                 Denemo -
>         CRITICAL: Could
>         >         not find
>         >         >         Denemo.ttf
>         >         >         >         >                 Denemo -
>         CRITICAL: Could
>         >         not find
>         >         >         >         emmentaler.ttf
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >                 I just created
>         a patch
>         >         in attempt
>         >         >         to remedy
>         >         >         >         the above.
>         >         >         >         >                 I will rebuild
>         now and
>         >         test it.
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >                 Jeremiah
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >                 On Sat, Jan
>         10, 2015 at
>         >         12:10 PM,
>         >         >         Richard
>         >         >         >         Shann
>         >         >         >         >
>         >          <address@hidden> wrote:
>         >         >         >         >                         On
>         Fri,
>         >         2015-01-09 at
>         >         >         23:12 -0600,
>         >         >         >         Jeremiah
>         >         >         >         >                         Benham
>         wrote:
>         >         >         >         >                         > I
>         found that
>         >         mingw build
>         >         >         was
>         >         >         >         already
>         >         >         >         >
>          relocatable.
>         >         >         >         >                         >
>         >         >         >         >
>         >         >         >
>         >         >
>         >
>         
> http://denemo.org/~jjbenham/gub/uploads/denemo-1.2.0-win_rococ_test.zip
>         >         >         >         >                         >
>         >         >         >         >                         >
>         >         >         >         >                         > I
>         tested it in
>         >         windows 7
>         >         >         >         >
>         >         >         >         >                         I've
>         tested it
>         >         in Vista on
>         >         >         a machine
>         >         >         >         that
>         >         >         >         >
>          previously had
>         >         Denemo
>         >         >         >         >
>          installed, and
>         >         it was able
>         >         >         to find
>         >         >         >         the fonts
>         >         >         >         >                         from
>         the
>         >         previous
>         >         >         >         >
>          installation
>         >         (presumably
>         >         >         in C:
>         >         >         >         \Windows\Fonts)
>         >         >         >         >
>         >         >         >         >                         Is
>         there a
>         >         standard
>         >         >         install-a-font
>         >         >         >         thing in
>         >         >         >         >
>          windows? I don't
>         >         know of
>         >         >         >         >                         one,
>         but I think
>         >         if a user
>         >         >         clicks on
>         >         >         >         a font
>         >         >         >         >                         then
>         windows
>         >         might offer
>         >         >         to
>         >         >         >         >
>          install it (???)
>         >         >         >         >                         Is
>         there a
>         >         >         private-to-the-user font
>         >         >         >         thing on
>         >         >         >         >
>          windows? There
>         >         is the code
>         >         >         >         >
>         >         >         >         >                         #ifdef
>         >         G_OS_WIN32
>         >         >         >         >
>         >          AddFontResource
>         >         >         (fontpath);
>         >         >         >         >                         #endif
>         >         >         >         >                         which
>         is in
>         >         utils.c does
>         >         >         this set
>         >         >         >         fontpath to
>         >         >         >         >                         the
>         USB memory
>         >         stick if
>         >         >         >         >                         that
>         is where
>         >         the binary
>         >         >         is?
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>          Richard
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >
>         >         >         >
>         >         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >
>         >
>         >
>         >
>         
>         
>         
>         
>         _______________________________________________
>         Denemo-devel mailing list
>         address@hidden
>         https://lists.gnu.org/mailman/listinfo/denemo-devel
>         
> 
> 





reply via email to

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