-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #20081: update alsa lib, plugins and utils
- Loading branch information
Showing
7 changed files
with
168 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
{ stdenv, fetchurl, cmake, ecm, makeQtWrapper | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
# For `digitaglinktree` | ||
, perl, sqlite | ||
|
||
, qtbase | ||
, qtxmlpatterns | ||
, qtsvg | ||
, qtwebkit | ||
|
||
, kconfigwidgets | ||
, kcoreaddons | ||
, kdoctools | ||
, kfilemetadata | ||
, knotifications | ||
, knotifyconfig | ||
, ktextwidgets | ||
, kwidgetsaddons | ||
, kxmlgui | ||
|
||
, bison | ||
, boost | ||
, eigen | ||
, exiv2 | ||
, flex | ||
, jasper | ||
, lcms2 | ||
, lensfun | ||
, libgphoto2 | ||
, libkipi | ||
, liblqr1 | ||
, libusb1 | ||
, marble | ||
, mysql | ||
, opencv | ||
, threadweaver | ||
|
||
# For panorama and focus stacking | ||
, enblend-enfuse | ||
, hugin | ||
, gnumake | ||
|
||
, oxygen | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "digikam-${version}"; | ||
version = "5.1.0"; | ||
|
||
src = fetchurl { | ||
url = "http://download.kde.org/stable/digikam/${name}.tar.xz"; | ||
sha256 = "1w97a5cmg39dgmjgmjwa936gcrmxjms3h2ww61qi1lny84p5x4a7"; | ||
}; | ||
|
||
nativeBuildInputs = [ cmake ecm makeQtWrapper ]; | ||
|
||
buildInputs = [ | ||
qtbase | ||
qtxmlpatterns | ||
qtsvg | ||
qtwebkit | ||
|
||
kconfigwidgets | ||
kcoreaddons | ||
kdoctools | ||
kfilemetadata | ||
knotifications | ||
knotifyconfig | ||
ktextwidgets | ||
kwidgetsaddons | ||
kxmlgui | ||
|
||
bison | ||
boost | ||
eigen | ||
exiv2 | ||
flex | ||
jasper | ||
lcms2 | ||
lensfun | ||
libgphoto2 | ||
libkipi | ||
liblqr1 | ||
libusb1 | ||
marble.unwrapped | ||
mysql | ||
opencv | ||
threadweaver | ||
|
||
oxygen | ||
]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
cmakeFlags = [ | ||
"-DLIBUSB_LIBRARIES=${libusb1.out}/lib" | ||
"-DLIBUSB_INCLUDE_DIR=${libusb1.dev}/include/libusb-1.0" | ||
"-DENABLE_MYSQLSUPPORT=1" | ||
"-DENABLE_INTERNALMYSQL=1" | ||
]; | ||
|
||
fixupPhase = '' | ||
substituteInPlace $out/bin/digitaglinktree \ | ||
--replace "/usr/bin/perl" "${perl}/bin/perl" \ | ||
--replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3" | ||
wrapQtProgram $out/bin/digikam \ | ||
--prefix PATH : "${gnumake}/bin:${hugin}/bin:${enblend-enfuse}/bin" | ||
wrapQtProgram $out/bin/showfoto | ||
''; | ||
|
||
meta = { | ||
description = "Photo Management Program"; | ||
license = stdenv.lib.licenses.gpl2; | ||
homepage = http://www.digikam.org; | ||
maintainers = with stdenv.lib.maintainers; [ the-kenny ]; | ||
platforms = stdenv.lib.platforms.linux; | ||
}; | ||
} |
25 changes: 25 additions & 0 deletions
25
pkgs/development/python-modules/poezio/make_default_config_writable.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff -ruN a/src/config.py b/src/config.py | ||
--- a/src/config.py 2015-07-31 19:35:37.000000000 +0000 | ||
+++ b/src/config.py 2015-08-03 09:23:34.322098081 +0000 | ||
@@ -14,6 +14,7 @@ | ||
|
||
import logging.config | ||
import os | ||
+import stat | ||
import sys | ||
import pkg_resources | ||
|
||
@@ -563,6 +564,13 @@ | ||
copy2(default, options.filename) | ||
elif path.isfile(other): | ||
copy2(other, options.filename) | ||
+ | ||
+ # Inside the nixstore, the reference file is readonly, so is the copy. | ||
+ # Make it writable by the user who just created it. | ||
+ if os.path.exists(options.filename): | ||
+ os.chmod(options.filename, | ||
+ os.stat(options.filename).st_mode | stat.S_IWUSR) | ||
+ | ||
global firstrun | ||
firstrun = True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- rush-1.7/gnu/stdio.in.h.org 2010-06-13 19:14:59.000000000 +0200 | ||
+++ rush-1.7/gnu/stdio.in.h 2013-12-30 14:29:55.000000000 +0100 | ||
@@ -138,8 +138,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not | ||
/* It is very rare that the developer ever has full control of stdin, | ||
so any use of gets warrants an unconditional warning. Assume it is | ||
always declared, since it is required by C89. */ | ||
+#if defined gets | ||
#undef gets | ||
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); | ||
+#endif | ||
|
||
#if @GNULIB_FOPEN@ | ||
# if @REPLACE_FOPEN@ |
Was the recovery of this file intentional? It isn't used anywhere and was renamed to
5.nix
in bf570a4