0 Пользователей и 1 Гость просматривают эту тему.
I already have tried few ways some times ago:1. Two developers contact to me and tried to port the core library to Linux, they failed, because architecture and code are optimized to Windows API platform.2. I have tried to make my code compatible with WINE, but users don't like Wine, they want native port only. Its not a way.Next, AIMP for Windows is written on Delphi (latest version). So, you will need to re-write it to C++ first, because FreePascal is not compatible with latest version of Delphi.Another thing that I want to ask you: what reason to port Windows-specific player to another (too different) platform? Why Linux Community does not improve already created native players? Its easier way as I think.
Without looking at the code, it's hard to say which option is best but I have multiple potential paths in mind for porting (maybe a combination of one or more):(1) use my CrossVcl/Fmxlinux license and Delphi cross-compilation (depending on whether you use VCL or Firemonkey -- probably FMX)(2) use my knowledge of Object Pascal and its related dialects to convert the Delphi code into FreePascal/LCL compatible code.(3) swap out the graphics library for something similar and recreate the theming engine.(4) (will have to do this regardless of any other steps) convert the WINAPI interactions into Linux/POSIX equivalents.
Why not Wine? I get why people don't like relying on Wine. It's the same reason that I'm willing to go to the effort of porting AIMP rather than using Wine. Apps through Wine are less stable, less performant, prone to regressions at a moment's notice, don't take advantage of many Linux features, and don't integrate nicely into the standard filesystem structure (i.e. they're squirrelled away in some ugly imitation of the Windows structure) or Linux standards in general. With a lot of apps on Wine, I constantly feel like I'm just waiting for some bug to appear to ruin the experience and remind me that I'm not actually running the app natively or on Windows.
I must admit that I haven't tested AIMP extensively on Wine. If the best that could be done was to make it work as well as possible on Wine, I would be happy to help with any issues that exist, but I still believe that we can do better and do it natively.
Porting it should require far less effort than creating something similar from the ground up.
Any updates? Sorry, your conversation got me pretty curious.
ORLY? So, why "your best" OS still not have "best" software?
No news, no updates. You can use Wine to run AIMP on Linux or MacOS.