Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] Haiku port #173

Closed
MarcoRavich opened this issue Jan 13, 2021 · 10 comments
Closed

[REQ] Haiku port #173

MarcoRavich opened this issue Jan 13, 2021 · 10 comments
Labels
feature request New idea for project

Comments

@MarcoRavich
Copy link

Since FF is already available for Windows, Linux and MacOS it would be interesting to have a port for the open source Haiku OS (aka the Media OS) too.

I am aware that it is certainly not a priority, but in my opinion it would be a good opportunity for "get a foot in the door" into a growing community.

Hope that inspires !

@cdgriffith cdgriffith added the feature request New idea for project label Jan 13, 2021
@cdgriffith
Copy link
Owner

cdgriffith commented Jan 13, 2021

Interesting OS, have not heard of it.

Downloaded it today and trying it to see what can be installed / built on it.

Requirements for running:

  • FFmpeg 4.3+
  • Python 3.8+
  • Support for packages: appdirs, colorama, coloredlogs, iso639-lang, mistune, pydantic, python-box, qtpy, requests, reusables, ruamel.yaml
  • Support for PyQT5
  • Support for psutil

Requirement for static build:

@cdgriffith
Copy link
Owner

I only seen Python 2.7 in their package manager (really??) and FFmpeg says it's installed (4.2), but can't seem to run it from command line?

So first looks I don't have high hopes it will be something reasonable soon

@MarcoRavich
Copy link
Author

Let's open an "help req 3ad" @ Haiku forum (it may help both projects evolve) !

https://discuss.haiku-os.org/t/help-req-fastflix-porting-issues/10275

@waddlesplash
Copy link

I only seen Python 2.7 in their package manager (really??) and FFmpeg says it's installed (4.2), but can't seem to run it from command line?

FFmpeg CLI tools may be in a _tools subpackage. We definitely have Python 3... You may want to try an x86_64 build if you are on a 32-bit one, as there are more packages available there, anyway.

@cdgriffith
Copy link
Owner

@waddlesplash thanks for the fast reply!

I think the problem was that I didn't do a update before searching pkgman for python.

Looks like the hard blocker right now is PyQT5 does not look to build (will try to get dump off the VM). psutil is also not supported, but that is something possible to code around by disabling a few options.

How would you run said _tools ffmpeg subpackage?

@waddlesplash
Copy link

You just install it, and then the ffmpeg command et al. should be available. We already have pyqt and pyqt_python3 in the package repositories, you should just be able to install them.

@cdgriffith
Copy link
Owner

not sure what I'm missing
ffmpeg_h_issue

That is very nice you guys already have so much included btw! I just seem to be unlucky that need the bindings for Python3.8 or 3.9 and looks to only include for 2.7 or 3.7

However after installing those as well as qt_devel it looks to be building now, but has been taking half an hour at least, so hopefully works just takes a while.

@waddlesplash
Copy link

Try pkgman install cmd:ffmpeg, this will locate the correct package automatically (probably ffmpeg_tools) and ask to install it.

3.8 is not compatible with 3.7, and most Python applications are not all updated for 3.8+ support, so we are still on 3.7.

@cdgriffith
Copy link
Owner

pkgman install cmd:ffmpeg did fix it!

I would ague the point about Python not being updated, as now that it's a yearly release and forwards code compatible there is very few things not automatically supported with newest versions. Generally only those with external dependencies that need custom builds, like PyQT5 sadly. It finally did error out again trying to build.

When I have some free time I will look at the effort needed to revert the code back to 3.7 compatibility for testing and seeing how that works on Haiku. Thanks again for all the help!

@cdgriffith
Copy link
Owner

As Haiku is not a default github running and I will not have the option of spinning up custom ones, this is not feasible inside this project directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New idea for project
Projects
None yet
Development

No branches or pull requests

3 participants