Merge staging into staging-next
This commit is contained in:
commit
99bca19c10
@ -603,6 +603,7 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
|
|||||||
* `preShellHook`: Hook to execute commands before `shellHook`.
|
* `preShellHook`: Hook to execute commands before `shellHook`.
|
||||||
* `postShellHook`: Hook to execute commands after `shellHook`.
|
* `postShellHook`: Hook to execute commands after `shellHook`.
|
||||||
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
|
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
|
||||||
|
* `setupPyGlobalFlags ? []`: List of flags passed to `setup.py` command.
|
||||||
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
|
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
|
||||||
|
|
||||||
The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
|
The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
|
||||||
|
@ -164,7 +164,7 @@ stdenv.mkDerivation {
|
|||||||
EOS
|
EOS
|
||||||
)"
|
)"
|
||||||
perl -0777 -i -pe "$SCRIPT" \
|
perl -0777 -i -pe "$SCRIPT" \
|
||||||
$out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,stash,submodule,subtree,web--browse}
|
$out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,submodule,subtree,web--browse}
|
||||||
|
|
||||||
|
|
||||||
# Also put git-http-backend into $PATH, so that we can use smart
|
# Also put git-http-backend into $PATH, so that we can use smart
|
||||||
|
@ -25,7 +25,7 @@ _doStrip() {
|
|||||||
|
|
||||||
stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin}
|
stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin}
|
||||||
if [ -n "$stripDebugList" ]; then
|
if [ -n "$stripDebugList" ]; then
|
||||||
stripDirs "$stripCmd" "$stripDebugList" "${stripDebugFlags:--S}"
|
stripDirs "$stripCmd" "$stripDebugList" "${stripDebugFlags:---strip-unneeded}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stripAllList=${stripAllList:-}
|
stripAllList=${stripAllList:-}
|
||||||
|
@ -4,8 +4,10 @@ let
|
|||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "0846h8vn3zlc00jkmvrmy88gc6ql6014c02l4jv78fpvfigmgssg";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "0846h8vn3zlc00jkmvrmy88gc6ql6014c02l4jv78fpvfigmgssg"}
|
unpackFile $src
|
||||||
mv cfe-${version}.src clang
|
mv cfe-${version}.src clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -17,13 +17,13 @@
|
|||||||
, enableSharedLibraries ? !stdenv.isDarwin
|
, enableSharedLibraries ? !stdenv.isDarwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
src = fetch "llvm" "0xf5q17kkxsrm2gsi93h4pwlv663kji73r2g4asb97klsmb626a4";
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "0xf5q17kkxsrm2gsi93h4pwlv663kji73r2g4asb97klsmb626a4";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}.src llvm
|
mv llvm-${version}.src llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
unpackFile ${compiler-rt_src}
|
unpackFile ${compiler-rt_src}
|
||||||
@ -85,8 +85,6 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -5,8 +5,10 @@ let
|
|||||||
self = stdenv.mkDerivation {
|
self = stdenv.mkDerivation {
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "1prc72xmkgx8wrzmrr337776676nhsp1qd3mw2bvb22bzdnq7lsc";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "1prc72xmkgx8wrzmrr337776676nhsp1qd3mw2bvb22bzdnq7lsc"}
|
unpackFile $src
|
||||||
mv cfe-${version}.src clang
|
mv cfe-${version}.src clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -16,13 +16,13 @@
|
|||||||
, enableSharedLibraries ? true
|
, enableSharedLibraries ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
src = fetch "llvm" "1ybmnid4pw2hxn12ax5qa5kl1ldfns0njg8533y3mzslvd5cx0kf";
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "1ybmnid4pw2hxn12ax5qa5kl1ldfns0njg8533y3mzslvd5cx0kf";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}.src llvm
|
mv llvm-${version}.src llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
unpackFile ${compiler-rt_src}
|
unpackFile ${compiler-rt_src}
|
||||||
@ -105,8 +105,6 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -5,8 +5,10 @@ let
|
|||||||
self = stdenv.mkDerivation {
|
self = stdenv.mkDerivation {
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "0qsyyb40iwifhhlx9a3drf8z6ni6zwyk3bvh0kx2gs6yjsxwxi76";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "0qsyyb40iwifhhlx9a3drf8z6ni6zwyk3bvh0kx2gs6yjsxwxi76"}
|
unpackFile $src
|
||||||
mv cfe-${version}.src clang
|
mv cfe-${version}.src clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
assert (stdenv.hostPlatform != stdenv.buildPlatform) -> !enableSharedLibraries;
|
assert (stdenv.hostPlatform != stdenv.buildPlatform) -> !enableSharedLibraries;
|
||||||
|
|
||||||
let
|
let
|
||||||
src = fetch "llvm" "1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z";
|
|
||||||
|
|
||||||
# Used when creating a versioned symlinks of libLLVM.dylib
|
# Used when creating a versioned symlinks of libLLVM.dylib
|
||||||
versionSuffixes = with stdenv.lib;
|
versionSuffixes = with stdenv.lib;
|
||||||
let parts = splitString "." version; in
|
let parts = splitString "." version; in
|
||||||
@ -31,8 +29,10 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}.src llvm
|
mv llvm-${version}.src llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
unpackFile ${compiler-rt_src}
|
unpackFile ${compiler-rt_src}
|
||||||
@ -163,8 +163,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -8,8 +8,10 @@ let
|
|||||||
self = stdenv.mkDerivation ({
|
self = stdenv.mkDerivation ({
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "16vnv3msnvx33dydd17k2cq0icndi1a06bg5vcxkrhjjb1rqlwv1";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "16vnv3msnvx33dydd17k2cq0icndi1a06bg5vcxkrhjjb1rqlwv1"}
|
unpackFile $src
|
||||||
mv cfe-${version}* clang
|
mv cfe-${version}* clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
|
|
||||||
|
|
||||||
# Used when creating a versioned symlinks of libLLVM.dylib
|
# Used when creating a versioned symlinks of libLLVM.dylib
|
||||||
versionSuffixes = with stdenv.lib;
|
versionSuffixes = with stdenv.lib;
|
||||||
let parts = splitString "." release_version; in
|
let parts = splitString "." release_version; in
|
||||||
@ -28,8 +26,10 @@ in
|
|||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}* llvm
|
mv llvm-${version}* llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
unpackFile ${compiler-rt_src}
|
unpackFile ${compiler-rt_src}
|
||||||
@ -150,8 +150,6 @@ stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -8,8 +8,10 @@ let
|
|||||||
self = stdenv.mkDerivation ({
|
self = stdenv.mkDerivation ({
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s"}
|
unpackFile $src
|
||||||
mv cfe-${version}* clang
|
mv cfe-${version}* clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
|
|
||||||
|
|
||||||
# Used when creating a versioned symlinks of libLLVM.dylib
|
# Used when creating a versioned symlinks of libLLVM.dylib
|
||||||
versionSuffixes = with stdenv.lib;
|
versionSuffixes = with stdenv.lib;
|
||||||
let parts = splitString "." release_version; in
|
let parts = splitString "." release_version; in
|
||||||
@ -26,8 +24,10 @@ in
|
|||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}* llvm
|
mv llvm-${version}* llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
'';
|
'';
|
||||||
@ -132,8 +132,6 @@ stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
requiredSystemFeatures = [ "big-parallel" ];
|
requiredSystemFeatures = [ "big-parallel" ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
|
@ -8,8 +8,10 @@ let
|
|||||||
self = stdenv.mkDerivation ({
|
self = stdenv.mkDerivation ({
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w"}
|
unpackFile $src
|
||||||
mv cfe-${version}* clang
|
mv cfe-${version}* clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional optionals optionalString;
|
inherit (stdenv.lib) optional optionals optionalString;
|
||||||
|
|
||||||
src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn";
|
|
||||||
|
|
||||||
# Used when creating a versioned symlinks of libLLVM.dylib
|
# Used when creating a versioned symlinks of libLLVM.dylib
|
||||||
versionSuffixes = with stdenv.lib;
|
versionSuffixes = with stdenv.lib;
|
||||||
let parts = splitString "." release_version; in
|
let parts = splitString "." release_version; in
|
||||||
@ -30,8 +28,10 @@ in
|
|||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}* llvm
|
mv llvm-${version}* llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
'';
|
'';
|
||||||
@ -146,8 +146,6 @@ stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -8,8 +8,10 @@ let
|
|||||||
self = stdenv.mkDerivation ({
|
self = stdenv.mkDerivation ({
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "0vc4i87qwxnw9lci4ayws9spakg0z6w5w670snj9f8g5m9rc8zg9";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "0vc4i87qwxnw9lci4ayws9spakg0z6w5w670snj9f8g5m9rc8zg9"}
|
unpackFile $src
|
||||||
mv cfe-${version}* clang
|
mv cfe-${version}* clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -24,9 +24,6 @@
|
|||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional optionals optionalString;
|
inherit (stdenv.lib) optional optionals optionalString;
|
||||||
|
|
||||||
src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v";
|
|
||||||
polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h";
|
|
||||||
|
|
||||||
# Used when creating a versioned symlinks of libLLVM.dylib
|
# Used when creating a versioned symlinks of libLLVM.dylib
|
||||||
versionSuffixes = with stdenv.lib;
|
versionSuffixes = with stdenv.lib;
|
||||||
let parts = splitString "." release_version; in
|
let parts = splitString "." release_version; in
|
||||||
@ -35,12 +32,15 @@ let
|
|||||||
in stdenv.mkDerivation (rec {
|
in stdenv.mkDerivation (rec {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v";
|
||||||
|
polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}* llvm
|
mv llvm-${version}* llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
'' + optionalString enablePolly ''
|
'' + optionalString enablePolly ''
|
||||||
unpackFile ${polly_src}
|
unpackFile $polly_src
|
||||||
mv polly-* $sourceRoot/tools/polly
|
mv polly-* $sourceRoot/tools/polly
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -164,8 +164,6 @@ in stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -8,8 +8,10 @@ let
|
|||||||
self = stdenv.mkDerivation ({
|
self = stdenv.mkDerivation ({
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
|
|
||||||
|
src = fetch "cfe" "0svk1f70hvpwrjp6x5i9kqwrqwxnmcrw5s7f4cxyd100mdd12k08";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${fetch "cfe" "0svk1f70hvpwrjp6x5i9kqwrqwxnmcrw5s7f4cxyd100mdd12k08"}
|
unpackFile $src
|
||||||
mv cfe-${version}* clang
|
mv cfe-${version}* clang
|
||||||
sourceRoot=$PWD/clang
|
sourceRoot=$PWD/clang
|
||||||
unpackFile ${clang-tools-extra_src}
|
unpackFile ${clang-tools-extra_src}
|
||||||
|
@ -23,9 +23,6 @@
|
|||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional optionals optionalString;
|
inherit (stdenv.lib) optional optionals optionalString;
|
||||||
|
|
||||||
src = fetch "llvm" "0k124sxkfhfi1rca6kzkdraf4axhx99x3cw2rk55056628dvwwl8";
|
|
||||||
polly_src = fetch "polly" "1x4xv3j226rqdddp7b61d71wsx2b8vmmri02ycx27y2fg7ba7xg3";
|
|
||||||
|
|
||||||
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
# Used when creating a version-suffixed symlink of libLLVM.dylib
|
||||||
shortVersion = with stdenv.lib;
|
shortVersion = with stdenv.lib;
|
||||||
concatStringsSep "." (take 1 (splitString "." release_version));
|
concatStringsSep "." (take 1 (splitString "." release_version));
|
||||||
@ -33,12 +30,15 @@ let
|
|||||||
in stdenv.mkDerivation (rec {
|
in stdenv.mkDerivation (rec {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetch "llvm" "0k124sxkfhfi1rca6kzkdraf4axhx99x3cw2rk55056628dvwwl8";
|
||||||
|
polly_src = fetch "polly" "1x4xv3j226rqdddp7b61d71wsx2b8vmmri02ycx27y2fg7ba7xg3";
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unpackFile ${src}
|
unpackFile $src
|
||||||
mv llvm-${version}* llvm
|
mv llvm-${version}* llvm
|
||||||
sourceRoot=$PWD/llvm
|
sourceRoot=$PWD/llvm
|
||||||
'' + optionalString enablePolly ''
|
'' + optionalString enablePolly ''
|
||||||
unpackFile ${polly_src}
|
unpackFile $polly_src
|
||||||
mv polly-* $sourceRoot/tools/polly
|
mv polly-* $sourceRoot/tools/polly
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -142,8 +142,6 @@ in stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.src = src;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
let
|
let
|
||||||
# Note: the version MUST be one version prior to the version we're
|
# Note: the version MUST be one version prior to the version we're
|
||||||
# building
|
# building
|
||||||
version = "1.34.2";
|
version = "1.35.0";
|
||||||
|
|
||||||
# fetch hashes by running `print-hashes.sh 1.34.2`
|
# fetch hashes by running `print-hashes.sh 1.34.2`
|
||||||
hashes = {
|
hashes = {
|
||||||
i686-unknown-linux-gnu = "926bafd09eb90ba7d5a0195fcffb8f33dd57e515af4f8987a143459f6b1d3f04";
|
i686-unknown-linux-gnu = "05337776b3645e4b8c8c7ced0bcd1615cf9ad1b9c8b3d0f333620e5401e31aee";
|
||||||
x86_64-unknown-linux-gnu = "2bf6622d980a52832bae141304e96f317c8a1ccd2dfd69a134a14033e6e43c0f";
|
x86_64-unknown-linux-gnu = "cf600e2273644d8629ed57559c70ca8db4023fd0156346facca9ab3ad3e8f86c";
|
||||||
armv7-unknown-linux-gnueabihf = "70d1057fcc133dc3e44377060a00d2f9d3a134e2670963d3f1d93f3dbfa0548e";
|
armv7-unknown-linux-gnueabihf = "8f0f32d8ddc6fb7bcb8f50ec5e694078799d93facbf135eec5bd9a8c94d0c11e";
|
||||||
aarch64-unknown-linux-gnu = "15fc6b7ec121df9d4e42483dd12c677203680bec8c69b6f4f62e5a35a07341a8";
|
aarch64-unknown-linux-gnu = "31e6da56e67838fd2874211ae896a433badf67c13a7b68481f1d5f7dedcc5952";
|
||||||
i686-apple-darwin = "b9fc44cbb06050975664f1033d1337bb38d5ea73b503a5d3af5409033397be5c";
|
i686-apple-darwin = "6a45ae8db094c5f6c57c5594a00f1a92b08c444a7347a657b4033186d4f08b19";
|
||||||
x86_64-apple-darwin = "6fdd4bf7fe26dded0cd57b41ab5f0500a5a99b7bc770523a425e9e34f63d0fd8";
|
x86_64-apple-darwin = "ac14b1c7dc330dcb53d8641d74ebf9b32aa8b03b9d650bcb9258030d8b10dbd6";
|
||||||
};
|
};
|
||||||
|
|
||||||
platform =
|
platform =
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
diff -ru -x '*~' rustc-1.35.0-src-orig/src/libstd/net/tcp.rs rustc-1.35.0-src/src/libstd/net/tcp.rs
|
diff -ru rustc-1.36.0-src-orig/src/libstd/net/tcp.rs rustc-1.36.0-src/src/libstd/net/tcp.rs
|
||||||
--- rustc-1.35.0-src-orig/src/libstd/net/tcp.rs 2019-05-20 14:10:15.000000000 +0200
|
--- rustc-1.36.0-src-orig/src/libstd/net/tcp.rs 2019-07-03 10:00:00.000000000 +0200
|
||||||
+++ rustc-1.35.0-src/src/libstd/net/tcp.rs 2019-06-13 19:59:46.740611889 +0200
|
+++ rustc-1.36.0-src/src/libstd/net/tcp.rs 2019-07-07 11:33:35.378130207 +0200
|
||||||
@@ -973,6 +973,7 @@
|
@@ -973,6 +973,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -57,19 +57,16 @@ diff -ru -x '*~' rustc-1.35.0-src-orig/src/libstd/net/tcp.rs rustc-1.35.0-src/sr
|
|||||||
fn clone_while_reading() {
|
fn clone_while_reading() {
|
||||||
each_ip(&mut |addr| {
|
each_ip(&mut |addr| {
|
||||||
let accept = t!(TcpListener::bind(&addr));
|
let accept = t!(TcpListener::bind(&addr));
|
||||||
@@ -1597,7 +1604,10 @@
|
@@ -1597,7 +1604,7 @@
|
||||||
|
|
||||||
// FIXME: re-enabled bitrig/openbsd tests once their socket timeout code
|
// FIXME: re-enabled openbsd tests once their socket timeout code
|
||||||
// no longer has rounding errors.
|
// no longer has rounding errors.
|
||||||
- #[cfg_attr(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd"), ignore)]
|
- #[cfg_attr(any(target_os = "netbsd", target_os = "openbsd"), ignore)]
|
||||||
+ #[cfg_attr(any(target_os = "bitrig",
|
+ #[cfg_attr(any(target_os = "netbsd", target_os = "openbsd", target_os = "macos"), ignore)]
|
||||||
+ target_os = "netbsd",
|
|
||||||
+ target_os = "openbsd",
|
|
||||||
+ target_os = "macos"), ignore)]
|
|
||||||
#[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
|
#[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
|
||||||
#[test]
|
#[test]
|
||||||
fn timeouts() {
|
fn timeouts() {
|
||||||
@@ -1643,6 +1653,7 @@
|
@@ -1643,6 +1650,7 @@
|
||||||
drop(listener);
|
drop(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +74,7 @@ diff -ru -x '*~' rustc-1.35.0-src-orig/src/libstd/net/tcp.rs rustc-1.35.0-src/sr
|
|||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
|
#[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
|
||||||
fn test_read_with_timeout() {
|
fn test_read_with_timeout() {
|
||||||
@@ -1687,6 +1698,7 @@
|
@@ -1687,6 +1695,7 @@
|
||||||
drop(listener);
|
drop(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +82,7 @@ diff -ru -x '*~' rustc-1.35.0-src-orig/src/libstd/net/tcp.rs rustc-1.35.0-src/sr
|
|||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(target_env = "sgx", ignore)]
|
#[cfg_attr(target_env = "sgx", ignore)]
|
||||||
fn nodelay() {
|
fn nodelay() {
|
||||||
@@ -1719,6 +1731,7 @@
|
@@ -1719,6 +1728,7 @@
|
||||||
assert_eq!(ttl, t!(stream.ttl()));
|
assert_eq!(ttl, t!(stream.ttl()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@ let
|
|||||||
llvmShared = llvm_7.override { enableSharedLibraries = true; };
|
llvmShared = llvm_7.override { enableSharedLibraries = true; };
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "rustc";
|
pname = "rustc";
|
||||||
version = "1.35.0";
|
version = "1.36.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
|
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
|
||||||
sha256 = "0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas";
|
sha256 = "06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04";
|
||||||
};
|
};
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
@ -206,6 +206,8 @@ in stdenv.mkDerivation rec {
|
|||||||
# https://github.com/rust-lang/rust/issues/30181
|
# https://github.com/rust-lang/rust/issues/30181
|
||||||
# enableParallelBuilding = false;
|
# enableParallelBuilding = false;
|
||||||
|
|
||||||
|
setupHooks = ./setup-hook.sh;
|
||||||
|
|
||||||
requiredSystemFeatures = [ "big-parallel" ];
|
requiredSystemFeatures = [ "big-parallel" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
4
pkgs/development/compilers/rust/setup-hook.sh
Normal file
4
pkgs/development/compilers/rust/setup-hook.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Fix 'failed to open: /homeless-shelter/.cargo/.package-cache' in rust 1.36.
|
||||||
|
if [[ -z $IN_NIX_SHELL && -z $CARGO_HOME ]]; then
|
||||||
|
export CARGO_HOME=$TMPDIR
|
||||||
|
fi
|
@ -129,8 +129,8 @@ in rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
vala_0_44 = generic {
|
vala_0_44 = generic {
|
||||||
version = "0.44.3";
|
version = "0.44.5";
|
||||||
sha256 = "1sgas7z6y9r2mf4pxry3fx2awdnzn3vlg2sxd3hqpy2a90ib8lw5";
|
sha256 = "0zy2kfcvhikczfzhk5l7pkw6mvn3d6vw8cv7g08iah85p22q33xv";
|
||||||
};
|
};
|
||||||
|
|
||||||
vala = vala_0_44;
|
vala = vala_0_44;
|
||||||
|
@ -5,10 +5,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
# passed to "python setup.py build_ext"
|
# Global options passed to "python setup.py"
|
||||||
|
setupPyGlobalFlags ? []
|
||||||
|
# Build options passed to "build_ext"
|
||||||
# https://github.com/pypa/pip/issues/881
|
# https://github.com/pypa/pip/issues/881
|
||||||
# Rename to `buildOptions` because it is not setuptools specific?
|
# Rename to `buildOptions` because it is not setuptools specific?
|
||||||
setupPyBuildFlags ? []
|
, setupPyBuildFlags ? []
|
||||||
# Execute before shell hook
|
# Execute before shell hook
|
||||||
, preShellHook ? ""
|
, preShellHook ? ""
|
||||||
# Execute after shell hook
|
# Execute after shell hook
|
||||||
@ -16,13 +18,14 @@
|
|||||||
, ... } @ attrs:
|
, ... } @ attrs:
|
||||||
|
|
||||||
let
|
let
|
||||||
options = lib.concatMapStringsSep " " (option: "--global-option ${option}") setupPyBuildFlags;
|
pipGlobalFlagsString = lib.concatMapStringsSep " " (option: "--global-option ${option}") setupPyGlobalFlags;
|
||||||
|
pipBuildFlagsString = lib.concatMapStringsSep " " (option: "--build-option ${option}") setupPyBuildFlags;
|
||||||
in attrs // {
|
in attrs // {
|
||||||
buildPhase = attrs.buildPhase or ''
|
buildPhase = attrs.buildPhase or ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
echo "Creating a wheel..."
|
echo "Creating a wheel..."
|
||||||
${python.pythonForBuild.interpreter} -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist ${options} .
|
${python.pythonForBuild.interpreter} -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist ${pipGlobalFlagsString} ${pipBuildFlagsString} .
|
||||||
echo "Finished creating a wheel..."
|
echo "Finished creating a wheel..."
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
@ -50,4 +53,4 @@ in attrs // {
|
|||||||
${postShellHook}
|
${postShellHook}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -5,9 +5,11 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
# passed to "python setup.py build_ext"
|
# Global options passed to "python setup.py"
|
||||||
|
setupPyGlobalFlags ? []
|
||||||
|
# Build options passed to "python setup.py build_ext"
|
||||||
# https://github.com/pypa/pip/issues/881
|
# https://github.com/pypa/pip/issues/881
|
||||||
setupPyBuildFlags ? []
|
, setupPyBuildFlags ? []
|
||||||
# Execute before shell hook
|
# Execute before shell hook
|
||||||
, preShellHook ? ""
|
, preShellHook ? ""
|
||||||
# Execute after shell hook
|
# Execute after shell hook
|
||||||
@ -19,13 +21,16 @@ let
|
|||||||
# pip does the same thing: https://github.com/pypa/pip/pull/3265
|
# pip does the same thing: https://github.com/pypa/pip/pull/3265
|
||||||
setuppy = ./run_setup.py;
|
setuppy = ./run_setup.py;
|
||||||
|
|
||||||
|
setupPyGlobalFlagsString = lib.concatStringsSep " " setupPyGlobalFlags;
|
||||||
|
setupPyBuildExtString = lib.optionalString (setupPyBuildFlags != []) ("build_ext " + (lib.concatStringsSep " " setupPyBuildFlags));
|
||||||
|
|
||||||
in attrs // {
|
in attrs // {
|
||||||
# we copy nix_run_setup over so it's executed relative to the root of the source
|
# we copy nix_run_setup over so it's executed relative to the root of the source
|
||||||
# many project make that assumption
|
# many project make that assumption
|
||||||
buildPhase = attrs.buildPhase or ''
|
buildPhase = attrs.buildPhase or ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
cp ${setuppy} nix_run_setup
|
cp ${setuppy} nix_run_setup
|
||||||
${python.pythonForBuild.interpreter} nix_run_setup ${lib.optionalString (setupPyBuildFlags != []) ("build_ext " + (lib.concatStringsSep " " setupPyBuildFlags))} bdist_wheel
|
${python.pythonForBuild.interpreter} nix_run_setup ${setupPyGlobalFlagsString} ${setupPyBuildExtString} bdist_wheel
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
|
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
|
||||||
index 978da73..3559eb9 100644
|
index 978da73d74..3559eb95ca 100644
|
||||||
--- a/Lib/py_compile.py
|
--- a/Lib/py_compile.py
|
||||||
+++ b/Lib/py_compile.py
|
+++ b/Lib/py_compile.py
|
||||||
@@ -120,16 +120,27 @@ def compile(file, cfile=None, dfile=None, doraise=False):
|
@@ -120,16 +120,27 @@ def compile(file, cfile=None, dfile=None, doraise=False):
|
||||||
@ -39,3 +39,78 @@ index 978da73..3559eb9 100644
|
|||||||
|
|
||||||
def main(args=None):
|
def main(args=None):
|
||||||
"""Compile several source files.
|
"""Compile several source files.
|
||||||
|
diff --git a/Python/import.c b/Python/import.c
|
||||||
|
index 1e31d79279..f78a1efcf0 100644
|
||||||
|
--- a/Python/import.c
|
||||||
|
+++ b/Python/import.c
|
||||||
|
@@ -951,6 +951,8 @@ static void
|
||||||
|
write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, time_t mtime)
|
||||||
|
{
|
||||||
|
FILE *fp;
|
||||||
|
+ size_t cpathname_len;
|
||||||
|
+ char *cpathname_tmp;
|
||||||
|
#ifdef MS_WINDOWS /* since Windows uses different permissions */
|
||||||
|
mode_t mode = srcstat->st_mode & ~S_IEXEC;
|
||||||
|
/* Issue #6074: We ensure user write access, so we can delete it later
|
||||||
|
@@ -963,11 +965,28 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, t
|
||||||
|
mode_t mode = srcstat->st_mode & ~S_IXUSR & ~S_IXGRP & ~S_IXOTH;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef MS_WINDOWS
|
||||||
|
fp = open_exclusive(cpathname, mode);
|
||||||
|
+#else
|
||||||
|
+ /* Under POSIX, we first write to a tmp file and then take advantage
|
||||||
|
+ of atomic renaming. */
|
||||||
|
+ cpathname_len = strlen(cpathname);
|
||||||
|
+ cpathname_tmp = PyMem_MALLOC(cpathname_len + 5);
|
||||||
|
+ if (cpathname_tmp == NULL) {
|
||||||
|
+ PyErr_Clear();
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ memcpy(cpathname_tmp, cpathname, cpathname_len);
|
||||||
|
+ memcpy(cpathname_tmp + cpathname_len, ".tmp", 5);
|
||||||
|
+ fp = open_exclusive(cpathname_tmp, mode);
|
||||||
|
+#endif
|
||||||
|
if (fp == NULL) {
|
||||||
|
if (Py_VerboseFlag)
|
||||||
|
PySys_WriteStderr(
|
||||||
|
"# can't create %s\n", cpathname);
|
||||||
|
+#ifndef MS_WINDOWS
|
||||||
|
+ PyMem_FREE(cpathname_tmp);
|
||||||
|
+#endif
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION);
|
||||||
|
@@ -979,7 +998,12 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, t
|
||||||
|
PySys_WriteStderr("# can't write %s\n", cpathname);
|
||||||
|
/* Don't keep partial file */
|
||||||
|
fclose(fp);
|
||||||
|
+#ifdef MS_WINDOWS
|
||||||
|
(void) unlink(cpathname);
|
||||||
|
+#else
|
||||||
|
+ (void) unlink(cpathname_tmp);
|
||||||
|
+ PyMem_FREE(cpathname_tmp);
|
||||||
|
+#endif
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
/* Now write the true mtime (as a 32-bit field) */
|
||||||
|
@@ -989,6 +1013,19 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, t
|
||||||
|
PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION);
|
||||||
|
fflush(fp);
|
||||||
|
}
|
||||||
|
+ /* Under POSIX, do an atomic rename */
|
||||||
|
+#ifndef MS_WINDOWS
|
||||||
|
+ if (rename(cpathname_tmp, cpathname)) {
|
||||||
|
+ if (Py_VerboseFlag)
|
||||||
|
+ PySys_WriteStderr("# can't write %s\n", cpathname);
|
||||||
|
+ /* Don't keep tmp file */
|
||||||
|
+ fclose(fp);
|
||||||
|
+ (void) unlink(cpathname_tmp);
|
||||||
|
+ PyMem_FREE(cpathname_tmp);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ PyMem_FREE(cpathname_tmp);
|
||||||
|
+#endif
|
||||||
|
fclose(fp);
|
||||||
|
if (Py_VerboseFlag)
|
||||||
|
PySys_WriteStderr("# wrote %s\n", cpathname);
|
||||||
|
@ -256,6 +256,11 @@ in with passthru; stdenv.mkDerivation ({
|
|||||||
|
|
||||||
inherit passthru;
|
inherit passthru;
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Include a sitecustomize.py file. Note it causes an error when it's in postInstall with 2.7.
|
||||||
|
cp ${../../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
doCheck = false; # expensive, and fails
|
doCheck = false; # expensive, and fails
|
||||||
|
@ -221,6 +221,9 @@ in with passthru; stdenv.mkDerivation {
|
|||||||
find $out/lib/python*/config-* -type f -print -exec nuke-refs -e $out '{}' +
|
find $out/lib/python*/config-* -type f -print -exec nuke-refs -e $out '{}' +
|
||||||
find $out/lib -name '_sysconfigdata*.py*' -print -exec nuke-refs -e $out '{}' +
|
find $out/lib -name '_sysconfigdata*.py*' -print -exec nuke-refs -e $out '{}' +
|
||||||
|
|
||||||
|
# Include a sitecustomize.py file
|
||||||
|
cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
|
||||||
|
|
||||||
# Determinism: rebuild all bytecode
|
# Determinism: rebuild all bytecode
|
||||||
# We exclude lib2to3 because that's Python 2 code which fails
|
# We exclude lib2to3 because that's Python 2 code which fails
|
||||||
# We rebuild three times, once for each optimization level
|
# We rebuild three times, once for each optimization level
|
||||||
|
@ -137,6 +137,9 @@ in with passthru; stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484
|
# Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484
|
||||||
echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py
|
echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py
|
||||||
|
|
||||||
|
# Include a sitecustomize.py file
|
||||||
|
cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit passthru;
|
inherit passthru;
|
||||||
|
@ -84,6 +84,10 @@ in with passthru; stdenv.mkDerivation {
|
|||||||
echo "Removing bytecode"
|
echo "Removing bytecode"
|
||||||
find . -name "__pycache__" -type d -depth -exec rm -rf {} \;
|
find . -name "__pycache__" -type d -depth -exec rm -rf {} \;
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Include a sitecustomize.py file
|
||||||
|
cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
18
pkgs/development/interpreters/python/sitecustomize.py
Normal file
18
pkgs/development/interpreters/python/sitecustomize.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
"""
|
||||||
|
This is a Nix-specific module for discovering modules built with Nix.
|
||||||
|
|
||||||
|
The module recursively adds paths that are on `NIX_PYTHONPATH` to `sys.path`. In
|
||||||
|
order to process possible `.pth` files `site.addsitedir` is used.
|
||||||
|
|
||||||
|
The paths listed in `PYTHONPATH` are added to `sys.path` afterwards, but they
|
||||||
|
will be added before the entries we add here and thus take precedence.
|
||||||
|
|
||||||
|
Note the `NIX_PYTHONPATH` environment variable is unset in order to prevent leakage.
|
||||||
|
"""
|
||||||
|
import site
|
||||||
|
import os
|
||||||
|
import functools
|
||||||
|
|
||||||
|
paths = os.environ.pop('NIX_PYTHONPATH', None)
|
||||||
|
if paths:
|
||||||
|
functools.reduce(lambda k, p: site.addsitedir(p, k), paths.split(':'), site._init_pathinfo())
|
@ -13,6 +13,7 @@
|
|||||||
let
|
let
|
||||||
env = let
|
env = let
|
||||||
paths = requiredPythonModules (extraLibs ++ [ python ] ) ;
|
paths = requiredPythonModules (extraLibs ++ [ python ] ) ;
|
||||||
|
pythonPath = "${placeholder "out"}/${python.sitePackages}";
|
||||||
in buildEnv {
|
in buildEnv {
|
||||||
name = "${python.name}-env";
|
name = "${python.name}-env";
|
||||||
|
|
||||||
@ -35,7 +36,7 @@ let
|
|||||||
if [ -f "$prg" ]; then
|
if [ -f "$prg" ]; then
|
||||||
rm -f "$out/bin/$prg"
|
rm -f "$out/bin/$prg"
|
||||||
if [ -x "$prg" ]; then
|
if [ -x "$prg" ]; then
|
||||||
makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set PYTHONHOME "$out" ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
|
makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -46,7 +46,7 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
binPrograms = optional (!stdenv.isDarwin) "gapplication" ++ [ "gdbus" "gio" "gsettings" ];
|
binPrograms = optional (!stdenv.isDarwin) "gapplication" ++ [ "gdbus" "gio" "gsettings" ];
|
||||||
version = "2.60.3";
|
version = "2.60.4";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/glib/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/glib/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "1fb0nx9fcmic8rsh0fbp79lqpasfjxljvnshbw2hsya51mb0vaq4";
|
sha256 = "1p9k8z83272mkm4d4fhm5jhwhyw2basrwbz47yl5wbmrvk2ix51b";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optional stdenv.isDarwin ./darwin-compilation.patch
|
patches = optional stdenv.isDarwin ./darwin-compilation.patch
|
||||||
|
@ -1,32 +1,61 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, gettext, perl, makeWrapper, shared-mime-info, isocodes
|
{ stdenv
|
||||||
, expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobject-introspection, fribidi
|
, fetchurl
|
||||||
, xorg, epoxy, json-glib, libxkbcommon, gmp, gnome3, autoreconfHook, gsettings-desktop-schemas
|
, fetchpatch
|
||||||
|
, pkgconfig
|
||||||
|
, gettext
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
|
, makeWrapper
|
||||||
|
, shared-mime-info
|
||||||
|
, isocodes
|
||||||
|
, expat
|
||||||
|
, glib
|
||||||
|
, cairo
|
||||||
|
, pango
|
||||||
|
, gdk_pixbuf
|
||||||
|
, atk
|
||||||
|
, at-spi2-atk
|
||||||
|
, gobject-introspection
|
||||||
|
, fribidi
|
||||||
|
, xorg
|
||||||
|
, epoxy
|
||||||
|
, json-glib
|
||||||
|
, libxkbcommon
|
||||||
|
, gmp
|
||||||
|
, gnome3
|
||||||
|
, hicolor-icon-theme
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, sassc
|
||||||
, x11Support ? stdenv.isLinux
|
, x11Support ? stdenv.isLinux
|
||||||
, waylandSupport ? stdenv.isLinux, mesa, wayland, wayland-protocols
|
, waylandSupport ? stdenv.isLinux
|
||||||
|
, mesa
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux, cups ? null
|
, cupsSupport ? stdenv.isLinux
|
||||||
, AppKit, Cocoa
|
, cups ? null
|
||||||
|
, AppKit
|
||||||
|
, Cocoa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert cupsSupport -> cups != null;
|
assert cupsSupport -> cups != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
|
||||||
version = "3.24.8";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gtk+3-${version}";
|
pname = "gtk+3";
|
||||||
|
version = "3.24.10";
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
|
|
||||||
sha256 = "16f71bbkhwhndcsrpyhjia3b77cb5ksf5c45lyfgws4pkgg64sb6";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext gobject-introspection perl makeWrapper autoreconfHook ];
|
setupHook = ./gtk3-setup-hook.sh;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
|
||||||
|
sha256 = "00qvq1r96ikdalv7xzgng1kad9i0rcahqk01gwhxl3xrw83z3a1m";
|
||||||
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./3.0-immodules.cache.patch
|
./3.0-immodules.cache.patch
|
||||||
@ -42,40 +71,76 @@ stdenv.mkDerivation rec {
|
|||||||
./3.0-darwin-x11.patch
|
./3.0-darwin-x11.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libxkbcommon epoxy json-glib isocodes ]
|
mesonFlags = [
|
||||||
++ optional stdenv.isDarwin AppKit;
|
"-Dtests=false"
|
||||||
propagatedBuildInputs = with xorg; with stdenv.lib;
|
|
||||||
[ expat glib cairo pango gdk_pixbuf atk at-spi2-atk gsettings-desktop-schemas fribidi
|
|
||||||
libXrandr libXrender libXcomposite libXi libXcursor libSM libICE ]
|
|
||||||
++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
|
|
||||||
++ optionals waylandSupport [ mesa wayland wayland-protocols ]
|
|
||||||
++ optional xineramaSupport libXinerama
|
|
||||||
++ optional cupsSupport cups;
|
|
||||||
#TODO: colord?
|
|
||||||
|
|
||||||
## (2019-06-12) Demos seem to install fine now. Keeping this around in case it fails again.
|
|
||||||
## (2014-03-27) demos fail to install, no idea where's the problem
|
|
||||||
#preConfigure = "sed '/^SRC_SUBDIRS /s/demos//' -i Makefile.in";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
configureFlags = optional stdenv.isDarwin [
|
|
||||||
"--disable-debug"
|
|
||||||
"--disable-dependency-tracking"
|
|
||||||
"--disable-glibtest"
|
|
||||||
] ++ optional (stdenv.isDarwin && !x11Support)
|
|
||||||
"--enable-quartz-backend"
|
|
||||||
++ optional x11Support [
|
|
||||||
"--enable-x11-backend"
|
|
||||||
] ++ optional waylandSupport [
|
|
||||||
"--enable-wayland-backend"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
files=(
|
||||||
|
build-aux/meson/post-install.py
|
||||||
|
demos/gtk-demo/geninclude.py
|
||||||
|
gdk/broadway/gen-c-array.py
|
||||||
|
gdk/gen-gdk-gresources-xml.py
|
||||||
|
gtk/cursor/dnd-copy.png
|
||||||
|
gtk/gen-gtk-gresources-xml.py
|
||||||
|
gtk/gen-rc.py
|
||||||
|
gtk/gentypefuncs.py
|
||||||
|
)
|
||||||
|
|
||||||
|
chmod +x ''${files[@]}
|
||||||
|
patchShebangs ''${files[@]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gettext
|
||||||
|
gobject-introspection
|
||||||
|
hicolor-icon-theme # setup-hook
|
||||||
|
makeWrapper
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkgconfig
|
||||||
|
python3
|
||||||
|
sassc
|
||||||
|
setupHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libxkbcommon
|
||||||
|
epoxy
|
||||||
|
json-glib
|
||||||
|
isocodes
|
||||||
|
]
|
||||||
|
++ optional stdenv.isDarwin AppKit
|
||||||
|
;
|
||||||
|
|
||||||
|
propagatedBuildInputs = with xorg; [
|
||||||
|
at-spi2-atk
|
||||||
|
atk
|
||||||
|
cairo
|
||||||
|
expat
|
||||||
|
fribidi
|
||||||
|
gdk_pixbuf
|
||||||
|
glib
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
libICE
|
||||||
|
libSM
|
||||||
|
libXcomposite
|
||||||
|
libXcursor
|
||||||
|
libXi
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
pango
|
||||||
|
]
|
||||||
|
++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
|
||||||
|
++ optionals waylandSupport [ mesa wayland wayland-protocols ]
|
||||||
|
++ optional xineramaSupport libXinerama
|
||||||
|
++ optional cupsSupport cups
|
||||||
|
;
|
||||||
|
#TODO: colord?
|
||||||
|
|
||||||
doCheck = false; # needs X11
|
doCheck = false; # needs X11
|
||||||
|
|
||||||
postInstall = optionalString (!stdenv.isDarwin) ''
|
postInstall = optionalString (!stdenv.isDarwin) ''
|
||||||
substituteInPlace "$out/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.la" \
|
|
||||||
--replace '-L${gmp.dev}/lib' '-L${gmp.out}/lib'
|
|
||||||
# The updater is needed for nixos env and it's tiny.
|
# The updater is needed for nixos env and it's tiny.
|
||||||
moveToOutput bin/gtk-update-icon-cache "$out"
|
moveToOutput bin/gtk-update-icon-cache "$out"
|
||||||
# Launcher
|
# Launcher
|
||||||
@ -87,6 +152,20 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Make all demo related things in dev
|
||||||
|
postFixup = ''
|
||||||
|
moveToOutput share/icons/hicolor "$dev"
|
||||||
|
moveToOutput share/applications "$dev"
|
||||||
|
moveToOutput share/gsettings-schemas "$dev"
|
||||||
|
|
||||||
|
demos=(gtk3-demo gtk3-demo-application gtk3-icon-browser gtk3-widget-factory)
|
||||||
|
|
||||||
|
for program in ''${demos[@]}; do
|
||||||
|
wrapProgram $dev/bin/$program \
|
||||||
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$dev/share/gsettings-schemas/${pname}-${version}"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "gtk+";
|
packageName = "gtk+";
|
||||||
@ -94,9 +173,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
description = "A multi-platform toolkit for creating graphical user interfaces";
|
description = "A multi-platform toolkit for creating graphical user interfaces";
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GTK+ is a highly usable, feature rich toolkit for creating
|
GTK+ is a highly usable, feature rich toolkit for creating
|
||||||
graphical user interfaces which boasts cross platform
|
graphical user interfaces which boasts cross platform
|
||||||
@ -107,11 +185,8 @@ stdenv.mkDerivation rec {
|
|||||||
proprietary software with GTK+ without any license fees or
|
proprietary software with GTK+ without any license fees or
|
||||||
royalties.
|
royalties.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = https://www.gtk.org/;
|
homepage = https://www.gtk.org/;
|
||||||
|
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
|
|
||||||
maintainers = with maintainers; [ raskin vcunat lethalman ];
|
maintainers = with maintainers; [ raskin vcunat lethalman ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
10
pkgs/development/libraries/gtk+/gtk3-setup-hook.sh
Normal file
10
pkgs/development/libraries/gtk+/gtk3-setup-hook.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
fixupOutputHooks+=(_gtk3CleanComments)
|
||||||
|
|
||||||
|
# Clean comments that link to generator of the file
|
||||||
|
_gtk3CleanComments() {
|
||||||
|
local f="$prefix/lib/gtk-3.0/3.0.0/immodules.cache"
|
||||||
|
if [ -f "$f" ]; then
|
||||||
|
sed 's|Created by .*bin/gtk-query-|Created by bin/gtk-query-|' -i "$f"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, meson, ninja, libpthreadstubs, libpciaccess, valgrind-light }:
|
{ stdenv, fetchurl, pkgconfig, meson, ninja, libpthreadstubs, libpciaccess, valgrind-light }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libdrm-2.4.98";
|
pname = "libdrm";
|
||||||
|
version = "2.4.99";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
url = "https://dri.freedesktop.org/${pname}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "150qdzsm2nx6dfacc75rx53anzsc6m31nhxidf5xxax3mk6fvq4b";
|
sha256 = "0pnsw4bmajzdbz8pk4wswdmw93shhympf2q9alhbnpfjgsf57gsd";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "bin" ];
|
outputs = [ "out" "dev" "bin" ];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libev-${version}";
|
name = "libev-${version}";
|
||||||
version="4.25";
|
version="4.27";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dist.schmorp.de/libev/Attic/${name}.tar.gz";
|
url = "http://dist.schmorp.de/libev/Attic/${name}.tar.gz";
|
||||||
sha256 = "1295q0lkkbrlpd5dl5i48bh1rm8mjzh9y795jlvjz3bp4wf7wxbq";
|
sha256 = "0kil23cgsp0r5shvnwwbsy7fzxb62sxqzqbkbkfp5w54ipy2cm9d";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, python }:
|
{ stdenv, fetchurl, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libevdev-1.6.0";
|
name = "libevdev-1.7.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.freedesktop.org/software/libevdev/${name}.tar.xz";
|
url = "https://www.freedesktop.org/software/libevdev/${name}.tar.xz";
|
||||||
sha256 = "057qdrwbhql2lvr4kxljk3yqjsmh65hyrfbr2b681nc7b635q07m";
|
sha256 = "0sg3lbjn68qaq3yz2k735h29kaf3fmx7b5m1x7rm2fnhn7rf3nqi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python ];
|
buildInputs = [ python ];
|
||||||
|
@ -27,11 +27,11 @@ in
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libwebp-${version}";
|
name = "libwebp-${version}";
|
||||||
version = "1.0.2";
|
version = "1.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.webmproject.org/releases/webp/${name}.tar.gz";
|
url = "http://downloads.webmproject.org/releases/webp/${name}.tar.gz";
|
||||||
sha256 = "1cb4sm6h1czvk9kqqgld3g5f0d9qv60xnbbv0kl7cr7d826b8irx";
|
sha256 = "0kxk4sic34bln3k09mml7crvrmhj97swdk7b1ahbp5w6bj30f2p2";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -24,6 +24,16 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6.patch";
|
url = "https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6.patch";
|
||||||
sha256 = "0pkpb4837km15zgg6h57bncp66d5lwrlvkr73h0lanywq7zrwhj8";
|
sha256 = "0pkpb4837km15zgg6h57bncp66d5lwrlvkr73h0lanywq7zrwhj8";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/libxslt/commit/c5eb6cf3aba0af048596106ed839b4ae17ecbcb1.patch";
|
||||||
|
name = "CVE-2019-13117.patch";
|
||||||
|
sha256 = "0ynfq8y5h623cypj1426iiz7796n3mqbjqa24ndvh2am6rl5lw15";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/libxslt/commit/6ce8de69330783977dd14f6569419489875fb71b.patch";
|
||||||
|
name = "CVE-2019-13118.patch";
|
||||||
|
sha256 = "0bglz9m9sh2vi50qxcm06iqrazw3h45ycgxnp15iankq95z283iq";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "out" "man" "doc" ] ++ stdenv.lib.optional pythonSupport "py";
|
outputs = [ "bin" "dev" "out" "man" "doc" ] ++ stdenv.lib.optional pythonSupport "py";
|
||||||
|
@ -13,5 +13,15 @@ callPackage ./generic.nix (args // rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./fix-cmake-config-includedir.patch
|
./fix-cmake-config-includedir.patch
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/uclouvain/openjpeg/commit/21399f6b7d318fcdf4406d5e88723c4922202aa3.patch";
|
||||||
|
name = "CVE-2019-12973-1.patch";
|
||||||
|
sha256 = "161yvnfbzy2016qqapm0ywfgglgs1v8ljnk6fj8d2bwdh1cxxz8f";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/uclouvain/openjpeg/commit/3aef207f90e937d4931daf6d411e092f76d82e66.patch";
|
||||||
|
name = "CVE-2019-12973-2.patch";
|
||||||
|
sha256 = "1jkkfw13l7nx4hxdhc7z17f4vfgqcaf09zpl235kypbxx1ygc7vq";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
||||||
, libpng, libtiff, lcms2
|
, libpng, libtiff, lcms2, jpylyzer
|
||||||
, mj2Support ? true # MJ2 executables
|
, mj2Support ? true # MJ2 executables
|
||||||
, jpwlLibSupport ? true # JPWL library & executables
|
, jpwlLibSupport ? true # JPWL library & executables
|
||||||
, jpipLibSupport ? false # JPIP library & executables
|
, jpipLibSupport ? false # JPIP library & executables
|
||||||
@ -8,7 +8,7 @@
|
|||||||
, openjpegJarSupport ? false # Openjpeg jar (Java)
|
, openjpegJarSupport ? false # Openjpeg jar (Java)
|
||||||
, jp3dSupport ? true # # JP3D comp
|
, jp3dSupport ? true # # JP3D comp
|
||||||
, thirdPartySupport ? false # Third party libraries - OFF: only build when found, ON: always build
|
, thirdPartySupport ? false # Third party libraries - OFF: only build when found, ON: always build
|
||||||
, testsSupport ? false
|
, testsSupport ? true
|
||||||
, jdk ? null
|
, jdk ? null
|
||||||
# Inherit generics
|
# Inherit generics
|
||||||
, branch, version, revision, sha256, patches ? [], extraFlags ? [], ...
|
, branch, version, revision, sha256, patches ? [], extraFlags ? [], ...
|
||||||
@ -62,6 +62,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ libpng libtiff lcms2 ];
|
propagatedBuildInputs = [ libpng libtiff lcms2 ];
|
||||||
|
|
||||||
|
doCheck = testsSupport;
|
||||||
|
checkPhase = ''
|
||||||
|
substituteInPlace ../tools/ctest_scripts/travis-ci.cmake \
|
||||||
|
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"${jpylyzer}/bin/jpylyzer\" # "
|
||||||
|
OPJ_SOURCE_DIR=.. ctest -S ../tools/ctest_scripts/travis-ci.cmake
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
incDir = "openjpeg-${branch}";
|
incDir = "openjpeg-${branch}";
|
||||||
};
|
};
|
||||||
|
@ -60,7 +60,6 @@ let
|
|||||||
qtserialport = [ ./qtserialport.patch ];
|
qtserialport = [ ./qtserialport.patch ];
|
||||||
qtwebengine = [
|
qtwebengine = [
|
||||||
./qtwebengine-no-build-skip.patch
|
./qtwebengine-no-build-skip.patch
|
||||||
./qtwebengine-CVE-2019-5786.patch
|
|
||||||
]
|
]
|
||||||
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
|
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
|
||||||
qtwebkit = [ ./qtwebkit.patch ]
|
qtwebkit = [ ./qtwebkit.patch ]
|
||||||
|
@ -1 +1 @@
|
|||||||
WGET_ARGS=( http://download.qt.io/official_releases/qt/5.12/5.12.0/submodules/ )
|
WGET_ARGS=( http://download.qt.io/official_releases/qt/5.12/5.12.3/submodules/ )
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
diff --git a/mkspecs/common/mac.conf b/mkspecs/common/mac.conf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/common/mac.conf qtbase-everywhere-src-5.12.3-b/mkspecs/common/mac.conf
|
||||||
index 61bea952b2..9909dae726 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/common/mac.conf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/common/mac.conf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/common/mac.conf 2019-07-10 09:35:08.917628566 -0500
|
||||||
+++ b/mkspecs/common/mac.conf
|
@@ -24,7 +24,7 @@
|
||||||
@@ -23,7 +23,7 @@ QMAKE_INCDIR_OPENGL = \
|
|
||||||
|
|
||||||
QMAKE_FIX_RPATH = install_name_tool -id
|
QMAKE_FIX_RPATH = install_name_tool -id
|
||||||
|
|
||||||
@ -11,11 +10,10 @@ index 61bea952b2..9909dae726 100644
|
|||||||
QMAKE_LFLAGS_GCSECTIONS = -Wl,-dead_strip
|
QMAKE_LFLAGS_GCSECTIONS = -Wl,-dead_strip
|
||||||
|
|
||||||
QMAKE_LFLAGS_REL_RPATH =
|
QMAKE_LFLAGS_REL_RPATH =
|
||||||
diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/create_cmake.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/create_cmake.prf
|
||||||
index 2ed708e085..05e60ff45f 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/create_cmake.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/create_cmake.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/create_cmake.prf 2019-07-10 09:35:08.917628566 -0500
|
||||||
+++ b/mkspecs/features/create_cmake.prf
|
@@ -21,7 +21,7 @@
|
||||||
@@ -21,7 +21,7 @@ load(cmake_functions)
|
|
||||||
# at cmake time whether package has been found via a symlink, and correct
|
# at cmake time whether package has been found via a symlink, and correct
|
||||||
# that to an absolute path. This is only done for installations to
|
# that to an absolute path. This is only done for installations to
|
||||||
# the /usr or / prefix.
|
# the /usr or / prefix.
|
||||||
@ -24,7 +22,7 @@ index 2ed708e085..05e60ff45f 100644
|
|||||||
contains(CMAKE_INSTALL_LIBS_DIR, ^(/usr)?/lib(64)?.*): CMAKE_USR_MOVE_WORKAROUND = $$CMAKE_INSTALL_LIBS_DIR
|
contains(CMAKE_INSTALL_LIBS_DIR, ^(/usr)?/lib(64)?.*): CMAKE_USR_MOVE_WORKAROUND = $$CMAKE_INSTALL_LIBS_DIR
|
||||||
|
|
||||||
CMAKE_OUT_DIR = $$MODULE_BASE_OUTDIR/lib/cmake
|
CMAKE_OUT_DIR = $$MODULE_BASE_OUTDIR/lib/cmake
|
||||||
@@ -51,45 +51,20 @@ split_incpath {
|
@@ -51,45 +51,20 @@
|
||||||
$$cmake_extra_source_includes.output
|
$$cmake_extra_source_includes.output
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +79,7 @@ index 2ed708e085..05e60ff45f 100644
|
|||||||
|
|
||||||
static|staticlib:CMAKE_STATIC_TYPE = true
|
static|staticlib:CMAKE_STATIC_TYPE = true
|
||||||
|
|
||||||
@@ -169,7 +144,7 @@ contains(CONFIG, plugin) {
|
@@ -169,7 +144,7 @@
|
||||||
cmake_target_file
|
cmake_target_file
|
||||||
|
|
||||||
cmake_qt5_plugin_file.files = $$cmake_target_file.output
|
cmake_qt5_plugin_file.files = $$cmake_target_file.output
|
||||||
@ -90,7 +88,7 @@ index 2ed708e085..05e60ff45f 100644
|
|||||||
INSTALLS += cmake_qt5_plugin_file
|
INSTALLS += cmake_qt5_plugin_file
|
||||||
|
|
||||||
return()
|
return()
|
||||||
@@ -316,7 +291,7 @@ exists($$cmake_macros_file.input) {
|
@@ -318,7 +293,7 @@
|
||||||
cmake_qt5_module_files.files += $$cmake_macros_file.output
|
cmake_qt5_module_files.files += $$cmake_macros_file.output
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,11 +97,10 @@ index 2ed708e085..05e60ff45f 100644
|
|||||||
|
|
||||||
# We are generating cmake files. Most developers of Qt are not aware of cmake,
|
# We are generating cmake files. Most developers of Qt are not aware of cmake,
|
||||||
# so we require automatic tests to be available. The only module which should
|
# so we require automatic tests to be available. The only module which should
|
||||||
diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in qtbase-everywhere-src-5.12.3-b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
||||||
index 3ed6dd5889..4c7c8da21a 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in 2019-07-10 09:35:08.917628566 -0500
|
||||||
+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
@@ -3,30 +3,6 @@
|
||||||
@@ -3,30 +3,6 @@ if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
|
||||||
message(FATAL_ERROR \"Qt 5 $${CMAKE_MODULE_NAME} module requires at least CMake version 3.1.0\")
|
message(FATAL_ERROR \"Qt 5 $${CMAKE_MODULE_NAME} module requires at least CMake version 3.1.0\")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -134,7 +131,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
!!IF !equals(TEMPLATE, aux)
|
!!IF !equals(TEMPLATE, aux)
|
||||||
# For backwards compatibility only. Use Qt5$${CMAKE_MODULE_NAME}_VERSION instead.
|
# For backwards compatibility only. Use Qt5$${CMAKE_MODULE_NAME}_VERSION instead.
|
||||||
set(Qt5$${CMAKE_MODULE_NAME}_VERSION_STRING "$$eval(QT.$${MODULE}.VERSION)")
|
set(Qt5$${CMAKE_MODULE_NAME}_VERSION_STRING "$$eval(QT.$${MODULE}.VERSION)")
|
||||||
@@ -52,11 +28,7 @@ endmacro()
|
@@ -52,11 +28,7 @@
|
||||||
macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
@ -146,7 +143,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
|
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
|
||||||
set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
|
set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
|
||||||
\"INTERFACE_LINK_LIBRARIES\" \"${_Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES}\"
|
\"INTERFACE_LINK_LIBRARIES\" \"${_Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES}\"
|
||||||
@@ -69,11 +41,7 @@ macro(_populate_$${CMAKE_MODULE_NAME}_target_properties Configuration LIB_LOCATI
|
@@ -69,11 +41,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
!!IF !isEmpty(CMAKE_WINDOWS_BUILD)
|
!!IF !isEmpty(CMAKE_WINDOWS_BUILD)
|
||||||
@ -158,7 +155,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_implib})
|
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_implib})
|
||||||
if(NOT \"${IMPLIB_LOCATION}\" STREQUAL \"\")
|
if(NOT \"${IMPLIB_LOCATION}\" STREQUAL \"\")
|
||||||
set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
|
set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES
|
||||||
@@ -89,24 +57,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
@@ -89,24 +57,13 @@
|
||||||
!!IF !no_module_headers
|
!!IF !no_module_headers
|
||||||
!!IF !isEmpty(CMAKE_BUILD_IS_FRAMEWORK)
|
!!IF !isEmpty(CMAKE_BUILD_IS_FRAMEWORK)
|
||||||
set(_Qt5$${CMAKE_MODULE_NAME}_OWN_INCLUDE_DIRS
|
set(_Qt5$${CMAKE_MODULE_NAME}_OWN_INCLUDE_DIRS
|
||||||
@ -187,7 +184,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
)
|
)
|
||||||
!!ELSE
|
!!ELSE
|
||||||
set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
|
set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
|
||||||
@@ -122,7 +79,6 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
@@ -122,7 +79,6 @@
|
||||||
set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
|
set(Qt5$${CMAKE_MODULE_NAME}_PRIVATE_INCLUDE_DIRS \"\")
|
||||||
!!ENDIF
|
!!ENDIF
|
||||||
!!ENDIF
|
!!ENDIF
|
||||||
@ -195,7 +192,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
!!IF !isEmpty(CMAKE_ADD_SOURCE_INCLUDE_DIRS)
|
!!IF !isEmpty(CMAKE_ADD_SOURCE_INCLUDE_DIRS)
|
||||||
include(\"${CMAKE_CURRENT_LIST_DIR}/ExtraSourceIncludes.cmake\" OPTIONAL)
|
include(\"${CMAKE_CURRENT_LIST_DIR}/ExtraSourceIncludes.cmake\" OPTIONAL)
|
||||||
!!ENDIF
|
!!ENDIF
|
||||||
@@ -272,25 +228,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
@@ -272,25 +228,13 @@
|
||||||
!!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
|
!!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
|
||||||
!!IF isEmpty(CMAKE_DEBUG_TYPE)
|
!!IF isEmpty(CMAKE_DEBUG_TYPE)
|
||||||
!!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
|
!!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
|
||||||
@ -221,7 +218,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
_populate_$${CMAKE_MODULE_NAME}_target_properties(DEBUG \"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
_populate_$${CMAKE_MODULE_NAME}_target_properties(DEBUG \"$${CMAKE_LIB_FILE_LOCATION_DEBUG}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_DEBUG}\" )
|
||||||
!!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
|
!!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
|
||||||
endif()
|
endif()
|
||||||
@@ -309,25 +253,13 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
@@ -309,25 +253,13 @@
|
||||||
!!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
|
!!IF !isEmpty(CMAKE_FIND_OTHER_LIBRARY_BUILD)
|
||||||
!!IF isEmpty(CMAKE_RELEASE_TYPE)
|
!!IF isEmpty(CMAKE_RELEASE_TYPE)
|
||||||
!!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
|
!!IF !isEmpty(CMAKE_STATIC_WINDOWS_BUILD)
|
||||||
@ -247,7 +244,7 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
_populate_$${CMAKE_MODULE_NAME}_target_properties(RELEASE \"$${CMAKE_LIB_FILE_LOCATION_RELEASE}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
|
_populate_$${CMAKE_MODULE_NAME}_target_properties(RELEASE \"$${CMAKE_LIB_FILE_LOCATION_RELEASE}\" \"$${CMAKE_IMPLIB_FILE_LOCATION_RELEASE}\" )
|
||||||
!!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
|
!!ENDIF // CMAKE_STATIC_WINDOWS_BUILD
|
||||||
endif()
|
endif()
|
||||||
@@ -346,11 +278,7 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
@@ -346,11 +278,7 @@
|
||||||
macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
macro(_populate_$${CMAKE_MODULE_NAME}_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
@ -259,19 +256,17 @@ index 3ed6dd5889..4c7c8da21a 100644
|
|||||||
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
|
_qt5_$${CMAKE_MODULE_NAME}_check_file_exists(${imported_location})
|
||||||
set_target_properties(Qt5::${Plugin} PROPERTIES
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
\"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
|
\"IMPORTED_LOCATION_${Configuration}\" ${imported_location}
|
||||||
diff --git a/mkspecs/features/mac/default_post.prf b/mkspecs/features/mac/default_post.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/mac/default_post.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/mac/default_post.prf
|
||||||
index 99f68b78f5..dde69cb7c2 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/mac/default_post.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/mac/default_post.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/mac/default_post.prf 2019-07-10 09:35:08.917628566 -0500
|
||||||
+++ b/mkspecs/features/mac/default_post.prf
|
@@ -64,202 +64,6 @@
|
||||||
@@ -63,199 +63,3 @@ qt {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-
|
|
||||||
-# Add the same default rpaths as Xcode does for new projects.
|
-# Add the same default rpaths as Xcode does for new projects.
|
||||||
-# This is especially important for iOS/tvOS/watchOS where no other option is possible.
|
-# This is especially important for iOS/tvOS/watchOS where no other option is possible.
|
||||||
-!no_default_rpath {
|
-!no_default_rpath {
|
||||||
- QMAKE_RPATHDIR += @executable_path/Frameworks
|
- QMAKE_RPATHDIR += @executable_path/../Frameworks
|
||||||
- equals(TEMPLATE, lib):!plugin:lib_bundle: QMAKE_RPATHDIR += @loader_path/Frameworks
|
- equals(TEMPLATE, lib):!plugin:lib_bundle: QMAKE_RPATHDIR += @loader_path/Frameworks
|
||||||
-}
|
-}
|
||||||
-
|
-
|
||||||
@ -463,10 +458,13 @@ index 99f68b78f5..dde69cb7c2 100644
|
|||||||
- xcode_product_bundle_target = ${PRODUCT_NAME:rfc1034identifier}
|
- xcode_product_bundle_target = ${PRODUCT_NAME:rfc1034identifier}
|
||||||
-xcode_product_bundle_identifier_setting.value = "$${xcode_product_bundle_identifier_setting.value}.$${xcode_product_bundle_target}"
|
-xcode_product_bundle_identifier_setting.value = "$${xcode_product_bundle_identifier_setting.value}.$${xcode_product_bundle_target}"
|
||||||
-QMAKE_MAC_XCODE_SETTINGS += xcode_product_bundle_identifier_setting
|
-QMAKE_MAC_XCODE_SETTINGS += xcode_product_bundle_identifier_setting
|
||||||
diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf
|
-
|
||||||
index e3534561a5..3b01424e67 100644
|
!macx-xcode {
|
||||||
--- a/mkspecs/features/mac/default_pre.prf
|
generate_xcode_project.commands = @$(QMAKE) -spec macx-xcode $(EXPORT__PRO_FILE_)
|
||||||
+++ b/mkspecs/features/mac/default_pre.prf
|
generate_xcode_project.target = xcodeproj
|
||||||
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/mac/default_pre.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/mac/default_pre.prf
|
||||||
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/mac/default_pre.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/mac/default_pre.prf 2019-07-10 09:35:08.917628566 -0500
|
||||||
@@ -1,60 +1,2 @@
|
@@ -1,60 +1,2 @@
|
||||||
CONFIG = asset_catalogs rez $$CONFIG
|
CONFIG = asset_catalogs rez $$CONFIG
|
||||||
load(default_pre)
|
load(default_pre)
|
||||||
@ -528,11 +526,10 @@ index e3534561a5..3b01424e67 100644
|
|||||||
-xcode_copy_phase_strip_setting.name = COPY_PHASE_STRIP
|
-xcode_copy_phase_strip_setting.name = COPY_PHASE_STRIP
|
||||||
-xcode_copy_phase_strip_setting.value = NO
|
-xcode_copy_phase_strip_setting.value = NO
|
||||||
-QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting
|
-QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting
|
||||||
diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/mac/sdk.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/mac/sdk.prf
|
||||||
index 8360dd8b38..8b13789179 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/mac/sdk.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/mac/sdk.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/mac/sdk.prf 2019-07-10 09:35:08.917628566 -0500
|
||||||
+++ b/mkspecs/features/mac/sdk.prf
|
@@ -1,54 +1 @@
|
||||||
@@ -1,58 +1 @@
|
|
||||||
|
|
||||||
-isEmpty(QMAKE_MAC_SDK): \
|
-isEmpty(QMAKE_MAC_SDK): \
|
||||||
- error("QMAKE_MAC_SDK must be set when using CONFIG += sdk.")
|
- error("QMAKE_MAC_SDK must be set when using CONFIG += sdk.")
|
||||||
@ -568,10 +565,6 @@ index 8360dd8b38..8b13789179 100644
|
|||||||
-QMAKE_MAC_SDK_PLATFORM_PATH = $$xcodeSDKInfo(PlatformPath)
|
-QMAKE_MAC_SDK_PLATFORM_PATH = $$xcodeSDKInfo(PlatformPath)
|
||||||
-QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)
|
-QMAKE_MAC_SDK_VERSION = $$xcodeSDKInfo(SDKVersion)
|
||||||
-
|
-
|
||||||
-sysrootified =
|
|
||||||
-for(val, QMAKE_INCDIR_OPENGL): sysrootified += $${QMAKE_MAC_SDK_PATH}$$val
|
|
||||||
-QMAKE_INCDIR_OPENGL = $$sysrootified
|
|
||||||
-
|
|
||||||
-QMAKESPEC_NAME = $$basename(QMAKESPEC)
|
-QMAKESPEC_NAME = $$basename(QMAKESPEC)
|
||||||
-
|
-
|
||||||
-# Resolve SDK version of various tools
|
-# Resolve SDK version of various tools
|
||||||
@ -591,37 +584,34 @@ index 8360dd8b38..8b13789179 100644
|
|||||||
- $$tool = $$sysrooted $$member(value, 1, -1)
|
- $$tool = $$sysrooted $$member(value, 1, -1)
|
||||||
- cache($$tool_variable, set stash, $$tool)
|
- cache($$tool_variable, set stash, $$tool)
|
||||||
-}
|
-}
|
||||||
diff --git a/mkspecs/features/qml_module.prf b/mkspecs/features/qml_module.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qml_module.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qml_module.prf
|
||||||
index 65212b2abf..accd4c07f0 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qml_module.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qml_module.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qml_module.prf 2019-07-10 09:35:08.917628566 -0500
|
||||||
+++ b/mkspecs/features/qml_module.prf
|
@@ -54,7 +54,7 @@
|
||||||
@@ -52,7 +52,7 @@ qmldir.base = $$_PRO_FILE_PWD_
|
|
||||||
# Tools need qmldir and plugins.qmltypes always installed on the file system
|
qmldir.files = $$qmldir_file
|
||||||
qmldir.files = $$qmldir_file $$fq_aux_qml_files
|
|
||||||
install_qml_files: qmldir.files += $$fq_qml_files
|
install_qml_files: qmldir.files += $$fq_qml_files
|
||||||
-qmldir.path = $$instbase/$$TARGETPATH
|
-qmldir.path = $$[QT_INSTALL_QML]/$$TARGETPATH
|
||||||
+qmldir.path = $$NIX_OUTPUT_QML/$$TARGETPATH
|
+qmldir.path = $$NIX_OUTPUT_QML/$$TARGETPATH
|
||||||
INSTALLS += qmldir
|
INSTALLS += qmldir
|
||||||
|
|
||||||
!debug_and_release|!build_all|CONFIG(release, debug|release) {
|
qmlfiles.base = $$_PRO_FILE_PWD_
|
||||||
diff --git a/mkspecs/features/qml_plugin.prf b/mkspecs/features/qml_plugin.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qml_plugin.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qml_plugin.prf
|
||||||
index cd6377dcc6..e98bf98151 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qml_plugin.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qml_plugin.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qml_plugin.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qml_plugin.prf
|
@@ -50,7 +50,7 @@
|
||||||
@@ -56,7 +56,7 @@ qml1_target {
|
|
||||||
instbase = $$[QT_INSTALL_QML]
|
|
||||||
}
|
|
||||||
|
|
||||||
-target.path = $$instbase/$$TARGETPATH
|
DESTDIR = $$MODULE_BASE_OUTDIR/qml/$$TARGETPATH
|
||||||
|
|
||||||
|
-target.path = $$[QT_INSTALL_QML]/$$TARGETPATH
|
||||||
+target.path = $$NIX_OUTPUT_QML/$$TARGETPATH
|
+target.path = $$NIX_OUTPUT_QML/$$TARGETPATH
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
|
||||||
# Some final setup
|
# Some final setup
|
||||||
diff --git a/mkspecs/features/qt_app.prf b/mkspecs/features/qt_app.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_app.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_app.prf
|
||||||
index 8354f30eea..62028fef8e 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_app.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_app.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_app.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_app.prf
|
@@ -30,7 +30,7 @@
|
||||||
@@ -30,7 +30,7 @@ host_build:force_bootstrap {
|
|
||||||
target.path = $$[QT_HOST_BINS]
|
target.path = $$[QT_HOST_BINS]
|
||||||
} else {
|
} else {
|
||||||
!build_pass:qtConfig(debug_and_release): CONFIG += release
|
!build_pass:qtConfig(debug_and_release): CONFIG += release
|
||||||
@ -630,11 +620,10 @@ index 8354f30eea..62028fef8e 100644
|
|||||||
CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
|
CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
|
||||||
}
|
}
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
diff --git a/mkspecs/features/qt_build_paths.prf b/mkspecs/features/qt_build_paths.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_build_paths.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_build_paths.prf
|
||||||
index 3bb3823a8e..655b7b7db8 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_build_paths.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_build_paths.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_build_paths.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_build_paths.prf
|
@@ -24,6 +24,6 @@
|
||||||
@@ -24,6 +24,6 @@ exists($$MODULE_BASE_INDIR/.git): \
|
|
||||||
!force_independent {
|
!force_independent {
|
||||||
# If the module is not built independently, everything ends up in qtbase.
|
# If the module is not built independently, everything ends up in qtbase.
|
||||||
# This is the case in non-prefix builds, except for selected modules.
|
# This is the case in non-prefix builds, except for selected modules.
|
||||||
@ -643,11 +632,10 @@ index 3bb3823a8e..655b7b7db8 100644
|
|||||||
+ MODULE_BASE_OUTDIR = $$NIX_OUTPUT_OUT
|
+ MODULE_BASE_OUTDIR = $$NIX_OUTPUT_OUT
|
||||||
+ MODULE_QMAKE_OUTDIR = $$NIX_OUTPUT_OUT
|
+ MODULE_QMAKE_OUTDIR = $$NIX_OUTPUT_OUT
|
||||||
}
|
}
|
||||||
diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_common.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_common.prf
|
||||||
index 4ad9946ae0..6d66f29c26 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_common.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_common.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_common.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_common.prf
|
@@ -34,8 +34,8 @@
|
||||||
@@ -34,8 +34,8 @@ contains(TEMPLATE, .*lib) {
|
|
||||||
qqt_libdir = \$\$\$\$[QT_HOST_LIBS]
|
qqt_libdir = \$\$\$\$[QT_HOST_LIBS]
|
||||||
qt_libdir = $$[QT_HOST_LIBS]
|
qt_libdir = $$[QT_HOST_LIBS]
|
||||||
} else {
|
} else {
|
||||||
@ -658,11 +646,10 @@ index 4ad9946ae0..6d66f29c26 100644
|
|||||||
}
|
}
|
||||||
contains(QMAKE_DEFAULT_LIBDIRS, $$qt_libdir) {
|
contains(QMAKE_DEFAULT_LIBDIRS, $$qt_libdir) {
|
||||||
lib_replace.match = "[^ ']*$$rplbase/lib"
|
lib_replace.match = "[^ ']*$$rplbase/lib"
|
||||||
diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_docs.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_docs.prf
|
||||||
index 3139c443c6..1b4f2fddd8 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_docs.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_docs.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_docs.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_docs.prf
|
@@ -45,7 +45,7 @@
|
||||||
@@ -45,7 +45,7 @@ QMAKE_DOCS_OUTPUTDIR = $$QMAKE_DOCS_BASE_OUTDIR/$$QMAKE_DOCS_TARGETDIR
|
|
||||||
|
|
||||||
QDOC += -outputdir $$shell_quote($$QMAKE_DOCS_OUTPUTDIR)
|
QDOC += -outputdir $$shell_quote($$QMAKE_DOCS_OUTPUTDIR)
|
||||||
!build_online_docs: \
|
!build_online_docs: \
|
||||||
@ -671,7 +658,7 @@ index 3139c443c6..1b4f2fddd8 100644
|
|||||||
PREP_DOC_INDEXES =
|
PREP_DOC_INDEXES =
|
||||||
DOC_INDEXES =
|
DOC_INDEXES =
|
||||||
!isEmpty(QTREPOS) {
|
!isEmpty(QTREPOS) {
|
||||||
@@ -64,8 +64,8 @@ DOC_INDEXES =
|
@@ -64,8 +64,8 @@
|
||||||
DOC_INDEXES += -indexdir $$shell_quote($$qrep/doc)
|
DOC_INDEXES += -indexdir $$shell_quote($$qrep/doc)
|
||||||
} else {
|
} else {
|
||||||
prepare_docs: \
|
prepare_docs: \
|
||||||
@ -682,7 +669,7 @@ index 3139c443c6..1b4f2fddd8 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
qtattributionsscanner.target = qtattributionsscanner
|
qtattributionsscanner.target = qtattributionsscanner
|
||||||
@@ -88,12 +88,12 @@ prepare_docs {
|
@@ -88,12 +88,12 @@
|
||||||
qch_docs.commands = $$QHELPGENERATOR $$shell_quote($$QMAKE_DOCS_OUTPUTDIR/$${QMAKE_DOCS_TARGET}.qhp) -o $$shell_quote($$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch)
|
qch_docs.commands = $$QHELPGENERATOR $$shell_quote($$QMAKE_DOCS_OUTPUTDIR/$${QMAKE_DOCS_TARGET}.qhp) -o $$shell_quote($$QMAKE_DOCS_BASE_OUTDIR/$${QMAKE_DOCS_TARGET}.qch)
|
||||||
|
|
||||||
inst_html_docs.files = $$QMAKE_DOCS_OUTPUTDIR
|
inst_html_docs.files = $$QMAKE_DOCS_OUTPUTDIR
|
||||||
@ -697,11 +684,10 @@ index 3139c443c6..1b4f2fddd8 100644
|
|||||||
inst_qch_docs.CONFIG += no_check_exist no_default_install no_build
|
inst_qch_docs.CONFIG += no_check_exist no_default_install no_build
|
||||||
INSTALLS += inst_qch_docs
|
INSTALLS += inst_qch_docs
|
||||||
|
|
||||||
diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_example_installs.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_example_installs.prf
|
||||||
index 43b58817fe..e635b8f67a 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_example_installs.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_example_installs.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_example_installs.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_example_installs.prf
|
@@ -88,7 +88,7 @@
|
||||||
@@ -88,7 +88,7 @@ sourcefiles += \
|
|
||||||
$$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
|
$$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
|
||||||
$$DBUS_ADAPTORS $$DBUS_INTERFACES
|
$$DBUS_ADAPTORS $$DBUS_INTERFACES
|
||||||
addInstallFiles(sources.files, $$sourcefiles)
|
addInstallFiles(sources.files, $$sourcefiles)
|
||||||
@ -710,11 +696,10 @@ index 43b58817fe..e635b8f67a 100644
|
|||||||
INSTALLS += sources
|
INSTALLS += sources
|
||||||
|
|
||||||
check_examples {
|
check_examples {
|
||||||
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_functions.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_functions.prf
|
||||||
index 1903e509c8..ae7b585989 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_functions.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_functions.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_functions.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_functions.prf
|
@@ -69,7 +69,7 @@
|
||||||
@@ -69,7 +69,7 @@ defineTest(qtHaveModule) {
|
|
||||||
defineTest(qtPrepareTool) {
|
defineTest(qtPrepareTool) {
|
||||||
cmd = $$eval(QT_TOOL.$${2}.binary)
|
cmd = $$eval(QT_TOOL.$${2}.binary)
|
||||||
isEmpty(cmd) {
|
isEmpty(cmd) {
|
||||||
@ -723,10 +708,9 @@ index 1903e509c8..ae7b585989 100644
|
|||||||
exists($${cmd}.pl) {
|
exists($${cmd}.pl) {
|
||||||
$${1}_EXE = $${cmd}.pl
|
$${1}_EXE = $${cmd}.pl
|
||||||
cmd = perl -w $$system_path($${cmd}.pl)
|
cmd = perl -w $$system_path($${cmd}.pl)
|
||||||
diff --git a/mkspecs/features/qt_installs.prf b/mkspecs/features/qt_installs.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_installs.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_installs.prf
|
||||||
index 8f98987b99..21b3bb8b32 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_installs.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_installs.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_installs.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_installs.prf
|
|
||||||
@@ -12,16 +12,10 @@
|
@@ -12,16 +12,10 @@
|
||||||
#library
|
#library
|
||||||
!qt_no_install_library {
|
!qt_no_install_library {
|
||||||
@ -746,7 +730,7 @@ index 8f98987b99..21b3bb8b32 100644
|
|||||||
!static: target.CONFIG = no_dll
|
!static: target.CONFIG = no_dll
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
}
|
}
|
||||||
@@ -29,33 +23,33 @@
|
@@ -29,35 +23,35 @@
|
||||||
#headers
|
#headers
|
||||||
qt_install_headers {
|
qt_install_headers {
|
||||||
gen_headers.files = $$SYNCQT.GENERATED_HEADER_FILES
|
gen_headers.files = $$SYNCQT.GENERATED_HEADER_FILES
|
||||||
@ -762,6 +746,8 @@ index 8f98987b99..21b3bb8b32 100644
|
|||||||
private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.INJECTED_PRIVATE_HEADER_FILES
|
private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.INJECTED_PRIVATE_HEADER_FILES
|
||||||
- private_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
|
- private_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
|
||||||
+ private_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
|
+ private_headers.path = $$NIX_OUTPUT_DEV/include/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
|
||||||
|
generated_privates: \
|
||||||
|
private_headers.CONFIG += no_check_exist
|
||||||
INSTALLS += private_headers
|
INSTALLS += private_headers
|
||||||
|
|
||||||
qpa_headers.files = $$SYNCQT.QPA_HEADER_FILES
|
qpa_headers.files = $$SYNCQT.QPA_HEADER_FILES
|
||||||
@ -786,11 +772,10 @@ index 8f98987b99..21b3bb8b32 100644
|
|||||||
privpritarget.files = $$MODULE_PRIVATE_PRI
|
privpritarget.files = $$MODULE_PRIVATE_PRI
|
||||||
INSTALLS += privpritarget
|
INSTALLS += privpritarget
|
||||||
}
|
}
|
||||||
diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf
|
diff -aur qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_plugin.prf qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_plugin.prf
|
||||||
index 40528a65e2..903f795284 100644
|
--- qtbase-everywhere-src-5.12.3-a/mkspecs/features/qt_plugin.prf 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/mkspecs/features/qt_plugin.prf
|
+++ qtbase-everywhere-src-5.12.3-b/mkspecs/features/qt_plugin.prf 2019-07-10 09:35:08.918628595 -0500
|
||||||
+++ b/mkspecs/features/qt_plugin.prf
|
@@ -88,7 +88,7 @@
|
||||||
@@ -88,7 +88,7 @@ CONFIG(static, static|shared)|prefix_build {
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -799,84 +784,10 @@ index 40528a65e2..903f795284 100644
|
|||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
|
||||||
TARGET = $$qt5LibraryTarget($$TARGET)
|
TARGET = $$qt5LibraryTarget($$TARGET)
|
||||||
diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/corelib/kernel/qcoreapplication.cpp qtbase-everywhere-src-5.12.3-b/src/corelib/kernel/qcoreapplication.cpp
|
||||||
index e0652fdcf9..450b2a2d28 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/corelib/kernel/qcoreapplication.cpp 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/corelib/Qt5CoreConfigExtras.cmake.in
|
+++ qtbase-everywhere-src-5.12.3-b/src/corelib/kernel/qcoreapplication.cpp 2019-07-10 09:35:08.919628625 -0500
|
||||||
+++ b/src/corelib/Qt5CoreConfigExtras.cmake.in
|
@@ -2668,6 +2668,15 @@
|
||||||
@@ -3,7 +3,7 @@ if (NOT TARGET Qt5::qmake)
|
|
||||||
add_executable(Qt5::qmake IMPORTED)
|
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
|
|
||||||
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
|
|
||||||
!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
|
|
||||||
!!ENDIF
|
|
||||||
@@ -18,7 +18,7 @@ if (NOT TARGET Qt5::moc)
|
|
||||||
add_executable(Qt5::moc IMPORTED)
|
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
|
|
||||||
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
|
|
||||||
!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
|
|
||||||
!!ENDIF
|
|
||||||
@@ -35,7 +35,7 @@ if (NOT TARGET Qt5::rcc)
|
|
||||||
add_executable(Qt5::rcc IMPORTED)
|
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
|
|
||||||
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
|
|
||||||
!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
|
|
||||||
!!ENDIF
|
|
||||||
@@ -116,7 +116,7 @@ if (NOT TARGET Qt5::WinMain)
|
|
||||||
!!IF !isEmpty(CMAKE_RELEASE_TYPE)
|
|
||||||
set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
||||||
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
|
|
||||||
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
|
|
||||||
!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
|
|
||||||
!!ENDIF
|
|
||||||
@@ -130,7 +130,7 @@ if (NOT TARGET Qt5::WinMain)
|
|
||||||
set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
|
||||||
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
|
|
||||||
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
|
|
||||||
!!ELSE
|
|
||||||
set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
|
|
||||||
!!ENDIF
|
|
||||||
diff --git a/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in b/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
|
|
||||||
index c357237d0e..6f0c75de3c 100644
|
|
||||||
--- a/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
|
|
||||||
+++ b/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_HOST_DATA_DIR_IS_ABSOLUTE)
|
|
||||||
-set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
|
||||||
+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
|
||||||
!!ELSE
|
|
||||||
set(_qt5_corelib_extra_includes \"$${CMAKE_HOST_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
|
|
||||||
!!ENDIF
|
|
||||||
diff --git a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
|
|
||||||
index 706304cf34..546420f6ad 100644
|
|
||||||
--- a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
|
|
||||||
+++ b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_INSTALL_DATA_DIR_IS_ABSOLUTE)
|
|
||||||
-set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
|
||||||
+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
|
||||||
!!ELSE
|
|
||||||
set(_qt5_corelib_extra_includes \"$${CMAKE_INSTALL_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
|
|
||||||
!!ENDIF
|
|
||||||
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
|
|
||||||
index 463e30e1c3..0e1ab669e4 100644
|
|
||||||
--- a/src/corelib/kernel/qcoreapplication.cpp
|
|
||||||
+++ b/src/corelib/kernel/qcoreapplication.cpp
|
|
||||||
@@ -2665,6 +2665,15 @@ QStringList QCoreApplication::libraryPaths()
|
|
||||||
QStringList *app_libpaths = new QStringList;
|
QStringList *app_libpaths = new QStringList;
|
||||||
coreappdata()->app_libpaths.reset(app_libpaths);
|
coreappdata()->app_libpaths.reset(app_libpaths);
|
||||||
|
|
||||||
@ -889,14 +800,117 @@ index 463e30e1c3..0e1ab669e4 100644
|
|||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
const QByteArray libPathEnv = qgetenv("QT_PLUGIN_PATH");
|
QString libPathEnv = qEnvironmentVariable("QT_PLUGIN_PATH");
|
||||||
if (!libPathEnv.isEmpty()) {
|
if (!libPathEnv.isEmpty()) {
|
||||||
QStringList paths = QFile::decodeName(libPathEnv).split(QDir::listSeparator(), QString::SkipEmptyParts);
|
QStringList paths = libPathEnv.split(QDir::listSeparator(), QString::SkipEmptyParts);
|
||||||
diff --git a/src/corelib/tools/qtimezoneprivate_tz.cpp b/src/corelib/tools/qtimezoneprivate_tz.cpp
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/corelib/kernel/qcore_mac_p.h qtbase-everywhere-src-5.12.3-b/src/corelib/kernel/qcore_mac_p.h
|
||||||
index bed62a02bd..73158993f7 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/corelib/kernel/qcore_mac_p.h 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/corelib/tools/qtimezoneprivate_tz.cpp
|
+++ qtbase-everywhere-src-5.12.3-b/src/corelib/kernel/qcore_mac_p.h 2019-07-10 09:35:08.920628655 -0500
|
||||||
+++ b/src/corelib/tools/qtimezoneprivate_tz.cpp
|
@@ -212,7 +212,7 @@
|
||||||
@@ -70,7 +70,11 @@ typedef QHash<QByteArray, QTzTimeZone> QTzTimeZoneHash;
|
|
||||||
|
// --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
-#if !defined(QT_BOOTSTRAPPED)
|
||||||
|
+#if 0
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
#include <os/activity.h>
|
||||||
|
@@ -290,7 +290,19 @@
|
||||||
|
|
||||||
|
#define QT_APPLE_SCOPED_LOG_ACTIVITY(...) QAppleLogActivity scopedLogActivity = QT_APPLE_LOG_ACTIVITY(__VA_ARGS__).enter();
|
||||||
|
|
||||||
|
-#endif // !defined(QT_BOOTSTRAPPED)
|
||||||
|
+#else // !defined(QT_BOOTSTRAPPED)
|
||||||
|
+
|
||||||
|
+#define QT_APPLE_LOG_ACTIVITY_WITH_PARENT3(...)
|
||||||
|
+#define QT_APPLE_LOG_ACTIVITY_WITH_PARENT2(...)
|
||||||
|
+#define QT_APPLE_LOG_ACTIVITY_WITH_PARENT(...)
|
||||||
|
+
|
||||||
|
+#define QT_APPLE_LOG_ACTIVITY2(...)
|
||||||
|
+#define QT_APPLE_LOG_ACTIVITY1(...)
|
||||||
|
+#define QT_APPLE_LOG_ACTIVITY(...)
|
||||||
|
+
|
||||||
|
+#define QT_APPLE_SCOPED_LOG_ACTIVITY(...)
|
||||||
|
+
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Only in qtbase-everywhere-src-5.12.3-b/src/corelib/kernel: qcore_mac_p.h.orig
|
||||||
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/corelib/Qt5CoreConfigExtras.cmake.in qtbase-everywhere-src-5.12.3-b/src/corelib/Qt5CoreConfigExtras.cmake.in
|
||||||
|
--- qtbase-everywhere-src-5.12.3-a/src/corelib/Qt5CoreConfigExtras.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
|
+++ qtbase-everywhere-src-5.12.3-b/src/corelib/Qt5CoreConfigExtras.cmake.in 2019-07-10 09:35:08.918628595 -0500
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
add_executable(Qt5::qmake IMPORTED)
|
||||||
|
|
||||||
|
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||||
|
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
|
||||||
|
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
|
||||||
|
!!ELSE
|
||||||
|
set(imported_location \"$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
|
||||||
|
!!ENDIF
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
add_executable(Qt5::moc IMPORTED)
|
||||||
|
|
||||||
|
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||||
|
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
|
||||||
|
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
|
||||||
|
!!ELSE
|
||||||
|
set(imported_location \"$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
|
||||||
|
!!ENDIF
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
add_executable(Qt5::rcc IMPORTED)
|
||||||
|
|
||||||
|
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||||
|
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
|
||||||
|
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
|
||||||
|
!!ELSE
|
||||||
|
set(imported_location \"$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
|
||||||
|
!!ENDIF
|
||||||
|
@@ -116,7 +116,7 @@
|
||||||
|
!!IF !isEmpty(CMAKE_RELEASE_TYPE)
|
||||||
|
set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||||
|
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
||||||
|
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
|
||||||
|
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
|
||||||
|
!!ELSE
|
||||||
|
set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_RELEASE}\")
|
||||||
|
!!ENDIF
|
||||||
|
@@ -130,7 +130,7 @@
|
||||||
|
set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
||||||
|
|
||||||
|
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
||||||
|
- set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
|
||||||
|
+ set(imported_location \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
|
||||||
|
!!ELSE
|
||||||
|
set(imported_location \"$${CMAKE_LIB_DIR}$${CMAKE_WINMAIN_FILE_LOCATION_DEBUG}\")
|
||||||
|
!!ENDIF
|
||||||
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in qtbase-everywhere-src-5.12.3-b/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in
|
||||||
|
--- qtbase-everywhere-src-5.12.3-a/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
|
+++ qtbase-everywhere-src-5.12.3-b/src/corelib/Qt5CoreConfigExtrasMkspecDir.cmake.in 2019-07-10 09:35:08.918628595 -0500
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
!!IF isEmpty(CMAKE_HOST_DATA_DIR_IS_ABSOLUTE)
|
||||||
|
-set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
||||||
|
+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_HOST_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
||||||
|
!!ELSE
|
||||||
|
set(_qt5_corelib_extra_includes \"$${CMAKE_HOST_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
|
||||||
|
!!ENDIF
|
||||||
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in qtbase-everywhere-src-5.12.3-b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
|
||||||
|
--- qtbase-everywhere-src-5.12.3-a/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
|
+++ qtbase-everywhere-src-5.12.3-b/src/corelib/Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in 2019-07-10 09:35:08.918628595 -0500
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
!!IF isEmpty(CMAKE_INSTALL_DATA_DIR_IS_ABSOLUTE)
|
||||||
|
-set(_qt5_corelib_extra_includes \"${_qt5Core_install_prefix}/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
||||||
|
+set(_qt5_corelib_extra_includes \"$$NIX_OUTPUT_DEV/$${CMAKE_INSTALL_DATA_DIR}/mkspecs/$${CMAKE_MKSPEC}\")
|
||||||
|
!!ELSE
|
||||||
|
set(_qt5_corelib_extra_includes \"$${CMAKE_INSTALL_DATA_DIR}mkspecs/$${CMAKE_MKSPEC}\")
|
||||||
|
!!ENDIF
|
||||||
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/corelib/tools/qtimezoneprivate_tz.cpp qtbase-everywhere-src-5.12.3-b/src/corelib/tools/qtimezoneprivate_tz.cpp
|
||||||
|
--- qtbase-everywhere-src-5.12.3-a/src/corelib/tools/qtimezoneprivate_tz.cpp 2019-04-09 04:51:26.000000000 -0500
|
||||||
|
+++ qtbase-everywhere-src-5.12.3-b/src/corelib/tools/qtimezoneprivate_tz.cpp 2019-07-10 09:35:08.919628625 -0500
|
||||||
|
@@ -70,7 +70,11 @@
|
||||||
// Parse zone.tab table, assume lists all installed zones, if not will need to read directories
|
// Parse zone.tab table, assume lists all installed zones, if not will need to read directories
|
||||||
static QTzTimeZoneHash loadTzTimeZones()
|
static QTzTimeZoneHash loadTzTimeZones()
|
||||||
{
|
{
|
||||||
@ -909,7 +923,7 @@ index bed62a02bd..73158993f7 100644
|
|||||||
if (!QFile::exists(path))
|
if (!QFile::exists(path))
|
||||||
path = QStringLiteral("/usr/lib/zoneinfo/zone.tab");
|
path = QStringLiteral("/usr/lib/zoneinfo/zone.tab");
|
||||||
|
|
||||||
@@ -644,12 +648,16 @@ void QTzTimeZonePrivate::init(const QByteArray &ianaId)
|
@@ -644,12 +648,16 @@
|
||||||
if (!tzif.open(QIODevice::ReadOnly))
|
if (!tzif.open(QIODevice::ReadOnly))
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@ -931,10 +945,9 @@ index bed62a02bd..73158993f7 100644
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/src/dbus/Qt5DBusConfigExtras.cmake.in b/src/dbus/Qt5DBusConfigExtras.cmake.in
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/dbus/Qt5DBusConfigExtras.cmake.in qtbase-everywhere-src-5.12.3-b/src/dbus/Qt5DBusConfigExtras.cmake.in
|
||||||
index 1d947159e2..b36865fc48 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/dbus/Qt5DBusConfigExtras.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/dbus/Qt5DBusConfigExtras.cmake.in
|
+++ qtbase-everywhere-src-5.12.3-b/src/dbus/Qt5DBusConfigExtras.cmake.in 2019-07-10 09:35:08.919628625 -0500
|
||||||
+++ b/src/dbus/Qt5DBusConfigExtras.cmake.in
|
|
||||||
@@ -2,11 +2,7 @@
|
@@ -2,11 +2,7 @@
|
||||||
if (NOT TARGET Qt5::qdbuscpp2xml)
|
if (NOT TARGET Qt5::qdbuscpp2xml)
|
||||||
add_executable(Qt5::qdbuscpp2xml IMPORTED)
|
add_executable(Qt5::qdbuscpp2xml IMPORTED)
|
||||||
@ -948,7 +961,7 @@ index 1d947159e2..b36865fc48 100644
|
|||||||
_qt5_DBus_check_file_exists(${imported_location})
|
_qt5_DBus_check_file_exists(${imported_location})
|
||||||
|
|
||||||
set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
|
set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
|
||||||
@@ -17,11 +13,7 @@ endif()
|
@@ -17,11 +13,7 @@
|
||||||
if (NOT TARGET Qt5::qdbusxml2cpp)
|
if (NOT TARGET Qt5::qdbusxml2cpp)
|
||||||
add_executable(Qt5::qdbusxml2cpp IMPORTED)
|
add_executable(Qt5::qdbusxml2cpp IMPORTED)
|
||||||
|
|
||||||
@ -961,10 +974,9 @@ index 1d947159e2..b36865fc48 100644
|
|||||||
_qt5_DBus_check_file_exists(${imported_location})
|
_qt5_DBus_check_file_exists(${imported_location})
|
||||||
|
|
||||||
set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
|
set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
|
||||||
diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/gui/Qt5GuiConfigExtras.cmake.in qtbase-everywhere-src-5.12.3-b/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||||
index 07869efd7d..fb4183bada 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/gui/Qt5GuiConfigExtras.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/gui/Qt5GuiConfigExtras.cmake.in
|
+++ qtbase-everywhere-src-5.12.3-b/src/gui/Qt5GuiConfigExtras.cmake.in 2019-07-10 09:35:08.919628625 -0500
|
||||||
+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
|
|
||||||
@@ -2,7 +2,7 @@
|
@@ -2,7 +2,7 @@
|
||||||
!!IF !isEmpty(CMAKE_ANGLE_EGL_DLL_RELEASE)
|
!!IF !isEmpty(CMAKE_ANGLE_EGL_DLL_RELEASE)
|
||||||
|
|
||||||
@ -974,7 +986,7 @@ index 07869efd7d..fb4183bada 100644
|
|||||||
!!ELSE
|
!!ELSE
|
||||||
set(Qt5Gui_EGL_INCLUDE_DIRS \"$$CMAKE_INCLUDE_DIR/QtANGLE\")
|
set(Qt5Gui_EGL_INCLUDE_DIRS \"$$CMAKE_INCLUDE_DIR/QtANGLE\")
|
||||||
!!ENDIF
|
!!ENDIF
|
||||||
@@ -17,13 +17,13 @@ macro(_populate_qt5gui_gl_target_properties TargetName Configuration LIB_LOCATIO
|
@@ -17,13 +17,13 @@
|
||||||
set_property(TARGET Qt5::${TargetName} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
set_property(TARGET Qt5::${TargetName} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
|
!!IF isEmpty(CMAKE_DLL_DIR_IS_ABSOLUTE)
|
||||||
@ -990,11 +1002,10 @@ index 07869efd7d..fb4183bada 100644
|
|||||||
!!ELSE
|
!!ELSE
|
||||||
set(imported_implib \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
set(imported_implib \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||||
!!ENDIF
|
!!ENDIF
|
||||||
diff --git a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp qtbase-everywhere-src-5.12.3-b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
|
||||||
index b5a0a5bbeb..6c20305f4d 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
|
+++ qtbase-everywhere-src-5.12.3-b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp 2019-07-10 09:35:08.919628625 -0500
|
||||||
+++ b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
|
@@ -265,12 +265,9 @@
|
||||||
@@ -265,12 +265,9 @@ void TableGenerator::initPossibleLocations()
|
|
||||||
m_possibleLocations.reserve(7);
|
m_possibleLocations.reserve(7);
|
||||||
if (qEnvironmentVariableIsSet("QTCOMPOSE"))
|
if (qEnvironmentVariableIsSet("QTCOMPOSE"))
|
||||||
m_possibleLocations.append(QString::fromLocal8Bit(qgetenv("QTCOMPOSE")));
|
m_possibleLocations.append(QString::fromLocal8Bit(qgetenv("QTCOMPOSE")));
|
||||||
@ -1008,11 +1019,10 @@ index b5a0a5bbeb..6c20305f4d 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString TableGenerator::findComposeFile()
|
QString TableGenerator::findComposeFile()
|
||||||
diff --git a/src/plugins/platforms/xcb/qxcbcursor.cpp b/src/plugins/platforms/xcb/qxcbcursor.cpp
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/plugins/platforms/xcb/qxcbcursor.cpp qtbase-everywhere-src-5.12.3-b/src/plugins/platforms/xcb/qxcbcursor.cpp
|
||||||
index 57629ac03a..8a7f219a98 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/plugins/platforms/xcb/qxcbcursor.cpp 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/plugins/platforms/xcb/qxcbcursor.cpp
|
+++ qtbase-everywhere-src-5.12.3-b/src/plugins/platforms/xcb/qxcbcursor.cpp 2019-07-10 09:35:08.919628625 -0500
|
||||||
+++ b/src/plugins/platforms/xcb/qxcbcursor.cpp
|
@@ -317,10 +317,10 @@
|
||||||
@@ -316,10 +316,10 @@ QXcbCursor::QXcbCursor(QXcbConnection *conn, QXcbScreen *screen)
|
|
||||||
#if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
|
#if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
|
||||||
static bool function_ptrs_not_initialized = true;
|
static bool function_ptrs_not_initialized = true;
|
||||||
if (function_ptrs_not_initialized) {
|
if (function_ptrs_not_initialized) {
|
||||||
@ -1025,10 +1035,10 @@ index 57629ac03a..8a7f219a98 100644
|
|||||||
xcursorFound = xcursorLib.load();
|
xcursorFound = xcursorLib.load();
|
||||||
}
|
}
|
||||||
if (xcursorFound) {
|
if (xcursorFound) {
|
||||||
diff --git a/src/plugins/platformthemes/gtk3/main.cpp b/src/plugins/platformthemes/gtk3/main.cpp
|
Only in qtbase-everywhere-src-5.12.3-b/src/plugins/platforms/xcb: qxcbcursor.cpp.orig
|
||||||
index fb1c425d8e..bb8bab9795 100644
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/plugins/platformthemes/gtk3/main.cpp qtbase-everywhere-src-5.12.3-b/src/plugins/platformthemes/gtk3/main.cpp
|
||||||
--- a/src/plugins/platformthemes/gtk3/main.cpp
|
--- qtbase-everywhere-src-5.12.3-a/src/plugins/platformthemes/gtk3/main.cpp 2019-04-09 04:51:26.000000000 -0500
|
||||||
+++ b/src/plugins/platformthemes/gtk3/main.cpp
|
+++ qtbase-everywhere-src-5.12.3-b/src/plugins/platformthemes/gtk3/main.cpp 2019-07-10 09:35:08.919628625 -0500
|
||||||
@@ -39,6 +39,7 @@
|
@@ -39,6 +39,7 @@
|
||||||
|
|
||||||
#include <qpa/qplatformthemeplugin.h>
|
#include <qpa/qplatformthemeplugin.h>
|
||||||
@ -1037,7 +1047,7 @@ index fb1c425d8e..bb8bab9795 100644
|
|||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
@@ -54,8 +55,22 @@ public:
|
@@ -54,8 +55,22 @@
|
||||||
QPlatformTheme *QGtk3ThemePlugin::create(const QString &key, const QStringList ¶ms)
|
QPlatformTheme *QGtk3ThemePlugin::create(const QString &key, const QStringList ¶ms)
|
||||||
{
|
{
|
||||||
Q_UNUSED(params);
|
Q_UNUSED(params);
|
||||||
@ -1061,10 +1071,21 @@ index fb1c425d8e..bb8bab9795 100644
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
diff --git a/src/testlib/qtestassert.h b/src/testlib/qtestassert.h
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/testlib/qappletestlogger.cpp qtbase-everywhere-src-5.12.3-b/src/testlib/qappletestlogger.cpp
|
||||||
index 6498ea84ef..d821ced7fc 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/testlib/qappletestlogger.cpp 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/testlib/qtestassert.h
|
+++ qtbase-everywhere-src-5.12.3-b/src/testlib/qappletestlogger.cpp 2019-07-10 09:35:08.920628655 -0500
|
||||||
+++ b/src/testlib/qtestassert.h
|
@@ -43,7 +43,7 @@
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
-#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
|
||||||
|
+#if defined(QT_USE_APPLE_UNIFIED_LOGGING) && 0
|
||||||
|
|
||||||
|
using namespace QTestPrivate;
|
||||||
|
|
||||||
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/testlib/qtestassert.h qtbase-everywhere-src-5.12.3-b/src/testlib/qtestassert.h
|
||||||
|
--- qtbase-everywhere-src-5.12.3-a/src/testlib/qtestassert.h 2019-04-09 04:51:26.000000000 -0500
|
||||||
|
+++ qtbase-everywhere-src-5.12.3-b/src/testlib/qtestassert.h 2019-07-10 09:35:08.919628625 -0500
|
||||||
@@ -44,10 +44,13 @@
|
@@ -44,10 +44,13 @@
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
@ -1081,11 +1102,10 @@ index 6498ea84ef..d821ced7fc 100644
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
diff --git a/src/widgets/Qt5WidgetsConfigExtras.cmake.in b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
diff -aur qtbase-everywhere-src-5.12.3-a/src/widgets/Qt5WidgetsConfigExtras.cmake.in qtbase-everywhere-src-5.12.3-b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
||||||
index 99d87e2e46..a4eab2aa72 100644
|
--- qtbase-everywhere-src-5.12.3-a/src/widgets/Qt5WidgetsConfigExtras.cmake.in 2019-04-09 04:51:26.000000000 -0500
|
||||||
--- a/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
+++ qtbase-everywhere-src-5.12.3-b/src/widgets/Qt5WidgetsConfigExtras.cmake.in 2019-07-10 09:35:08.919628625 -0500
|
||||||
+++ b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
@@ -3,7 +3,7 @@
|
||||||
@@ -3,7 +3,7 @@ if (NOT TARGET Qt5::uic)
|
|
||||||
add_executable(Qt5::uic IMPORTED)
|
add_executable(Qt5::uic IMPORTED)
|
||||||
|
|
||||||
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||||
@ -1094,63 +1114,3 @@ index 99d87e2e46..a4eab2aa72 100644
|
|||||||
!!ELSE
|
!!ELSE
|
||||||
set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
|
set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
|
||||||
!!ENDIF
|
!!ENDIF
|
||||||
diff --git a/src/corelib/kernel/qcore_mac_p.h b/src/corelib/kernel/qcore_mac_p.h
|
|
||||||
index b14a494296..779c4eda95 100644
|
|
||||||
--- a/src/corelib/kernel/qcore_mac_p.h
|
|
||||||
+++ b/src/corelib/kernel/qcore_mac_p.h
|
|
||||||
@@ -211,7 +211,7 @@ private:
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-#if !defined(QT_BOOTSTRAPPED)
|
|
||||||
+#if 0
|
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
#include <os/activity.h>
|
|
||||||
@@ -289,7 +289,19 @@ QT_MAC_WEAK_IMPORT(_os_activity_current);
|
|
||||||
|
|
||||||
#define QT_APPLE_SCOPED_LOG_ACTIVITY(...) QAppleLogActivity scopedLogActivity = QT_APPLE_LOG_ACTIVITY(__VA_ARGS__).enter();
|
|
||||||
|
|
||||||
-#endif // !defined(QT_BOOTSTRAPPED)
|
|
||||||
+#else // !defined(QT_BOOTSTRAPPED)
|
|
||||||
+
|
|
||||||
+#define QT_APPLE_LOG_ACTIVITY_WITH_PARENT3(...)
|
|
||||||
+#define QT_APPLE_LOG_ACTIVITY_WITH_PARENT2(...)
|
|
||||||
+#define QT_APPLE_LOG_ACTIVITY_WITH_PARENT(...)
|
|
||||||
+
|
|
||||||
+#define QT_APPLE_LOG_ACTIVITY2(...)
|
|
||||||
+#define QT_APPLE_LOG_ACTIVITY1(...)
|
|
||||||
+#define QT_APPLE_LOG_ACTIVITY(...)
|
|
||||||
+
|
|
||||||
+#define QT_APPLE_SCOPED_LOG_ACTIVITY(...)
|
|
||||||
+
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
diff --git a/src/testlib/qappletestlogger.cpp b/src/testlib/qappletestlogger.cpp
|
|
||||||
index 2c1005ad80..244147ea7d 100644
|
|
||||||
--- a/src/testlib/qappletestlogger.cpp
|
|
||||||
+++ b/src/testlib/qappletestlogger.cpp
|
|
||||||
@@ -43,7 +43,7 @@
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
|
||||||
|
|
||||||
-#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
|
|
||||||
+#if defined(QT_USE_APPLE_UNIFIED_LOGGING) && 0
|
|
||||||
|
|
||||||
using namespace QTestPrivate;
|
|
||||||
|
|
||||||
diff --git a/src/testlib/qtestlog.cpp b/src/testlib/qtestlog.cpp
|
|
||||||
index 1268730cc6..a50e9b0764 100644
|
|
||||||
--- a/src/testlib/qtestlog.cpp
|
|
||||||
+++ b/src/testlib/qtestlog.cpp
|
|
||||||
@@ -524,7 +524,7 @@ void QTestLog::addLogger(LogMode mode, const char *filename)
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
|
|
||||||
+#if defined(QT_USE_APPLE_UNIFIED_LOGGING) && 0
|
|
||||||
// Logger that also feeds messages to AUL. It needs to wrap the existing
|
|
||||||
// logger, as it needs to be able to short circuit the existing logger
|
|
||||||
// in case AUL prints to stderr.
|
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
--- a/src/3rdparty/chromium/third_party/blink/renderer/core/fileapi/file_reader_loader.cc
|
|
||||||
+++ b/src/3rdparty/chromium/third_party/blink/renderer/core/fileapi/file_reader_loader.cc
|
|
||||||
@@ -135,14 +135,16 @@
|
|
||||||
if (!raw_data_ || error_code_)
|
|
||||||
return nullptr;
|
|
||||||
|
|
||||||
- DOMArrayBuffer* result = DOMArrayBuffer::Create(raw_data_->ToArrayBuffer());
|
|
||||||
- if (finished_loading_) {
|
|
||||||
- array_buffer_result_ = result;
|
|
||||||
- AdjustReportedMemoryUsageToV8(
|
|
||||||
- -1 * static_cast<int64_t>(raw_data_->ByteLength()));
|
|
||||||
- raw_data_.reset();
|
|
||||||
+ if (!finished_loading_) {
|
|
||||||
+ return DOMArrayBuffer::Create(
|
|
||||||
+ ArrayBuffer::Create(raw_data_->Data(), raw_data_->ByteLength()));
|
|
||||||
}
|
|
||||||
- return result;
|
|
||||||
+ array_buffer_result_ = DOMArrayBuffer::Create(raw_data_->ToArrayBuffer());
|
|
||||||
+ AdjustReportedMemoryUsageToV8(-1 *
|
|
||||||
+ static_cast<int64_t>(raw_data_->ByteLength()));
|
|
||||||
+
|
|
||||||
+ raw_data_.reset();
|
|
||||||
+ return array_buffer_result_;
|
|
||||||
}
|
|
||||||
|
|
||||||
String FileReaderLoader::StringResult() {
|
|
@ -3,323 +3,323 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
qt3d = {
|
qt3d = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qt3d-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qt3d-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1nii8qz8791ripmqd158qah40j2dj50zn7lmqksqz8gz2jfdqam1";
|
sha256 = "8997f07c816bbc6dd43fc2171801178bc65e704d35039998530cfa49837eaa7d";
|
||||||
name = "qt3d-everywhere-src-5.12.0.tar.xz";
|
name = "qt3d-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtactiveqt = {
|
qtactiveqt = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtactiveqt-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtactiveqt-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0gkdx3mc6ysqlf0ci77kf9c961dc9sbi4j3z5q237d1w4js7ca52";
|
sha256 = "15a5fde0a069f402bea9f422d8d2c46af440d202122c6307c2a6be642d20dc0f";
|
||||||
name = "qtactiveqt-everywhere-src-5.12.0.tar.xz";
|
name = "qtactiveqt-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtandroidextras = {
|
qtandroidextras = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtandroidextras-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtandroidextras-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0s083ngvya8bknp0bvgb3hyk6zr8shg8rmkzn98956dqz0xs3agm";
|
sha256 = "866b3fbcfc2cbebdb83b5adec4e5d0bd29b0e0b0762d66fb3fef0b400e37254f";
|
||||||
name = "qtandroidextras-everywhere-src-5.12.0.tar.xz";
|
name = "qtandroidextras-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtbase = {
|
qtbase = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtbase-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtbase-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1jzfx8c0hzch0kmz2m4vkn65s7ikiymnm29lsymil4hfg0fj40sy";
|
sha256 = "fddfd8852ef7503febeed67b876d1425160869ae2b1ae8e10b3fb0fedc5fe701";
|
||||||
name = "qtbase-everywhere-src-5.12.0.tar.xz";
|
name = "qtbase-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtcanvas3d = {
|
qtcanvas3d = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtcanvas3d-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtcanvas3d-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0a61z5amp409aq9v7j0fyk003fbz2i247idl7lgfbl4qqh0ry6xj";
|
sha256 = "c0821f1232c6bcd00648af9a5d1eade8e0397c6bfff60621e0fcdfc75561baea";
|
||||||
name = "qtcanvas3d-everywhere-src-5.12.0.tar.xz";
|
name = "qtcanvas3d-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtcharts = {
|
qtcharts = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtcharts-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtcharts-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0l6lrrwqbqaf6agsghaw4ysm2vb6b4n9j5lgrs1i0q8h9i51rmww";
|
sha256 = "820c94b2bf5d73e921fe99be1e3a03a6f012d96574a08e504d68db237522b3a9";
|
||||||
name = "qtcharts-everywhere-src-5.12.0.tar.xz";
|
name = "qtcharts-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtconnectivity = {
|
qtconnectivity = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtconnectivity-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtconnectivity-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1912a4my72wcqmmdyj24wkwq9p9ih4gzzzvgiq75pfwyhnxa3g4f";
|
sha256 = "01518cee71a8d53b9c2387f8c7facbcc2c4d63ab3b79462edfa06ba3bfeae661";
|
||||||
name = "qtconnectivity-everywhere-src-5.12.0.tar.xz";
|
name = "qtconnectivity-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtdatavis3d = {
|
qtdatavis3d = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtdatavis3d-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtdatavis3d-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0czlj088gf2r6w5ahh0p8n36lbwmds86mxqijshmhzax5cspxnjf";
|
sha256 = "f6d073c4575542f8ff6de3ac3b6e8dde6ae2d87e98119de7a13bc984aa967313";
|
||||||
name = "qtdatavis3d-everywhere-src-5.12.0.tar.xz";
|
name = "qtdatavis3d-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtdeclarative = {
|
qtdeclarative = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtdeclarative-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtdeclarative-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0yr29hm3bqlwxcmna0bzyxw8k4hw3x8k3k4iiw2sw52p5c85izag";
|
sha256 = "839881cd6996e35c351bc7d560372ebb91e61f3688957c33248c4f31ea007fa7";
|
||||||
name = "qtdeclarative-everywhere-src-5.12.0.tar.xz";
|
name = "qtdeclarative-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtdoc = {
|
qtdoc = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtdoc-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtdoc-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1k8caa1nmc9nrhb29vq1qzaz608klnjxy509w6ppxlzz2zbpcr9h";
|
sha256 = "ce5e9d0f48d108c48d742ab2127ead735270d7b525103c6cf409683d7fc8334f";
|
||||||
name = "qtdoc-everywhere-src-5.12.0.tar.xz";
|
name = "qtdoc-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtgamepad = {
|
qtgamepad = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtgamepad-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtgamepad-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "14b0np15gm5lzvip33pg6w9dfs065wwdfz18na28bhbxj6wh06ac";
|
sha256 = "5d046869e9646912936e3622efa755d85ccc8eddba91f5b12880cfb5e6489642";
|
||||||
name = "qtgamepad-everywhere-src-5.12.0.tar.xz";
|
name = "qtgamepad-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtgraphicaleffects = {
|
qtgraphicaleffects = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtgraphicaleffects-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtgraphicaleffects-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0m9l031zhw8il66ld8bj1lwqlc2xx89nl6dvssz1kl2d5nqqy1c1";
|
sha256 = "772c98a009cc82ac290f868906c5aa719e4608ef3c5905d69ef7402b15924a73";
|
||||||
name = "qtgraphicaleffects-everywhere-src-5.12.0.tar.xz";
|
name = "qtgraphicaleffects-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtimageformats = {
|
qtimageformats = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtimageformats-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtimageformats-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0bkkk5skpplwfbqv7g41rhgynyxs3khvf8gk2rl2gdixdplpv42z";
|
sha256 = "db5a9e784f9c327c1e6830b1550311024cc91202d3b8dde82cd0944164298be2";
|
||||||
name = "qtimageformats-everywhere-src-5.12.0.tar.xz";
|
name = "qtimageformats-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtlocation = {
|
qtlocation = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtlocation-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtlocation-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0ja4cwj59y1xhwwf4f5gzr0fdrrsxbh14g2x812n03x0yd6i78xh";
|
sha256 = "52d589be2852ada0c000b06cc411b61e521cd0797470be567fd1625bcc9d75c6";
|
||||||
name = "qtlocation-everywhere-src-5.12.0.tar.xz";
|
name = "qtlocation-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtmacextras = {
|
qtmacextras = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtmacextras-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtmacextras-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "00xhkj66i3srwmzzin1mcx9m94l5ns08f93c1za3wl23ani7n2nr";
|
sha256 = "38dedd29d07ea9e4e92a7ef28f9e03c06cf9a1525aee4f8084310c519f5b47ed";
|
||||||
name = "qtmacextras-everywhere-src-5.12.0.tar.xz";
|
name = "qtmacextras-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtmultimedia = {
|
qtmultimedia = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtmultimedia-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtmultimedia-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1a96x6c2w9rs6vfsdcnzmmad4w32dxy2dvismldcwmwcq2whqjsw";
|
sha256 = "a30beeb37fb284d93522e29c01fb8d12726f40e9248e80b70b1f8ab60197a301";
|
||||||
name = "qtmultimedia-everywhere-src-5.12.0.tar.xz";
|
name = "qtmultimedia-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtnetworkauth = {
|
qtnetworkauth = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtnetworkauth-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtnetworkauth-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0x877ra8375pf8d8p6hgdkyw8yzjqfca6rgki6vi1q8fyi31j4a1";
|
sha256 = "dd6bf334be29fb82adaeecb184779328b4ad33a069528b9954d9c07f2d889332";
|
||||||
name = "qtnetworkauth-everywhere-src-5.12.0.tar.xz";
|
name = "qtnetworkauth-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtpurchasing = {
|
qtpurchasing = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtpurchasing-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtpurchasing-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1nk0dp247v1rfbnj84g99zsj6iv86pq32f478r92adz9qcgfs2yr";
|
sha256 = "a848f1e1022af38571f5ab0c4ec4b904c12fa6ef19154d44abbcaeb35156753e";
|
||||||
name = "qtpurchasing-everywhere-src-5.12.0.tar.xz";
|
name = "qtpurchasing-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtquickcontrols = {
|
qtquickcontrols = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtquickcontrols-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtquickcontrols-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0wyd24aphpixi3k9vbxw73z3dy1xnf8hwc99wimr5mpf1cj67yrb";
|
sha256 = "68ae03b35eaa44a24c3f663b842252053c9f2b00b18841fd39ff7d2150986f46";
|
||||||
name = "qtquickcontrols-everywhere-src-5.12.0.tar.xz";
|
name = "qtquickcontrols-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtquickcontrols2 = {
|
qtquickcontrols2 = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtquickcontrols2-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtquickcontrols2-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1ikxj32rd9pipnrz81l5ln700lnw8w6bx573w01x424sx0p7wxw9";
|
sha256 = "e855e8369c3cb5a2ebcd2028a2a195ba73945fd9d5bc26134706c2fa14e99b3a";
|
||||||
name = "qtquickcontrols2-everywhere-src-5.12.0.tar.xz";
|
name = "qtquickcontrols2-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtremoteobjects = {
|
qtremoteobjects = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtremoteobjects-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtremoteobjects-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0pwx2m17yw1qqv8qigfndgj1yd5kq8w5cbiaqlw4zdk1m6jd0h09";
|
sha256 = "3475a409127739930e0bf833cea5f7f605adc66ab25fac39b72ce4bf3039cc42";
|
||||||
name = "qtremoteobjects-everywhere-src-5.12.0.tar.xz";
|
name = "qtremoteobjects-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtscript = {
|
qtscript = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtscript-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtscript-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1a7ziipvy8cfmrpw2b868167sw21zrqhfv2la0w9vs6hwli1mzlp";
|
sha256 = "0f37bf032a2370bd08667aad053f5a57717ea49596c16bf6cfb32b0d6e5c1f9e";
|
||||||
name = "qtscript-everywhere-src-5.12.0.tar.xz";
|
name = "qtscript-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtscxml = {
|
qtscxml = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtscxml-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtscxml-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0syx3bx9pxxrsxanfv245ifppjhbj7sbrndh8il86xlrcr9cwvnw";
|
sha256 = "70c4b1f8e23560cf54e69aeb3ded4078434e6f78e1b9573fbad1ddace5fc4b19";
|
||||||
name = "qtscxml-everywhere-src-5.12.0.tar.xz";
|
name = "qtscxml-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtsensors = {
|
qtsensors = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtsensors-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtsensors-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "19n5vlx0j5a0h86mpgs86qzsxbyq8fcrls7yqnjdaw0zga234cf5";
|
sha256 = "7f63fedf60fdf110a3fc529568c7226d7acd59cc5eaee908f4d5a969e34005fc";
|
||||||
name = "qtsensors-everywhere-src-5.12.0.tar.xz";
|
name = "qtsensors-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtserialbus = {
|
qtserialbus = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtserialbus-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtserialbus-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "16imi82v17n18a5m0i2fcfj6hqdpnzn2z9kdcf6a8h93fv4qd4kb";
|
sha256 = "792cd2d411d2ebd737f5d09580f8db479cd35f2f7e7cedb4412075ef20fcfe4d";
|
||||||
name = "qtserialbus-everywhere-src-5.12.0.tar.xz";
|
name = "qtserialbus-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtserialport = {
|
qtserialport = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtserialport-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtserialport-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1fx9fm0418jq05j2hlb52lblq8nr4m0hj8sizi86p708jmb01m2r";
|
sha256 = "1faf7df4a1f9028bef1ce79330badb4e5cbbba9f717c53cafc5aea41eed1de51";
|
||||||
name = "qtserialport-everywhere-src-5.12.0.tar.xz";
|
name = "qtserialport-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtspeech = {
|
qtspeech = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtspeech-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtspeech-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1yx4wahl7iaj6lgpvnw8pdi2q4wc2fkpzfidd3j1bc98wpna4f8r";
|
sha256 = "ed211822765744553fb5abeb97058420668b18a50d985061d949a0e068ee64f5";
|
||||||
name = "qtspeech-everywhere-src-5.12.0.tar.xz";
|
name = "qtspeech-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtsvg = {
|
qtsvg = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtsvg-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtsvg-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1kpvqd0p7dblgh26p3a99npqr0wmyg5yv0dcmf78ssrvsy58vrpb";
|
sha256 = "f666438dbf6816b7534e539b95e3fa4405f11d7e2e2bbcde34f2db5ae0f27dc2";
|
||||||
name = "qtsvg-everywhere-src-5.12.0.tar.xz";
|
name = "qtsvg-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qttools = {
|
qttools = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qttools-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qttools-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1hyschrj568h65m3kl35xqz25hpk61vr98r08375vkavdr5y6k2p";
|
sha256 = "c9e92d2f0d369e44bb1a60e9fa6d970f8d9893d653212305e04be5e6daec2cd8";
|
||||||
name = "qttools-everywhere-src-5.12.0.tar.xz";
|
name = "qttools-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qttranslations = {
|
qttranslations = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qttranslations-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qttranslations-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "023m68vdjj75xnbpc1jflyg85amnjc9i6nwv650k0w4n1dp1hksv";
|
sha256 = "eefcec0a91c302548f9d948a138b8ec77d78570ce818931bd8475b1bff1205ca";
|
||||||
name = "qttranslations-everywhere-src-5.12.0.tar.xz";
|
name = "qttranslations-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtvirtualkeyboard = {
|
qtvirtualkeyboard = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtvirtualkeyboard-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtvirtualkeyboard-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1nnns0i577zda6qxxd7pxcy06dq0y7lnni8ghn4adh9yl6dvi4yv";
|
sha256 = "7b83af4527310de4ab81146622f3a46677daabf05556d0e33a2e25ca2aa13b22";
|
||||||
name = "qtvirtualkeyboard-everywhere-src-5.12.0.tar.xz";
|
name = "qtvirtualkeyboard-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwayland = {
|
qtwayland = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwayland-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwayland-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1mvyv4wkcxj4h3q0mqw53zb1d0pahf8mz3r29kckadvk64djsp2m";
|
sha256 = "f0b45ad84180730e2d5a1249eb20c6357869b4b78f45eb266c2f2b17f77d86ff";
|
||||||
name = "qtwayland-everywhere-src-5.12.0.tar.xz";
|
name = "qtwayland-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwebchannel = {
|
qtwebchannel = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwebchannel-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwebchannel-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1w2b31d7xjzdcgwkb4mz3qrl9ci7c9l4c3v4h8y59isip45g66l5";
|
sha256 = "72d1620bcc94e14caa91ddf344c84cd1288aa9479e00b1bb3b5e51f92efe088a";
|
||||||
name = "qtwebchannel-everywhere-src-5.12.0.tar.xz";
|
name = "qtwebchannel-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwebengine = {
|
qtwebengine = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwebengine-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwebengine-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0z38ad25n7ckylxnmqrxy95ds4pn7i5k7qxh856zgq1h18wiwn5x";
|
sha256 = "3ff3bac12d75aa0f3fd993bb7077fe411f7b0e6a3993af6f8b039d48e3dc4317";
|
||||||
name = "qtwebengine-everywhere-src-5.12.0.tar.xz";
|
name = "qtwebengine-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwebglplugin = {
|
qtwebglplugin = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwebglplugin-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwebglplugin-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0bk5dg33kn2l5lmgd6slsrs9xg15x9h9li91lr1q7qs67b8kl8k5";
|
sha256 = "23da63013101e97c4e663bb4f6dbb1c7b4386679c634680d3b8d79bcc59d26b3";
|
||||||
name = "qtwebglplugin-everywhere-src-5.12.0.tar.xz";
|
name = "qtwebglplugin-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwebsockets = {
|
qtwebsockets = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwebsockets-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwebsockets-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0gzwfjnlgcijym5bn9gi93qlvzizrhf1q9dq06576419sg0s2ka4";
|
sha256 = "258883225c5e089015c4036f31019aa8f5bb013ecd8eecd193342e606319a577";
|
||||||
name = "qtwebsockets-everywhere-src-5.12.0.tar.xz";
|
name = "qtwebsockets-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwebview = {
|
qtwebview = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwebview-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwebview-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "11b16b31bxcazqzg1ag9rzh4gj9pif2cf3jz2mj1sdprxp22ra5p";
|
sha256 = "f904e7fd7e755527e5bc4633c6f7c144065a3ffea473bf01fffb730385a983c5";
|
||||||
name = "qtwebview-everywhere-src-5.12.0.tar.xz";
|
name = "qtwebview-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtwinextras = {
|
qtwinextras = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtwinextras-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtwinextras-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "1l6s140vrfxb9ar4p1dq9w2gfk3zvgrpqdxbbzs4ngfpwk6mlky6";
|
sha256 = "2b6319f7dd19fc19b028685c163a69f0a10e610d7554411d4660c1b5e42ada3b";
|
||||||
name = "qtwinextras-everywhere-src-5.12.0.tar.xz";
|
name = "qtwinextras-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtx11extras = {
|
qtx11extras = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtx11extras-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtx11extras-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "114b4akzpcgx57c6gkl558bl0mbasi34r22fmq3ny84dhvlv9m06";
|
sha256 = "85e3ae5177970c2d8656226d7535d0dff5764c100e55a79a59161d80754ba613";
|
||||||
name = "qtx11extras-everywhere-src-5.12.0.tar.xz";
|
name = "qtx11extras-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qtxmlpatterns = {
|
qtxmlpatterns = {
|
||||||
version = "5.12.0";
|
version = "5.12.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/official_releases/qt/5.12/5.12.0/submodules/qtxmlpatterns-everywhere-src-5.12.0.tar.xz";
|
url = "${mirror}/official_releases/qt/5.12/5.12.3/submodules/qtxmlpatterns-everywhere-src-5.12.3.tar.xz";
|
||||||
sha256 = "0xckcw1j6f5l92c269pb8cx77d21sghp7m7dc05jl1dqmyy7jqpk";
|
sha256 = "e0b98e7c92cd791a9b354d090788347db78f14c47579384fe22d0b650c1d8a61";
|
||||||
name = "qtxmlpatterns-everywhere-src-5.12.0.tar.xz";
|
name = "qtxmlpatterns-everywhere-src-5.12.3.tar.xz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -171,7 +171,7 @@ stdenv.mkDerivation {
|
|||||||
NIX_OUTPUT_BIN = $bin
|
NIX_OUTPUT_BIN = $bin
|
||||||
NIX_OUTPUT_DEV = $dev
|
NIX_OUTPUT_DEV = $dev
|
||||||
NIX_OUTPUT_OUT = $out
|
NIX_OUTPUT_OUT = $out
|
||||||
NIX_OUTPUT_DOC = $dev/$qtDocPrefix
|
NIX_OUTPUT_DOC = $out/$qtDocPrefix
|
||||||
NIX_OUTPUT_QML = $bin/$qtQmlPrefix
|
NIX_OUTPUT_QML = $bin/$qtQmlPrefix
|
||||||
NIX_OUTPUT_PLUGIN = $bin/$qtPluginPrefix
|
NIX_OUTPUT_PLUGIN = $bin/$qtPluginPrefix
|
||||||
EOF
|
EOF
|
||||||
@ -229,6 +229,8 @@ stdenv.mkDerivation {
|
|||||||
"-widgets"
|
"-widgets"
|
||||||
"-opengl desktop"
|
"-opengl desktop"
|
||||||
"-icu"
|
"-icu"
|
||||||
|
"-L" "${icu.out}/lib"
|
||||||
|
"-I" "${icu.dev}/include"
|
||||||
"-pch"
|
"-pch"
|
||||||
]
|
]
|
||||||
++ lib.optionals (compareVersion "5.11.0" < 0)
|
++ lib.optionals (compareVersion "5.11.0" < 0)
|
||||||
@ -265,10 +267,18 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
++ [
|
++ [
|
||||||
"-system-zlib"
|
"-system-zlib"
|
||||||
|
"-L" "${zlib.out}/lib"
|
||||||
|
"-I" "${zlib.dev}/include"
|
||||||
"-system-libjpeg"
|
"-system-libjpeg"
|
||||||
|
"-L" "${libjpeg.out}/lib"
|
||||||
|
"-I" "${libjpeg.dev}/include"
|
||||||
"-system-harfbuzz"
|
"-system-harfbuzz"
|
||||||
|
"-L" "${harfbuzz.out}/lib"
|
||||||
|
"-I" "${harfbuzz.dev}/include"
|
||||||
"-system-pcre"
|
"-system-pcre"
|
||||||
"-openssl-linked"
|
"-openssl-linked"
|
||||||
|
"-L" "${openssl.out}/lib"
|
||||||
|
"-I" "${openssl.dev}/include"
|
||||||
"-system-sqlite"
|
"-system-sqlite"
|
||||||
''-${if mysql != null then "plugin" else "no"}-sql-mysql''
|
''-${if mysql != null then "plugin" else "no"}-sql-mysql''
|
||||||
''-${if postgresql != null then "plugin" else "no"}-sql-psql''
|
''-${if postgresql != null then "plugin" else "no"}-sql-psql''
|
||||||
@ -297,10 +307,14 @@ stdenv.mkDerivation {
|
|||||||
"-system-xcb"
|
"-system-xcb"
|
||||||
"-xcb"
|
"-xcb"
|
||||||
"-qpa xcb"
|
"-qpa xcb"
|
||||||
|
"-L" "${libX11.out}/lib"
|
||||||
|
"-I" "${libX11.out}/include"
|
||||||
|
"-L" "${libXext.out}/lib"
|
||||||
|
"-I" "${libXext.out}/include"
|
||||||
|
"-L" "${libXrender.out}/lib"
|
||||||
|
"-I" "${libXrender.out}/include"
|
||||||
|
|
||||||
"-system-xkbcommon"
|
|
||||||
"-libinput"
|
"-libinput"
|
||||||
"-xkbcommon-evdev"
|
|
||||||
|
|
||||||
"-no-eglfs"
|
"-no-eglfs"
|
||||||
"-no-gbm"
|
"-no-gbm"
|
||||||
@ -321,6 +335,19 @@ stdenv.mkDerivation {
|
|||||||
"-no-feature-renameat2"
|
"-no-feature-renameat2"
|
||||||
"-no-feature-getentropy"
|
"-no-feature-getentropy"
|
||||||
]
|
]
|
||||||
|
++ lib.optionals (compareVersion "5.12.1" < 0) [
|
||||||
|
# use -xkbcommon and -xkbcommon-evdev for versions before 5.12.1
|
||||||
|
"-system-xkbcommon"
|
||||||
|
"-xkbcommon-evdev"
|
||||||
|
]
|
||||||
|
++ lib.optionals (cups != null) [
|
||||||
|
"-L" "${cups.lib}/lib"
|
||||||
|
"-I" "${cups.dev}/include"
|
||||||
|
]
|
||||||
|
++ lib.optionals (mysql != null) [
|
||||||
|
"-L" "${mysql.out}/lib"
|
||||||
|
"-I" "${mysql.out}/include"
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -360,6 +387,18 @@ stdenv.mkDerivation {
|
|||||||
moveToOutput bin "$dev"
|
moveToOutput bin "$dev"
|
||||||
''
|
''
|
||||||
|
|
||||||
|
# Fix paths returned by qmake -query
|
||||||
|
+ ''
|
||||||
|
cat > $dev/bin/qt.conf <<EOF
|
||||||
|
[Paths]
|
||||||
|
Prefix = $out
|
||||||
|
Headers = $dev/include
|
||||||
|
Plugins = $bin/$qtPluginPrefix
|
||||||
|
Documentation = $out/$qtDocPrefix
|
||||||
|
HostBinaries = $dev/bin
|
||||||
|
EOF
|
||||||
|
''
|
||||||
|
|
||||||
+ (
|
+ (
|
||||||
# fixup .pc file (where to find 'moc' etc.)
|
# fixup .pc file (where to find 'moc' etc.)
|
||||||
''
|
''
|
||||||
|
@ -15,7 +15,7 @@ assert stdenv.isDarwin -> !enableGtk2Plugins;
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "webkitgtk-${version}";
|
name = "webkitgtk-${version}";
|
||||||
version = "2.24.2";
|
version = "2.24.3";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Web content rendering engine, GTK+ port";
|
description = "Web content rendering engine, GTK+ port";
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://webkitgtk.org/releases/${name}.tar.xz";
|
url = "https://webkitgtk.org/releases/${name}.tar.xz";
|
||||||
sha256 = "071jnjvjq6wsxx1jh4ql3j53h1nhphs5ga67fa5i9xjvs3qb3701";
|
sha256 = "0lbcrw5axwrbrajxq7fqywfyh0djqi23ynzb5wi5ghw2grnp83cl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optionals stdenv.isDarwin [
|
patches = optionals stdenv.isDarwin [
|
||||||
|
@ -17,14 +17,14 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "x265-${version}";
|
name = "x265-${version}";
|
||||||
version = "3.0";
|
version = "3.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"https://get.videolan.org/x265/x265_${version}.tar.gz"
|
"https://get.videolan.org/x265/x265_${version}.tar.gz"
|
||||||
"ftp://ftp.videolan.org/pub/videolan/x265/x265_${version}.tar.gz"
|
"ftp://ftp.videolan.org/pub/videolan/x265/x265_${version}.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "0qh65wdpasrspkm1y0dlfa123myax568yi0sas0lmg5b1hkgrff5";
|
sha256 = "1l68lgdbsi4wjz5vad98ggx7mf92rnvzlq34m6w0a08ark3h0yc2";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zeromq-${version}";
|
name = "zeromq-${version}";
|
||||||
version = "4.3.1";
|
version = "4.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zeromq";
|
owner = "zeromq";
|
||||||
repo = "libzmq";
|
repo = "libzmq";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0z7ka82ihlsncqmf8jj4lnjyr418dzxfs0psx5mccqb09yx9shgm";
|
sha256 = "1q37z05i76ili31j6jlw8988iy6vxadlmd306f99phxfdpqa6bn9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake asciidoc ];
|
nativeBuildInputs = [ cmake asciidoc ];
|
||||||
|
30
pkgs/development/python-modules/jpylyzer/default.nix
Normal file
30
pkgs/development/python-modules/jpylyzer/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jpylyzer";
|
||||||
|
version = "1.18.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "openpreserve";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0vhrq15l6jd5fm6vj7mczjzjpl2ph1dk8jp89dw4vlccky8660ll";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
# there don't appear to be any in-tree tests as such, but the builder's automatic
|
||||||
|
# runner seems to be upset by the project layout
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor";
|
||||||
|
homepage = "https://jpylyzer.openpreservation.org/";
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
maintainers = with maintainers; [ ris ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "iproute2";
|
pname = "iproute2";
|
||||||
version = "5.1.0";
|
version = "5.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
|
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1kvvrz5mlpjxqcm7vl6i8w6l1cb2amp6p5xyq006pgzafc49hnnw";
|
sha256 = "1a2dywa2kam24951byv9pl32mb9z6klh7d4vp8fwfgrm4vn5vfd5";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/ninfod/meson.build b/ninfod/meson.build
|
|
||||||
index ea7ec1b..fada05b 100644
|
|
||||||
--- a/ninfod/meson.build
|
|
||||||
+++ b/ninfod/meson.build
|
|
||||||
@@ -10,7 +10,7 @@ ninfod_sources = files('''
|
|
||||||
ninfod_name.c
|
|
||||||
'''.split())
|
|
||||||
executable('ninfod', [ninfod_sources, git_version_h],
|
|
||||||
- dependencies : [cap_dep, crypto_dep, rt_dep, threads],
|
|
||||||
+ dependencies : [cap_dep, dependency('openssl'), rt_dep, threads],
|
|
||||||
link_with : [libcommon],
|
|
||||||
include_directories : inc,
|
|
||||||
install: true,
|
|
@ -1,42 +1,27 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch
|
{ stdenv, fetchFromGitHub, fetchpatch
|
||||||
, meson, ninja, pkgconfig, gettext, libxslt, docbook_xsl_ns
|
, meson, ninja, pkgconfig, gettext, libxslt, docbook_xsl_ns
|
||||||
, libcap, nettle, libidn2, openssl, systemd
|
, libcap, nettle, libidn2, systemd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
time = "20190515";
|
version = "20190709";
|
||||||
# ninfod probably could build on cross, but the Makefile doesn't pass --host
|
|
||||||
# etc to the sub configure...
|
|
||||||
withNinfod = stdenv.hostPlatform == stdenv.buildPlatform;
|
|
||||||
sunAsIsLicense = {
|
sunAsIsLicense = {
|
||||||
fullName = "AS-IS, SUN MICROSYSTEMS license";
|
fullName = "AS-IS, SUN MICROSYSTEMS license";
|
||||||
url = "https://github.com/iputils/iputils/blob/s${time}/rdisc.c";
|
url = "https://github.com/iputils/iputils/blob/s${version}/rdisc.c";
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation rec {
|
||||||
name = "iputils-${time}";
|
pname = "iputils";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "iputils";
|
owner = pname;
|
||||||
repo = "iputils";
|
repo = pname;
|
||||||
rev = "s${time}";
|
rev = "s${version}";
|
||||||
sha256 = "1k2wzgk0d47d1g9k8c1a5l24ml8h8xxz1vrs0vfbyxr7qghdhn4i";
|
sha256 = "04bp4af15adp79ipxmiakfp0ij6hx5qam266flzbr94pr8z8l693";
|
||||||
};
|
};
|
||||||
|
|
||||||
# ninfod cannot be build with nettle yet:
|
|
||||||
patches =
|
|
||||||
[ ./build-ninfod-with-openssl.patch
|
|
||||||
(fetchpatch { # build-sys/doc: Fix the dependency on xsltproc
|
|
||||||
url = "https://github.com/iputils/iputils/commit/3b013f271931c3fe771e5a2c591f35d617de90f3.patch";
|
|
||||||
sha256 = "0ilhlgiqdflry7km3ik8i4h1yymm5f5zmwyl5r029q7x1p8kinfw";
|
|
||||||
})
|
|
||||||
(fetchpatch { # build-sys: Make setcap really optional
|
|
||||||
url = "https://github.com/iputils/iputils/commit/473be6467f995865244e7e68b2fa587a4ee79551.patch";
|
|
||||||
sha256 = "0781147qaf0jwa177jbmh474r8hqs0jwgi5vgx9csb43jzdm8hqf";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
mesonFlags =
|
mesonFlags =
|
||||||
[ "-DUSE_CRYPTO=nettle"
|
[ "-DUSE_CRYPTO=nettle"
|
||||||
"-DBUILD_RARPD=true"
|
"-DBUILD_RARPD=true"
|
||||||
@ -44,14 +29,12 @@ in stdenv.mkDerivation {
|
|||||||
"-DNO_SETCAP_OR_SUID=true"
|
"-DNO_SETCAP_OR_SUID=true"
|
||||||
"-Dsystemdunitdir=etc/systemd/system"
|
"-Dsystemdunitdir=etc/systemd/system"
|
||||||
]
|
]
|
||||||
++ optional (!withNinfod) "-DBUILD_NINFOD=false"
|
|
||||||
# Disable idn usage w/musl (https://github.com/iputils/iputils/pull/111):
|
# Disable idn usage w/musl (https://github.com/iputils/iputils/pull/111):
|
||||||
++ optional stdenv.hostPlatform.isMusl "-DUSE_IDN=false";
|
++ optional stdenv.hostPlatform.isMusl "-DUSE_IDN=false";
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext libxslt.bin docbook_xsl_ns ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext libxslt.bin docbook_xsl_ns ];
|
||||||
buildInputs = [ libcap nettle systemd ]
|
buildInputs = [ libcap nettle systemd ]
|
||||||
++ optional (!stdenv.hostPlatform.isMusl) libidn2
|
++ optional (!stdenv.hostPlatform.isMusl) libidn2;
|
||||||
++ optional withNinfod openssl; # TODO: Build with nettle
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/iputils/iputils;
|
homepage = https://github.com/iputils/iputils;
|
||||||
|
@ -26,6 +26,11 @@ stdenv.mkDerivation {
|
|||||||
./CVE-2016-9844.patch
|
./CVE-2016-9844.patch
|
||||||
./CVE-2018-18384.patch
|
./CVE-2018-18384.patch
|
||||||
./dont-hardcode-cc.patch
|
./dont-hardcode-cc.patch
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c.patch";
|
||||||
|
name = "CVE-2019-13232.patch";
|
||||||
|
sha256 = "0iy2wcjyvzwrjk02iszwcpg85fkjxs1bvb9isvdiywszav4yjs32";
|
||||||
|
})
|
||||||
] ++ stdenv.lib.optional enableNLS
|
] ++ stdenv.lib.optional enableNLS
|
||||||
(fetchurl {
|
(fetchurl {
|
||||||
url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/unzip/files/unzip-6.0-natspec.patch?revision=1.1";
|
url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/unzip/files/unzip-6.0-natspec.patch?revision=1.1";
|
||||||
|
@ -3944,6 +3944,8 @@ in
|
|||||||
|
|
||||||
jpegrescan = callPackage ../applications/graphics/jpegrescan { };
|
jpegrescan = callPackage ../applications/graphics/jpegrescan { };
|
||||||
|
|
||||||
|
jpylyzer = with pythonPackages; toPythonApplication jpylyzer;
|
||||||
|
|
||||||
jq = callPackage ../development/tools/jq { };
|
jq = callPackage ../development/tools/jq { };
|
||||||
|
|
||||||
jo = callPackage ../development/tools/jo { };
|
jo = callPackage ../development/tools/jo { };
|
||||||
@ -12852,7 +12854,7 @@ in
|
|||||||
inherit stdenv fetchurl fetchFromGitHub makeSetupHook makeWrapper;
|
inherit stdenv fetchurl fetchFromGitHub makeSetupHook makeWrapper;
|
||||||
bison = bison2; # error: too few arguments to function 'int yylex(...
|
bison = bison2; # error: too few arguments to function 'int yylex(...
|
||||||
inherit cups;
|
inherit cups;
|
||||||
harfbuzz = harfbuzzFull;
|
inherit harfbuzz;
|
||||||
inherit libGL;
|
inherit libGL;
|
||||||
inherit perl;
|
inherit perl;
|
||||||
inherit gtk3;
|
inherit gtk3;
|
||||||
|
@ -41,13 +41,29 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Helper functions for packages that use Module::Build to build.
|
# Helper functions for packages that use Module::Build to build.
|
||||||
buildPerlModule = { buildInputs ? [], ... } @ args:
|
buildPerlModule = args:
|
||||||
buildPerlPackage (args // {
|
buildPerlPackage ({
|
||||||
buildInputs = buildInputs ++ [ ModuleBuild ];
|
buildPhase = ''
|
||||||
preConfigure = "touch Makefile.PL";
|
runHook preBuild
|
||||||
buildPhase = "perl Build.PL --prefix=$out; ./Build build";
|
perl Build.PL --prefix=$out; ./Build build
|
||||||
installPhase = "./Build install";
|
runHook postBuild
|
||||||
checkPhase = "./Build test";
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
./Build install
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
./Build test
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
} // args // {
|
||||||
|
preConfigure = ''
|
||||||
|
touch Makefile.PL
|
||||||
|
${args.preConfigure or ""}
|
||||||
|
'';
|
||||||
|
buildInputs = (args.buildInputs or []) ++ [ ModuleBuild ];
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Construct a perl search path (such as $PERL5LIB)
|
/* Construct a perl search path (such as $PERL5LIB)
|
||||||
@ -432,10 +448,6 @@ let
|
|||||||
buildInputs = [ pkgs.curl FileWhich IOAll ModuleBuildTiny PathClass TestException TestNoWarnings TestOutput TestSpec TestTempDirTiny ];
|
buildInputs = [ pkgs.curl FileWhich IOAll ModuleBuildTiny PathClass TestException TestNoWarnings TestOutput TestSpec TestTempDirTiny ];
|
||||||
propagatedBuildInputs = [ CPANPerlReleases CaptureTiny DevelPatchPerl locallib ];
|
propagatedBuildInputs = [ CPANPerlReleases CaptureTiny DevelPatchPerl locallib ];
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
patchShebangs .
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -6119,7 +6131,7 @@ let
|
|||||||
sha256 = "c065fcd3e2f22ae769937bcc971b91f80294d5009fac140bfba83bf7d35305e3";
|
sha256 = "c065fcd3e2f22ae769937bcc971b91f80294d5009fac140bfba83bf7d35305e3";
|
||||||
};
|
};
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
preConfigure || true
|
runHook preConfigure
|
||||||
perl Build.PL PREFIX="$out" prefix="$out"
|
perl Build.PL PREFIX="$out" prefix="$out"
|
||||||
'';
|
'';
|
||||||
propagatedBuildInputs = [ IPCSystemSimple ];
|
propagatedBuildInputs = [ IPCSystemSimple ];
|
||||||
|
@ -2363,6 +2363,8 @@ in {
|
|||||||
|
|
||||||
JPype1 = callPackage ../development/python-modules/JPype1 {};
|
JPype1 = callPackage ../development/python-modules/JPype1 {};
|
||||||
|
|
||||||
|
jpylyzer = callPackage ../development/python-modules/jpylyzer {};
|
||||||
|
|
||||||
josepy = callPackage ../development/python-modules/josepy {};
|
josepy = callPackage ../development/python-modules/josepy {};
|
||||||
|
|
||||||
jsbeautifier = callPackage ../development/python-modules/jsbeautifier {};
|
jsbeautifier = callPackage ../development/python-modules/jsbeautifier {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user