Help in building lightproof for PT_BR

Olivier Hallot olivier.hallot at documentfoundation.org
Fri Nov 23 04:05:38 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Andras

Thanks for the assistance.. I patiently waited a couple of days and
pulled again from git. Now I get the following issue which I have no
clue on how to fix, maybe you get is fast, otherwise I'll scratch my
last remaining hairs...

- ---------%<---------------------

[build C  ] desktop/unx/source/start.c
[build XCS]
dictionaries/pt_BR/dialog/registry/schema/org/openoffice/Lightproof_pt_BR.xcs

ERROR: No info/desc element specified or string length of info/desc
element is 0.
       There has to be a reasonable description to be specified for any
item.
       - path:
/component-schema[Lightproof_pt_BR]/templates/group[pt_BR]/prop[grammar]
       - author: ->
make[2]: **
[/home/tdf/git/core/workdir/unxlngx6.pro/XcsTarget/dictionaries/pt_BR/dialog/registry/schema/org/openoffice/Lightproof_pt_BR.xcs]
Erro 10
make[2]: *** Esperando que os outros processos terminem....

- ---------%<---------------------

What I am doing is to mimick en or hu_HU grammar checkers for pt_BR. The
pt_BR Lightproof already works as an extension and I am trying to insert
it in the build, so I decided to use the same file/folder layout as
en/hu_HU.

The offending file is below, and seems to be the same as en or hu_HU,
except for pt_BR references.

- ---------%<---------------------
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
oor:name="Lightproof_pt_BR" oor:package="org.openoffice" xml:lang="en-US">
  <info>
    <author/>
    <desc>Contains the options data used for the test extensions.</desc>
  </info>
  <templates>
    <group oor:name="pt_BR">
      <info>
        <desc>The data for one leaf.</desc>
      </info>
      <prop oor:name="grammar" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="cap" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="dup" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="pair" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="spaces" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="mdash" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="quotation" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="times" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="spaces2" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="ndash" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="apostrophe" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="ellipsis" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="spaces3" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="minus" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="metric" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="numsep" oor:type="xs:string">
        <value/>
      </prop>
      <prop oor:name="nonmetric" oor:type="xs:string">
        <value/>
      </prop>
    </group>
  </templates>
  <component>
    <group oor:name="Leaves">
      <node-ref oor:name="pt_BR" oor:node-type="pt_BR"/>
    </group>
  </component>
</oor:component-schema>

- ---------%<---------------------


Thanks in advance

Regards

Olivier


Em 22-11-2012 05:29, Andras Timar escreveu:
> Hi Olivier,
> 
> On Thu, Nov 22, 2012 at 2:00 AM, Olivier Hallot
> <olivier.hallot at documentfoundation.org> wrote:
>> I am trying to implement LightProof for pt_BR into master, and I get the
>> following error, which demands a sdf file that apparently exist.
> 
> Build does not used sdf files any more. You have not pulled since
> Tuesday. However, it does not really solve your problem, because the
> build will probably complain about missing po files. I'll try to solve
> this issue soon. Localized builds depend on po files, but they should
> not. If po is not there, tools should use en-US strings in
> localizations and continue.
> 
> For the time being, if you want to test your build, try to create
> empty files in workdir, and see what happens.
> (For example touch
> /home/tdf/git/core/workdir/unxlngx6.pro/CustomTarget/translations/translate/sdf/dictionaries/pt_BR/dialog/registry/data/org/openoffice/Office/localize.sdf)
> 
> Best regards,
> Andras
> 

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQr2aSAAoJEJp3R7nH3vLxIVAH/0QxFt4JG6u/O0ESO4gjq4y+
F/PSsX8x9EVCUdUHLhlhTIJrp4CO1ThpVDVesQTh1pm6d5JtDQLB89uNLV5chXdz
AmIBKrcxEG7ftZgxFvxbSHfaGQx+cUn+0HE7BSep9CQBjomJJ4cVbDCKScRqF0bH
v6ULTGo5/unlv9NSu7xnD2SvutUDaDYv+rO84WDNR01OrX2gNN+Mj22wkbX1IzKh
CIwiEZ6DueJtnydvw4oBmAeC0lCd67cVi6mS+c1A83eKHmHJIwUb6BQtZJaJw1KA
3kgTP+Q3+tL5wXy1jlZdF2G+hZbgYdToR8tna6a6IQgtAVmm6zbNvyOhExAFrkU=
=Pe+f
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list