acowley / ffmpeg-light

Minimal Haskell bindings to the FFmpeg library
BSD 3-Clause "New" or "Revised" License
67 stars 29 forks source link

Add to stackage #24

Open expipiplus1 opened 8 years ago

expipiplus1 commented 8 years ago

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

acowley commented 8 years ago

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.

expipiplus1 commented 8 years ago

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

acowley commented 8 years ago

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 commented 8 years ago

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

ghost commented 6 years ago

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

acowley commented 6 years ago

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.