Recent

Author Topic: Lazarus on MacOsX without X11  (Read 35067 times)

slouvet

  • Newbie
  • Posts: 1
Lazarus on MacOsX without X11
« on: September 23, 2004, 05:45:38 pm »
Lazarus on MacOsX uses a version of Gtk that require X11.

I have seen somewhere else on sourceforge, a native version of Gtk (project Gtk-Osx).

Would it be possible to plug Gtk-Osx instead of the currently used version of Gtk in Lazarus for MacOsX ?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2496
Lazarus on MacOsX without X11
« Reply #1 on: September 24, 2004, 10:26:08 am »
You can try if it is a matter of changing libs.
If not, I think the lazarus team won't put much effort in it, since in that case a native interface is preferred.
(I read about ppl starting with it)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
Re: Lazarus on MacOsX without X11
« Reply #2 on: March 23, 2006, 07:55:48 pm »
no GTK-OSX is migration of GTK+2, lazarus is compiled with GTK+1.2.

Lazarus is now migrating to GTK+2. I'm waiting for it.

Anonymous

  • Guest
RE: Re: Lazarus on MacOsX without X11
« Reply #3 on: April 19, 2006, 10:48:49 am »
To me too to not like X11, whether there will be a version for Quartz?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2496
RE: Re: Lazarus on MacOsX without X11
« Reply #4 on: April 20, 2006, 12:01:48 pm »
When the Carbon interface is finished
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

KIA

  • New Member
  • *
  • Posts: 10
RE: Re: Lazarus on MacOsX without X11
« Reply #5 on: April 20, 2006, 01:03:48 pm »
And how soon it will occur?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2496
RE: Re: Lazarus on MacOsX without X11
« Reply #6 on: April 20, 2006, 07:05:08 pm »
After Laz 1.0 is released
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: RE: Re: Lazarus on MacOsX without X11
« Reply #7 on: April 21, 2006, 10:44:04 pm »
Also, there is work being done to get Lazarus for Mac OS X able to create Qt 4 programs.

You can see some screenshots of demo free pascal-qt4-macos software here:

http://users.pandora.be/Jan.Van.hijfte/qtforfpc/qttest3.png

http://users.pandora.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html

So far the IDE doesn't work with this, but in the future it will, if others help us.

Qt 4 is easy, so it's a good option to get in the near future a Lazarus on Mac OS X without X11 or to produce software with Lazarus that don't need X11 to run.

Hansaplast

  • Hero Member
  • *****
  • Posts: 570
  • Tweaking4All.com
    • Tweaking4All
RE: Re: RE: Re: Lazarus on MacOsX without X11
« Reply #8 on: September 04, 2006, 05:18:56 am »
Lazarus for native Mac OSX, now that would indeed be something ...!
I'd swith 100% to Lazarus when that happens ...

Hansaplast

  • Hero Member
  • *****
  • Posts: 570
  • Tweaking4All.com
    • Tweaking4All
Lazarus on MacOsX without X11
« Reply #9 on: September 13, 2006, 05:37:16 pm »
Well, I have done some searching on a cross platform development tool (please let me know if there is something out there that I might have missed), but besides Revolution and RealBasic (I like neither of them), there is pretty much nothing out there ...

A native OSX version of Lazarus/FPC would be VERY welcome for developers who purchased an Intel based Mac and run BootCamp. One's applications can be compiled for both platforms, which would be sooo great.

Not to mention that it will also increase the supply of freeware/shareware applications for Mac OSX - specially when Delphi programmers start migrating more and more to Lazarus ...

What can we (the FPC/Lazarus users) do to help make this happen?
I think me and others are more than willing to donate for the cause, either by making donations or by purchasing products from sponsors ....

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Lazarus on MacOsX without X11
« Reply #10 on: September 13, 2006, 09:03:21 pm »
Quote from: "Hansaplast"
What can we (the FPC/Lazarus users) do to help make this happen?I think me and others are more than willing to donate for the cause, either by making donations or by purchasing products from sponsors ....


Yes, please =)

Just add a new entry here:

http://wiki.lazarus.freepascal.org/Bounties

You can offer a given amount of money of your choice for the first person who implements a feature.

That feature could be get a reasonable part of the carbon widgetset working. Like, perhaps get all test applications working.

You can see what is currently implemented here:

http://wiki.lazarus.freepascal.org/Roadmap#Widgetset_dependent_components

Unfortunately there is little information about carbon. You can assume that most things are not working.

CWBudde

  • New Member
  • *
  • Posts: 24
    • http://www.savioursofsoul.de/Christian
Lazarus on MacOsX without X11
« Reply #11 on: September 13, 2006, 09:06:04 pm »
I'd be interested as well. On this page: http://wiki.lazarus.freepascal.org/Carbon_interface_internals theres a list of what needs to be done. I'd like to donate some work after september 22th as well, but I'd like to work in a small team. I found out that a certain 'pressure' forces me to work.
Right now I'm developing for OSX usinc Xcode and C++. This way I learn a little about the carbon interface. Unfortunately I don't like C that much. That's why I'd love to get lazarus to work.

Christian

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2496
Lazarus on MacOsX without X11
« Reply #12 on: September 14, 2006, 11:00:22 am »
for questions and guides how to start things you can always contact me.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

CWBudde

  • New Member
  • *
  • Posts: 24
    • http://www.savioursofsoul.de/Christian
Lazarus on MacOsX without X11
« Reply #13 on: September 14, 2006, 01:41:02 pm »
Quote from: "Marc"
for questions and guides how to start things you can always contact me.

Thanks. I'd really appreciate some support. I think the main goal is to get TCanvas to work. From that point it should be quite easy to implement further controls.

Christian

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Lazarus on MacOsX without X11
« Reply #14 on: September 14, 2006, 04:02:22 pm »
Quote from: "CWBudde"
Thanks. I'd really appreciate some support. I think the main goal is to get TCanvas to work. From that point it should be quite easy to implement further controls.


Umm ... not really. There are several large parts that need lot´s of work to function, specifically:

* TCustomControl descendents and OnPaint event

* Form and control events

* TCanvas, TFont, TBrush, Regions

* TLabel needs a lot of work

* Windowed controls are simple to implement, but there are lot´s of them

* TBitmap is complex

There is a partial guide on how to implement things here:

http://wiki.lazarus.freepascal.org/LCL_Internals