Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-07

Batch to build packages and add it to Lazarus?

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zaher Dirkey

Hi,
I like to build my packages and add it to Lazarus outside of IDE, In another way, i like to send my packages sources to my friends/coworker and run that batch to auto add this packages to Lazarus without need to open package by package and add it.

Thanks in advance
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110703/843f5215/attachment.html>

Reply by email

Hans-Peter Diettrich
to Zaher Dirkey
Hi, I like to build my packages and add it to Lazarus outside of IDE,

Do you mean a registry for *available* runtime packages?

In another way, i like to send my packages sources to my friends/coworker and run that batch to auto add this packages to Lazarus without need to open package by package and add it.

Isn't it sufficient to add a (synthetic) package, that requires all the other packages?

DoDi

Reply by email

Zaher Dirkey
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote 6 lines
Hi, > I like to build my packages and add it to Lazarus outside of IDE, > Do you mean a registry for *available* runtime packages?

I meant install a new package by command line, so i can make batch to install all packages that i have in new(clean) Lazarus IDE (for coworker).

>Isn't it sufficient to add a (synthetic) package, that requires all the

other packages?
Requires packages must be already installed, before we can mention it, Lazarus not now the real path to it without install it.

Thanks

Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110704/1aa1f8d2/attachment.html>

Reply by email

Zaher Dirkey
to Vincent Snijders

On Mon, Jul 4, 2011 at 9:52 AM, Vincent Snijders <

Show quoted text 14 lines
wrote: 2011/7/4 Zaher Dirkey : > Requires packages must be already installed, before we can mention it, > Lazarus not now the real path to it without install it. You can add it in a package link for the new package in lazarus/packages/globallinks. See also: http://svn.freepascal.org/svn/lazarus/trunk/packager/globallinks/README.txt Vincent

I need like that, or similar

lazbuild --build-all /path_to_my_package/mypackage.lpk lazbuild --install /path_to_my_package/mypackage.lpk lazbuild --build-ide

> _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110704/98835b87/attachment.html>

Reply by email

Mattias Gaertner
to Vincent Snijders: 2011/7/4 Zaher Dirkey : You can add it in a package link for the new package in…
2011/7/4 Zaher Dirkey : > Requires packages must be already installed, before we can mention it, > Lazarus not now the real path to it without install it.

If you want to send your friend a zip with all packages, then do as DoDi said:
1. Put all packages into a folder. One sub directory per package.
2. Create a yourmeta package requiring all the packages.
3. Right click on each dependency and choose "Store file name as default".
4. zip the folder and send it.
5. Tell your friend to unzip it and to open and install the yourmeta.lpk.
6. restart IDE

[...]

Mattias

Reply by email