Recent

Author Topic: Mac and Wine?  (Read 11346 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 2727
    • StrumPract is the musicians best friend
Mac and Wine?
« on: August 10, 2021, 04:22:07 pm »
Hello.

Has anyone tried Wine (or WineBottler) for Mac?
https://winebottler.kronenberg.org/

[EDIT] From the WineBottler site: (WOW if it could work with last Mac os)

Quote
WineBottler can pack your .exe into an Mac .app ...
Double-click your .exe or .msi and convert it into an app with WineBottler. You can run the generated app like every other program on your Mac. For advanced users, WineBottler gives you a selection of options: install special dependencies and even turn your .exe into a self-contained app - that is an app, that contains everything to run it... even on other Macs. Porting to OS X never was easier ;).

Is it easy to install and not too heavy?

Maybe, knowing the restrictions of Wine for Mac and adapting a fpc-Windows program for it, it could be a easy way to run applications on the Mac?

(I dont have a Mac and all the attempts to create a virtual Mac OS failed for me).

Thanks.

[EDIT2] Aaargh:
Quote
Winebottler hasn't been updated since 2018‑05‑07 , the current version is "Winebottler 4.0.1.1 Development" and only supports Mojave and High Sierra

Fre;D
« Last Edit: August 10, 2021, 05:01:00 pm by Fred vS »
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

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 991
Re: Mac and Wine?
« Reply #1 on: August 10, 2021, 08:32:52 pm »
It's about the same as suggesting that someone can port their Linux application to Windows by running it under WSL2: it's technically possible, but most users of the program won't be very happy with it. And since there is an extra layer of middleware, there's also an extra layer of potential bugs (and indeed an extra layer that may need adaptation when the OS changes).

Fred vS

  • Hero Member
  • *****
  • Posts: 2727
    • StrumPract is the musicians best friend
Re: Mac and Wine?
« Reply #2 on: August 11, 2021, 01:05:24 am »
It's about the same as suggesting that someone can port their Linux application to Windows by running it under WSL2: it's technically possible, but most users of the program won't be very happy with it. And since there is an extra layer of middleware, there's also an extra layer of potential bugs (and indeed an extra layer that may need adaptation when the OS changes).

Yes, Mac is still (even more) extremely Mac Only.

But the presentation of WineBottler with the feature is interesting:
Quote
...gives you a selection of options: install special dependencies and even turn your .exe into a self-contained app - that is an app, that contains everything to run it... even on other Macs.

Using fpGUI or MSEgui you can mimic a Mac OS theme with very similar look.
So compiling the application for Windows and make it Mac-izited by WineBottler with all the needed dependencies seems attractive.

But, anyway, this was for before, it seems to not work with the new Mac OS.

Fre;D
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

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2762
    • havefunsoft.com
Re: Mac and Wine?
« Reply #3 on: August 11, 2021, 01:07:35 am »
Blame the macOS environment.
it's not used my computer science enthusiasts, but rather a regular users.
Wine is not something they would expect to use on the expensive toy.

Fred vS

  • Hero Member
  • *****
  • Posts: 2727
    • StrumPract is the musicians best friend
Re: Mac and Wine?
« Reply #4 on: August 11, 2021, 01:56:18 am »
Blame the macOS environment.
it's not used my computer science enthusiasts, but rather a regular users.
Wine is not something they would expect to use on the expensive toy.

I dont want to blame anybody, I just asked if anyone tried Wine (or WineBottler) for Mac.
But ok, no one Mac user tried it because it could dirty his expensive toy.

So, sorry for the noise.

Fre;D
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

PascalDragon

  • Hero Member
  • *****
  • Posts: 4549
  • Compiler Developer
Re: Mac and Wine?
« Reply #5 on: August 11, 2021, 09:01:37 am »
I don't know about WineBottler, but Wine itself should run rather well on Mac. A friend of mine used CrossOver (which internally uses Wine) to run games on macOS back in the day (around '12, but he probably still does).

mischi

  • Full Member
  • ***
  • Posts: 168
Re: Mac and Wine?
« Reply #6 on: August 11, 2021, 09:05:21 am »
Hi

I have used Wine on macOS with a number of programs to a small extent. Installation and usage is doable, but still feels alien on macOS. Not all programs work and the working ones still have all the small differences in look, feel and behaviour between Windows and macOS. Whether it is an acceptable solution depends on the program as well as the personal preferences of the user.

All the best - Michael.

devEric69

  • Hero Member
  • *****
  • Posts: 646
Re: Mac and Wine?
« Reply #7 on: August 11, 2021, 09:50:25 am »
[off topic on]
AFAIK, there should be a way to easily install or emulate X11 on a Mac (so, creating for Mac a fpGUI application could be possible).
So, another interesting question would be: can an native fpGUI application run under WSL2 too? Answer: no need for WSL2, because fpGUI controls can be compiled towards X11 or towards MS-Windows CGI graphic layers (it's brilliant).
[off topic off]
« Last Edit: August 11, 2021, 12:59:19 pm by devEric69 »
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

mischi

  • Full Member
  • ***
  • Posts: 168
Re: Mac and Wine?
« Reply #8 on: August 11, 2021, 10:28:59 am »
AFAIK, there should be a way to easily install or emulate X11 on a Mac (so, creating for Mac a fpGUI application could be possible).
X11 can be used on macOS, but look, feel and behaviour are even more alien than with Windows programs. Hardly any shortcut will work as expected, for example. The task to match the User Interface Guidelines is usually underestimated and simulating the support of all high level Cocoa frameworks to 100% has not even been managed by Qt. Although also not perfect either, the cocoa-based lcl comes closest, if one can make such a general statement.

Michael.

devEric69

  • Hero Member
  • *****
  • Posts: 646
Re: Mac and Wine?
« Reply #9 on: August 11, 2021, 10:47:24 am »
X11 can be used on macOS

Good news. For info., with fpGUI, there is no need to depend from Cocoa, or Qt: the visual controls are written to be drawn natively by direct calls to X11, with a main message application loop dispatcher: it's autonomous! There is the possibility to write themes too, in order to be overlaid over the default one. And it's possible to use a database with the TDataLink pattern, ...
« Last Edit: August 11, 2021, 10:57:15 am by devEric69 »
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Fred vS

  • Hero Member
  • *****
  • Posts: 2727
    • StrumPract is the musicians best friend
Re: Mac and Wine?
« Reply #10 on: August 11, 2021, 01:27:07 pm »
Thanks Sven, Michael and Eric for your light.

Quote
Good news. For info., with fpGUI, there is no need to depend from Cocoa, or Qt: the visual controls are written to be drawn natively by direct calls to X11, with a main message application loop dispatcher: it's autonomous! There is the possibility to write themes too, in order to be overlaid over the default one. And it's possible to use a database with the TDataLink pattern, ...

Yes, it works perfectly on older Mac who have XQuartz installed.
But that was in the glorious age of the Mac.
Now XQuartz is no more compatible with Big Sur (or extremely difficult to install).

Of course Skalogryz-LCL is more "Mac-Native" (but Mac purists will say: "Dont dirty my Mac with a app not compiled with native Mac-clang compiler").

 Fre;D
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

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 991
Re: Mac and Wine?
« Reply #11 on: August 11, 2021, 02:16:29 pm »
You're all starting to sound way more elitist, snobby and condescending than all Mac users you accuse of being that way. Please cut out this childish behaviour.

devEric69

  • Hero Member
  • *****
  • Posts: 646
Re: Mac and Wine?
« Reply #12 on: August 11, 2021, 02:34:03 pm »
You're all ...\...

(???) @Jonas Maebe: concerning me, the so-called "childish" aspect you're talking in this discussion of facts, I'm seeing it only in you flameware comments, personally. That said no one is preventing anyone from being a Mac user, in my technical arguments listed above.

Best regards.
« Last Edit: August 11, 2021, 02:55:02 pm by devEric69 »
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Fred vS

  • Hero Member
  • *****
  • Posts: 2727
    • StrumPract is the musicians best friend
Re: Mac and Wine?
« Reply #13 on: August 11, 2021, 02:58:29 pm »
You're all starting to sound way more elitist, snobby and condescending than all Mac users you accuse of being that way.

Hello Jonas.
Keep cool, I just followed your advice:
...: it's technically possible, but most users of the program won't be very happy with it.

and the one of skalogryz:
... it's not used my computer science enthusiasts, but rather a regular users.
Wine is not something they would expect to use on the expensive toy.

But OK, like said before, sorry for the noise, I am not a Mac user but I like the Mac and (some) Mac-users too.

Peace.

Fre;D
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

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1988
  • Former Delphi 1-7, 10.2 user
Re: Mac and Wine?
« Reply #14 on: August 11, 2021, 03:14:25 pm »
I'm not sure WineBottler could be considered "porting" :-)

The last time I used Wine to try to run MS Office, it was as slow as molasses.

I used to have a licence for CrossOver in the past, but that had even more issues at the time with promises that were never fulfilled.

I have ported a few applications from Delphi to Lazarus + FPC and it was generally a reasonably quick process with the pay off that the application then worked on Linux and FreeBSD too. It reminded me of porting a Delphi application to Kylix which I did over a weekend back in the day.

These days I use Parallels Desktop for running x86 Windows programs like C and Pascal compilers for PIC microcontrollers and various PIC and EPROM programmers over USB without any issues at all.
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.4
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.4

 

TinyPortal © 2005-2018