Sign in Join

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

Mailing lists / lazarus / 2016-01

Get Lazarus January 2016 Update

19 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

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

Anthony Walter

I've posted new installer for Free Pascal and is an overview of the what's new:

Video:

http://www.getlazarus.org/new/

Changes include:

A new Lazarus layout with the component pallet removed and coolbar buttons in its place. The a docked form designer is now the default form editor.

The new menu editor is included along with my application explorer tool. The source to the application explorer is in the components folder and might be of interest to users wanting to try their hand at extending the IDE,

The new documentation is now the F1 help site.

Minimal FPC 3.0.0 compilers with friendly setup scripts are now available at http://www.getlazarus.org/setup/minimal/. I've also updated the "making it yourself" page with better instructions.

Finally FPC 3.1.1 trunk includes support for generic functions/procedures, which are quite nice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160120/806b78e8/attachment.html>

Reply by email

Mr Bee
to Dmitry Boyarintsev

Did you upload it to youtube as well? Would you mind to share the URL here? Viewing directly from the site is very slow. :(? ?Mr Bee

Pada Kamis, 21 Januari 2016 5:19, Dmitry Boyarintsev menulis:

On Wed, Jan 20, 2016 at 4:53 PM, Anthony Walter wrote:

A new Lazarus layout with the component pallet removed and coolbar buttons in its place. The a docked form?designer?is now the default form editor. Nice job! Feels like switching for D7 to Turbo Delphi :)

thanks,
Dmitry

Reply by email

Petr Hložek
to Marcos Douglas

Excellent work! I'm looking forward to official version with this look & feel.

Petr

2016-01-21 14:15 GMT+01:00 Marcos Douglas :

Show quoted text 21 lines
On Wed, Jan 20, 2016 at 7:53 PM, Anthony Walter wrote: > > I've posted new installer for Free Pascal and . Here is an overview of the what's new: > > Video: > > http://www.getlazarus.org/new/ WOW! Very professional. Amazing job, congratulations. Best regards, Marcos Douglas -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
web: https://petrhlozek.cz email: -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/1715ce86/attachment.html>

Reply by email

Anthony Walter
to Petr Hložek

Petr,

I'm unsure when or if the official Lazarus builds will include anchor docking and the docked form designer installed and arranged ergonomically. These are additional packages which users are supposed to know about and install themselves. There is also the of issue that there is no default anchor docking layout scheme.

Also, you should know that the bundles I put together are specifically designer not to interfere with other copies of Lazarus and Free Pascal. Both programs have been setup to store their configuration information in their own folders and they will not create issues with or change the settings of other Free Pascal compilers or Lazarus copies you might have installed side by side.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/06cce16f/attachment.html>

Reply by email

Donald Ziesig
to Anthony Walter: I've posted new installer for Free Pascal and is an overview of the what's new: Video:…
Anthony Walter wrote 35 lines
I've posted new installer for Free Pascal and Lazarus at getlazarus.org <http://getlazarus.org>. Here is an overview of the what's new: Video: http://www.getlazarus.org/new/ Changes include: A new Lazarus layout with the component pallet removed and coolbar buttons in its place. The a docked form designer is now the default form editor. The new menu editor is included along with my application explorer tool. The source to the application explorer is in the components folder and might be of interest to users wanting to try their hand at extending the IDE, The new documentation <http://docs.getlazarus.org> is now the F1 help site. Minimal FPC 3.0.0 compilers with friendly setup scripts are now available at http://www.getlazarus.org/setup/minimal/. I've also updated the "making it yourself" page with better instructions. Finally FPC 3.1.1 trunk includes support for generic functions/procedures, which are quite nice. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Hi Anthony,

I just tried to use the new Lazarus for Raspberry PI and ran into two problems trying to add components from a four-year-old library (that has been working on Linux for that time and on Raspbian up to Lazarus 1.4).

This version of fpc/lazarus does not have the RegExpr package so one of my components failed to compile. I removed it from the package and started over (I don't need it for the app on the PI so for now this is not a major issue. I do need it on Linux so now I am hesitant to upgrade my main development machine.).

The big problem occurred when rebuilding lazarus to install the new components:

Build IDE Exit Code 512 Errors 4
Panic *** make No rule to make 'idepkg' Stop.

remaining errors are leaving directory and make terminated.

Is there a work-around for this (besides returning to 1.4)? I need several of the components in this library.

Thanks,

Don Ziesig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/61c0c656/attachment-0001.html>

Reply by email

Sandro Cumerlato
to Anthony Walter: I'm unsure when or if the official Lazarus builds will include anchor docking and the…

I would prefer to build useride with all my favourite packages.

Is it possible to pass:

--primary-config-path=<path> or --pcp=<path>

while calling "make useride"?

Thanx in advance for the answer.

Sandro

"Anthony Walter" wrote 22 lines
Petr, I'm unsure when or if the official Lazarus builds will include anchor docking and the docked form designer installed and arranged ergonomically. These are additional packages which users are supposed to know about and install themselves. There is also the of issue that there is no default anchor docking layout scheme. Also, you should know that the bundles I put together are specifically designer not to interfere with other copies of Lazarus and Free Pascal. Both programs have been setup to store their configuration information in their own folders and they will not create issues with or change the settings of other Free Pascal compilers or Lazarus copies you might have installed side by side. -- _______________________________________________ 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/20160121/0dcb86bd/attachment.html>

Reply by email

Anthony Walter
to Sandro Cumerlato

Sandro,

If you're using my bundles and you want more packages, just use the "Packages > Install/Uninstall Packages" menu item, choose any of the packages you want, then click "Save and rebuild IDE".

If the package you want to install isn't in the "Install/Uninstall Packages" list, then use the "Packages > Open package file" menu item and click "Compile". You can do this for multiple packages, then go back to "Packages > Install/Uninstall Packages" and you'll see those packages are now available for install. Or, if you just want that one package, you can click "Use > Install" on the previously mentioned package dialog with the "Compile" button.

And finally, regarding make useride, if you want to build from the command line you need to use lazbuild on each of the packages you want to include before calling "make useride". And yes, if you want to d what I do, which is to keep the configurations for Lazarus in the same folder as the lazarus executable, you need to use --pcp with lazbuild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/b9d3b14e/attachment.html>

Reply by email

Donald Ziesig
to Anthony Walter

HI Anthony,

You recently replied to Sandro:

If you're using my bundles and you want more packages, just use the "Packages > Install/Uninstall Packages" menu item, choose any of the packages you want, then click "Save and rebuild IDE".

I had not used those steps before so I tried, using the "Packages > Install/Uninstall Packages" menu item, selected my existing package and click "Save and rebuild IDE". The Messages box immediately (it doesn't look like it tried to do anything) is populated with "Panic *** make No rule to make target 'idepkg' Stop"

When I load the package dialog for my component library and click on Use

Install it asks if I want to rebuild the Ide. I click Yes and it

reports the exact same error.

Just out of curiosity, where (path and name) is the makefile for building the ide so I can investigate this problem on my own?

I did try make clean bigide and make bigide and the response was that it could not find target 'clean' or target 'bigide'.

Thanks,

Don Ziesig

Reply by email

Anthony Walter
to Donald Ziesig: I just tried to use the new Lazarus for Raspberry PI and ran into two problems trying to…

Don, you should probably take this to the forums at http://www.getlazarus.org/forums/viewforum.php?f=22

But to answer your question, in order to reduce the total install size of Raspberry Pi I've removed many fpc packages which do not fall under the domain of the rtl or fcl. I know for a lot of people SD card space is a major concern when picking what to put on their Pi, and I think I've managed to to strike a reasonable balance in reducing the install size from 1.2GB down to 240MB.

If you need packages which are missing, you can use svn to install just the compiler packages you need by using the command:

svn co http://svn.freepascal.org/svn/fpc/trunk/packages/<packagename>/src <packagename>

Where <packagename> is the name of the individual missing fpc package you want installed. Just be sure to add the <packagename> folder to your Lazarus include path.

To list packages use:

svn ls http://svn.freepascal.org/svn/fpc/trunk/packages/

I hope this helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/145eb915/attachment.html>

Reply by email

Anthony Walter
to Donald Ziesig: You recently replied to Sandro: If you're using my bundles and you want more packages,…

Okay Don, that's a valid problem.

I'll look into it and reissue a new bundle for the Pi. I may have been overzealous in removing files from the lazarus folder to squeeze down the size. I'll message you when it's fixed and tested. You'll just need to rerun the setup script and give it the same folder name. The setup will overwrite the entire old copy.

If you ever want to uninstall, just use "rm -rf <folder>" where <folder> was your chosen install location. Nothing aside from one optional desktop launcher file (optionally in
$HOME/.local/share/applications/lazarus.desktop) is written outside that folder.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/7296969a/attachment.html>

Reply by email

Donald Ziesig
to Mattias Gaertner: On Thu, 21 Jan 2016 15:32:39 -0500 What platform? You need to change to the lazarus…
Mattias Gaertner wrote 19 lines
On Thu, 21 Jan 2016 15:32:39 -0500 Donald Ziesig wrote: > [...] > I did try make clean bigide and make bigide and the response was that it > could not find target 'clean' or target 'bigide'. What platform? You need to change to the lazarus directory before calling make. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Mattias,

Platform Raspberry PI.

directory ~/Development/FreePascal/lazarus

Don

Reply by email

Donald Ziesig
to Anthony Walter: Okay Don, that's a valid problem. I'll look into it and reissue a new bundle for the Pi.…
Anthony Walter wrote 20 lines
Okay Don, that's a valid problem. I'll look into it and reissue a new bundle for the Pi. I may have been overzealous in removing files from the lazarus folder to squeeze down the size. I'll message you when it's fixed and tested. You'll just need to rerun the setup script and give it the same folder name. The setup will overwrite the entire old copy. If you ever want to uninstall, just use "rm -rf <folder>" where <folder> was your chosen install location. Nothing aside from one optional desktop launcher file (optionally in $HOME/.local/share/applications/lazarus.desktop) is written outside that folder. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Great! I had already figured out the rm -rf to remove the new installation.

I understand about the SD squeeze. I ran into that problem at the beginning, too. SD cards are so cheap that I bought a 16 GB card, copied the 8 GB noobs SD to it then resized the partitions. I now have over 12 GB free on /home. :-)

Before I tried installing the old components I tried to set up lazarus so it would run as root (the PI I am working on will never be connected to the net once lazarus is setup, and it needs to be root to debug digital IO). It worked the first time, but after a reboot it kept complaining about not finding system.ppu even though system.ppu was where it was supposed to be. It also suggested that I (which did not change either). Just to be sure, I did the rm -rf and re-ran setup.sh. I had 1.4.4 working by calling startlazarus via sudo, but that route doesn't seem to be available anymore. I did audit file ownership and protections but they seemed correct. Any ideas?

Thanks for the excellent work.

Don

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160121/2bee4fd7/attachment.html>

Reply by email

Petr Hložek
to Anthony Walter: I'm unsure when or if the official Lazarus builds will include anchor docking and the…
Show quoted text 9 lines
Also, you should know that the bundles I put together are specifically designer not to interfere with other copies of Lazarus and Free Pascal. Both programs have been setup to store their configuration information in their own folders and they will not create issues with or change the settings of other Free Pascal compilers or Lazarus copies you might have installed side by side.

This is why I really like your bundle. I already have own configuration of Lazarus 1.4.4 to develop my application on Ubuntu 14.04. I can't try experimental versions because deb package of the application will be created with Lazarus and Freepascal available for Ubuntu 14.04 and newer. If I want newer Lazarus and fpc, I have to create own Ubuntu 14.04 packages. These packages are used as dependency for my personal repository on Launchpad. You bundle is my easy-to-use way to see what is happening in trunk right now.

BTW my personal repository with Lazarus 1.4.4 and fpc 2.6.4 is available at https://launchpad.net/~ok2cqr/+archive/ubuntu/lazarus. I suppose there will be also packages for fpc 3.0 and newer version of Lazarus as well. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160122/f0ed3d09/attachment.html>

Reply by email

Donald Ziesig
to Anthony Walter: Okay Don a new Pi bundle has been uploaded which fixes the rebuild IDE problem you…
Anthony Walter wrote 9 lines
Okay Don a new Pi bundle has been uploaded which fixes the rebuild IDE problem you experienced. Just run setup.sh again to update. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

IT WORKS!!!!!

I haven't re-installed the component that uses RegExpr in the package yet, but what I have is sufficient for this project so far.

Now all I need is to get the IDE/debugger to run as root so I can debug the Pi's hardware I/O software.

Will keep you posted.

Many thanks,

Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160122/f45b33fb/attachment.html>

Reply by email