| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Since Linux and similar use system x264, avoid failure on missing/old nasm, since it should not be needed.
|
|
|
|
| |
Tools shipping with Xcode are still in PATH, only moved from first to last priority. Avoids accidentally using old tools where a newer version is installed. This ensures the tools identified by configure will be the exact tools used by make via Xcode.
|
|
|
|
| |
Required for recent x264. Better to fail here than part-way through a build.
|
|
|
|
| |
Fixes #1040.
|
| |
|
| |
|
| |
|
|
|
|
| |
Builds x265 three times, once for each bit depth. Then merges the static libs into one library that HandBrake can statically link against.
|
|
|
|
| |
Instead make sure we have a possibly sane HASH value.
|
|
|
|
| |
Partially fixes building in Xcode via Product > Archive.
|
| |
|
| |
|
|
|
|
| |
Closes #652.
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove Fontconfig on Windows
Let libass use its DirectWrite font provider backend instead of Fontconfig.
This eliminates Fontconfig's font cache generation delay that occurred
at the start of an encode after a system font was (un)installed or when
HandBrake was installed and used to burn text subtitles for the first time.
* Remove LibHB's dependency on Fontconfig when it's not used
|
|
|
|
|
|
|
|
|
| |
file is a Python built-in (https://docs.python.org/2/library/functions.html?highlight=file#file) so it should be avoided as a variable name.
Use "with open" syntax to automate file close where possible.
os.getenv() will return None if the key is not in os.environ.
Use ternary if to simplify conditional assignment where it improves, not hinders, readability.
Closes #500.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Strings in python are immutable and it results in:
Traceback (most recent call last):
File "make/configure.py", line 1592, in <module>
action.run()
File "make/configure.py", line 287, in run
self._action()
File "make/configure.py", line 506, in _action
self.systemf[0] = self.systemf[0].upper()
TypeError: 'str' object does not support item assignment
|
| |
|
|
|
|
| |
configure.py fails hard when .git or version.txt are not present, usually when downloading a source archive from GitHub or other git-archive use. This allows configure to fail gracefully, printing instructions to work from a git clone or download a proper source archive.
|
|
|
|
| |
Superseded by https://handbrake.fr/docs
|
|
|
|
|
|
|
| |
Also refactor test.* convenience targets for Darwin/Mac.
Configure parameter --prefix now sets HandBrakeCLI install directory [/usr/local] like on other systems.
New configure parameter --xcode-prefix sets HandBrake.app install directory [/Applications]. Not used on other systems.
|
| |
|
| |
|
|
|
|
| |
Closes #356.
|
|
|
|
|
|
| |
Makes build reproducible per https://wiki.debian.org/ReproducibleBuilds
Signed-off-by: Chris Lamb <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Remove:
hb_audio_samplerate_get_best()
Add:
hb_audio_samplerate_is_supported()
hb_audio_samplerate_find_closest()
hb_audio_samplerate_get_sr_shift()
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* LinGui: add --flatpak configure option
For building a linux flatpak bundle
* LinGui: add rules to build flatpak repo and bundles
* LinGui: add flatpak compatible icon
* LinGui: add flatpak compatible desktop file
* LinGui: add flatpak appdata xml
* pkg: disable building LinGui when creating cli flatpak
* pkg: clean flatpak build cache when updating source package
* pkg: fix source package build dependencies
Fixes errors when the git ref being packaged changes and you have not
manually deleted stage and pkg build directories.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
HarfBuzz is now enabled when building libass.
Resolves #162.
Additional libass notes:
- Add yasm dependency for better performance.
- Remove no longer valid configure params.
- Disable new coretext and directwrite font selection backends pending additional testing (coretext did not build properly).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- df-fetch --disable: exit with error to stop make.
- df-fetch raise error when no URLs specified, or available due to ACLs.
- df-verify report errors consistent with df-fetch.
|
|
|
|
|
| |
pkgconfig module is specified twice by the build system, causing much
grief. Caused when both local-autotools and local-pkgconfig are enabled.
|
|
|
|
| |
- remove configure --df-exhaust-url
|
|
|
|
|
| |
Specifying this option will cause fetching to run through all
active URLs. Decent way to test all URLs.
|
|
|
|
|
|
|
| |
- moved common python code to lib/hb_distfile.py
- beautified tmpfile creation
- added stack-style resource management to df-fetch
- fixed contrib assumptions about single URL
|
| |
|
|
|
|
|
| |
New target sits between extract and fetch. Thus every build ensures that
exach tarball is not corrupt before extract.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fetch is now python-based and runs on the same version as does
configure. The source script is make/fetch.py. New features:
MD5 hash tracking for tarballs. Data values for all contribs added.
Upon download, the file will be verified, and only then will it be moved
into place inside downloads/ . Files that exist before the build system
does a fetch will not be md5-checked.
Multiple URLs for tarballs. Each module may specify one or more URLs and
by convention the official HandBrake should be first when possible. Each
URL is tried in sequence, and if it fails for any reason, the next URL
is tried. If no URL succeeds, a hard-error is reported.
Network fetching may be disabled via configure options. --disable-fetch
will hard-error if a fetch is attempted. --accept-fetch-url=SPEC and
--deny-fetch-url=SPEC offer an ACL-style mechanism using regex to match
against URLs. For example, --accept-fecth-url='.*/download.handbrake.fr/.*'
would skip any non-matching URLs.
Build dependencies have been lightened. wget and curl are no longer
required. TODO: GTK packaging should also be able to remove those deps.
|
|
|
|
|
|
| |
* build: add ability to set c++ standard
* fdk-aac: Fix building with g++ 6, set c++98 standard
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* remove dxva hw decode
It provides practically no speed increase even on a slow CPU and results
in a speed decrease on fast CPUs. And the code is exceptionally fugly.
* cli: remove USE_HWD
|
| |
|
|
|
|
|
|
| |
There is a license incompatibility with gpl :(
(cherry picked from commit 6da861c9dc023e5b7cad648d596f571ee1214bbf)
|
| |
|