| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| This is a slave port. You may also want to view the commits to the master port: multimedia/x264 |
| Commit | Credits | Log message |
0.165.3223 10 Aug 2026 07:35:11
    |
Piotr Kubaj (pkubaj)  |
multimedia/x264: fix build on powerpc64*
1. Properly define macros to fix build.
2. Enable VSX on powerpc64le and on powerpc64 if it's available. |
0.165.3223 08 Aug 2026 15:46:10
    |
Daniel Engberg (diizzy)  |
multimedia/*x264: Update to 0.165.3223 and transfer maintainership
* Switch to GStreamer's meson branch as it simplifies builds and is
faster
* Transfer maintainership to multimedia
* Remove DEBUG, GPAC, OPENCL and PGO options
By switching to Meson we can utilize the framework for debug builds
GPAC is broken upstream
OPENCL (lookahead) has very little advantage now that core count for
CPUs are much higher than a decade ago and with x264's limited
parallelization. It's also much simplier than x264's other code paths.
PGO pulls in GCC with no to little benefit
* Add LTO and OPTIMIZED_CFLAGS options
Available only on aarch64 and amd64, enabled by default
Reviewed by: bofh (previous iteration and discussed on Matrix) |
0.164.3095 10 Jan 2024 09:46:56
    |
Piotr Kubaj (pkubaj)  |
multimedia/libx264: fix build on powerpc64le on 15
cc: error: unsupported option '-mabi=' for target
'powerpc64le-unknown-freebsd15.0' |
0.164.3095 03 Jan 2024 05:27:53
    |
Muhammad Moinur Rahman (bofh)  |
multimedia/libx264: BROKEN on powerpc64le 15
endian test failed
Reported by: portsfallout |
0.163.3060 20 Jul 2022 14:22:30
    |
Tobias C. Berner (tcberner)  |
multimedia: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron LI <aly@aaronly.me>
* Alexander Botero-Lowry <alexbl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anders Nordby <anders@FreeBSD.org>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrew Thompson <andy@fud.org.nz>
* Andrew Thompson <thompsa@FreeBSD.org>
* Angel Carpintero <ack@telefonica.net>
* Anish Mistry (with help from mean)
* Anonymous <swell.k@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
0.163.3060 12 Mar 2022 20:46:51
    |
Piotr Kubaj (pkubaj)  |
multimedia/libx264: fix build on riscv64
ld: error: relocation R_RISCV_HI20 cannot be used against symbol
__stack_chk_guard; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by osdep.c
>>> common/osdep.o:(x264_mdate) |
0.161.3039 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.161.3020 07 Nov 2020 15:49:39
  |
jbeich  |
multimedia/x264: update to 0.161.3020
Changes: https://code.videolan.org/videolan/x264/compare/cde9a93...d198931
ABI: https://abi-laboratory.pro/tracker/timeline/x264/ |
0.159.2999 04 May 2020 18:24:36
  |
jbeich  |
multimedia/x264: update to 0.159.2999
Changes: https://code.videolan.org/videolan/x264/compare/1771b55...296494a4
ABI: https://abi-laboratory.pro/tracker/timeline/x264/
MFH: 2020Q2 (minor stability fixes) |
0.159.2991_1 16 Apr 2020 19:43:38
  |
pkubaj  |
multimedia/{lib,}x264: return to building with clang on powerpc64 elfv2
Head r359981 and r359994 reverted commits that caused clang to run in infinite
loop, allocating all available memory and crashing the system. |
0.155.2917 11 Nov 2018 15:39:58
  |
jbeich  |
multimedia/libx264: unbreak on arm* with LLD
ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in
readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to
allow text relocations in the output
>>> defined in common/arm/mc-a-8.o
>>> referenced by common/arm/mc-a-8.o:(memcpy_table) |
0.155.2917 18 Sep 2018 14:48:48
  |
emaste  |
Hoist LDFLAGS_${ARCH} logic into bsd.port.mk
Approved by: portmgr (bapt)
Sponsored by: The FreeBSD Foundation |
0.155.2917 18 Sep 2018 14:00:45
  |
emaste  |
multimedia/libx264: add -znotext to LDFLAGS on i386, for lld
Example error:
/usr/bin/ld: error: can't create dynamic relocation R_386_PC32 against
symbol: gettimeofday in readonly segment; recompile object files
with -fPIC
This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments. For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.
PR: 214864, 230214
Reviewed by: koobs
Approved by: koobs
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17201 |
0.155.2917 05 Sep 2018 14:48:12
  |
emaste  |
Revert r479024 due to build breakage
PR: 230214 |
05 Sep 2018 14:15:29

|
emaste  |
multimedia/libx264: set LLD_UNSAFE for i386 and armv7
libx264 has relocations against readonly segment(s) and lld exits with
an error suggesting recompiling with -fPIC. As this may introduce a
performance impact, for now just fall back to GNU ld.bfd.
PR: 230214
Approved by: koobs (maintainer)
MFH: 2018Q3 |
0.155.2917 10 Aug 2018 00:55:12
  |
jbeich  |
multimedia/x264: update to 0.155.2917
- HI10P is always built after
https://git.videolan.org/?p=x264.git;a=commitdiff;h=71ed44c73124
Changes: https://git.videolan.org/?p=x264.git;a=shortlog;h=0a84d986e7020f8344f00752e3600b9769cc1e85
ABI: https://abi-laboratory.pro/tracker/timeline/x264/ |
0.152.2854 29 Dec 2017 02:55:42
  |
jbeich  |
multimedia/{lib,}x264: update to 0.152.2854
Changes: https://git.videolan.org/?p=x264.git;a=shortlog;h=e9a5903edf8ca59ef20e6f4894c196f135af735e |
0.148.2795 14 Jul 2017 23:58:25
  |
jbeich  |
multimedia/x264: r445837 forgot to move option helpers
PR: 220694
Approved by: portmgr blanket
MFH: 2017Q3
Differential Revision: https://reviews.freebsd.org/D11566 |
0.148.2795 14 Jul 2017 23:42:13
  |
jbeich  |
multimedia/x264: enable FFMS, LAVF, SWSCALE by default
Without FFmpeg-based demuxers x264 CLI can only read raw formats as
source. So, enable more options to allow the binary package not only
write but also read mp4/mkv.
PR: 220694
Approved by: koobs (maintainer)
MFH: 2017Q3 (usability improvement)
Differential Revision: https://reviews.freebsd.org/D11566 |
0.148.2795 14 Jul 2017 23:42:04
  |
jbeich  |
multimedia/libx264: yasm is only used on x86, other archs use GNU as
PR: 220694
Approved by: koobs (maintainer)
MFH: 2017Q3 (minor build optimization)
Differential Revision: https://reviews.freebsd.org/D11566 |
0.148.2795 14 Jul 2017 23:41:54
  |
jbeich  |
multimedia/x264: yasm is only used by libx264, so move ASM option there
PR: 220694
Approved by: koobs (maintainer)
MFH: 2017Q3 (minor build optimization)
Differential Revision: https://reviews.freebsd.org/D11566 |
0.148.2708 23 Sep 2016 13:15:06
  |
jbeich  |
multimedia/libx264: clarify slave helper from r413179
Differential Revision: https://reviews.freebsd.org/D7958
Requested by: koobs (maintainer) |
0.148.2708 23 Sep 2016 13:14:54
  |
jbeich  |
multimedia/x264: switch to _ENABLE option helper
Many opposite switches are not available, so with default options
selected this change incurs the following warnings.
multimedia/libx264:
Unknown option --enable-asm, ignored
Unknown option --disable-debug, ignored
Unknown option --enable-opencl, ignored
multimedia/x264:
Unknown option --enable-asm, ignored
Unknown option --disable-debug, ignored
Unknown option --enable-lsmash, ignored
Differential Revision: https://reviews.freebsd.org/D7958
Requested by: koobs (maintainer) |
0.148.2708 23 Sep 2016 13:14:44
  |
jbeich  |
bsd.options.desc.mk: add common OPENCL option description
Differential Revision: https://reviews.freebsd.org/D7958 |
0.148.2708 23 Sep 2016 13:14:29
  |
jbeich  |
multimedia/x264: update to 0.148.2708
Changes: https://git.videolan.org/?p=x264.git;a=shortlog;h=86b71982e131eaa70125f8d0e725fcade9c4c677
Differential Revision: https://reviews.freebsd.org/D7958
Approved by: koobs (maintainer) |
0.144.2533_3 23 Sep 2016 13:14:11
  |
jbeich  |
multimedia/x264: add OPENCL option, enabled by default
Before OpenCL can be used for lookahead install at least one
implementation: devel/freeocl, devel/pocl, lang/beignet or lang/clover.
$ x264 --fullhelp | fgrep opencl
--opencl Enable use of OpenCL
--opencl-clbin <string> Specify path of compiled OpenCL kernel cache
--opencl-device <integer> Specify OpenCL device ordinal
where the options also work in other apps e.g.,
$ ffmpeg -i <input-file> -codec:v libx264 -x264opts opencl:opencl-device=1
<output-file>
$ mpv --ovc libx264 --ovcopts-add x264opts=opencl:opencl-device=1 -o
<output-file> <input-file>
Differential Revision: https://reviews.freebsd.org/D7958
Approved by: koobs (maintainer) |
0.144.2533_2 23 Sep 2016 13:12:07
  |
jbeich  |
multimedia/x264: don't require SSE on i386 with ASM=on (default)
Remove "-march=i686 -mfpmath=sse -msse" and "-msse2" on later versions
when building C files. This doesn't affect hand-written assembly which
relies on CPUID but may pessimize compiler (around 2.3 % on Skylake).
Differential Revision: https://reviews.freebsd.org/D7958
Approved by: koobs (maintainer) |
0.144.2533_1 13 Apr 2016 09:53:47
  |
jbeich  |
multimedia/x264: add FFMS and LSMASH options
Switch to LSMASH by default to follow vendor configure behavior.
Approved by: koobs (maintainer, via private mail)
Differential Revision: https://reviews.freebsd.org/D5861 |
0.144.2533_1 13 Apr 2016 09:52:35
  |
jbeich  |
multimedia/{,lib}x264: modernize
- Convert to option helpers
- Convert to USES=localbase + respect CPPFLAGS
- Convert to USES=shebangfix (can be zsh->bash symlink)
- Simplify SLAVE_PORT conditionals into ?=, += and !target()
- Drop unnecessary `cd` before PGO sample
- Drop no longer necessary .include <bsd.port.options.mk>
Approved by: koobs (maintainer, via private mail)
Differential Revision: https://reviews.freebsd.org/D5862 |
0.144.2533_1 13 Apr 2016 09:52:04
  |
jbeich  |
multimedia/libx264: drop unused pkg-descr
$ make -V DESCR
/usr/ports/multimedia/libx264/../x264/pkg-descr
Approved by: portmgr blanket |
0.144.2533_1 13 Apr 2016 09:51:42
  |
jbeich  |
multimedia/x264: make options actually affect dependencies
Approved by: koobs (maintainer, via private mail)
Differential Revision: https://reviews.freebsd.org/D5860 |
0.144.2533_1 23 Jul 2015 09:21:45
  |
koobs  |
multimedia/libx264: Move libx264 stdin.h patch to x264 port
Move the libx264 patch for stdint.h handling on FreeBSD to the multimedia/x264
port, as FILESDIR is inherited from there, thus causing the patch not to be
applied.
Reported by: kwm
Reviewed by: kwm
Tested by: kwm
Differential Revision: https://reviews.freebsd.org/D3168 |
0.144.2533 03 Jul 2015 12:14:08
  |
koobs  |
multimedia/{lib}x264: Fix distinfo's
Delete distinfo from libx264 since it is s now subordinate to the x264 port.
Also correctly update distinfo for x264, including the example.y4m.bz2 video
file for profile guided optimization (OPTION: PGO).
PR: 201260
Reported by: Ajtim <lumiwa gmail com> (via email) |
0.144.2533 03 Jul 2015 07:02:44
  |
koobs  |
multimedia/{lib}x264: Update to 0.144.2533 and major refactor
- Update to 0.144.2533 (from upstream stable branch) [1]
- Switch x264 and libx264 ports to master/slave ports respectively
- Bump PORTREVISION for dependent ports as the shared library version
has changed.
multimedia/x264:
- Clean up and update "updating instructions" in Makefile header
- Tweak COMMENT
- Only LIB_DEPENDS on libx264 and add PLIST_FILES if this isn't the
libx264 port.
- Allow COMMENT, USES, OPTIONS_*, CONFIGURE_ARGS to be overriden in
libx264 port.(Only the first 15 lines of the commit message are shown above ) |
0.142.2455_3 19 Jun 2015 13:12:22
  |
kwm  |
Our stdint.h is a symlink to sys/stdint.h so we need to teach x264 the
header guard of the sys/stdint.h file. Otherwise compiling software with the
x264.h header will generate a warning about the mismatch header guard.
Approved by: maintainer (koobs@)
Differential Revision: https://reviews.freebsd.org/D2863 |
0.142.2455_2 25 Mar 2015 17:36:48
  |
marino  |
multimedia category: Remove $PTHREAD_LIBS
approved by: PTHREAD blanket |
0.142.2455_2 27 Jan 2015 04:38:12
  |
koobs  |
multimedia/{lib}x264: Update minimum yasm version
Update the minimum version of yasm required in BUILD_DEPENDS.
PR: 196991
Submitted by: takefu airport.fm |
0.142.2455_2 07 Jan 2015 18:54:55
  |
sbruno  |
Pull in upstream commits to our libx264 to deal with the clang 3.5
-integrated-as defaults for ARMv6 compilation.
Handling for koobs@ while he's on vacation.
PR: 196591
Submitted by: mikael.urankar@gmail.com
Approved by: mentor (implicit) |
0.142.2455_1 31 Dec 2014 06:20:14
  |
koobs  |
multimedia/{lib}x264: Fix build on ARMv6
- Fix build for missing symbols on ARMv6 [1]
- Backport upstream 9463ec00 to fix default AS on ARM [2]
- Remove unecessary WRKSRC override (x264)
- Whitespace alignment
[2] http://git.videolan.org/?p=x264.git;a=patch;h=9463ec
PR: 196033 [1]
Submitted by: Mikael Urandar <mikael.urankar at gmail com> [1]
Tested by: sbruno |
0.142.2455_1 28 Dec 2014 04:59:37
  |
koobs  |
multimedia/libx264: Fix PGO/GCC options
- Revert options helpers for PGO and GCC .. *shakes fist*. We end up
setting USE_GCC=yes yes otherwise, and that's not valid.
- libx264 and x264 share the same distfiles, use the same DIST_SUBDIR |
0.142.2455_1 24 Dec 2014 22:30:43
  |
koobs  |
multimedia/libx264: Fix spaces to tab |
0.142.2455_1 24 Dec 2014 22:28:07
  |
koobs  |
multimedia/libx264: Merry Modernized Port Christmas
- Update COMMENT (library only)
- Add LICENSE_FILE
- Use pathfix for pkgconfig
- Remove unecessary WRKSRC override
- Use OPTIONS helpers
- Restore PGO option to OPTIONS_DEFINE
- Don't disable CLI so PGO can run. Remove it in post-install:
- Whitespace alignment
- Sort OPTIONS
- Remove -fstack-protector conditional (framework handles this now)
- Strip shared library |
0.142.2455 22 Nov 2014 16:23:34
  |
xmj  |
multimedia/x264: General overhaul
- Split x264 into two ports: the CLI application (x264), and the library
(libx264). This will allow x264 to use lavf and friends from ffmpeg for
decoding and demuxing while preventing a circular dependency between the
two: x264 can depend on ffmpeg, but ffmpeg will depend on libx264 rather
than x264.
- Add the LAVF option to the CLI port, making the dependency on ffmpeg
optional.
- Update to 0.142.2455.
- Amend fixes to local patches so that they can apply to the new upstream
files.
- Provide the git revision and other version information to the build
environment, allowing the CLI binary to display this information (like the
Windows builds).
- Remove unsupported build options (X11_OUTPUT).
- Ensure that the library and CLI ports each have the appropriate options.
- Add notes for future contributors who wish to update the ports.
- Bump PORTREVISION for all dependent ports.
PR: 187805
Differential Revision: https://reviews.freebsd.org/D1159
Submitted by: Andrew Berg <aberg010@my.hennepintech.edu>
Approved by: koobs (maintainer, mentor) |