Recent

Author Topic: Lazarus 1.2 Release  (Read 158954 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus 1.2 Release
« Reply #45 on: March 07, 2014, 05:59:26 pm »
Quote
PS, the installer (and previous versions of the installers) are too slow on my Windows 7 (with Intel I5 CPU and 6GB RAM) system, and it also slows down the entire system during it's execution...
You might need to upgrade (if the RPM is too slow) / defragment (if your file system is badly fragmented) your harddisk, Lazarus ships with a huge amount of files and of course copying them will make your hard disk work hard.

bmcalex

  • Newbie
  • Posts: 6
Re: Lazarus 1.2 Release
« Reply #46 on: March 07, 2014, 07:55:02 pm »
Great release, keep up the great work guys.

I can't believe my eyes, it prints Arabic letters in Linux GTK!!
I have waited for this feature for long time. Now my small Arabic ERP system will finally able to print Arabic reports in Linux, I'll tell my Linux customers now. Saving report in fortes report in PDF still is not displaying Arabic, but this is not big problem because saving it as HTML works fine.

nobody will ever know how much happy I'm now. see attachment

Also I like the dimming of not compiled code, for example code between Windows directive when compiling in Linux

Nice but I think you should rename the word 'Address' to  'Description' or even 'Note'
I am from Egypt by the way :)

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Lazarus 1.2 Release
« Reply #47 on: March 08, 2014, 06:50:40 am »
Hello bmcalex
where is the word "Address" I can't find it

bmcalex

  • Newbie
  • Posts: 6
Re: Lazarus 1.2 Release
« Reply #48 on: March 08, 2014, 08:49:26 am »
Hello bmcalex
where is the word "Address" I can't find it

العنوان : سند صرف: جزء من المستحقات

أعتقد أن كلمة العنوان غير مناسبة ويفضل أن تكون البيان أو الوصف أو ملاحظة

بالمناسبة قرأت كتابك وهو مجهود جيد منك...شكرا على المجهود والعمل الجيد

أنا زرت السودان منذ عدة سنوات ولى منظومة لإدارة معامل/مخابر التحاليل الطبية وموجودة غى عدة معامل ومستشفيات بالخرطوم وباقى مدن السودان ومنها معامل ألترا لاب ومستشفى البراحة فى بحرى ومستشفى الجلدية وووو

احتمال كبير أقوم بزيارة عمل قريبا لشركة فى السودان وربما نتقابل :)
« Last Edit: March 08, 2014, 08:51:59 am by bmcalex »

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Lazarus 1.2 Release
« Reply #49 on: March 08, 2014, 09:33:42 am »
Quote
العنوان : سند صرف: جزء من المستحقات

yes, you are right, thanks

jwdietrich

  • Hero Member
  • *****
  • Posts: 1278
    • formatio reticularis
Re: Lazarus 1.2 Release
« Reply #50 on: March 08, 2014, 12:55:20 pm »
Great, that is good news. Unfortunately, however, I can't find the files for Mac OS X PowerPC. Are they still concealed at SourceForge?

I have now successfully compiled Lazarus 1.2 from source. It works great even on an older PPC-based Mac (as it does on Windows and Intel-based Macs). Thanks again. :)
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: Lazarus 1.2 Release
« Reply #51 on: March 08, 2014, 05:16:23 pm »
I have now successfully compiled Lazarus 1.2 from source. It works great even on an older PPC-based Mac (as it does on Windows and Intel-based Macs). Thanks again. :)
Which system and which version of fpc?

MiSchi
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

jwdietrich

  • Hero Member
  • *****
  • Posts: 1278
    • formatio reticularis
Re: Lazarus 1.2 Release
« Reply #52 on: March 08, 2014, 09:24:10 pm »
I have now successfully compiled Lazarus 1.2 from source. It works great even on an older PPC-based Mac (as it does on Windows and Intel-based Macs). Thanks again. :)
Which system and which version of fpc?

MiSchi

It is FPC 2.6.2 and Mac OS X 10.5 (Leopard).

I use Lazarus for years, therefore I had previously installed Free Pascal and Lazarus 1.0.14 (via the regular installer from SourceForge). Then I downloaded the Lazarus sources from http://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/, changed the working directory of the shell to the unpacked folder with the sources and entered

Code: [Select]
make clean bigide

This command compiles and builds Lazarus 1.2 for PPC (depending from the speed of your machine it may take up to 10 minutes).

The only problem was that the bundle file was still for Intel Macs, so that Lazarus didn't start yet. I didn't find out how to change this in an elegant way, therefore I replaced it with the bundle file of Lazarus 1.0.14 for PPC but placed the file "Info.plist" from the new Intel bundle file into the Contents folder of the PPC bundle file (in order to have the current version string). Obviously, this isn't the normal solution, but I didn't find any documentation to replace the bundle via shell commands.

Anyway, after these steps, Lazarus 1.2 runs flawlessly on my G5 machine.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

michaelthuma

  • Jr. Member
  • **
  • Posts: 51
Re: Lazarus 1.2 Release
« Reply #53 on: March 08, 2014, 09:48:40 pm »
Works fine! :)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: Lazarus 1.2 Release
« Reply #54 on: March 09, 2014, 01:22:09 pm »
Awesome! Many thanks and I might  use it in the future.

PS, the installer (and previous versions of the installers) are too slow on my Windows 7 (with Intel I5 CPU and 6GB RAM) system, and it also slows down the entire system during it's execution...

It simply writes to the system as fast as it can.  Note that usually means it is done quickly, it was only a couple of seconds here on a 2,2GHz laptop with a relative slow 5400rpm disc. BUT  I don't run an antivirus.

Security software is usually the single most slowing and unpredictable feature in a system.  For real heavy installations out of legit sources, it can be wise to set the avirus settings as light as possible (e.g. only scan EXEs)

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Lazarus 1.2 Release
« Reply #55 on: March 09, 2014, 03:16:11 pm »
Slowness of compilation sometimes happens to me, I'm using Linux and Wine, some times rebuilding Lazarus takes about 1 minute, and sometimes it takes about 15 minutes, without changing anything in the system, only different versions of Lazarus.

ultramarcos

  • Newbie
  • Posts: 2
Re: Lazarus 1.2 Release
« Reply #56 on: March 09, 2014, 03:52:26 pm »
Same problem of 1.0 version, non root users can't build lazarus in their home dir.

Back to 1.0.14 version.

zeljko

  • Hero Member
  • *****
  • Posts: 1959
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus 1.2 Release
« Reply #57 on: March 09, 2014, 05:01:11 pm »
Same problem of 1.0 version, non root users can't build lazarus in their home dir.

Back to 1.0.14 version.

I don't see any problem with "non root users can't build lazarus in their home dir". Linux != Windows.
If you want to rebuild /usr/lib/lazarus (or whatever dir contains lazarus instalation) one can do that as root, or give permissions to user so user can do that (by using chown command).

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4715
  • I like bugs.
Re: Lazarus 1.2 Release
« Reply #58 on: March 09, 2014, 06:09:22 pm »
I don't see any problem with "non root users can't build lazarus in their home dir". Linux != Windows.
If you want to rebuild /usr/lib/lazarus (or whatever dir contains lazarus instalation) one can do that as root, or give permissions to user so user can do that (by using chown command).

No Zeljko, Lazarus can be rebuilt without sudo access thanks to StartLazarus.
 http://wiki.freepascal.org/startlazarus
There was even a wiki page about Unix rights just updated by me and Bart because it gave wrong information. I cannot find the page now because the wiki search system sucks big time.

Anyway, building as normal user is very important because Lazarus only supports static packages and it must be rebuilt every time a package is installed.
There may be a bug somewhere which is triggered by some users' local configuration. Some users, namely "rails" and now "ultramarcos" claim they still cannot rebuild Lazarus.
Recently Maxim could not build trunk after the debugger refactorings and Mattias indeed found a bug in the build code.
I think we can include that fix in the next dot release and see if it helps.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Lazarus 1.2 Release
« Reply #59 on: March 09, 2014, 06:12:52 pm »
There was even a wiki page about Unix rights just updated by me and Bart because it gave wrong information. I cannot find the page now because the wiki search system sucks big time.
Just searched for lazarus permissions linux, found this
http://wiki.lazarus.freepascal.org/Lazarus_directory_permissions_on_Linux_and_Unix
perhaps that's the one?
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018