Recent

Author Topic: Lazarus 0.9.30 released  (Read 176174 times)

giorgiotani

  • Guest
Re: Lazarus 0.9.30 released
« Reply #45 on: March 30, 2011, 04:37:52 pm »
After had spent 6 days trying to install Lazarus RPM on Linux I'm about to give up, it consistently failed on all my test machines.
Being mostly virtual machines, it was really easy to repeat test again and again, but no way the Lazarus 0.9.30 RPM was able to install with the provided FPC RPM.

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: Lazarus 0.9.30 released
« Reply #46 on: March 30, 2011, 05:54:12 pm »
Me too

I can't decompress Lazarus 0.9.30 RPM from http://sourceforge.net/projects/lazarus/files/
(I use rpm2tgz from Slackware 13).

So I install the rpm from
http://www.hu.freepascal.org/lazarus/


giorgiotani

  • Guest
Re: Lazarus 0.9.30 released
« Reply #47 on: March 30, 2011, 06:13:20 pm »
So I install the rpm from
http://www.hu.freepascal.org/lazarus/
Those are experimental, untested snapshot from automatic builds, the disclaimer on the top of the page explicitly warns agains using them more than for testing purpose.
Sometimes (i.e. today) the build number of the tree needed parts (FPC, FPC-sources, Lazarus) does not match, sometimes some links are dead (maybe the automatic build failed and there is no package?).
I would like to offer the Windows and Linux ports compiled with same release, and what is more important I need to stay with a stable release that any user that want to recompile the application can find on the web, rather than a snapshot that may be probably gone tomorrow.
So snapshots are not a solution for me, and I really hope 0.9.30 RPM problem can be fixed.

I had installed without any problem a 0.9.31 RPM snapshot weeks ago to test my works on Linux, I was very happy the installation was far more easy than it was for 0.9.28, but 0.9.30 seem just impossible to install on an RPM based distribution.
I understand there are many diffrent package manager and any one may have its own specific issues, but at this point I need to know exactly what machine/configuration was used to obtain a successful installation of 0.9.30 RPM, or entirely change how I develope for Linux and hope the DEB packages installs more graciously.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus 0.9.30 released
« Reply #48 on: March 30, 2011, 06:39:04 pm »
I notified the rpm package builder about this problem again. I cannot do anything else about it.

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: Lazarus 0.9.30 released
« Reply #49 on: March 30, 2011, 07:10:35 pm »
Quote
I had installed without any problem a 0.9.31 RPM snapshot weeks ago to test my works on Linux, I was very happy the installation was far more easy than it was for 0.9.28, but 0.9.30 seem just impossible to install on an RPM based distribution.

Well?,_use_0.9.31 RPM snapshot,
_after_all_if_there_will_be_a_fix?,_then_try_it_again,_the_important_is_you_have_pick_a_working_snapshot_version.
Then_don't_worry,_its_write_once_compile_anywhere.

Be_positive :D
« Last Edit: March 30, 2011, 07:44:06 pm by xenblaise »

giorgiotani

  • Guest
Re: Lazarus 0.9.30 released
« Reply #50 on: March 30, 2011, 07:48:15 pm »
I notified the rpm package builder about this problem again. I cannot do anything else about it.
Thank you very much.
I understand the difficulties in dealing with different distributions and different package managers.
I'll try to add information on the tracker as I try more distributions / package managers.
I've tested my favorite distros (basically, ones relying on Gnome and RPM) in order to build more a modern development/test environment, with no luck.
I'll now test clones of older virtual machines I've used for previous builts, but I would prefer to be able to set up a machine with a current mainstream distribution (more meaningful to give support to end users, as uses more recent sets of libraries).
Last, I'll try to switch to a .DEB based distribution as development machine if nothing else works.

In case I'm really out of luck I'll fall back on the only working machine, with 0.9.31, I've obtained in those weeks, but as said I don't like the users not being able to obtain the very same version of the development environment I use (not being able to replicate any problem the end user may met compiling the sources) because being it a snapshot it is no longer distributed by the developer.
Plus, I saw on 0.9.31 (or maybe was just a problem of that snapshot) it changed the way to support alternative widgetsets, and I was not able to set up Qt (while I need to compile for Qt too), so this option would really be a pain for me. Moreover being the snapshot gone some weeks ago, I cannot longer rely on community to analyze the problem with Qt.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus 0.9.30 released
« Reply #51 on: March 30, 2011, 07:58:10 pm »
Do you think it would be better to remove the rpms for SF in the meantime?

Or are they still useful, if you install them and ignore the dependency problems?
Code: [Select]
rpm -i --nodeps

giorgiotani

  • Guest
Re: Lazarus 0.9.30 released
« Reply #52 on: March 30, 2011, 09:24:10 pm »
IMHO this is not necessary to hide the RPM packages on SF as long as there is not a set of packages which proves to work out of the box on a wider pool of systems; I know the (distribution / version / RPM package manager) combinations I tested are only a fraction of the possible ones represented in the Linux user base of Lazarus.
Of course, if other feedback points many users having troubles with the RPM packages, it may be an option to delay publication of official packages until most of the installation problems are identified and resolved (or documented in the installation guide, as second choice).

Fred vS

  • Hero Member
  • *****
  • Posts: 3478
    • StrumPract is the musicians best friend
Re: Lazarus 0.9.30 released
« Reply #53 on: March 30, 2011, 09:41:16 pm »
Hello Lazarus-Fabulus fans.
Very happy to know there is a new release...

But...some bemol...

- In stringgrid, Drawcell does not work (Cell not refresh-updated).

- Is there a plan to have LCL win32/64 components more sexy ? It is still the jurassic look for button, scrollbar, memos, etc...(i do not want to compile with gtk2 for Windows, it blows up my app twice the size because of gtk2.dll)

Thanks
« Last Edit: March 30, 2011, 09:53:11 pm by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Lazarus 0.9.30 released
« Reply #54 on: March 30, 2011, 09:49:25 pm »
Can you say more details about TStringGrid / DrawCell problem? Or some short example code. Grids seem work well for me (Linux).

And design of Lazarus usually follows native system look.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Fred vS

  • Hero Member
  • *****
  • Posts: 3478
    • StrumPract is the musicians best friend
Re: Lazarus 0.9.30 released
« Reply #55 on: March 30, 2011, 09:56:49 pm »
Hello Blaazen.

Sorry, i forgot to write that my remarks were about Lazarus for Windows.
I do not have seen any problems for Stringgrid in Linux or in Mac OSX 10.6...
 
« Last Edit: March 31, 2011, 01:29:09 am by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Lazarus 0.9.30 released
« Reply #56 on: March 30, 2011, 10:01:15 pm »
Try this on Mac:

- Go to Version Info tab in Project Options and check the Include Version Info box at top.

- Now try to navigate the Other Info tab at bottom with mouse and keyboard. I believe that's a TStringGrid and it wasn't working the last time I checked.

Thanks.

-Phil

Fred vS

  • Hero Member
  • *****
  • Posts: 3478
    • StrumPract is the musicians best friend
Re: Lazarus 0.9.30 released
« Reply #57 on: March 30, 2011, 10:03:53 pm »
Yep re-hello Mr Blaazen.

Here some code who does not refresh cells in Windows in last release (very good working in 0.9.28) :
The cells are well gradient-filled but the strings in cells are hided ...

Code: [Select]
 
procedure TmiXimumLP.StringGridcueDrawCell(Sender: TObject; aCol,aRow:Integer;aRect: TRect;aState: TGridDrawState);

begin
  StringGridcue.canvas.Font.Color := clsilver;                                      
if arow = 0 then
        
            StringGridcue.Canvas.gradientfill(aRect,clgray,clblack,gdvertical);
   else if arow <> StringGridcue.Row then  StringGridcue.Canvas.gradientfill(aRect,clblack,$00003D00,gdvertical)
else
begin
  
   StringGridcue.canvas.Font.Color := clwhite;
  StringGridcue.Canvas.gradientfill(arect,clblack,cllime,gdvertical) ;
   end;      
    end;
« Last Edit: March 31, 2011, 01:29:31 am by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Lazarus 0.9.30 released
« Reply #58 on: March 30, 2011, 10:17:58 pm »
This works in Linux:
Code: [Select]
procedure TForm1.StringGrid1DrawCell(Sender: TObject; aCol, aRow: Integer; aRect: TRect; aState: TGridDrawState);
begin
  if (aRow>0) and (aCol>0) then  //do not fill header
    begin
      StringGrid1.canvas.Font.Style:= [] ;
      StringGrid1.canvas.Font.Color := clwhite;
      StringGrid1.Canvas.gradientfill(arect,clblack,cllime,gdvertical) ;
    end;
end;         

All cells are filled with gradient. But if you want to have text then you must write it there yourself.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Fred vS

  • Hero Member
  • *****
  • Posts: 3478
    • StrumPract is the musicians best friend
Re: Lazarus 0.9.30 released
« Reply #59 on: March 30, 2011, 10:39:48 pm »
Hello Blaazen.

Quote
All cells are filled with gradient. But if you want to have text then you must write it there yourself.

Of course my stringgrid is not empty !

If i use the code for a stringgrid filled with strings in cells, that code works well for Linux  :), for Mac  :) but not for Windows  :(.

Maybe the problem comes from fpc 2.4.2, in my old release i used fpc 2.5.1 and it was working like in Linux or Mac.

By the way, i gonna try Lazarus 0.9.30 with fpc 2.5.1, maybe it works.

(Or i come back to 0.9.29 + fpc 2.5.1 and wait a little bit)...

« Last Edit: March 30, 2011, 10:53:50 pm by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018