Commit Graph

42 Commits

Author SHA1 Message Date
Artturi
4b27e14f8c
Merge pull request #265738 from Artturin/patchshebangcon
stdenv: run patchShebangs on the configure script when it's a file
2023-11-26 01:28:41 +02:00
Artturin
20591326aa treewide: remove unnecessary patching of configure script
The configure phase of `stdenv` now runs `patchShebangs` on
`configureScript`.

Did not remove `patchShebangs` in packages which override `configurePhase`
2023-11-25 18:16:12 +02:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
Atemu
9bd2506458 treewide: make ffmpeg_4-dependant packages depend on ffmpeg_4
These packages were identified as broken when ffmpeg = ffmpeg_5.

Tested _only_ by building them. If you are a maintainer of one of these
packages, please test whether your package still works.
2023-03-13 16:42:22 -06:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Vladimír Čunát
b5ace1ffc0
furnace, tvheadend: more fallout from gcc upgrade 2023-02-12 14:20:35 +01:00
Fabián Heredia Montiel
0cf5d85f0c treewide: add gcc12 flags 2023-01-27 21:20:52 -06:00
Yarny0
f6e4fe96f4 dtv-scan-tables: set PREFIX=$out, put files in /share/dvbv5/..
This changes the output directory layout:
Channel files are placed in `$out/share/dvbv5/dvb-xyz`
instead of `$out/dvbv5/dvb-xyz`.
This is closer to the layout common for other packages
and facilitates merging packages with `buildEnv`.

The only depender `tvheadend` is updated accordingly.
2023-01-15 10:56:32 +01:00
Martin Weinelt
b948496d97
dtv-scan-tables: 2020-05-18 -> 2022-10-27
Extracted from tvheadend and exposed as top-level attribute.
2022-12-21 16:58:17 +01:00
Martin Weinelt
c211b4787e
tvheadend: refactor
- Split off more nativeBuildInputs
- Create dedicated man output
- Prune dependencies
- Disable static builds for lots of codecs
- Enable parallel building
- Update meta
2022-12-21 16:58:16 +01:00
Martin Weinelt
8091f32439
tvheadend: use python3 2022-12-21 16:58:16 +01:00
Sergei Trofimovich
dfbb960094 tvheadend: pull upstream fix for -fno-common toolchains
Without the change build fails on upstream gcc-10 as:

    ld: src/descrambler/constcw.o:src/input.h:131: multiple definition of
      `tvh_inputs'; src/main.o:src/input.h:131: first defined here
2022-06-09 23:06:06 +01:00
Robert Schütz
d5cceedbd1 python,pythonPackages: make aliases
Since aliases are disallowed in nixpkgs, this makes usage of Python 2
which is EOL more explicit.
2022-01-16 18:39:59 +00:00
Jaakko Luttinen
3f2c99d8a1 tvheadend: use ffmpeg_4 instead of ffmpeg_3 2021-08-25 20:20:56 +02:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07: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
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Daniel Fullmer
2b49e84514 tvheadend: include dtv scan tables 2020-07-30 23:22:46 +02:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Franz Pletz
a0d2774f61
tvheadend: fix build with gcc9 2019-11-03 14:43:40 +01:00
Aaron Andersen
823c05e0e8 tvheadend: fix broken build 2019-09-12 21:11:56 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
R. RyanTM
551e7393ad tvheadend: 4.2.7 -> 4.2.8 (#54038)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tvheadend/versions
2019-02-24 00:36:23 +01:00
R. RyanTM
f02d1e6064 tvheadend: 4.2.6 -> 4.2.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tvheadend/versions
2018-10-14 09:49:41 +02:00
Ryan Mulligan
8a1c9a2ce2 tvheadend: 4.2.5 -> 4.2.6
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/tvheadend/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend -h` got 0 exit code
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend --help` got 0 exit code
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend help` got 0 exit code
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend -V` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend -v` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend --version` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend version` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend -h` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend --help` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/tvheadend help` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped -h` got 0 exit code
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped --help` got 0 exit code
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped help` got 0 exit code
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped -V` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped -v` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped --version` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped version` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped -h` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped --help` and found version 4.2.6
- ran `/nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6/bin/.tvheadend-wrapped help` and found version 4.2.6
- found 4.2.6 with grep in /nix/store/b6w4xxckl2r7raw0zcyiq27f79cv16ng-tvheadend-4.2.6
- directory tree listing: https://gist.github.com/9bfa9dd5fc53c3f7b58b2db82fee94ef
2018-03-27 22:40:31 -07:00
Ryan Mulligan
542a82c284 tvheadend: 4.2.4 -> 4.2.5
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend -h` got 0 exit code
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend --help` got 0 exit code
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend help` got 0 exit code
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend -V` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend -v` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend --version` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend version` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend -h` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend --help` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/tvheadend help` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped -h` got 0 exit code
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped --help` got 0 exit code
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped help` got 0 exit code
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped -V` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped -v` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped --version` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped version` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped -h` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped --help` and found version 4.2.5
- ran `/nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5/bin/.tvheadend-wrapped help` and found version 4.2.5
- found 4.2.5 with grep in /nix/store/ffbiwxbfdywyhn0ng9lz8zpzjkvaswah-tvheadend-4.2.5

cc "@simonvandel"
2018-02-28 11:37:14 +01:00
Peter Hoeg
9e44d34be2 tvheadend: 4.2.1 -> 4.2.4 2017-11-17 18:04:59 +08:00
Peter Hoeg
af0c3fca1d tvheadend: fix version detection and wrap bzip2 to support backups 2017-11-01 17:41:39 +08:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Simon Vandel Sillesen
b538448f39 tvheadend: 4.0.8 -> 4.2.1 2017-04-22 21:10:52 +02:00
Nick Hu
ff7506d665 tvheadend: fix typo in package description 2017-03-17 17:28:48 +00:00
Simon Vandel Sillesen
640ca7e975 tvheadend: 4.0.7 -> 4.0.8 2015-12-18 17:40:56 +01:00
Simon Vandel Sillesen
c62f051e5a tvheadend: 4.0.6 -> 4.0.7
Also patches a file that would cause a runtime error otherwise
2015-10-24 17:50:30 +02:00
Simon Vandel Sillesen
d495ac2957 tvheadend: 4.0.4 -> 4.0.6
Added a comment about network download, and cleaned it up a little
2015-10-21 09:01:42 +02:00
Pascal Wittmann
18308e6b56 tvheadend: fix build by disabling dvbscan 2015-06-30 13:00:21 +02:00
Simon Vandel Sillesen
9dab1a840c tvheadend: init at 4.0.4 2015-06-24 13:22:09 +00:00