Skip to content
Permalink

Comparing changes

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

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 18f9a651f5c6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e2bf65470e0a
Choose a head ref
  • 10 commits
  • 5 files changed
  • 5 contributors

Commits on Sep 9, 2020

  1. Copy the full SHA
    fbf9074 View commit details
  2. plasma5: pin to qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    ce4eb0b View commit details
  3. khotkeys: not broken with qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    f101cb2 View commit details
  4. colord-kde: use qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    14bd8c8 View commit details
  5. sddm: use qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    37a2b71 View commit details
  6. nixos/plasma5: use qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c70f96c View commit details
  7. appstream-qt: multiple outputs

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    195158b View commit details
  8. Copy the full SHA
    0615f93 View commit details
  9. Merge pull request #97524 from ttuegel/staging-20.09--plasma5-qt-5.12

    [20.09] Plasma 5: Revert to Qt 5.12
    ttuegel authored Sep 9, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8d94bf0 View commit details

Commits on Sep 11, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    e2bf654 View commit details
4 changes: 2 additions & 2 deletions nixos/modules/security/pam.nix
Original file line number Diff line number Diff line change
@@ -394,7 +394,7 @@ let
"auth optional ${pkgs.pam_mount}/lib/security/pam_mount.so"}
${optionalString cfg.enableKwallet
("auth optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
" kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")}
" kwalletd=${pkgs.kdeFrameworks.kwallet.bin}/bin/kwalletd5")}
${optionalString cfg.enableGnomeKeyring
"auth optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so"}
${optionalString cfg.googleAuthenticator.enable
@@ -471,7 +471,7 @@ let
"session optional ${pkgs.apparmor-pam}/lib/security/pam_apparmor.so order=user,group,default debug"}
${optionalString (cfg.enableKwallet)
("session optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
" kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")}
" kwalletd=${pkgs.kdeFrameworks.kwallet.bin}/bin/kwalletd5")}
${optionalString (cfg.enableGnomeKeyring)
"session optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start"}
${optionalString (config.virtualisation.lxc.lxcfs.enable)
13 changes: 8 additions & 5 deletions nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
@@ -7,8 +7,9 @@ let
xcfg = config.services.xserver;
cfg = xcfg.desktopManager.plasma5;

inherit (pkgs) kdeApplications plasma5;
libsForQt5 = pkgs.libsForQt514;
inherit (pkgs) kdeApplications kdeFrameworks plasma5;
libsForQt5 = pkgs.libsForQt512;
qt5 = pkgs.qt512;
inherit (pkgs) writeText;

pulseaudio = config.hardware.pulseaudio;
@@ -84,7 +85,7 @@ let
# recognize that software that has been removed.
rm -fv $HOME/.cache/ksycoca*
${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5
${libsForQt5.kservice}/bin/kbuildsycoca5
'';

set_XDG_CONFIG_HOME = ''
@@ -204,7 +205,9 @@ in
KERNEL=="i2c-[0-9]*", TAG+="uaccess"
'';

environment.systemPackages = with pkgs; with qt5; with libsForQt5; with plasma5; with kdeApplications;
environment.systemPackages =
with qt5; with libsForQt5;
with plasma5; with kdeApplications; with kdeFrameworks;
[
frameworkintegration
kactivities
@@ -294,7 +297,7 @@ in

qtvirtualkeyboard

xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
]

# Phonon audio backend
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/khotkeys.nix
Original file line number Diff line number Diff line change
@@ -14,5 +14,4 @@ mkDerivation {
plasma-framework plasma-workspace qtx11extras
];
outputs = [ "bin" "dev" "out" ];
meta.broken = lib.versionOlder qtbase.version "5.14";
}
11 changes: 9 additions & 2 deletions pkgs/development/libraries/appstream/qt.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{ stdenv, appstream, qtbase, qttools }:
{ stdenv, mkDerivation, appstream, qtbase, qttools }:

# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here

stdenv.mkDerivation {
mkDerivation {
pname = "appstream-qt";
inherit (appstream) version src prePatch;

outputs = [ "out" "dev" ];

buildInputs = appstream.buildInputs ++ [ appstream qtbase ];

nativeBuildInputs = appstream.nativeBuildInputs ++ [ qttools ];

mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];

postFixup = ''
sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \
-e "/INTERFACE_INCLUDE_DIRECTORIES/ s@\''${PACKAGE_PREFIX_DIR}@$dev@"
'';

meta = appstream.meta // {
description = "Software metadata handling library - Qt";
};
10 changes: 5 additions & 5 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1613,7 +1613,7 @@ in

coloredlogs = with python3Packages; toPythonApplication coloredlogs;

colord-kde = libsForQt5.callPackage ../tools/misc/colord-kde {};
colord-kde = libsForQt512.callPackage ../tools/misc/colord-kde {};

colpack = callPackage ../applications/science/math/colpack { };

@@ -13023,7 +13023,7 @@ in
let
mkFrameworks = import ../development/libraries/kde-frameworks;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
};
in
@@ -21291,7 +21291,7 @@ in
let
mkApplications = import ../applications/kde;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
inherit okteta;
};
@@ -23077,7 +23077,7 @@ in

robustirc-bridge = callPackage ../servers/irc/robustirc-bridge { };

sddm = libsForQt5.callPackage ../applications/display-managers/sddm { };
sddm = libsForQt512.callPackage ../applications/display-managers/sddm { };

skrooge = libsForQt514.callPackage ../applications/office/skrooge {};

@@ -25507,7 +25507,7 @@ in
let
mkPlasma5 = import ../desktops/plasma-5;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
gconf = gnome2.GConf;
inherit gsettings-desktop-schemas;