[wpkg-users] Help with LO extensions...
Marco Gaiarin
gaio at sv.lnf.it
Thu Nov 14 15:38:37 CET 2013
I'm trying to write my first lobreoffice extension recipe, for now is:
<package
id="libreoffice-extension-openclipart"
name="LibreOffice Extensions - OpenClipart.org integration"
revision="0.1.4:0"
reboot="false"
priority="50">
<depends package-id="libreoffice" />
<download url='http://extensions.libreoffice.org/extension-center/openclipart-org-integration/releases/0.1.4/openclipart.oxt' target='WPKG\openclipart-0.1.4.oxt' />
<install architecture='x86' cmd='%COMSPEC% /c echo sì|"%ProgramFiles%\LibreOffice 4\program\unopkg" add --shared "%SOFTWARE%\WPKG\openclipart-0.1.4.oxt"' />
<install architecture='x64' cmd='%COMSPEC% /c echo sì|"%ProgramFiles(x86)%\LibreOffice 4\program\unopkg" add --shared "%SOFTWARE%\WPKG\openclipart-0.1.4.oxt"' />
<upgrade include='install' />
<downgrade include='upgrade' />
<remove architecture='x86' cmd='"%ProgramFiles%\LibreOffice 4\program\unopkg" remove --shared vnd.magenta.ocal' />
<remove architecture='x64' cmd='"%ProgramFiles(x86)%\LibreOffice 4\program\unopkg" remove --shared vnd.magenta.ocal' />
</package>
but:
1) as you can see, because i'm in Italy, i've to do:
%COMSPEC% /c echo sì|"%ProgramFiles%\...
there's something i can do to force unopkg to speak english?
2) how to write a test condition? I've looked at the C:\, but really i've not
found the place where file were copied.
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the wpkg-users
mailing list