lol

Merge #20081: update alsa lib, plugins and utils

+168 -6
+4
pkgs/applications/audio/bristol/default.nix
··· 14 14 xorg.xproto 15 15 ]; 16 16 17 + patchPhase = "sed -i '41,43d' libbristolaudio/audioEngineJack.c"; # disable alsa/iatomic 18 + 19 + configurePhase = "./configure --prefix=$out --enable-jack-default-audio --enable-jack-default-midi"; 20 + 17 21 preInstall = '' 18 22 sed -e "s@\`which bristol\`@$out/bin/bristol@g" -i bin/startBristol 19 23 sed -e "s@\`which brighton\`@$out/bin/brighton@g" -i bin/startBristol
+120
pkgs/applications/graphics/digikam/5.1.nix
··· 1 + { stdenv, fetchurl, cmake, ecm, makeQtWrapper 2 + 3 + # For `digitaglinktree` 4 + , perl, sqlite 5 + 6 + , qtbase 7 + , qtxmlpatterns 8 + , qtsvg 9 + , qtwebkit 10 + 11 + , kconfigwidgets 12 + , kcoreaddons 13 + , kdoctools 14 + , kfilemetadata 15 + , knotifications 16 + , knotifyconfig 17 + , ktextwidgets 18 + , kwidgetsaddons 19 + , kxmlgui 20 + 21 + , bison 22 + , boost 23 + , eigen 24 + , exiv2 25 + , flex 26 + , jasper 27 + , lcms2 28 + , lensfun 29 + , libgphoto2 30 + , libkipi 31 + , liblqr1 32 + , libusb1 33 + , marble 34 + , mysql 35 + , opencv 36 + , threadweaver 37 + 38 + # For panorama and focus stacking 39 + , enblend-enfuse 40 + , hugin 41 + , gnumake 42 + 43 + , oxygen 44 + }: 45 + 46 + stdenv.mkDerivation rec { 47 + name = "digikam-${version}"; 48 + version = "5.1.0"; 49 + 50 + src = fetchurl { 51 + url = "http://download.kde.org/stable/digikam/${name}.tar.xz"; 52 + sha256 = "1w97a5cmg39dgmjgmjwa936gcrmxjms3h2ww61qi1lny84p5x4a7"; 53 + }; 54 + 55 + nativeBuildInputs = [ cmake ecm makeQtWrapper ]; 56 + 57 + buildInputs = [ 58 + qtbase 59 + qtxmlpatterns 60 + qtsvg 61 + qtwebkit 62 + 63 + kconfigwidgets 64 + kcoreaddons 65 + kdoctools 66 + kfilemetadata 67 + knotifications 68 + knotifyconfig 69 + ktextwidgets 70 + kwidgetsaddons 71 + kxmlgui 72 + 73 + bison 74 + boost 75 + eigen 76 + exiv2 77 + flex 78 + jasper 79 + lcms2 80 + lensfun 81 + libgphoto2 82 + libkipi 83 + liblqr1 84 + libusb1 85 + marble.unwrapped 86 + mysql 87 + opencv 88 + threadweaver 89 + 90 + oxygen 91 + ]; 92 + 93 + enableParallelBuilding = true; 94 + 95 + cmakeFlags = [ 96 + "-DLIBUSB_LIBRARIES=${libusb1.out}/lib" 97 + "-DLIBUSB_INCLUDE_DIR=${libusb1.dev}/include/libusb-1.0" 98 + "-DENABLE_MYSQLSUPPORT=1" 99 + "-DENABLE_INTERNALMYSQL=1" 100 + ]; 101 + 102 + fixupPhase = '' 103 + substituteInPlace $out/bin/digitaglinktree \ 104 + --replace "/usr/bin/perl" "${perl}/bin/perl" \ 105 + --replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3" 106 + 107 + wrapQtProgram $out/bin/digikam \ 108 + --prefix PATH : "${gnumake}/bin:${hugin}/bin:${enblend-enfuse}/bin" 109 + 110 + wrapQtProgram $out/bin/showfoto 111 + ''; 112 + 113 + meta = { 114 + description = "Photo Management Program"; 115 + license = stdenv.lib.licenses.gpl2; 116 + homepage = http://www.digikam.org; 117 + maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 118 + platforms = stdenv.lib.platforms.linux; 119 + }; 120 + }
+25
pkgs/development/python-modules/poezio/make_default_config_writable.patch
··· 1 + diff -ruN a/src/config.py b/src/config.py 2 + --- a/src/config.py 2015-07-31 19:35:37.000000000 +0000 3 + +++ b/src/config.py 2015-08-03 09:23:34.322098081 +0000 4 + @@ -14,6 +14,7 @@ 5 + 6 + import logging.config 7 + import os 8 + +import stat 9 + import sys 10 + import pkg_resources 11 + 12 + @@ -563,6 +564,13 @@ 13 + copy2(default, options.filename) 14 + elif path.isfile(other): 15 + copy2(other, options.filename) 16 + + 17 + + # Inside the nixstore, the reference file is readonly, so is the copy. 18 + + # Make it writable by the user who just created it. 19 + + if os.path.exists(options.filename): 20 + + os.chmod(options.filename, 21 + + os.stat(options.filename).st_mode | stat.S_IWUSR) 22 + + 23 + global firstrun 24 + firstrun = True 25 +
+2 -2
pkgs/os-specific/linux/alsa-lib/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "alsa-lib-1.1.1"; 4 + name = "alsa-lib-1.1.2"; 5 5 6 6 src = fetchurl { 7 7 urls = [ 8 8 "ftp://ftp.alsa-project.org/pub/lib/${name}.tar.bz2" 9 9 "http://alsa.cybermirror.org/lib/${name}.tar.bz2" 10 10 ]; 11 - sha256 = "0sa24fy3qf3jg63xxvfb7j8halj1qmdbcak2lyfx8bpd8hqnriwa"; 11 + sha256 = "1mk1v2av6ibyydgr6f2mxrwy7clgnf0c68s9y2zvh1ibi7csr3fk"; 12 12 }; 13 13 14 14 patches = [
+2 -2
pkgs/os-specific/linux/alsa-plugins/default.nix
··· 1 1 { stdenv, fetchurl, lib, pkgconfig, alsaLib, libogg, libpulseaudio ? null, libjack2 ? null }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "alsa-plugins-1.1.0"; 4 + name = "alsa-plugins-1.1.1"; 5 5 6 6 src = fetchurl { 7 7 urls = [ 8 8 "ftp://ftp.alsa-project.org/pub/plugins/${name}.tar.bz2" 9 9 "http://alsa.cybermirror.org/plugins/${name}.tar.bz2" 10 10 ]; 11 - sha256 = "3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee"; 11 + sha256 = "1w81z5jlwqhd1l2m7qrq69lc4k9dnrg1wn52jsl2hrf3hbhd394f"; 12 12 }; 13 13 14 14 # ToDo: a52, etc.?
+2 -2
pkgs/os-specific/linux/alsa-utils/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "alsa-utils-${version}"; 5 - version = "1.1.0"; 5 + version = "1.1.2"; 6 6 7 7 src = fetchurl { 8 8 urls = [ 9 9 "ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2" 10 10 "http://alsa.cybermirror.org/utils/${name}.tar.bz2" 11 11 ]; 12 - sha256 = "3b1c3135b76e14532d3dd23fb15759ddd7daf9ffbc183f7a9a0a3a86374748f1"; 12 + sha256 = "0wcha78c2sm8qqk5r3w83cvm8fp6fb1zpd35kmcm24kxhz007xks"; 13 13 }; 14 14 15 15 patchPhase = ''
+13
pkgs/shells/rush/gets.patch
··· 1 + --- rush-1.7/gnu/stdio.in.h.org 2010-06-13 19:14:59.000000000 +0200 2 + +++ rush-1.7/gnu/stdio.in.h 2013-12-30 14:29:55.000000000 +0100 3 + @@ -138,8 +138,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not 4 + /* It is very rare that the developer ever has full control of stdin, 5 + so any use of gets warrants an unconditional warning. Assume it is 6 + always declared, since it is required by C89. */ 7 + +#if defined gets 8 + #undef gets 9 + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); 10 + +#endif 11 + 12 + #if @GNULIB_FOPEN@ 13 + # if @REPLACE_FOPEN@