You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by jianlizhao <ji...@hotmail.com> on 2011/10/19 11:59:26 UTC
Extensions Integration into Installation Set
-----邮件原件-----
发件人: jianlizhao6@hotmail.com [mailto:jianlizhao6@hotmail.com]
发送时间: 2011年10月19日 17:47
收件人: jianlizhao6@hotmail.com
主题: Extensions Integration into Installation Set
http://openoffice.2283327.n4.nabble.com/Adding-PDF-import-extension-td275593
0.html
I'm trying to add the my_extension to my Windows build of OOo 3.1.
I tried to follow the instructions at :
http://wiki.services.openoffice.org/wiki/Extensions_Integration_into_Install
ation_Set
In file_ooo.scp:
File gid_File_Oxt_pdfimport
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Brand_Dir_Share_Extension_Install;
Name = "myextion.oxt";
End
In module_hidden.scp:
Module gid_Module_Optional_PDFImport
Name = "gid_File_Oxt_pdfimport";
Description = "gid_File_Oxt_pdfimport";
ParentID = gid_Module_Optional;
Default=YES;
Files = (gid_File_Oxt_pdfimport);
End
I read the article many times. I still can not solve the problem.
My question is:
I do not know which directory the Extensions files(myextion.oxt) is
located under slover.
for example:Extension Dictionarie is located under slover’s pck
directory.
Look forward to your reply
2011-10-19
How to re-package openoffice?
Posted by jianlizhao <ji...@hotmail.com>.
Hello Alexandro Colorado:
Not to change the core module, just re-packaged in the application layer,
that is just write the application installed, other applications will not
packaged. Run the software only write.
Look forward to your reply
jianlizhao
The following is the original email:
Re: How to re-package openoffice?
On Thu, Oct 20, 2011 at 7:47 PM, jianlizhao <ji...@hotmail.com> wrote:
> openoffice installation program has hundreds of megabytes, which includes
> Writer, Calc and Draw, and other modules.
>
> Due to hardware resource constraints, combined with the actual demand,
> packaged to meet the requirements write, how packaged write it?How to
> modify
> the SCP2 project?
>
>
Writer Calc and the rest of the modules use the same toolkit and engine
which is not as modular so is not currently possible to divide the core
modules.
--
*Alexandro Colorado*
*OpenOffice.org* Español
http://es.openoffice.org
fingerprint: E62B CF77 1BEA 0749 C0B8 50B9 3DE6 A84A 68D0 72E6
Re: How to re-package openoffice?
Posted by Alexandro Colorado <jz...@openoffice.org>.
On Thu, Oct 20, 2011 at 7:47 PM, jianlizhao <ji...@hotmail.com> wrote:
> openoffice installation program has hundreds of megabytes, which includes
> Writer, Calc and Draw, and other modules.
>
> Due to hardware resource constraints, combined with the actual demand,
> packaged to meet the requirements write, how packaged write it?How to
> modify
> the SCP2 project?
>
>
Writer Calc and the rest of the modules use the same toolkit and engine
which is not as modular so is not currently possible to divide the core
modules.
--
*Alexandro Colorado*
*OpenOffice.org* Español
http://es.openoffice.org
fingerprint: E62B CF77 1BEA 0749 C0B8 50B9 3DE6 A84A 68D0 72E6
How to re-package openoffice?
Posted by jianlizhao <ji...@hotmail.com>.
openoffice installation program has hundreds of megabytes, which includes
Writer, Calc and Draw, and other modules.
Due to hardware resource constraints, combined with the actual demand,
packaged to meet the requirements write, how packaged write it?How to modify
the SCP2 project?
Re: Extensions Integration into Installation Set
Posted by Ariel Constenla-Haile <ar...@gmail.com>.
Hi jianlizhao
On Thu, Oct 20, 2011 at 04:38:55PM +0800, jianlizhao wrote:
> Hello Ariel Constenla-Haile
> With your help, I solved the Extensions Integration into Installation Set
> problem, I would like to ask some questions about build.lst file
>
> build.lst file
> myext myextensions: solenv NULL
> myext myextensions usr1 - all myextensions_mkout NULL
> myext myextensions \ prj get - all myextensions_prj NULL
> myext myextensions \ zipped nmake - all myextensions_zipped NULL
>
> My question is as follows:
> What is the meaning of which usr1
according to
http://wiki.services.openoffice.org/wiki/Hacking#prj.2Fbuild.lst
it's a meaningless thing.
Cf. also
http://tools.openoffice.org/tools/build.html
The only occurrence found by OpenGrok outside build.lst files is
trunk/main/soldep/bootstrp/build_list_converter.pl#149
It looks like the only lines that matter are the ones with nmake, the
ones with usr1 and get are treated as lines with comments.
Regards
--
Ariel Constenla-Haile
La Plata, Argentina
reply: Extensions Integration into Installation Set
Posted by jianlizhao <ji...@hotmail.com>.
Hello Ariel Constenla-Haile
With your help, I solved the Extensions Integration into Installation Set
problem, I would like to ask some questions about build.lst file
build.lst file
myext myextensions: solenv NULL
myext myextensions usr1 - all myextensions_mkout NULL
myext myextensions \ prj get - all myextensions_prj NULL
myext myextensions \ zipped nmake - all myextensions_zipped NULL
My question is as follows:
What is the meaning of which usr1
Look forward to your reply
jianlizhao
Re: Extensions Integration into Installation Set
Posted by Ariel Constenla-Haile <ar...@gmail.com>.
On Wed, Oct 19, 2011 at 05:59:26PM +0800, jianlizhao wrote:
> I'm trying to add the my_extension to my Windows build of OOo 3.1.
>
> I tried to follow the instructions at :
> http://wiki.services.openoffice.org/wiki/Extensions_Integration_into_Install
> ation_Set
>
>
> In file_ooo.scp:
> File gid_File_Oxt_pdfimport
> TXT_FILE_BODY;
> Styles = (PACKED);
> Dir = gid_Brand_Dir_Share_Extension_Install;
> Name = "myextion.oxt";
> End
>
> In module_hidden.scp:
> Module gid_Module_Optional_PDFImport
> Name = "gid_File_Oxt_pdfimport";
> Description = "gid_File_Oxt_pdfimport";
> ParentID = gid_Module_Optional;
> Default=YES;
> Files = (gid_File_Oxt_pdfimport);
> End
>
>
>
> I read the article many times. I still can not solve the problem.
> My question is:
>
>
> I do not know which directory the Extensions files(myextion.oxt) is
> located under slover.
it must be the /bin folder. But you do not place stuff there manually;
the files are delivered there from a module.
Play with the attached patch to see if you get the idea. It has a rather
dummy approach of working with the extensions already zipped as oxt files.
If you want to integrate the extensions in sdext or swext you should
modify the prj/d.lst file to copy the oxt's in the bin dir.
Regards
--
Ariel Constenla-Haile
La Plata, Argentina