Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upvlc: use additional-files and fix duplicate vlc.rdef in patch. #635
Conversation
|
I would appreciate less aggressive removing of old recipes. When I did the vlc 0.8.6 recipe, I took care of either porting matching versions of all the dependencies, or updating the VLC code to match current versions, when possible. If people just remove the old versions when adding new ones, my efforts are a bit useless. As long as we don't have a complete native port of VLC 2.x or later, we should try to keep 0.8.6 working correctly, and at least as well as the BeOS builds did. This means renaming libdvbpsi old version to libdvbpsi02 or something similar so it can be installed next to the newer version. |
|
Sorry, I didn't mean to remove (definitely) the support for libdvbpsi in vlc 0.8.6. EDIT: Oops, I read your message too quickly. When adding back libdvbpsi 1.2.0, what name should I use for the recipe and for the {lib,devel}:libbvbpsi* stuff? |
|
Sorry, my mistake, libdvbpsi12 is the right name. |
|
OK, thanks. |
|
Is this still WIP? |
@waddlesplash: Yes it is, because I'm not sure my changes to 0.8.6i are all OK. |
I have finally managed to build VLC 2.2.1 (against ffmpeg2-2.8.7, libbluray-0.9.3 and libdvbpsi-1.3.0) on x86 primary arch. Will try on x86 secondary arch. |
Any update? Can this be merged? |
* Remove the duplicate vlc.rdef that was embedded in the patchset for vlc-0.8.6i and, instead, make it use the same vlc.rdef that vlc-2.2.1 already uses and which is in additional-files. * Tweak vlc.rdef to make it usable with any version of vlc. * Add TEST() with "make check" (to both 0.8.6i and 2.2.1). * Fix the recipe of VLC 2.2.1 to make it build on x86 2nd arch. * Force VLC 2.2.1 to use lib:libswscale from ffmpeg2. BTW, it seems this version of VLC cannot compile against ffmpeg >= 3. * Comment out the lib:libdevice in REQUIRES because the haiku hpkg is missing a PROVIDES for it. * VLC 0.8.6i was previously using libdvbpsi 1.2.0 but the compilation now fails for some reason (unknown to me). The compilation also fails when building against libdvbpsi 1.3.0, so drop support for it in VLC 0.8.6i. VLC 2.2.1 on x86 secondary arch builds fine with any of the mentioned releases of libdvbpsi, though.
|
I did not manage to build VLC 0.8.6i with libdvbpsi, no matter which version of libdvbpsi I tried, so I commented out the lines with libdvbpsi. VLC 0.8.6i only builds and runs fine without libdvbpsi. I don't know what is causing the build to fail if building with libdvbpsi. BTW, I don't know why I fixed Should I remove (completely) the lines mentioning |
f8189f8
into
haikuports:master
|
No, leaving the comments is fine. |
|
OK, thanks! |
|
Is there a point in $secondaryArchSuffix for vlc 0.86? IIRC I removed it at some point. |
|
If you want vlc 0.8.6i to build on x86_gcc2 (primary) and x86 (primary and secondary) arch then the If you want vlc 0.8.6i to build on x86_gcc2 (primary) and x86 primary (but not secondary), then you can drop all If you want vlc 0.8.6i to build on x86 primary and secondary but not on x86_gcc2 primary, then you should replace « Obviously, given that VLC 0.8.6i is broken since you upgraded libebml to 1.3.4 (in dcc0fda), none of the actions described above will fix #740 or #741. What I can tell is that right after this PR got merged the recipe for VLC 0.8.6i did build fine against the version of libebml that was in the tree at that time, 1.3.3. The only bad news with this PR is that I have had to remove the dependency on libdvbpsi (for VLC 0.8.6i only) because something unrelated to VLC made building VLC 0.8.6i impossible with libdvbpsi. But this was a minor issue since VLC 2.2.1 builds OK with libdvbpsi and can be built for x86 secondary arch on x86_gcc2. |
fbrosson commentedJun 12, 2016
•
edited
vlc.rdefthat was embedded in the patchset for vlc-0.8.6i and, instead, make it use the samevlc.rdefthat vlc-2.2.1 already uses and which is inadditional-files.vlc.rdefto make it usable with any version of vlc.TEST()withmake check(to both 0.8.6i and 2.2.1).Build vlc-0.8.6i without libdvbpsi because the last upgrade of libdvbpsi (from 1.2.0 to 1.3.0) has broken vlc-0.8.6i.TODO before merge: Make VLC 0.8.6i use libdvbpsi 1.2.0 instead of 1.3.0 because I broke our vlc-0.8.6i.recipe when I upgraded libdvbpsi from 1.2.0 to 1.3.0 a few months ago. Shame on me!lib:libswscalefrom ffmpeg2. BTW, it seems this version of VLC cannot compile against ffmpeg >= 3.lib:libdevicein REQUIRES because the haiku hpkg is missing a PROVIDES for it.Force VLC 0.8.6i to use libdvbpsi 1.2.0 instead of 1.3.0, until we find out what is preventing VLC from using libdvbpsi 1.3.0. I had suspected that it was the upgrade to 1.3.0, but it turns out that it does not currently build with 1.2.0 either. I suspect that there is something else that is breaking VLC with libdvbpsi because I had successfully built VLC 0.8.6i on March 10 with hrev50139, that is, 4 days after I had bumped libdvbpsi to 1.3.0.