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: Richard Shann
Subject: Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS
Date: Sun, 05 Jul 2009 12:01:28 +0100

On Sun, 2009-07-05 at 12:23 +0200, Jan Nieuwenhuizen wrote:
> On vr, 2009-07-03 at 16:56 +0100, Richard Shann wrote:
> 
> > One thing I noticed was that the filesize of the .exe file was 26MB.
> 
> I'm not sure what you saw, I find no executable of that size, be it
> the installer, lilypond or denemo.  
hmm when I go to 
http://lilypond.org/blog/janneke/software/denemo/
with my browser it lists things like

[ ] denemo-0.8.6-0.mingw.exe 03-Jul-2009 09:04  40.4M  

which I was guessing was an installer for denemo-0.8.6 for windows of
40.4 MB in size. Is it something containing lilypond and other stuff as
well?

> 
> >  I expect this is because the symbols & debug data are included.
> 
> That would be a bug in GUB and would be glad to learn the details,
> but I find this quite unlikely.
> 
> When installing, most build systems strip the executables 
> automagically.  On top of that, the GUB build system's installer
> builder (bin/gib) will strip any executables it finds.
> 
> As for the sizing of the thing, I'm adding something below.
> I don't think there is much room for stripping, the GUB installer
> already tries to strip any unecessary stuff.  Possibly we can
> do without the gtk-property locales?
> 
> Further: anyone got any progress with the print preview/running
> lilypond from within denemo?  See 
> 
>     http://lilypond.org/blog/janneke/software/denemo/DENEMO
> 
> it would be nice if we got this to work, or at least have
> some better debugging output :-)
I didn't recognize the messages you quoted, which seemed to be coming
directly from the glib helper program - perhaps you have an extra layer
of debug turned on? Or perhaps a later version of glib.
 What I see in the sources is a call to
 g_find_program_in_path
on the string given in the preferences. If it fails it throws up a
dialog
 "Please edit lilypond path in the preferences."
and then goes on and tries to spawn lilypond anyway.
I'll boot up a windows box and look at what is set for the lilypond on
it. I think it is just the word "lilypond", but I recall that the pdf
viewer was something obscure like acroRead32,exe with a full path before
it.

Richard


> 
> Please try to build the installer using GUB yourselves and
> post here how things go.
> 
> Greetings,
> Jan.
> 
> 
> ls -lhSr uploads/denemo-0.8.6-3.mingw.exe uploads/lilypond-2.12.3-1.mingw.exe 
> -rw-r--r-- 1 janneke janneke 19M 2009-02-13 19:18 
> uploads/lilypond-2.12.3-1.mingw.exe
> -rw-r--r-- 1 janneke janneke 41M 2009-07-03 15:28 
> uploads/denemo-0.8.6-3.mingw.exe
> 
> du -schx ~/.wine/drive_c/Programma\ Bestanden/GNU_Denemo/usr/*
> 45M   /home/janneke/.wine/drive_c/Programma Bestanden/GNU_Denemo/usr/bin
> 292K  /home/janneke/.wine/drive_c/Programma Bestanden/GNU_Denemo/usr/etc
> 38M   /home/janneke/.wine/drive_c/Programma Bestanden/GNU_Denemo/usr/lib
> 48M   /home/janneke/.wine/drive_c/Programma Bestanden/GNU_Denemo/usr/share
> 131M  totaal
> 
> du -schx ~/.wine/drive_c/Programma\ Bestanden/GNU_Denemo/usr/lib/* | grep -E 
> "(M|[0-9]{3}K)"
> 17M   /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/lib/gtk-2.0
> 104K  /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/lib/gtk-win32-2.0.def
> 2,1M  /home/janneke/.wine/drive_c/Programma Bestanden/GNU_Denemo/usr/lib/pango
> 19M   /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/lib/python2.4
> 38M   totaal
> 
> du -schx ~/.wine/drive_c/Programma\ Bestanden/GNU_Denemo/usr/share/* | grep 
> -E "(M|[0-9]{3}K)"
> 1,1M  /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/denemo
> 196K  /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/emacs
> 17M   /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/ghostscript
> 436K  /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/gtk-2.0
> 1,9M  /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/guile
> 5,9M  /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/lilypond
> 22M   /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale
> 48M   totaal
> 
> ls -lhSr ~/.wine/drive_c/Programma\ Bestanden/GNU_Denemo/usr/bin/ | tail -20
> -rw-rw-r-- 1 janneke janneke  400K 2009-07-03 15:21 unicodedata.dll
> -rw-rw-r-- 1 janneke janneke  418K 2009-07-03 15:21 libsndfile-1.dll
> -rw-rw-r-- 1 janneke janneke  426K 2009-07-03 15:21 libfreetype-6.dll
> -rw-rw-r-- 1 janneke janneke  464K 2009-07-03 15:21 libgio-2.0-0.dll
> -rw-rw-r-- 1 janneke janneke  526K 2009-07-03 15:21 libcairo-2.dll
> -rw-rw-r-- 1 janneke janneke  722K 2009-07-03 15:21 libgdk-win32-2.0-0.dll
> -rw-rw-r-- 1 janneke janneke  873K 2009-07-03 15:21 libguile-17.dll
> -rw-rw-r-- 1 janneke janneke  943K 2009-07-03 15:21 libiconv-2.dll
> -rw-rw-r-- 1 janneke janneke  949K 2009-07-03 15:21 libtiffxx-3.dll
> -rw-rw-r-- 1 janneke janneke  983K 2009-07-03 15:21 libfftw3-3.dll
> -rw-rw-r-- 1 janneke janneke 1013K 2009-07-03 15:21 libglib-2.0-0.dll
> -rwxrwxr-x 1 janneke janneke  1,1M 2009-07-03 15:21 denemo.exe
> -rwxrwxr-x 1 janneke janneke  1,1M 2009-07-03 15:21 denemo-console.exe
> -rw-rw-r-- 1 janneke janneke  1,2M 2009-07-03 15:21 libpython2.4.dll
> -rw-rw-r-- 1 janneke janneke  1,2M 2009-07-03 15:21 libxml2-2.dll
> -rw-rw-r-- 1 janneke janneke  1,5M 2009-07-03 15:21 libsamplerate-0.dll
> -rw-rw-r-- 1 janneke janneke  4,2M 2009-07-03 15:21 libgtk-win32-2.0-0.dll
> -rwxrwxr-x 1 janneke janneke  5,3M 2009-07-03 15:21 gs.exe
> -rwxrwxr-x 1 janneke janneke  6,5M 2009-07-03 15:21 lilypond-windows.exe
> -rwxrwxr-x 1 janneke janneke  6,5M 2009-07-03 15:21 lilypond.exe
> 
> ls -lhSr ~/.wine/drive_c/Programma\ Bestanden/GNU_Denemo/usr/lib/ | tail
> drwxrwxr-x 3 janneke janneke 4,0K 2009-07-04 19:35 gio
> -rw-rw-r-- 1 janneke janneke 6,7K 2009-07-02 13:23 atk-1.0.def
> -rw-rw-r-- 1 janneke janneke 8,0K 2009-07-02 13:21 gobject-2.0.def
> -rw-rw-r-- 1 janneke janneke  11K 2009-07-02 22:40 pango-1.0.def
> -rw-rw-r-- 1 janneke janneke  15K 2009-07-02 13:21 gio-2.0.def
> -rw-rw-r-- 1 janneke janneke  17K 2009-07-02 23:22 gdk-win32-2.0.def
> -rw-rw-r-- 1 janneke janneke  18K 2009-05-06 12:05 libpython2.4.a.def
> drwxrwxr-x 8 janneke janneke  20K 2009-07-04 19:35 python2.4
> -rw-rw-r-- 1 janneke janneke  26K 2009-07-02 13:21 glib-2.0.def
> -rw-rw-r-- 1 janneke janneke 102K 2009-07-02 23:22 gtk-win32-2.0.def
> 
> ls -lhSr /home/janneke/.wine/drive_c/Programma\ 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/*
> -rw-rw-r-- 1 janneke janneke 1,1K 2009-05-06 11:56 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/libiconv.mo
> -rw-rw-r-- 1 janneke janneke  11K 2009-07-02 13:23 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/atk10.mo
> -rw-rw-r-- 1 janneke janneke  12K 2009-05-06 11:56 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/gettext-runtime.mo
> -rw-rw-r-- 1 janneke janneke  20K 2009-07-02 23:35 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/lilypond.mo
> -rw-rw-r-- 1 janneke janneke  51K 2009-07-02 13:22 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/glib20.mo
> -rw-rw-r-- 1 janneke janneke  85K 2009-07-02 23:22 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/gtk20.mo
> -rw-rw-r-- 1 janneke janneke 192K 2009-07-02 23:22 
> /home/janneke/.wine/drive_c/Programma 
> Bestanden/GNU_Denemo/usr/share/locale/uk/LC_MESSAGES/gtk20-properties.mo
> 
> 





reply via email to

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