ColinDuquesnoy / MellowPlayer

Moved to gitlab
https://gitlab.com/ColinDuquesnoy/MellowPlayer
GNU General Public License v2.0
233 stars 23 forks source link

AppImage x32 #253

Closed ZaxonXP closed 6 years ago

ZaxonXP commented 6 years ago

GNU/Linux

We provide an AppImage so that you can try MellowPlayer on any distribution.

Download MellowPlayer-x86_64.AppImage from a github release, make it executable (chmod +x MellowPlayer-x86_64.AppImage) and run it, that’s all.

Any change for releasing also 32 bit package?

I have an old laptop on which compilation of Qt takes forever, so it would be nice to install the 32 package instead.

Regards, Piotr

ColinDuquesnoy commented 6 years ago

Technically, it should be feasible but in practice this will take me too much time, sorry. Here are the points to consider:

If someone wants to step in and provide the ci toolchain needed to create 32 bit AppImages I might reopen this ticket.

ZaxonXP commented 6 years ago

In that case could someone share how to configure and compile Qt and configure Mellow Player in order to use pre-compiled Qt? I tried to compile Qt, but later on configure from Mellow Player source code could not find my version of Qt. I saw that Qt requires QtWebEngine and QtQuickControls2 however I am not sure how to compile Qt (do I need to compile all or only these specific modules).

Any help would be welcomed.

Kind regards, Piotr

ColinDuquesnoy commented 6 years ago

There are two approaches for building qt:

The first approach is easier but might take longer since all qt modules will be included. The second approach might reduce the build time if you know the submodules dependencies, otherwise it will be much of a trial and error game.

I would recommend starting with the single build approach, you can just start it and let it run during the night.

I'd suggest you read the Qt document on how to install from source: Build Requirements, How to build from sources. Since you use an old distribution, you might need to compile an older version of Qt that doesn't require a c++14 compiler (If I remember correctly, Qt 5.9 works with a C++11 compiler such as gcc 4.8).

If you plan to use MellowPlayer for services that require proprietary audio codecs, make sure to configure qt accordingly