Skip to content

Commit

Permalink
Merge pull request #107483 from doronbehar/pkg/qt512
Browse files Browse the repository at this point in the history
qt512: 5.12.7 -> 5.12.9
  • Loading branch information
ttuegel authored Dec 30, 2020
2 parents 2435d5e + 845a460 commit 355df33
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 181 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/radio/sdrangel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ uhd

mkDerivation rec {
pname = "sdrangel";
version = "4.21.1";
version = "6.4.0";

src = fetchFromGitHub {
owner = "f4exb";
repo = "sdrangel";
rev = "v${version}";
sha256 = "y6BVwnSJXiapgm9pAuby1DLLeU5MSyB4uqEa3oS35/U=";
sha256 = "4iJoKs0BHmBR6JRFuTIqs0GW3SjhPRMPRlqdyTI38T4=";
fetchSubmodules = false;
};

Expand Down
15 changes: 1 addition & 14 deletions pkgs/development/libraries/qt-5/5.12/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ top-level attribute to `top-level/all-packages.nix`.
1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
2. From the top of the Nixpkgs tree, run
`./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
`./maintainers/scripts/fetch-kde-qt.sh pkgs/development/libraries/qt-5/$VERSION`.
3. Check that the new packages build correctly.
4. Commit the changes and open a pull request.
Expand Down Expand Up @@ -75,19 +75,6 @@ let
# Ensure -I${includedir} is added to Cflags in pkg-config files.
# See https://github.com/NixOS/nixpkgs/issues/52457
./qtbase.patch.d/0014-qtbase-pkg-config.patch

# https://bugreports.qt.io/browse/QTBUG-81715
# remove after updating to qt > 5.12.7
(fetchpatch {
name = "fix-qt5_make_output_file-cmake-macro.patch";
url = "https://code.qt.io/cgit/qt/qtbase.git/patch/?id=8a3fde00bf53d99e9e4853e8ab97b0e1bcf74915";
sha256 = "1gpcbdpyazdxnmldvhsf3pfwr2gjvi08x3j6rxf543rq01bp6cpx";
})
(fetchpatch {
name = "QTBUG-78937.patch";
url = "https://code.qt.io/cgit/qt/qtbase.git/patch/?id=67a9c600ad14ee44501a6df3509daa8234b97606";
sha256 = "1jiky1w9j8rka78r4q0yabb8w2l5j6csdjysynz7gs1ry4xjfdxd";
})
];
qtdeclarative = [ ./qtdeclarative.patch ];
qtscript = [ ./qtscript.patch ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-5/5.12/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( http://download.qt.io/official_releases/qt/5.12/5.12.7/submodules/ )
WGET_ARGS=( http://download.qt.io/official_releases/qt/5.12/5.12.9/submodules/ )
323 changes: 162 additions & 161 deletions pkgs/development/libraries/qt-5/5.12/srcs.nix

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-5/5.14/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ top-level attribute to `top-level/all-packages.nix`.
1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
2. From the top of the Nixpkgs tree, run
`./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
`./maintainers/scripts/fetch-kde-qt.sh pkgs/development/libraries/qt-5/$VERSION`.
3. Check that the new packages build correctly.
4. Commit the changes and open a pull request.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qt-5/5.15/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ top-level attribute to `top-level/all-packages.nix`.
1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
2. From the top of the Nixpkgs tree, run
`./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
`./maintainers/scripts/fetch-kde-qt.sh pkgs/development/libraries/qt-5/$VERSION`.
3. Check that the new packages build correctly.
4. Commit the changes and open a pull request.
Expand Down
5 changes: 4 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,7 @@ in

boringtun = callPackage ../tools/networking/boringtun { };

# Upstream recommends qt5.12 and it doesn't build with qt5.15
boomerang = libsForQt512.callPackage ../development/tools/boomerang { };

boost-build = callPackage ../development/tools/boost-build { };
Expand Down Expand Up @@ -7390,6 +7391,7 @@ in

sleuthkit = callPackage ../tools/system/sleuthkit {};

# Not updated upstream since 2018, doesn't support qt newer than 5.12
sleepyhead = libsForQt512.callPackage ../applications/misc/sleepyhead {};

slirp4netns = callPackage ../tools/networking/slirp4netns/default.nix { };
Expand Down Expand Up @@ -19239,7 +19241,7 @@ in

sdparm = callPackage ../os-specific/linux/sdparm { };

sdrangel = libsForQt512.callPackage ../applications/radio/sdrangel { };
sdrangel = libsForQt5.callPackage ../applications/radio/sdrangel { };

sepolgen = callPackage ../os-specific/linux/sepolgen { };

Expand Down Expand Up @@ -23627,6 +23629,7 @@ in

plexamp = callPackage ../applications/audio/plexamp { };

# Upstream says it supports only qt5.9 which is not packaged, and building with qt newer than 5.12 fails
plex-media-player = libsForQt512.callPackage ../applications/video/plex-media-player { };

plex-mpv-shim = python3Packages.callPackage ../applications/video/plex-mpv-shim { };
Expand Down

0 comments on commit 355df33

Please sign in to comment.