Sign in Join

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

Mailing lists / lazarus / 2013-03

Lazarus update

9 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Chavoux Luyt

Hi guys

I am still running lazarus v.1.0 RC, basically because I installed a bunch of components (mostly 3D - GLScene, OpenGL, etc) and I can no longer remember which ones came as part of Lazarus and which ones I had to install myself (I am also a bit afraid that updating lazarus and fpc might break something). Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus? Would it be difficult to write a bash script (or .bat file on windows) that can do this (if it does not already exist in Lazarus)?

In the same vein: any specific components to recommend for 3D game development in Lazarus/free-pascal?

FYI I am running Lazarus on Debian stable (Mepis 11), so I normally use .deb files for installing fpc and lazarus, (but not for components).

Thanks
Chavoux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130319/51aa0c8a/attachment-0001.html>

Luca Olivetti
to Chavoux Luyt

Al 19/03/13 11:54, En/na Chavoux Luyt ha escrit:

Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus?

Try "make help", specifically this snippet:

" Updating svn and build an IDE with your last set of packages: make clean
svn up
make clean lazbuild useride
"

Now, my question is, how do I specify a pcp with the useride target?

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007
Luca Olivetti
to Luca Olivetti

Al 19/03/13 12:39, En/na Luca Olivetti ha escrit:

Show quoted text 16 lines
Al 19/03/13 11:54, En/na Chavoux Luyt ha escrit: > Is there any way to record all currently > installed components (Lazarus inbuilt and self-installed) and > automatically re-install them when updating Lazarus? Try "make help", specifically this snippet: " Updating svn and build an IDE with your last set of packages: make clean svn up make clean lazbuild useride " Now, my question is, how do I specify a pcp with the useride target?

Never mind, I looked at the Makefile and that's not possible, however it is simple enough to call lazbuild manually:

make clean lazbuild
./lazbuild --lazarusdir=. --build-ide= --pcp=/my/config/path

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007
leledumbo
to Chavoux Luyt: Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of…
Is there any way to record all currently installed components (Lazarus

inbuilt and self-installed) and automatically re-install them when updating Lazarus?

Lazarus doesn't distinguish components you add manually and the ones that come with it. So you have to keep track yourself.

I put components I added myself outside Lazarus directory. The config file won't be lost when you update. Combining both, updating Lazarus can automatically re-install the extra components (with an IDE rebuild).

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-update-tp4029944p4029949.html Sent from the Free Pascal - Lazarus mailing list .
Mattias Gaertner
to Chavoux Luyt: Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of…

Chavoux Luyt hat am 19. M?rz 2013 um 11:54 geschrieben:

Show quoted text 10 lines
Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of components (mostly 3D - GLScene, OpenGL, etc) and I can no longer remember which ones came as part of Lazarus and which ones I had to install myself (I am also a bit afraid that updating lazarus and fpc might break something). Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus? Would it be difficult to write a bash script (or .bat file on windows) that can do this (if it does not already exist in Lazarus)?

Close the IDE.
Backup your ~/.lazarus directory.
Install the new version.
Start the new version. It will notify about upgrading config files. Go to Packages / Install/Uninstall packages. You should see that GLScene and your other packages are marked as "to be installed". Close dialog.
Rebuild Lazarus. This will compile an IDE with your set of packages. Restart the IDE.

FYI I am running Lazarus on Debian stable (Mepis 11), so I normally use .deb files for installing fpc and lazarus, (but not for components).

Mattias

Mattias Gaertner
to Chavoux Luyt

Chavoux Luyt hat am 19. M?rz 2013 um 14:02 geschrieben:

Hi Mattias Thanks... that looks really easy! I just want to confirm that this will work the same when I install from .deb file instead of compiling from source?

It should (TM).

http://i.imgur.com/HuVXfMb.gif

There are some cases, that need some clean up. The 1.1 version is somewhat smarter.

Mattias

Curt Carpenter
to Chavoux Luyt: Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of…

Congratulations to the team on the new release.

I confess that I share Chavoux Luyt's fears about updating, especially since I use FPC/Lazarus on three different platforms (and don't really know what I'm doing on two of them :-)

(OK -- all of them.)

Is there a wiki on Updating For Idiots?

Thanks again for all the hard work!

Curt Carpenter

Chavoux Luyt wrote 27 lines
Hi guys I am still running lazarus v.1.0 RC, basically because I installed a bunch of components (mostly 3D - GLScene, OpenGL, etc) and I can no longer remember which ones came as part of Lazarus and which ones I had to install myself (I am also a bit afraid that updating lazarus and fpc might break something). Is there any way to record all currently installed components (Lazarus inbuilt and self-installed) and automatically re-install them when updating Lazarus? Would it be difficult to write a bash script (or .bat file on windows) that can do this (if it does not already exist in Lazarus)? In the same vein: any specific components to recommend for 3D game development in Lazarus/free-pascal? FYI I am running Lazarus on Debian stable (Mepis 11), so I normally use .deb files for installing fpc and lazarus, (but not for components). Thanks Chavoux -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130319/8da06cb8/attachment.html>