Page MenuHomeFreeBSD

textproc/linux-c7-expat-devel: Add new port
ClosedPublic

Authored by zirias on Jul 25 2022, 9:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 4, 6:41 AM
Unknown Object (File)
Sat, Jun 29, 4:59 AM
Unknown Object (File)
Wed, Jun 26, 10:42 AM
Unknown Object (File)
Jun 17 2024, 3:26 PM
Unknown Object (File)
Jun 17 2024, 1:22 PM
Unknown Object (File)
Jun 14 2024, 7:22 AM
Unknown Object (File)
May 27 2024, 10:27 AM
Unknown Object (File)
May 18 2024, 6:46 PM
Subscribers

Details

Summary

This contains the headers to build Linux software using expat.
Also add USE_LINUX=expat-devel.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

These new ports would enable me to get rid of several dirty hacks in multimedia/makemkv.

Moin moin

Please run
> git config --add core.hooksPath .hooks
in your ports checkout.

That would warn you on commit that you forgot to add SUBDIR in textproc/Makefile

mfg Tobias

This revision now requires changes to proceed.Jul 25 2022, 9:13 AM

For some more background:

To get MakeMKV to work on FreeBSD, it needs to build a library targeting Linux that's then used by the closed-source makemkvcon binary. This stack of reviews contains three of its four build dependencies. The fourth, ffmpeg, needs to be built in the port and linked statically anyways, because linux-c7 doesn't offer something usable.

For the other ones, I had workarounds so far:

  • for zlib and expat, I used FreeBSD headers (from base resp. ports). This worked, but is slightly fragile.
  • for openssl, FreeBSD headers are unusable cause they are the wrong version, so the makemkv port had to fetch the original distfile to get usable headers.

So, instead using these new ports improves the quality of multimedia/makemkv and also greatly simplifies it (I'm down to 133 lines in my local branch now, and this is after lots of structure improvements and also adding a new knob to make fdk-aac optional when building ffmpeg).

Rebase and move WWW from pkg-descr to Makefile.

This revision is now accepted and ready to land.Sep 11 2022, 10:08 AM