ffmpeg-light icon indicating copy to clipboard operation
ffmpeg-light copied to clipboard

Add to stackage

Open expipiplus1 opened this issue 9 years ago • 6 comments

It would be super to have this package in stackage.

Instructions are here: https://github.com/fpco/stackage/blob/master/MAINTAINERS.md#adding-a-package

expipiplus1 avatar Jan 21 '16 09:01 expipiplus1

I'd really like to fix up the CI tests before adding to Stackage. The issue is that the ffmpeg libraries available on Travis are ancient, so I currently just fake all the missing C definitions so that GHC can at least compile the package. This served as a minimal smoke test for building the package for a while, but the C stubs fell out of date at some point, and I haven't fixed them yet.

There is an issue open somewhere for Travis to whitelist current ffmpeg, but there hasn't been any movement on it for a while. The next step is to look at the Travis log and see if we can just define the necessary constants ourselves.

acowley avatar Jan 21 '16 15:01 acowley

Is it not possible to installed a more up to date version of ffmpeg as part of the CI build? I'm assuming no.

expipiplus1 avatar Jan 21 '16 15:01 expipiplus1

Not in the new containerized infrastructure, unless the source is white listed. One option is to build ffmpeg ourselves and cache the build directory, but the procedure for doing so (included here in the ffmpeg-light repo for Ubuntu) may still require an apt source that isn't already white listed. I'll have a look when at a computer. If you have a chance to investigate, let me know.

acowley avatar Jan 21 '16 16:01 acowley

Here's the issue to let travis containers pull in a current ffmpeg.

acowley avatar Jan 21 '16 21:01 acowley

Did you have to put in a request to add ffmpeg to hackage server?

ghost avatar May 30 '18 22:05 ghost

Thank you for reminding me about this @kanishka-azimi! I fixed the CI situation recently, but had forgotten about this PR. I've made a PR on stackage.

acowley avatar May 31 '18 00:05 acowley