Commit Graph

69 Commits

Author SHA1 Message Date
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Atemu
0093d837d9 handbrake: use ffmpeg's new override interface
ffmpeg no longer responds to changing version using overrideAttrs. This causes
an issue where a critical patch that is included when ABI == 7.0 would not be
applied because the ffmpeg drv still thinks it's building for ABI 7.0.1.

You must specify the ABI version via the explicit override API now which this
patch does.

The ffmpeg derivation now supports fetching an upstream source for a certain
version; there is no need to do so manually anymore.
2024-06-06 19:57:10 +02:00
qubitnano
2e31e2ee4b handbrake: 1.7.3 -> 1.8.0 2024-05-24 17:38:00 -04:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Colin
af4164cb91 handbrake: 1.6.1 -> 1.7.3
Co-authored-by: Anton Mosich <anton@mosich.at>
2024-03-23 14:11:56 +00:00
Vladimír Čunát
e98b61d9c2
handbrake: fixup build by ffmpeg upstream patch 2024-01-11 16:55:07 +01:00
Thiago Kenji Okada
abf8128af3 handbrake: fix build
There were 2 issues in the current handbrake derivation:
- Since version 1.6.0 upstream is using ffmpeg 5.1.2 instead of 5.1.1
- One of the ffmpeg patches from upstream are not applying anymore at
  least since 5.1.1

This commit fixes those 2 issues and allow handbrake to build again.
2023-06-03 20:34:53 +01:00
laalsaas
c8bb1b66fd handbrake: 1.5.1 -> 1.6.1
Additionaly, use the ffmpeg patches from upstream and bump ffmpeg
version to 5.1.

Fixes #211297
2023-02-01 22:54:39 +01:00
Anthony Cowley
9c85db3a37 handbrake: build against ffmpeg with custom patches
The Handbrake project carries a set of ffmpeg patches required for
things like proper subtitle timing.

See: https://github.com/HandBrake/HandBrake/issues/4029
2022-11-05 18:59:17 +08:00
Sandro Jäckel
2a83c2c530
handbrake: remove not required ? null 2022-08-19 19:21:06 +02:00
Alyssa Ross
153bfc9966
treewide: use isx86 where appropriate 2022-07-30 16:21:10 +00:00
Artturin
f1c7f19e49 treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
Patrick Hilhorst
8b86f9816d
handbrake: convert nixos test to runCommand 2022-01-23 16:42:27 +01:00
Anton-Latukha
b6532ee3b4
handbrake: 1.4.2 -> 1.5.1 2022-01-10 23:44:23 +02:00
Ryan Burns
772069c287 handbrake: mark broken on darwin < 10.13 2021-11-07 16:50:49 -08:00
Peter Hoeg
c207be6591
handbrake: 1.3.3 -> 1.4.2 (#143654)
* handbrake: 1.3.3 -> 1.4.2
* handbrake: minor test cleanups
2021-11-07 09:03:58 +08:00
Anthony Cowley
a404eb2a02 handbrake: fix audio when linking with ffmpeg-4.4
Handbrake rips do not include working audio without this upstream patch.
2021-05-26 22:09:18 -04:00
Alyssa Ross
427097c8c4 handbrake: don't manually enableParallelBuilding
This is automatic for Meson builds.
2021-05-12 11:57:35 +00:00
Sandro Jäckel
3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Benjamin Esham
0e60d79f2a
handbrake: fix Darwin build (#89674)
- Omit the numactl dependency under Darwin.
- Prevent the configure script from checking for xcodebuild. This check
  always failed (because xcodebuild isn't available in the build
  context) but xcodebuild isn't actually needed for the build, which
  uses --disable-xcode.
- Use the Nix-provided libxml2 under Darwin like we already do under
  Linux.
2020-10-03 08:13:50 -04:00
Anton-Latukha
3348912c56
handbrake: 1.3.2 -> 1.3.3
M  pkgs/applications/video/handbrake/default.nix
2020-06-14 12:17:36 +03:00
Peter Hoeg
423296fc35 handbrake: do not harden on arm 2020-05-20 12:27:57 +08:00
Peter Hoeg
c729ec59a9 doc and remove superfluous toString 2020-05-19 21:50:39 +08:00
Peter Hoeg
ed077f6818 handbrake: allow building from checkout 2020-05-19 12:19:13 +08:00
Anton-Latukha
17125fd235
handbrake: 1.3.1 -> 1.3.2
M  pkgs/applications/video/handbrake/default.nix
2020-05-05 14:14:37 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Bruno Bigras
95124a4877 handbrake: 1.3.0 -> 1.3.1 2020-02-07 09:56:40 -05:00
Robin Gloster
f9f46dc327
treewide: NIX_*_FLAGS -> string 2019-12-31 00:15:46 +01:00
Anthony Cowley
7978601e8d handbrake: remove nasm and cmake dependencies
These were included by the handbrake build because they are used by external dependencies. In nixpkgs, we build those dependencies (e.g. codecs) separately, and so excise the check for these tools from the handbrake build.
2019-12-20 22:08:29 -05:00
Anthony Cowley
b4dea13eb4 handbrake: 1.2.2 -> 1.3.0
This update is important as handbrake 1.2.2 no longer builds with
nixpkgs due to an unrelated update to pango-1.44.x as described
[here](https://github.com/HandBrake/HandBrake/issues/2226).

Fixes #73399
2019-12-20 22:00:58 -05:00
Anthony Cowley
d51e366ffe handbrake: fix missing audio
We build HandBrake with a newer ffmpeg than upstream expects,
triggering a problem where the audio samplerate defaults to zero
because HandBrake was not explicitly setting it.

This has been fixed in HandBrake upstream, but we must cherry pick
this change in order to produce videos with audio until HandBrake
1.3.0 is released.
2019-10-23 15:33:08 -04:00
Vladimír Čunát
48af02a402
Merge #63643: handbrake: fix build on Darwin 2019-09-16 08:28:04 +02:00
Vladimír Čunát
aaf3881a80
handbrake: enableParallelBuilding = false
It doesn't build too long anyway, so let's prefer reliability.
2019-09-16 08:26:51 +02:00
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
Benjamin Esham
765cd8c2ed handbrake: fix Darwin build by turning off GUI support
This involved several pieces:

- Always disable GTK GUI support under Darwin. The gtk3 package depends
  transitively on dbus, which depends transitively on systemd, which is
  not currently supported on Darwin. (I gather that it may be possible
  to work around this in the future.)
- Also disable the native GUI support under Darwin (using the
  --disable-xcode flag). Building this GUI would require using the Xcode
  build system, which I was not able to figure out how to do; for now,
  all builds on Darwin are command-line-only.
- Add the lzma package as a dependency on all platforms.
- Add dependencies on the AudioToolbox, Foundation, libobjc, and
  VideoToolbox packages on Darwin.
2019-07-19 13:16:11 -04:00
Tor Hedin Brønner
3388f833d7
handbrake: add required harfbuzz dependency
This was previously propagated by pango.
2019-04-05 12:14:09 +02:00
Anton-Latukha
997be75586 handbrake: rm callPackage dep 2019-02-23 20:30:14 +02:00
Anton-Latukha
a541cf884b handbrake: 1.2.1 -> 1.2.2 2019-02-23 20:29:53 +02:00
Anton-Latukha
de0366f4db handbrake: 1.2.0 -> 1.2.1 2019-02-19 13:37:29 +02:00
Anton-Latukha
9f6e6f9b31 nv-codec-headers: bring package to top-level 2019-01-05 03:31:43 +02:00
Anton-Latukha
6ebcbd0c97 handbrake: 1.2.0: ffmpeg_4 -> ffmpeg-full 2018-12-28 20:05:20 +02:00
Anton-Latukha
fd8a90f5ca handbrake: 1.2.0: updating deps
rm yasm - dropped
rm bzip2, zlib - no needed for build
rm mp4v2, libmkv, mpeg2dec - drop abandonware, HandBrake now uses FFMpeg for that
add nasm, speex, nv-codec-headers - new required deps
2018-12-28 20:03:21 +02:00
Anton-Latukha
42f660a3a0 handbrake: 1.2.0: add cmake, no cmake conf 2018-12-27 20:12:14 +02:00
Anton-Latukha
0f83cff8a2 handbrake: 1.2.0: switch to FFMpeg, deps sort 2018-12-27 18:32:38 +02:00
Anton-Latukha
3f222747bf handbrake: 1.1.2 -> 1.2.0 2018-12-27 03:22:05 +02:00
Daniël de Kok
6c2050fd9c handbrake: 1.1.0 -> 1.1.2
Changes:

https://github.com/HandBrake/HandBrake/releases/tag/1.1.2
https://github.com/HandBrake/HandBrake/releases/tag/1.1.1

Derivation changes:

Transcoding to to MP4 was broken, failing with:

Tag avc1/0x31637661 incompatible with output codec id '28'
muxavformat: avformat_write_header failed!

Fix this using A20-avc3-hvc1-override.patch provided by upstream.
2018-11-12 07:44:19 +01:00
Frederik Rietdijk
099c13da1b Merge staging-next into master (#44009)
* substitute(): --subst-var was silently coercing to "" if the variable does not exist.

* libffi: simplify using `checkInputs`

* pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix

* utillinux: 2.32 -> 2.32.1

https://lkml.org/lkml/2018/7/16/532

* busybox: 1.29.0 -> 1.29.1

* bind: 9.12.1-P2 -> 9.12.2

https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html

* curl: 7.60.0 -> 7.61.0

* gvfs: make tests run, but disable

* ilmbase: disable tests on i686. Spooky!

* mdds: fix tests

* git: disable checks as tests are run in installcheck

* ruby: disable tests

* libcommuni: disable checks as tests are run in installcheck

* librdf: make tests run, but disable

* neon, neon_0_29: make tests run, but disable

* pciutils: 3.6.0 -> 3.6.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pciutils/versions.

* mesa: more include fixes

mostly from void-linux (thanks!)

* npth: 1.5 -> 1.6

minor bump

* boost167: Add lockfree next_prior patch

* stdenv: cleanup darwin bootstrapping

Also gets rid of the full python and some of it's dependencies in the
stdenv build closure.

* Revert "pciutils: use standardized equivalent for canonicalize_file_name"

This reverts commit f8db20fb3a.
Patching should no longer be needed with 3.6.1.

* binutils-wrapper: Try to avoid adding unnecessary -L flags

(cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9)
Signed-off-by: Domen Kožar <domen@dev.si>

* libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.

* "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook

* python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes #40273

When `py.test` was run with a folder as argument, it would not only
search for tests in that folder, but also create a .pytest-cache folder.
Not only is this state we don't want, but it was also causing
collisions.

* parity-ui: fix after merge

* python.pkgs.pytest-flake8: disable test, fix build

* Revert "meson: 0.46.1 -> 0.47.0"

With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes #43650.

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 15:04:48 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00