[Sugar-devel] Fwd: Problem configuring font panel extension for sugar

Simon Schampijer simon at schampijer.de
Fri Jan 29 15:48:43 EST 2010


On 01/28/2010 10:05 PM,  Yevlempy(Harsh Verma) wrote:
> ---------- Forwarded message ----------
> From: Yevlempy(Harsh Verma)<yevlempy at gmail.com>
> Date: Thu, Jan 28, 2010 at 10:07 PM
> Subject: Problem configuring font panel extension for sugar
> To: Sugar-dev<Sugar-devel at lists.sugarlabs.org>
>
>
> Hi
>
> I was testing the codes i did for the font panel for sugar, but i
> think i have messed up a bit with things. I would like to
> present the steps and codes i did for Font Panel, so that i can get a
> feedback on where i am going wrong.
>
> ----The steps i followed are as follows----
>
> 1>Editted sugar-jhbuild/source/sugar/data/icons .Added text-size icon
> from sugar-artwork to sugar-jhbuild/source/sugar/data/icons folder and
> editted its name to module-  text-size.svg and also editted  Makefile,
> Makefile.am and Makefile.in in same folder by adding a line
> module-text-size.svg at below module-date_and_time.svg.
>
> 2>  Added a font folder with _init_.py, Makefile.am, view.py, model.py
> which i have uploaded to
> sugar-jhbuild/source/sugar/extension/cpsection
>      after that, going into sugar-jhbuild>source>sugar run ./autogen.sh
> and also editted
> sugar-jhbuild/source/sugar/extensions/cpsection/Makefile.am
>       by editting a line  starting with SUBDIRS with fonts and editted
> sugar-jhbuild/source/sugar/configure.ac by adding a line below
> datetime with font.
>
>   3>  After going into the sugar-jhbuild folder did ./sugar-jhbuild
> build -a sugar but it showed me an error  http://fpaste.org/3adI/  and
> when i went for the
>         fifth option it gave me an error  http://fpaste.org/PqfX/ .

Hmm, I had the same issue :/

test -z "/extensions/cpsection/fonts" || /bin/mkdir -p 
"/extensions/cpsection/fonts"

I wonder why it does not get the prefix I provided for the autogen 
command. All the other options work well.

Regards,
    Simon


More information about the Sugar-devel mailing list