Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: de357d57811b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 059a57261678
Choose a head ref

Commits on Sep 25, 2019

  1. nixos/nextcloud: add Strict-Transport-Security

    This commit adds a Strict-Transport-Security header to
    the nginx config file generated by the nextcloud module.
    
    The Strict-Transport-Security header is recommended in
    official guide for hardening Nextcloud installations:
    https://docs.nextcloud.com/server/16/admin_manual/installation/harden_server.html
    
    Further, if it is not set, we see a warning in the security scan results
    in the Nextcloud admin panel:
    
    ```
    The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips
    
    ```
    Daniel KT committed Sep 25, 2019
    Copy the full SHA
    4590a23 View commit details

Commits on Sep 30, 2019

  1. phpPackages.pcov: init at 1.0.6

    shyim committed Sep 30, 2019
    Copy the full SHA
    734f89e View commit details

Commits on Oct 17, 2019

  1. Copy the full SHA
    d54fda4 View commit details

Commits on Oct 22, 2019

  1. Copy the full SHA
    f34d39d View commit details
  2. Copy the full SHA
    ff88fe0 View commit details

Commits on Oct 24, 2019

  1. s3backer: 1.5.2 -> 1.5.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/s3backer/versions
    r-ryantm committed Oct 24, 2019
    Copy the full SHA
    3f8450e View commit details
  2. Copy the full SHA
    e9de202 View commit details
  3. Copy the full SHA
    8d8ea13 View commit details
  4. Copy the full SHA
    433bcdd View commit details

Commits on Oct 26, 2019

  1. bash-completion: fix build on darwin

    Disable tests on Darwin because is failing consistently.
    marsam committed Oct 26, 2019
    Copy the full SHA
    bef1709 View commit details
  2. Copy the full SHA
    4d76fcf View commit details
  3. Copy the full SHA
    0fbf0d1 View commit details
  4. eksctl: 0.6.0 -> 0.7.0

    xrelkd committed Oct 26, 2019
    Copy the full SHA
    29d21c3 View commit details
  5. Merge pull request #72003 from marsam/bash-completion-disable-check-d…

    …arwin
    
    bash-completion: fix build on darwin
    marsam authored Oct 26, 2019
    Copy the full SHA
    1261ee0 View commit details
  6. Merge pull request #71014 from xrelkd/update/eksctl

    eksctl: 0.6.0 -> 0.7.0
    marsam authored Oct 26, 2019
    Copy the full SHA
    5fd5403 View commit details
  7. mupdf: provide symlink mupdf -> mupdf-x11

    This symlink is present on other distros and avoids confusing users on the CLI,
    which are used to calling mupdf-x11 as mupdf.
    wamserma authored and Lassulus committed Oct 26, 2019
    Copy the full SHA
    86ccc63 View commit details
  8. vcv-rack: Fix issues from missing upstream dependency

    The revision of the glfw fork that Rack depends on has been removed from
    GitHub. This causes cloning of the glfw submodule for the Rack git
    repository to fail.
    
    As the glfw fork just adds a function that is only needed on Darwin (and
    we don't support that platform at the moment) we remove the function
    call from the Rack source. We can then use the upstream version of glfw.
    
    We fetch the rest of the submodules manually as well.
    
    See #71189 for the context.
    Moredread authored and Lassulus committed Oct 26, 2019
    Copy the full SHA
    0347078 View commit details
  9. vimPlugins: update

    timokau committed Oct 26, 2019
    Copy the full SHA
    162e1c5 View commit details
  10. Merge pull request #69436 from tshaynik/fix/nextcloud-nginx-sts

    nixos/nextcloud: add Strict-Transport-Security
    aanderse authored Oct 26, 2019
    Copy the full SHA
    3347416 View commit details
  11. EZminc: 2017-08-29 -> 2019-07-25; mark unbroken

    bcdarwin authored and Jon committed Oct 26, 2019
    Copy the full SHA
    ddc2955 View commit details
  12. pythonPackages.pyezminc: mark as unbroken

    bcdarwin authored and Jon committed Oct 26, 2019
    Copy the full SHA
    8d7fef4 View commit details
  13. Merge pull request #72031 from timokau/vimPlugins-2019-10-26

    vimPlugins: update
    timokau authored Oct 26, 2019
    Copy the full SHA
    fe625dc View commit details
  14. Merge pull request #71284 from xfix/zfsbackup-go

    zfsbackup: init at unstable-2019-03-05
    markuskowa authored Oct 26, 2019
    Copy the full SHA
    4c0afa1 View commit details
  15. eva: init at 0.2.5

    Timothy DeHerrera committed Oct 26, 2019
    Copy the full SHA
    1abe0ef View commit details
  16. keepassxc: 2.4.3 -> 2.5.0

    jonafato committed Oct 26, 2019
    Copy the full SHA
    bfa71df View commit details

Commits on Oct 27, 2019

  1. croc: 6.1.4 -> 6.2.0

    HugoReeves committed Oct 27, 2019
    Copy the full SHA
    1591ebf View commit details
  2. Merge pull request #71602 from xrelkd/update/youtube-dl

    youtube-dl: 2019.10.16 -> 2019.10.22
    worldofpeace authored Oct 27, 2019
    Copy the full SHA
    7edc64b View commit details
  3. rclone: 1.49.5 -> 1.50.0

    colemickens authored and ehmry committed Oct 27, 2019
    Copy the full SHA
    aec323c View commit details
  4. Copy the full SHA
    e4da527 View commit details
  5. Merge pull request #72047 from nrdxp/eva

    eva: init at 0.2.5
    Ma27 authored Oct 27, 2019
    Copy the full SHA
    94da95e View commit details
  6. Merge pull request #72053 from jonafato/keepassxc-2.5.0

    keepassxc: 2.4.3 -> 2.5.0
    Ma27 authored Oct 27, 2019
    Copy the full SHA
    06246ae View commit details
  7. Merge pull request #70068 from shyim/add-pcov

    phpPackages.pcov: init at 1.0.6
    etu authored Oct 27, 2019
    Copy the full SHA
    32c47ab View commit details
  8. mythtv: 29.1 -> 30.0 (#71002)

    LouisDK1 authored and rycee committed Oct 27, 2019
    Copy the full SHA
    2896f00 View commit details
  9. calamares: fix qt path

    manveru authored and Lassulus committed Oct 27, 2019
    Copy the full SHA
    f223642 View commit details
  10. Merge pull request #72061 from HugoReeves/master

    croc: 6.1.4 -> 6.2.0
    mmahut authored Oct 27, 2019
    Copy the full SHA
    a04feba View commit details
  11. riscv-pk-with-kernel: remove

    hasn't evaluated sind Nov 2018, due to linux_riscv not existing since
    then
    globin committed Oct 27, 2019
    Copy the full SHA
    d06a481 View commit details
  12. Copy the full SHA
    b3a629c View commit details
  13. Merge pull request #71465 from etu/phpstan-upgrade

    phpPackages.phpstan: 0.11.16 -> 0.11.19
    infinisil authored Oct 27, 2019
    Copy the full SHA
    ed14f35 View commit details
  14. Merge pull request #71693 from turboMaCk/elm-0.19.1-node-packages-upd…

    …ates
    
    elmPackages.{elm-test,elm-analyse}: elm 0.19.1 updates
    domenkozar authored Oct 27, 2019
    Copy the full SHA
    0b3ae79 View commit details
  15. tomahawk: Remove unmaintained broken package

    Has been marked broken since 2018 and marked as abandoned upstream since
    2017.
    JohnAZoidberg committed Oct 27, 2019
    Copy the full SHA
    417c853 View commit details
  16. taglib_1_9: Removed, not needed anymore

    Was used by, the now removed, tomahawk.
    JohnAZoidberg committed Oct 27, 2019
    Copy the full SHA
    a3a782e View commit details
  17. Merge pull request #71901 from mmahut/jormungandr

    jormungandr: 0.7.0-alpha.dev.1 -> 0.7.0-rc1
    mmahut authored Oct 27, 2019
    Copy the full SHA
    ddf2305 View commit details
  18. Merge pull request #71883 from r-ryantm/auto-update/s3backer

    s3backer: 1.5.2 -> 1.5.4
    mmahut authored Oct 27, 2019
    Copy the full SHA
    4a7bb28 View commit details
  19. Merge pull request #72082 from JohnAZoidberg/remove-taglib_1_9

     taglib_1_9, tomahawk:Remove unmaintained packages
    flokli authored Oct 27, 2019
    Copy the full SHA
    a2f50c0 View commit details
  20. verifpal: 0.2.0 → 0.7.5 (#72026)

    jtojnar authored and ehmry committed Oct 27, 2019
    Copy the full SHA
    e59c610 View commit details
  21. Merge pull request #72078 from prusnak/py3buddy

    pythonPackages.py3buddy: init at unstable-2019-09-29
    mmahut authored Oct 27, 2019
    Copy the full SHA
    aa06cb3 View commit details
  22. Merge master into staging-next

    FRidh committed Oct 27, 2019
    Copy the full SHA
    bb05aca View commit details
  23. Merge staging-next into staging

    FRidh committed Oct 27, 2019
    Copy the full SHA
    059a572 View commit details
Showing with 1,265 additions and 512 deletions.
  1. +1 −0 nixos/modules/services/web-apps/nextcloud.nix
  2. +0 −56 pkgs/applications/audio/tomahawk/default.nix
  3. +41 −13 pkgs/applications/audio/vcv-rack/default.nix
  4. +0 −13 pkgs/applications/audio/vcv-rack/glfw.patch
  5. +16 −0 pkgs/applications/audio/vcv-rack/remove-custom-glfw-function.patch
  6. +3 −3 pkgs/applications/blockchains/jormungandr/default.nix
  7. +2 −2 pkgs/applications/misc/keepassx/community.nix
  8. +1 −0 pkgs/applications/misc/mupdf/default.nix
  9. +2 −2 pkgs/applications/networking/sync/rclone/default.nix
  10. +7 −7 pkgs/applications/science/biology/EZminc/default.nix
  11. +15 −15 pkgs/applications/video/mythtv/default.nix
  12. +51 −0 pkgs/applications/video/mythtv/disable-os-detection.patch
  13. +19 −0 pkgs/applications/video/mythtv/exiv2.patch
  14. +1 −3 pkgs/development/compilers/elm/default.nix
  15. +1 −1 pkgs/development/compilers/elm/packages/node-packages.json
  16. +204 −297 pkgs/development/compilers/elm/packages/node-packages.nix
  17. +0 −22 pkgs/development/libraries/taglib/1.9.nix
  18. +1 −1 pkgs/development/libraries/taglib/default.nix
  19. +38 −0 pkgs/development/python-modules/py3buddy/default.nix
  20. +0 −1 pkgs/development/python-modules/pyezminc/default.nix
  21. +35 −35 pkgs/misc/vim-plugins/generated.nix
  22. +2 −2 pkgs/servers/documize-community/default.nix
  23. +1 −1 pkgs/shells/bash/bash-completion/default.nix
  24. +3 −3 pkgs/tools/admin/eksctl/default.nix
  25. +25 −0 pkgs/tools/backup/zfsbackup/default.nix
  26. +273 −0 pkgs/tools/backup/zfsbackup/deps.nix
  27. +2 −2 pkgs/tools/filesystems/s3backer/default.nix
  28. +5 −5 pkgs/tools/misc/calamares/default.nix
  29. +454 −0 pkgs/tools/misc/eva/Cargo.lock.patch
  30. +24 −0 pkgs/tools/misc/eva/default.nix
  31. +2 −2 pkgs/tools/misc/youtube-dl/default.nix
  32. +3 −3 pkgs/tools/networking/croc/default.nix
  33. +13 −9 pkgs/tools/security/verifpal/default.nix
  34. +7 −12 pkgs/top-level/all-packages.nix
  35. +11 −2 pkgs/top-level/php-packages.nix
  36. +2 −0 pkgs/top-level/python-packages.nix
1 change: 1 addition & 0 deletions nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
@@ -532,6 +532,7 @@ in {
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
client_max_body_size ${cfg.maxUploadSize};
56 changes: 0 additions & 56 deletions pkgs/applications/audio/tomahawk/default.nix

This file was deleted.

54 changes: 41 additions & 13 deletions pkgs/applications/audio/vcv-rack/default.nix
Original file line number Diff line number Diff line change
@@ -7,16 +7,11 @@ let
name = "glfw-git-${version}";
version = "2019-06-30";
src = fetchFromGitHub {
owner = "AndrewBelt";
owner = "glfw";
repo = "glfw";
rev = "d9ab59efc781c392128a449361a381fcc93cf6f3";
sha256 = "1ykkq6qq8y6j5hlfj2zp1p87kr33vwhywziprz20v5avx1q7rjm8";
rev = "d25248343e248337284dfbe5ecd1eddbd37ae66d";
sha256 = "0gbz353bfmqbpm0af2nqf5draz3k4f3lqwiqj68s8nwn7878aqm3";
};
# We patch the source to export a function that was added to the glfw fork
# for Rack so it is present when we build glfw as a shared library.
# See https://github.com/AndrewBelt/glfw/pull/1 for discussion of this issue
# with upstream.
patches = [ ./glfw.patch ];
buildInputs = oldAttrs.buildInputs ++ [ libXext libXi ];
});
pfft-source = fetchFromBitbucket {
@@ -25,6 +20,30 @@ let
rev = "29e4f76ac53bef048938754f32231d7836401f79";
sha256 = "084csgqa6f1a270bhybjayrh3mpyi2jimc87qkdgsqcp8ycsx1l1";
};
nanovg-source = fetchFromGitHub {
owner = "memononen";
repo = "nanovg";
rev = "1f9c8864fc556a1be4d4bf1d6bfe20cde25734b4";
sha256 = "08r15zrr6p1kxigxzxrg5rgya7wwbdx7d078r362qbkmws83wk27";
};
nanosvg-source = fetchFromGitHub {
owner = "memononen";
repo = "nanosvg";
rev = "25241c5a8f8451d41ab1b02ab2d865b01600d949";
sha256 = "114qgfmazsdl53rm4pgqif3gv8msdmfwi91lyc2jfadgzfd83xkg";
};
osdialog-source = fetchFromGitHub {
owner = "AndrewBelt";
repo = "osdialog";
rev = "e5db5de6444f4b2c4e1390c67b3efd718080c3da";
sha256 = "0iqxn1md053nl19hbjk8rqsdcmjwa5l5z0ci4fara77q43rc323i";
};
oui-blendish-source = fetchFromGitHub {
owner = "AndrewBelt";
repo = "oui-blendish";
rev = "79ec59e6bc7201017fc13a20c6e33380adca1660";
sha256 = "17kd0lh2x3x12bxkyhq6z8sg6vxln8m9qirf0basvcsmylr6rb64";
};
in
with stdenv.lib; stdenv.mkDerivation rec {
pname = "VCV-Rack";
@@ -34,17 +53,26 @@ with stdenv.lib; stdenv.mkDerivation rec {
owner = "VCVRack";
repo = "Rack";
rev = "v${version}";
sha256 = "172v66v2vb6l9dpsq6fb6xn035igwhpjci8w3kz2na3rvmz1bc5w";
fetchSubmodules = true;
sha256 = "1g3mkghgiycbxyvzjhanc1b10jynkfkw03bpnha06qgd6gd9wv7k";
};

patches = [ ./rack-minimize-vendoring.patch ];
patches = [
./rack-minimize-vendoring.patch
# We patch out a call to a custom function, that is not needed on Linux.
# This avoids needing a patched version of glfw. The version we previously used disappeared
# on GitHub. See https://github.com/NixOS/nixpkgs/issues/71189
./remove-custom-glfw-function.patch
];

prePatch = ''
cp -r ${pfft-source} dep/jpommier-pffft-source
mkdir -p dep/include
cp -r ${pfft-source} dep/jpommier-pffft-source
cp -r ${nanovg-source}/* dep/nanovg
cp -r ${nanosvg-source}/* dep/nanosvg
cp -r ${osdialog-source}/* dep/osdialog
cp -r ${oui-blendish-source}/* dep/oui-blendish
cp dep/jpommier-pffft-source/*.h dep/include
cp dep/nanosvg/**/*.h dep/include
cp dep/nanovg/src/*.h dep/include
13 changes: 0 additions & 13 deletions pkgs/applications/audio/vcv-rack/glfw.patch

This file was deleted.

16 changes: 16 additions & 0 deletions pkgs/applications/audio/vcv-rack/remove-custom-glfw-function.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/src/main.cpp b/src/main.cpp
index 0954ae6..a8299f7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -162,11 +162,6 @@ int main(int argc, char* argv[]) {
INFO("Initializing app");
appInit();

- const char* openedFilename = glfwGetOpenedFilename();
- if (openedFilename) {
- patchPath = openedFilename;
- }
-
if (!settings::headless) {
APP->patch->init(patchPath);
}
6 changes: 3 additions & 3 deletions pkgs/applications/blockchains/jormungandr/default.nix
Original file line number Diff line number Diff line change
@@ -10,16 +10,16 @@

rustPlatform.buildRustPackage rec {
pname = "jormungandr";
version = "0.7.0-alpha.dev.1";
version = "0.7.0-rc1";

src = fetchgit {
url = "https://github.com/input-output-hk/${pname}";
rev = "v${version}";
sha256 = "0r3icx42glrpa68sjxz4gr0z5660gh4n79lncy720s04cmgjcjci";
sha256 = "02ihnq7b32rwx7ychrj76rin1z3s9np5yjylppxm0qp5sjkik9ff";
fetchSubmodules = true;
};

cargoSha256 = "0f9b2lr2xxlcn9j33b5ahzbndz6sjm8ybhqm472bv5hzisqm4lg4";
cargoSha256 = "1pp829azj6aw68ba637rm852sj61nxznxfzrlqs9ds6adk9h7abs";

nativeBuildInputs = [ pkgconfig protobuf ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/keepassx/community.nix
Original file line number Diff line number Diff line change
@@ -32,13 +32,13 @@ with stdenv.lib;

stdenv.mkDerivation rec {
pname = "keepassxc";
version = "2.4.3";
version = "2.5.0";

src = fetchFromGitHub {
owner = "keepassxreboot";
repo = "keepassxc";
rev = version;
sha256 = "1r63bl0cam04rps1bjr107qvwsmay4254nv00gwhh9n45s6cslac";
sha256 = "053z6mzcn22w3vkf09i7kdi5p0c6zcd9g62v3p5i3yhd14cgviqr";
};

NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang [
1 change: 1 addition & 0 deletions pkgs/applications/misc/mupdf/default.nix
Original file line number Diff line number Diff line change
@@ -64,6 +64,7 @@ in stdenv.mkDerivation rec {
EOF
moveToOutput "bin" "$bin"
ln -s "$bin/bin/mupdf-x11" "$bin/bin/mupdf"
mkdir -p $bin/share/applications
cat > $bin/share/applications/mupdf.desktop <<EOF
[Desktop Entry]
4 changes: 2 additions & 2 deletions pkgs/applications/networking/sync/rclone/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoPackage rec {
pname = "rclone";
version = "1.49.5";
version = "1.50.0";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0firfb2300grfp5fnqaifhp346m4d0x8r1xshs9d8r6jxb160n03";
sha256 = "0k4fybz4670cqg1rpx0c1ximf1x6yl1f788hx9raxkwp5wv703kw";
};

goPackagePath = "github.com/rclone/rclone";
14 changes: 7 additions & 7 deletions pkgs/applications/science/biology/EZminc/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{ stdenv, fetchFromGitHub, cmake, libminc, bicpl, itk, fftwFloat, gsl }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libminc, bicpl, itk, fftwFloat, gsl }:

stdenv.mkDerivation rec { pname = "EZminc";
name = "${pname}-2017-08-29";
stdenv.mkDerivation rec {
pname = "EZminc";
name = "${pname}-unstable-2019-07-25";

src = fetchFromGitHub {
owner = "BIC-MNI";
repo = pname;
rev = "4e017236cb6e7f6e07507446b18b759c584b6fc3";
sha256 = "1pg06x42pgsg7zy7dz9wf6ajakkm2n8by64lg9z64qi8qqy82b8v";
rev = "9591edd5389a5bda2c1f606816c7cdb35c065adf";
sha256 = "02k87qbpx0f48l2lbcjmlqx82py684z3sfi29va5icfg3hjd6j7b";
};

nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ itk libminc bicpl fftwFloat gsl ];

cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/"
@@ -26,6 +27,5 @@ stdenv.mkDerivation rec { pname = "EZminc";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
broken = true;
};
}
30 changes: 15 additions & 15 deletions pkgs/applications/video/mythtv/default.nix
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{ stdenv, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper
{ stdenv, mkDerivation, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper
, libpulseaudio, fftwSinglePrec , lame, zlib, libGLU_combined, alsaLib, freetype
, perl, pkgconfig , libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
, libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2
, linuxHeaders, fetchpatch
, perl, pkgconfig , libsamplerate, libbluray, lzo, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
, libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders
, libXNVCtrl, enableXnvctrl ? false
}:

stdenv.mkDerivation rec {
mkDerivation rec {
pname = "mythtv";
version = "29.1";
version = "30.0";

src = fetchFromGitHub {
owner = "MythTV";
repo = "mythtv";
rev = "v${version}";
sha256 = "0pjxv4bmq8h285jsr02svgaa03614arsyk12fn9d4rndjsi2cc3x";
sha256 = "1pfzjb07xwd3mfgmbr4kkiyfyvwy9fkl13ik7bvqds86m0ws5bw4";
};

patches = [
# Fixes build with exiv2 0.27.1.
(fetchpatch {
name = "004-exiv2.patch";
url = "https://aur.archlinux.org/cgit/aur.git/plain/004-exiv2.patch?h=mythtv&id=76ea37f8556805b205878772ad7874e487c0d946";
sha256 = "0mh542f53qgky0w3s2bv0gmcxzvmb10834z3cfff40fby2ffr6k8";
})
./exiv2.patch
# Disables OS detection used while checking for xnvctrl support.
./disable-os-detection.patch
];

setSourceRoot = ''sourceRoot=$(echo */mythtv)'';

buildInputs = [
freetype qtbase qtwebkit qtscript lame zlib xlibsWrapper libGLU_combined
perl alsaLib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC
perl libsamplerate libbluray lzo alsaLib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC
libXmu libXinerama libXxf86vm libXmu libuuid taglib exiv2
];
] ++ stdenv.lib.optional enableXnvctrl libXNVCtrl;
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];

configureFlags = [ "--dvb-path=${linuxHeaders}/include" ];
configureFlags =
[ "--dvb-path=${linuxHeaders}/include" ]
++ stdenv.lib.optionals (!enableXnvctrl) [ "--disable-xnvctrl" ];

meta = with stdenv.lib; {
homepage = https://www.mythtv.org/;
51 changes: 51 additions & 0 deletions pkgs/applications/video/mythtv/disable-os-detection.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
--- a/configure 1970-01-01 01:00:01.000000000 +0100
+++ b/configure 2019-10-26 11:54:01.920776490 +0200
@@ -6642,29 +6642,29 @@
require libXinerama X11/extensions/Xinerama.h XineramaQueryExtension -lXinerama
require libXext "X11/Xdefs.h X11/Xlib.h X11/extensions/Xext.h" XMissingExtension -lXext
if enabled xnvctrl; then
- case $target_os in
- linux)
+# case $target_os in
+# linux)
# Bah. Suse linux doesn't have xnvctrl.
- . /etc/os-release
- case $ID in
- *suse*)
+# . /etc/os-release
+# case $ID in
+# *suse*)
# This is hopefully temporary.
- disable xnvctrl_external
- ;;
- *)
- require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl
- ;;
- esac
- ;;
- freebsd)
+# disable xnvctrl_external
+# ;;
+# *)
+ require XNVctrl "X11/Xlib.h NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h" XNVCTRLIsNvScreen -lXNVCtrl || disable xnvctrl
+# ;;
+# esac
+# ;;
+# freebsd)
# This is hopefully temporary, and will eventually
# check for a system library too.
- disable xnvctrl_external
- ;;
- *)
- disable xnvctrl
- ;;
- esac
+# disable xnvctrl_external
+# ;;
+# *)
+# disable xnvctrl
+# ;;
+# esac
fi
fi

19 changes: 19 additions & 0 deletions pkgs/applications/video/mythtv/exiv2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Patch source: https://aur.archlinux.org/cgit/aur.git/plain/004-exiv2.patch?h=mythtv&id=76ea37f8556805b205878772ad7874e487c0d946
--- a/libs/libmythmetadata/imagemetadata.cpp
+++ b/libs/libmythmetadata/imagemetadata.cpp
@@ -7,14 +7,7 @@
#include "exitcodes.h" // for ffprobe

// libexiv2 for Exif metadata
-//#include <exiv2/exiv2.hpp>
-// Note: Older versions of Exiv2 don't have the exiv2.hpp include
-// file. Using image.hpp instead seems to work.
-#ifdef _MSC_VER
-#include <exiv2/src/image.hpp>
-#else
-#include <exiv2/image.hpp>
-#endif
+#include <exiv2/exiv2.hpp>

// To read FFMPEG Metadata
extern "C" {
Loading