Merge branch 'kde-5' into staging

+1030 -926
+4 -2
nixos/modules/services/networking/networkmanager.nix
··· 114 114 # Ugly hack for using the correct gnome3 packageSet 115 115 basePackages = mkOption { 116 116 type = types.attrsOf types.package; 117 - default = { inherit networkmanager modemmanager wpa_supplicant 117 + default = { inherit modemmanager wpa_supplicant 118 118 networkmanager_openvpn networkmanager_vpnc 119 119 networkmanager_openconnect 120 - networkmanager_pptp networkmanager_l2tp; }; 120 + networkmanager_pptp networkmanager_l2tp; 121 + networkmanager = networkmanager.out; 122 + }; 121 123 internal = true; 122 124 }; 123 125
+16 -13
nixos/modules/services/x11/desktop-managers/kde5.nix
··· 105 105 106 106 pkgs.phonon-backend-gstreamer 107 107 pkgs.kde5.phonon-backend-gstreamer 108 - pkgs.gst_all_1.gstreamer 109 - pkgs.gst_all_1.gst-plugins-base 110 - pkgs.gst_all_1.gst-plugins-good 111 - pkgs.gst_all_1.gst-plugins-ugly 112 - pkgs.gst_all_1.gst-plugins-bad 113 - pkgs.gst_all_1.gst-libav # for mp3 playback 114 108 ] 115 109 116 110 # Plasma 5.5 and later has a Breeze GTK theme. ··· 138 132 target = "X11/xkb"; 139 133 }; 140 134 141 - environment.profileRelativeEnvVars = { 142 - GST_PLUGIN_SYSTEM_PATH_1_0 = [ "/lib/gstreamer-1.0" ]; 143 - }; 144 - 145 135 # Enable GTK applications to load SVG icons 146 - environment.variables = mkIf (lib.hasAttr "breeze-icons" kde5) { 147 - GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"; 148 - }; 136 + environment.variables = 137 + { 138 + GST_PLUGIN_SYSTEM_PATH_1_0 = 139 + lib.makeSearchPath "/lib/gstreamer-1.0" 140 + (builtins.map (pkg: pkg.out) (with pkgs.gst_all_1; [ 141 + gstreamer 142 + gst-plugins-base 143 + gst-plugins-good 144 + gst-plugins-ugly 145 + gst-plugins-bad 146 + gst-libav # for mp3 playback 147 + ])); 148 + } 149 + // (if (lib.hasAttr "breeze-icons" kde5) 150 + then { GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"; } 151 + else { }); 149 152 150 153 fonts.fonts = [ (kde5.oxygen-fonts or pkgs.noto-fonts) ]; 151 154
+1 -1
pkgs/desktops/gnome-2/platform/GConf/default.nix
··· 11 11 sha256 = "09ch709cb9fniwc4221xgkq0jf0x0lxs814sqig8p2dcll0llvzk"; 12 12 }; 13 13 14 - outputs = [ "out" "doc" ]; 14 + outputs = [ "dev" "out" "doc" ]; 15 15 16 16 buildInputs = [ ORBit2 dbus_libs dbus_glib libxml2 ] 17 17 # polkit requires pam, which requires shadow.h, which is not available on
+9 -3
pkgs/desktops/gnome-2/platform/ORBit2/default.nix
··· 9 9 sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"; 10 10 }; 11 11 12 + nativeBuildInputs = [ pkgconfig ]; 13 + propagatedBuildInputs = [ glib libIDL ] ++ libintlOrEmpty; 14 + 15 + outputs = [ "dev" "out" ]; 16 + 12 17 preBuild = '' 13 18 sed 's/-DG_DISABLE_DEPRECATED//' -i linc2/src/Makefile 14 19 ''; 15 20 16 - nativeBuildInputs = [ pkgconfig ]; 17 - propagatedBuildInputs = [ glib libIDL ] ++ libintlOrEmpty; 21 + preFixup = '' 22 + moveToOutput "bin/orbit2-config" "$dev" 23 + ''; 18 24 19 25 meta = with stdenv.lib; { 20 26 homepage = https://projects.gnome.org/ORBit2/; 21 - description = "A a CORBA 2.4-compliant Object Request Broker"; 27 + description = "A CORBA 2.4-compliant Object Request Broker"; 22 28 platforms = platforms.unix; 23 29 maintainers = with maintainers; [ lovek323 ]; 24 30
+2
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
··· 10 10 sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"; 11 11 }; 12 12 13 + outputs = [ "dev" "out" ]; 14 + 13 15 buildInputs = 14 16 [ pkgconfig libxml2 bzip2 openssl samba dbus_glib fam cdparanoia 15 17 intltool gnome_mime_data avahi acl
+2
pkgs/desktops/gnome-2/platform/libbonobo/default.nix
··· 10 10 sha256 = "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i"; 11 11 }; 12 12 13 + outputs = [ "dev" "out" ]; 14 + 13 15 preConfigure = # still using stuff deprecated in new glib versions 14 16 "sed 's/-DG_DISABLE_DEPRECATED//g' -i configure activation-server/Makefile.in"; 15 17
+4 -2
pkgs/desktops/gnome-2/platform/libglade/default.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 name = "libglade-2.6.4"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = mirror://gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2; 8 8 sha256 = "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"; 9 9 }; 10 - 10 + 11 + outputs = [ "dev" "out" ]; 12 + 11 13 buildInputs = [ pkgconfig gtk python gettext ]; 12 14 13 15 propagatedBuildInputs = [ libxml2 ];
+2
pkgs/desktops/gnome-2/platform/libgnome/default.nix
··· 11 11 sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj"; 12 12 }; 13 13 14 + outputs = [ "dev" "out" ]; 15 + 14 16 patches = [ ./new-glib.patch ]; 15 17 16 18 nativeBuildInputs = [ pkgconfig ];
+2
pkgs/desktops/gnome-2/platform/libgnomecanvas/default.nix
··· 9 9 sha256 = "0h6xvswbqspdifnyh5pm2pqq55yp3kn6yrswq7ay9z49hkh7i6w5"; 10 10 }; 11 11 12 + outputs = [ "dev" "out" ]; 13 + 12 14 buildInputs = [ libglade ]; 13 15 nativeBuildInputs = [ pkgconfig intltool ]; 14 16 propagatedBuildInputs = [ libart_lgpl gtk ];
+2 -14
pkgs/desktops/kde-5/applications-16.04/ark.nix
··· 31 31 extra-cmake-modules 32 32 kdoctools 33 33 ]; 34 - buildInputs = [ 35 - karchive 36 - kconfig 37 - kcrash 38 - kdbusaddons 39 - kiconthemes 40 - kservice 41 - kpty 42 - kwidgetsaddons 43 - libarchive 44 - ]; 45 34 propagatedBuildInputs = [ 46 - khtml 47 - ki18n 48 - kio 35 + khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice 36 + kpty kwidgetsaddons libarchive 49 37 ]; 50 38 postInstall = '' 51 39 wrapQtProgram "$out/bin/ark" \
+5 -13
pkgs/desktops/kde-5/applications-16.04/baloo-widgets.nix
··· 13 13 14 14 kdeApp { 15 15 name = "baloo-widgets"; 16 + meta = { 17 + license = [ lib.licenses.lgpl21 ]; 18 + maintainers = [ lib.maintainers.ttuegel ]; 19 + }; 16 20 nativeBuildInputs = [ 17 21 extra-cmake-modules 18 22 kdoctools 19 23 ]; 20 - buildInputs = [ 21 - kconfig 22 - kservice 23 - ]; 24 24 propagatedBuildInputs = [ 25 - baloo 26 - kdelibs4support 27 - kfilemetadata 28 - ki18n 29 - kio 25 + baloo kconfig kservice kdelibs4support kfilemetadata ki18n kio 30 26 ]; 31 - meta = { 32 - license = [ lib.licenses.lgpl21 ]; 33 - maintainers = [ lib.maintainers.ttuegel ]; 34 - }; 35 27 }
+5 -11
pkgs/desktops/kde-5/applications-16.04/dolphin-plugins.nix
··· 11 11 12 12 kdeApp { 13 13 name = "dolphin-plugins"; 14 + meta = { 15 + license = [ lib.licenses.gpl2 ]; 16 + maintainers = [ lib.maintainers.ttuegel ]; 17 + }; 14 18 nativeBuildInputs = [ 15 19 extra-cmake-modules 16 20 kdoctools 17 - ]; 18 - buildInputs = [ 19 - kxmlgui 20 - dolphin 21 21 ]; 22 22 propagatedBuildInputs = [ 23 - kdelibs4support 24 - ki18n 25 - kio 23 + kdelibs4support ki18n kio kxmlgui dolphin 26 24 ]; 27 - meta = { 28 - license = [ lib.licenses.gpl2 ]; 29 - maintainers = [ lib.maintainers.ttuegel ]; 30 - }; 31 25 }
+7 -27
pkgs/desktops/kde-5/applications-16.04/dolphin.nix
··· 29 29 30 30 kdeApp { 31 31 name = "dolphin"; 32 + meta = { 33 + license = with lib.licenses; [ gpl2 fdl12 ]; 34 + maintainers = [ lib.maintainers.ttuegel ]; 35 + }; 32 36 nativeBuildInputs = [ 33 37 extra-cmake-modules 34 38 kdoctools 35 39 makeQtWrapper 36 40 ]; 37 - buildInputs = [ 38 - kinit 39 - kcmutils 40 - kcoreaddons 41 - knewstuff 42 - kdbusaddons 43 - kbookmarks 44 - kconfig 45 - kparts 46 - solid 47 - kiconthemes 48 - kcompletion 49 - knotifications 50 - phonon 51 - baloo-widgets 52 - ]; 53 41 propagatedBuildInputs = [ 54 - baloo 55 - kactivities 56 - kdelibs4support 57 - kfilemetadata 58 - ki18n 59 - kio 60 - ktexteditor 42 + kinit kcmutils kcoreaddons knewstuff kdbusaddons kbookmarks kconfig kparts 43 + solid kiconthemes kcompletion knotifications phonon baloo-widgets baloo 44 + kactivities kdelibs4support kfilemetadata ki18n kio ktexteditor 61 45 kwindowsystem 62 46 ]; 63 47 postInstall = '' 64 48 wrapQtProgram "$out/bin/dolphin" 65 49 ''; 66 - meta = { 67 - license = with lib.licenses; [ gpl2 fdl12 ]; 68 - maintainers = [ lib.maintainers.ttuegel ]; 69 - }; 70 50 }
+5 -5
pkgs/desktops/kde-5/applications-16.04/ffmpegthumbs.nix
··· 7 7 8 8 kdeApp { 9 9 name = "ffmpegthumbs"; 10 + meta = { 11 + license = with lib.licenses; [ gpl2 bsd3 ]; 12 + maintainers = [ lib.maintainers.ttuegel ]; 13 + }; 10 14 nativeBuildInputs = [ 11 15 extra-cmake-modules 12 16 ]; 13 - buildInputs = [ 17 + propagatedBuildInputs = [ 14 18 ffmpeg 15 19 kio 16 20 ]; 17 - meta = { 18 - license = with lib.licenses; [ gpl2 bsd3 ]; 19 - maintainers = [ lib.maintainers.ttuegel ]; 20 - }; 21 21 }
+6 -11
pkgs/desktops/kde-5/applications-16.04/filelight.nix
··· 12 12 13 13 kdeApp { 14 14 name = "filelight"; 15 + meta = { 16 + license = with lib.licenses; [ gpl2 ]; 17 + maintainers = with lib.maintainers; [ fridh vcunat ]; 18 + }; 15 19 nativeBuildInputs = [ 16 20 extra-cmake-modules 17 21 kdoctools 18 22 makeQtWrapper 19 23 ]; 20 - buildInputs = [ 21 - kio 22 - kparts 23 - qtscript 24 - solid 25 - kxmlgui 24 + propagatedBuildInputs = [ 25 + kio kparts qtscript solid kxmlgui 26 26 ]; 27 - 28 27 postInstall = '' 29 28 wrapQtProgram "$out/bin/filelight" 30 29 ''; 31 - meta = { 32 - license = with lib.licenses; [ gpl2 ]; 33 - maintainers = with lib.maintainers; [ fridh vcunat ]; 34 - }; 35 30 }
+6 -7
pkgs/desktops/kde-5/applications-16.04/gpgmepp.nix
··· 7 7 8 8 kdeApp { 9 9 name = "gpgmepp"; 10 + meta = { 11 + license = with lib.licenses; [ lgpl21 bsd3 ]; 12 + maintainers = [ lib.maintainers.ttuegel ]; 13 + }; 10 14 nativeBuildInputs = [ 11 15 extra-cmake-modules 12 16 ]; 13 - buildInputs = [ 14 - boost 15 - gpgme 17 + propagatedBuildInputs = [ 18 + boost gpgme 16 19 ]; 17 - meta = { 18 - license = with lib.licenses; [ lgpl21 bsd3 ]; 19 - maintainers = [ lib.maintainers.ttuegel ]; 20 - }; 21 20 }
+5 -15
pkgs/desktops/kde-5/applications-16.04/gwenview.nix
··· 16 16 17 17 kdeApp { 18 18 name = "gwenview"; 19 + meta = { 20 + license = with lib.licenses; [ gpl2 fdl12 ]; 21 + maintainers = [ lib.maintainers.ttuegel ]; 22 + }; 19 23 nativeBuildInputs = [ 20 24 extra-cmake-modules 21 25 kdoctools 22 26 makeQtWrapper 23 - ]; 24 - buildInputs = [ 25 - exiv2 26 - lcms2 27 - phonon 28 - qtsvg 29 27 ]; 30 28 propagatedBuildInputs = [ 31 - baloo 32 - kactivities 33 - kdelibs4support 34 - kio 35 - qtx11extras 29 + baloo kactivities kdelibs4support kio qtx11extras exiv2 lcms2 phonon qtsvg 36 30 ]; 37 31 postInstall = '' 38 32 wrapQtProgram "$out/bin/gwenview" 39 33 ''; 40 - meta = { 41 - license = with lib.licenses; [ gpl2 fdl12 ]; 42 - maintainers = [ lib.maintainers.ttuegel ]; 43 - }; 44 34 }
+8 -28
pkgs/desktops/kde-5/applications-16.04/kate.nix
··· 28 28 29 29 kdeApp { 30 30 name = "kate"; 31 + meta = { 32 + license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ]; 33 + maintainers = [ lib.maintainers.ttuegel ]; 34 + }; 31 35 nativeBuildInputs = [ 32 36 extra-cmake-modules 33 37 kdoctools 34 38 ]; 35 - buildInputs = [ 36 - qtscript 37 - kconfig 38 - kcrash 39 - kguiaddons 40 - kiconthemes 41 - kinit 42 - kjobwidgets 43 - kparts 44 - kxmlgui 45 - kdbusaddons 46 - kwallet 47 - kitemmodels 48 - knotifications 49 - threadweaver 50 - knewstuff 51 - libgit2 52 - ]; 53 39 propagatedBuildInputs = [ 54 - kactivities 55 - ki18n 56 - kio 57 - ktexteditor 58 - kwindowsystem 59 - plasma-framework 40 + kactivities ki18n kio ktexteditor kwindowsystem plasma-framework qtscript 41 + kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts kxmlgui 42 + kdbusaddons kwallet kitemmodels knotifications threadweaver knewstuff 43 + libgit2 60 44 ]; 61 45 postInstall = '' 62 46 wrapQtProgram "$out/bin/kate" 63 47 wrapQtProgram "$out/bin/kwrite" 64 48 ''; 65 - meta = { 66 - license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ]; 67 - maintainers = [ lib.maintainers.ttuegel ]; 68 - }; 69 49 }
+6 -15
pkgs/desktops/kde-5/applications-16.04/kcalc.nix
··· 13 13 14 14 kdeApp { 15 15 name = "kcalc"; 16 - 16 + meta = { 17 + license = with lib.licenses; [ gpl2 ]; 18 + maintainers = [ lib.maintainers.fridh ]; 19 + }; 17 20 nativeBuildInputs = [ 18 21 extra-cmake-modules 19 22 kdoctools 20 23 ]; 21 - 22 - buildInputs = [ 23 - gmp 24 - kconfig 25 - kconfigwidgets 26 - kguiaddons 27 - kinit 28 - knotifications 24 + propagatedBuildInputs = [ 25 + gmp kconfig kconfigwidgets kguiaddons kinit knotifications 29 26 ]; 30 - 31 27 postInstall = '' 32 28 wrapQtProgram "$out/bin/kcalc" 33 29 ''; 34 - 35 - meta = { 36 - license = with lib.licenses; [ gpl2 ]; 37 - maintainers = [ lib.maintainers.fridh ]; 38 - }; 39 30 }
+1 -3
pkgs/desktops/kde-5/applications-16.04/kcolorchooser.nix
··· 5 5 6 6 kdeApp { 7 7 name = "kcolorchooser"; 8 - 9 8 meta = { 10 9 license = with lib.licenses; [ mit ]; 11 10 maintainers = [ lib.maintainers.ttuegel ]; 12 11 }; 13 - 14 12 nativeBuildInputs = [ extra-cmake-modules ]; 15 - buildInputs = [ ki18n kwidgetsaddons kxmlgui ]; 13 + propagatedBuildInputs = [ ki18n kwidgetsaddons kxmlgui ]; 16 14 }
+6 -8
pkgs/desktops/kde-5/applications-16.04/kdegraphics-thumbnailers.nix
··· 8 8 9 9 kdeApp { 10 10 name = "kdegraphics-thumbnailers"; 11 - nativeBuildInputs = [ 12 - extra-cmake-modules 13 - ]; 14 - buildInputs = [ 15 - kio 16 - libkexiv2 17 - libkdcraw 18 - ]; 19 11 meta = { 20 12 license = [ lib.licenses.lgpl21 ]; 21 13 maintainers = [ lib.maintainers.ttuegel ]; 22 14 }; 15 + nativeBuildInputs = [ 16 + extra-cmake-modules 17 + ]; 18 + propagatedBuildInputs = [ 19 + kio libkexiv2 libkdcraw 20 + ]; 23 21 }
+6 -10
pkgs/desktops/kde-5/applications-16.04/kdenetwork-filesharing.nix
··· 11 11 12 12 kdeApp { 13 13 name = "kdenetwork-filesharing"; 14 + meta = { 15 + license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ]; 16 + maintainers = [ lib.maintainers.ttuegel ]; 17 + }; 14 18 nativeBuildInputs = [ 15 19 extra-cmake-modules 16 20 kdoctools 17 21 ]; 18 - buildInputs = [ 19 - kcoreaddons 20 - ki18n 21 - kio 22 - kwidgetsaddons 23 - samba 22 + propagatedBuildInputs = [ 23 + kcoreaddons ki18n kio kwidgetsaddons samba 24 24 ]; 25 - meta = { 26 - license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ]; 27 - maintainers = [ lib.maintainers.ttuegel ]; 28 - }; 29 25 }
+1 -1
pkgs/desktops/kde-5/applications-16.04/kio-extras.nix
··· 33 33 extra-cmake-modules kdoctools 34 34 shared_mime_info 35 35 ]; 36 - buildInputs = [ 36 + propagatedBuildInputs = [ 37 37 exiv2 kactivities karchive kbookmarks kconfig kconfigwidgets kcoreaddons 38 38 kdbusaddons kguiaddons kdnssd kiconthemes ki18n kio khtml kdelibs4support 39 39 kpty libmtp libssh openexr openslp phonon qtsvg samba solid
+8 -30
pkgs/desktops/kde-5/applications-16.04/konsole.nix
··· 28 28 29 29 kdeApp { 30 30 name = "konsole"; 31 + meta = { 32 + license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; 33 + maintainers = [ lib.maintainers.ttuegel ]; 34 + }; 31 35 nativeBuildInputs = [ 32 - extra-cmake-modules 33 - kdoctools 34 - makeQtWrapper 35 - ]; 36 - buildInputs = [ 37 - qtscript 38 - kbookmarks 39 - kcompletion 40 - kconfig 41 - kconfigwidgets 42 - kcoreaddons 43 - kguiaddons 44 - kiconthemes 45 - kinit 46 - kio 47 - knotifications 48 - knotifyconfig 49 - kparts 50 - kpty 51 - kservice 52 - ktextwidgets 53 - kwidgetsaddons 54 - kxmlgui 36 + extra-cmake-modules kdoctools makeQtWrapper 55 37 ]; 56 38 propagatedBuildInputs = [ 57 - kdelibs4support 58 - ki18n 59 - kwindowsystem 39 + kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion kconfig 40 + kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio knotifications 41 + knotifyconfig kparts kpty kservice ktextwidgets kwidgetsaddons kxmlgui 60 42 ]; 61 43 postInstall = '' 62 44 wrapQtProgram "$out/bin/konsole" 63 45 ''; 64 - meta = { 65 - license = with lib.licenses; [ gpl2 lgpl21 fdl12 ]; 66 - maintainers = [ lib.maintainers.ttuegel ]; 67 - }; 68 46 }
+5 -5
pkgs/desktops/kde-5/applications-16.04/libkdcraw.nix
··· 6 6 7 7 kdeApp { 8 8 name = "libkdcraw"; 9 + meta = { 10 + license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; 11 + maintainers = [ lib.maintainers.ttuegel ]; 12 + }; 9 13 nativeBuildInputs = [ 10 14 extra-cmake-modules 11 15 ]; 12 - buildInputs = [ 16 + propagatedBuildInputs = [ 13 17 libraw 14 18 ]; 15 - meta = { 16 - license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; 17 - maintainers = [ lib.maintainers.ttuegel ]; 18 - }; 19 19 }
+5 -5
pkgs/desktops/kde-5/applications-16.04/libkexiv2.nix
··· 6 6 7 7 kdeApp { 8 8 name = "libkexiv2"; 9 + meta = { 10 + license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; 11 + maintainers = [ lib.maintainers.ttuegel ]; 12 + }; 9 13 nativeBuildInputs = [ 10 14 extra-cmake-modules 11 15 ]; 12 - buildInputs = [ 16 + propagatedBuildInputs = [ 13 17 exiv2 14 18 ]; 15 - meta = { 16 - license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; 17 - maintainers = [ lib.maintainers.ttuegel ]; 18 - }; 19 19 }
+5 -5
pkgs/desktops/kde-5/applications-16.04/libkipi.nix
··· 9 9 10 10 kdeApp { 11 11 name = "libkipi"; 12 + meta = { 13 + license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; 14 + maintainers = [ lib.maintainers.ttuegel ]; 15 + }; 12 16 nativeBuildInputs = [ 13 17 extra-cmake-modules 14 18 ]; 15 - buildInputs = [ 19 + propagatedBuildInputs = [ 16 20 kconfig ki18n kservice kxmlgui 17 21 ]; 18 - meta = { 19 - license = with lib.licenses; [ gpl2 lgpl21 bsd3 ]; 20 - maintainers = [ lib.maintainers.ttuegel ]; 21 - }; 22 22 }
+6 -19
pkgs/desktops/kde-5/applications-16.04/print-manager.nix
··· 19 19 20 20 kdeApp { 21 21 name = "print-manager"; 22 + meta = { 23 + license = [ lib.licenses.gpl2 ]; 24 + maintainers = [ lib.maintainers.ttuegel ]; 25 + }; 22 26 nativeBuildInputs = [ 23 27 extra-cmake-modules 24 28 ]; 25 - buildInputs = [ 26 - cups 27 - kconfig 28 - kconfigwidgets 29 - kdbusaddons 30 - kiconthemes 31 - kcmutils 32 - knotifications 33 - kwidgetsaddons 34 - kitemviews 35 - ]; 36 29 propagatedBuildInputs = [ 37 - ki18n 38 - kio 39 - kwindowsystem 40 - plasma-framework 30 + cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications 31 + kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework 41 32 qtdeclarative 42 33 ]; 43 - meta = { 44 - license = [ lib.licenses.gpl2 ]; 45 - maintainers = [ lib.maintainers.ttuegel ]; 46 - }; 47 34 }
+4 -4
pkgs/desktops/kde-5/applications-16.04/spectacle.nix
··· 19 19 20 20 kdeApp { 21 21 name = "spectacle"; 22 + meta = with lib; { 23 + maintainers = with maintainers; [ ttuegel ]; 24 + }; 22 25 nativeBuildInputs = [ 23 26 extra-cmake-modules kdoctools makeQtWrapper 24 27 ]; 25 - buildInputs = [ 28 + propagatedBuildInputs = [ 26 29 kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications 27 30 kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor 28 31 ]; 29 32 postFixup = '' 30 33 wrapQtProgram "$out/bin/spectacle" 31 34 ''; 32 - meta = with lib; { 33 - maintainers = with maintainers; [ ttuegel ]; 34 - }; 35 35 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/baloo.nix
··· 6 6 kdeFramework { 7 7 name = "baloo"; 8 8 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ]; 9 - buildInputs = [ 10 - kconfig kcrash kdbusaddons lmdb qtquick1 solid 11 - ]; 12 9 propagatedBuildInputs = [ 13 - kauth kcoreaddons kfilemetadata ki18n kio kidletime qtbase 10 + kauth kconfig kcoreaddons kcrash kdbusaddons kfilemetadata ki18n kio 11 + kidletime lmdb qtbase qtquick1 solid 14 12 ]; 15 13 postInstall = '' 16 14 wrapQtProgram "$out/bin/baloo_file"
+1 -1
pkgs/desktops/kde-5/frameworks-5.21/bluez-qt.nix
··· 6 6 kdeFramework { 7 7 name = "bluez-qt"; 8 8 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ qtdeclarative ]; 9 + propagatedBuildInputs = [ qtdeclarative ]; 10 10 preConfigure = '' 11 11 substituteInPlace CMakeLists.txt \ 12 12 --replace /lib/udev/rules.d "$out/lib/udev/rules.d"
+2 -1
pkgs/desktops/kde-5/frameworks-5.21/breeze-icons.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "breeze-icons"; 8 + outputs = [ "out" ]; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ qtsvg ]; 10 + propagatedBuildInputs = [ qtsvg ]; 10 11 }
+1 -1
pkgs/desktops/kde-5/frameworks-5.21/default.nix
··· 112 112 modemmanager-qt = callPackage ./modemmanager-qt.nix {}; 113 113 networkmanager-qt = callPackage ./networkmanager-qt.nix {}; 114 114 oxygen-icons5 = callPackage ./oxygen-icons5.nix {}; 115 - plasma-framework = callPackage ./plasma-framework {}; 115 + plasma-framework = callPackage ./plasma-framework.nix {}; 116 116 solid = callPackage ./solid.nix {}; 117 117 sonnet = callPackage ./sonnet.nix {}; 118 118 threadweaver = callPackage ./threadweaver.nix {};
-6
pkgs/desktops/kde-5/frameworks-5.21/extra-cmake-modules/setup-hook.sh
··· 10 10 "kconf_update" \ 11 11 "kservices5" \ 12 12 "kservicetypes5" \ 13 - "kxmlgui5" \ 14 13 "knotifications5" \ 15 - "icons" \ 16 - "sounds" \ 17 - "templates" \ 18 - "wallpapers" \ 19 14 "applications" \ 20 15 "desktop-directories" \ 21 16 "mime" \ ··· 26 21 for dir in ${sharedPaths[@]}; do 27 22 if [ -d "$1/share/$dir" ]; then 28 23 addToSearchPathOnce NIX_WRAP_XDG_DATA_DIRS "$1/share" 29 - propagateOnce propagatedBuildInputs "$1" 30 24 propagateOnce propagatedUserEnvPkgs "$1" 31 25 break 32 26 fi
+4 -7
pkgs/desktops/kde-5/frameworks-5.21/frameworkintegration.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "frameworkintegration"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - kbookmarks kcompletion kconfig knotifications kwidgetsaddons 11 - libXcursor 10 + propagatedBuildInputs = [ 11 + kbookmarks kcompletion kconfig kconfigwidgets knotifications ki18n kio 12 + kiconthemes kwidgetsaddons libXcursor qtx11extras 12 13 ]; 13 - propagatedBuildInputs = [ kconfigwidgets ki18n kio kiconthemes qtx11extras ]; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 14 }
+1 -1
pkgs/desktops/kde-5/frameworks-5.21/kactivities-stats.nix
··· 5 5 name = "kactivities-stats"; 6 6 meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 7 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ boost kactivities kconfig ]; 8 + propagatedBuildInputs = [ boost kactivities kconfig ]; 9 9 }
+3 -8
pkgs/desktops/kde-5/frameworks-5.21/kactivities.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kactivities"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - boost kcmutils kconfig kcoreaddons kdbusaddons kservice 11 - kxmlgui 12 - ]; 13 10 propagatedBuildInputs = [ 14 - kdeclarative kglobalaccel ki18n kio kwindowsystem qtdeclarative 11 + boost kcmutils kconfig kcoreaddons kdbusaddons kdeclarative kglobalaccel 12 + ki18n kio kservice kwindowsystem kxmlgui qtdeclarative 15 13 ]; 16 - meta = { 17 - maintainers = [ lib.maintainers.ttuegel ]; 18 - }; 19 14 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kapidox.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kapidox"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules python ]; 9 - meta = { 10 - maintainers = [ lib.maintainers.ttuegel ]; 11 - }; 12 10 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/karchive.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "karchive"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - meta = { 9 - maintainers = [ lib.maintainers.ttuegel ]; 10 - }; 11 9 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kauth/default.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "kauth"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules ]; 10 - buildInputs = [ polkit-qt ]; 11 - propagatedBuildInputs = [ kcoreaddons ]; 11 + propagatedBuildInputs = [ kcoreaddons polkit-qt ]; 12 12 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 16 13 }
+3 -10
pkgs/desktops/kde-5/frameworks-5.21/kbookmarks.nix
··· 10 10 11 11 kdeFramework { 12 12 name = "kbookmarks"; 13 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 13 14 nativeBuildInputs = [ extra-cmake-modules ]; 14 - buildInputs = [ 15 - kcodecs 16 - kconfig 17 - kconfigwidgets 18 - kcoreaddons 19 - kiconthemes 20 - kxmlgui 15 + propagatedBuildInputs = [ 16 + kcodecs kconfig kconfigwidgets kcoreaddons kiconthemes kxmlgui 21 17 ]; 22 - meta = { 23 - maintainers = [ lib.maintainers.ttuegel ]; 24 - }; 25 18 }
+4 -6
pkgs/desktops/kde-5/frameworks-5.21/kcmutils/default.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kcmutils"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - kcoreaddons kiconthemes kitemviews kpackage kxmlgui 10 + propagatedBuildInputs = [ 11 + kconfigwidgets kcoreaddons kdeclarative ki18n kiconthemes kitemviews 12 + kpackage kservice kxmlgui 11 13 ]; 12 - propagatedBuildInputs = [ kconfigwidgets kdeclarative ki18n kservice ]; 13 14 patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 15 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/kcompletion.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "kcompletion"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules ]; 10 - buildInputs = [ kconfig kwidgetsaddons ]; 11 - meta = { 12 - maintainers = [ lib.maintainers.ttuegel ]; 13 - }; 11 + propagatedBuildInputs = [ kconfig kwidgetsaddons ]; 14 12 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kconfigwidgets/default.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kconfigwidgets"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 8 - buildInputs = [ kguiaddons ]; 9 - propagatedBuildInputs = [ kauth kconfig kcodecs ki18n kwidgetsaddons ]; 9 + propagatedBuildInputs = [ kauth kconfig kcodecs kguiaddons ki18n kwidgetsaddons ]; 10 10 patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; 11 11 postInstall = '' 12 12 moveToOutput "bin/preparetips5" "$dev" 13 13 wrapQtProgram "$dev/bin/preparetips5" 14 14 ''; 15 - meta = { 16 - maintainers = [ lib.maintainers.ttuegel ]; 17 - }; 18 15 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/kcoreaddons.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kcoreaddons"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ]; 9 - buildInputs = [ shared_mime_info ]; 10 + propagatedBuildInputs = [ shared_mime_info ]; 10 11 postInstall = '' 11 12 wrapQtProgram "$out/bin/desktoptojson" 12 13 ''; 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 16 14 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kcrash.nix
··· 7 7 8 8 kdeFramework { 9 9 name = "kcrash"; 10 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 10 11 nativeBuildInputs = [ extra-cmake-modules ]; 11 - buildInputs = [ kcoreaddons ]; 12 - propagatedBuildInputs = [ kwindowsystem qtx11extras ]; 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 12 + propagatedBuildInputs = [ kcoreaddons kwindowsystem qtx11extras ]; 16 13 }
+3 -7
pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "kdeclarative"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ]; 10 - buildInputs = [ 11 - epoxy kguiaddons kiconthemes kwidgetsaddons 12 - ]; 13 11 propagatedBuildInputs = [ 14 - kconfig kglobalaccel ki18n kio kpackage kwindowsystem qtdeclarative 12 + epoxy kconfig kglobalaccel kguiaddons ki18n kiconthemes kio kpackage 13 + kwidgetsaddons kwindowsystem qtdeclarative 15 14 ]; 16 15 postInstall = '' 17 16 wrapQtProgram "$out/bin/kpackagelauncherqml" 18 17 ''; 19 - meta = { 20 - maintainers = [ lib.maintainers.ttuegel ]; 21 - }; 22 18 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/kded.nix
··· 11 11 12 12 kdeFramework { 13 13 name = "kded"; 14 - buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons kinit kservice ]; 14 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 15 15 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 16 - meta = { 17 - maintainers = [ lib.maintainers.ttuegel ]; 18 - }; 16 + propagatedBuildInputs = [ kconfig kcoreaddons kcrash kdbusaddons kinit kservice ]; 19 17 }
-32
pkgs/desktops/kde-5/frameworks-5.21/kdelibs4support.nix
··· 1 - { kdeFramework, lib, extra-cmake-modules, docbook_xml_dtd_45, kauth 2 - , karchive, kcompletion, kconfig, kconfigwidgets, kcoreaddons 3 - , kcrash, kdbusaddons, kded, kdesignerplugin, kdoctools, kemoticons 4 - , kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, kitemmodels 5 - , kinit, knotifications, kparts, kservice, ktextwidgets 6 - , kunitconversion, kwidgetsaddons, kwindowsystem, kxmlgui 7 - , networkmanager, qtsvg, qtx11extras, xlibs 8 - }: 9 - 10 - # TODO: debug docbook detection 11 - 12 - kdeFramework { 13 - name = "kdelibs4support"; 14 - nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 15 - buildInputs = [ 16 - kcompletion kconfig kded kservice kwidgetsaddons 17 - kxmlgui networkmanager qtsvg qtx11extras xlibs.libSM 18 - ]; 19 - propagatedBuildInputs = [ 20 - kauth karchive kconfigwidgets kcoreaddons kcrash kdbusaddons 21 - kdesignerplugin kemoticons kglobalaccel kguiaddons ki18n kio 22 - kiconthemes kitemmodels kinit knotifications kparts ktextwidgets 23 - kunitconversion kwindowsystem 24 - ]; 25 - cmakeFlags = [ 26 - "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" 27 - "-DDocBookXML4_DTD_VERSION=4.5" 28 - ]; 29 - meta = { 30 - maintainers = [ lib.maintainers.ttuegel ]; 31 - }; 32 - }
+6 -11
pkgs/desktops/kde-5/frameworks-5.21/kdelibs4support/default.nix
··· 12 12 13 13 kdeFramework { 14 14 name = "kdelibs4support"; 15 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 15 16 outputs = [ "dev" "out" ]; 16 17 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 17 18 setupHook = ./setup-hook.sh; 18 19 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 19 - buildInputs = [ 20 - kcompletion kconfig kded kservice kwidgetsaddons 21 - kxmlgui networkmanager qtsvg qtx11extras xlibs.libSM 22 - ]; 23 20 propagatedBuildInputs = [ 24 - kauth karchive kconfigwidgets kcoreaddons kcrash kdbusaddons 25 - kdesignerplugin kemoticons kglobalaccel kguiaddons ki18n kio 26 - kiconthemes kitemmodels kinit knotifications kparts ktextwidgets 27 - kunitconversion kwindowsystem 21 + kauth karchive kcompletion kconfig kconfigwidgets kcoreaddons kcrash 22 + kdbusaddons kded kdesignerplugin kemoticons kglobalaccel kguiaddons ki18n 23 + kio kiconthemes kitemmodels kinit knotifications kparts kservice 24 + ktextwidgets kunitconversion kwidgetsaddons kwindowsystem kxmlgui 25 + networkmanager qtsvg qtx11extras xlibs.libSM 28 26 ]; 29 27 cmakeFlags = [ 30 28 "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" 31 29 "-DDocBookXML4_DTD_VERSION=4.5" 32 30 ]; 33 - meta = { 34 - maintainers = [ lib.maintainers.ttuegel ]; 35 - }; 36 31 }
+4 -8
pkgs/desktops/kde-5/frameworks-5.21/kdesignerplugin.nix
··· 18 18 19 19 kdeFramework { 20 20 name = "kdesignerplugin"; 21 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 21 22 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 22 - buildInputs = [ 23 - kcompletion kconfig kconfigwidgets kcoreaddons kdewebkit 24 - kiconthemes kitemviews kplotting ktextwidgets kwidgetsaddons 25 - kxmlgui 23 + propagatedBuildInputs = [ 24 + kcompletion kconfig kconfigwidgets kcoreaddons kdewebkit kiconthemes kio 25 + kitemviews kplotting ktextwidgets kwidgetsaddons kxmlgui sonnet 26 26 ]; 27 - propagatedBuildInputs = [ kio sonnet ]; 28 27 postInstall = '' 29 28 wrapQtProgram "$out/bin/kgendesignerplugin" 30 29 ''; 31 - meta = { 32 - maintainers = [ lib.maintainers.ttuegel ]; 33 - }; 34 30 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kdesu.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kdesu"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ kcoreaddons kservice ]; 9 - propagatedBuildInputs = [ ki18n kpty ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 9 + propagatedBuildInputs = [ kcoreaddons ki18n kpty kservice ]; 13 10 }
+4 -5
pkgs/desktops/kde-5/frameworks-5.21/kdewebkit.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kdewebkit"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ kconfig kcoreaddons kjobwidgets kparts kservice kwallet ]; 9 - propagatedBuildInputs = [ ki18n kio qtwebkit ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 9 + propagatedBuildInputs = [ 10 + kconfig kcoreaddons ki18n kio kjobwidgets kparts kservice kwallet qtwebkit 11 + ]; 13 12 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/kdnssd.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kdnssd"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ avahi ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 10 + propagatedBuildInputs = [ avahi ]; 13 11 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kdoctools/default.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kdoctools"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ karchive ]; 9 - propagatedBuildInputs = [ ki18n ]; 9 + propagatedBuildInputs = [ karchive ki18n ]; 10 10 propagatedNativeBuildInputs = [ makeQtWrapper perl perlPackages.URI ]; 11 11 cmakeFlags = [ 12 12 "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" 13 13 "-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook" 14 14 ]; 15 15 patches = [ ./kdoctools-no-find-docbook-xml.patch ]; 16 - meta = { 17 - maintainers = [ lib.maintainers.ttuegel ]; 18 - }; 19 16 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kemoticons.nix
··· 8 8 9 9 kdeFramework { 10 10 name = "kemoticons"; 11 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 11 12 nativeBuildInputs = [ extra-cmake-modules ]; 12 - buildInputs = [ karchive kconfig kcoreaddons ]; 13 - propagatedBuildInputs = [ kservice ]; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 13 + propagatedBuildInputs = [ karchive kconfig kcoreaddons kservice ]; 17 14 }
-13
pkgs/desktops/kde-5/frameworks-5.21/kfilemetadata.nix
··· 1 - { kdeFramework, lib, extra-cmake-modules, attr, ebook_tools, exiv2 2 - , ffmpeg, karchive, ki18n, poppler, qtbase, taglib 3 - }: 4 - 5 - kdeFramework { 6 - name = "kfilemetadata"; 7 - nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ attr ebook_tools exiv2 ffmpeg karchive poppler taglib ]; 9 - propagatedBuildInputs = [ qtbase ki18n ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 13 - }
+4 -5
pkgs/desktops/kde-5/frameworks-5.21/kfilemetadata/default.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kfilemetadata"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ attr ebook_tools exiv2 ffmpeg karchive poppler taglib ]; 10 - propagatedBuildInputs = [ qtbase ki18n ]; 11 - meta = { 12 - maintainers = [ lib.maintainers.ttuegel ]; 13 - }; 10 + propagatedBuildInputs = [ 11 + attr ebook_tools exiv2 ffmpeg karchive ki18n poppler qtbase taglib 12 + ]; 14 13 }
+4 -5
pkgs/desktops/kde-5/frameworks-5.21/kglobalaccel.nix
··· 11 11 12 12 kdeFramework { 13 13 name = "kglobalaccel"; 14 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 14 15 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ]; 15 - buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ]; 16 - propagatedBuildInputs = [ kwindowsystem qtx11extras ]; 16 + propagatedBuildInputs = [ 17 + kconfig kcoreaddons kcrash kdbusaddons kwindowsystem qtx11extras 18 + ]; 17 19 postInstall = '' 18 20 wrapQtProgram "$out/bin/kglobalaccel5" 19 21 ''; 20 - meta = { 21 - maintainers = [ lib.maintainers.ttuegel ]; 22 - }; 23 22 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/kguiaddons.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kguiaddons"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ qtx11extras ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 10 + propagatedBuildInputs = [ qtx11extras ]; 13 11 }
+4 -9
pkgs/desktops/kde-5/frameworks-5.21/khtml.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "khtml"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules perl ]; 10 - buildInputs = [ 11 - giflib karchive kiconthemes knotifications kwallet kwidgetsaddons 12 - kxmlgui phonon 13 - ]; 14 11 propagatedBuildInputs = [ 15 - kcodecs kglobalaccel ki18n kio kjs kparts ktextwidgets 16 - kwindowsystem qtx11extras sonnet 12 + giflib karchive kcodecs kglobalaccel ki18n kiconthemes kio kjs 13 + knotifications kparts ktextwidgets kwallet kwidgetsaddons kwindowsystem 14 + kxmlgui phonon qtx11extras sonnet 17 15 ]; 18 - meta = { 19 - maintainers = [ lib.maintainers.ttuegel ]; 20 - }; 21 16 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/ki18n.nix
··· 8 8 9 9 kdeFramework { 10 10 name = "ki18n"; 11 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 11 12 nativeBuildInputs = [ extra-cmake-modules ]; 12 - buildInputs = [ qtdeclarative qtscript ]; 13 + propagatedBuildInputs = [ qtdeclarative qtscript ]; 13 14 propagatedNativeBuildInputs = [ gettext python ]; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 15 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kiconthemes/default.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kiconthemes"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 9 10 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ]; 10 - buildInputs = [ kconfigwidgets kitemviews qtsvg ]; 11 - propagatedBuildInputs = [ breeze-icons ki18n ]; 11 + propagatedBuildInputs = [ breeze-icons kconfigwidgets ki18n kitemviews qtsvg ]; 12 12 postInstall = '' 13 13 wrapQtProgram "$out/bin/kiconfinder5" 14 14 ''; 15 - meta = { 16 - maintainers = [ lib.maintainers.ttuegel ]; 17 - }; 18 15 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kidletime.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "kidletime"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules ]; 10 - buildInputs = [ qtx11extras ]; 11 - propagatedBuildInputs = [ qtbase ]; 12 - meta = { 13 - maintainers = [ lib.maintainers.ttuegel ]; 14 - }; 11 + propagatedBuildInputs = [ qtbase qtx11extras ]; 15 12 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kimageformats.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kimageformats"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 10 NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR"; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 13 11 }
+4 -7
pkgs/desktops/kde-5/frameworks-5.21/kinit/default.nix
··· 3 3 , libcap_progs 4 4 }: 5 5 6 - # TODO: setuid wrapper 7 - 8 6 kdeFramework { 9 7 name = "kinit"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 10 9 nativeBuildInputs = [ extra-cmake-modules kdoctools libcap_progs ]; 11 - buildInputs = [ kconfig kcrash kservice libcap ]; 12 - propagatedBuildInputs = [ ki18n kio kwindowsystem ]; 10 + propagatedBuildInputs = [ 11 + kconfig kcrash ki18n kio kservice kwindowsystem libcap 12 + ]; 13 13 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 14 }
+6 -11
pkgs/desktops/kde-5/frameworks-5.21/kio/default.nix
··· 9 9 10 10 kdeFramework { 11 11 name = "kio"; 12 - patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 12 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 13 13 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 14 - buildInputs = [ 15 - acl karchive kconfig kcoreaddons kdbusaddons kiconthemes 16 - knotifications ktextwidgets kwallet kwidgetsaddons 17 - qtscript 18 - ]; 19 14 propagatedBuildInputs = [ 20 - kbookmarks kcompletion kconfigwidgets ki18n kitemviews kjobwidgets 21 - kservice kwindowsystem kxmlgui solid qtx11extras 15 + acl karchive kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons 16 + kdbusaddons ki18n kiconthemes kitemviews kjobwidgets knotifications kservice 17 + ktextwidgets kwallet kwidgetsaddons kwindowsystem kxmlgui solid qtscript 18 + qtx11extras 22 19 ]; 20 + patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 23 21 postInstall = '' 24 22 wrapQtProgram "$out/bin/kcookiejar5" 25 23 wrapQtProgram "$out/bin/ktelnetservice5" ··· 27 25 wrapQtProgram "$out/bin/kmailservice5" 28 26 wrapQtProgram "$out/bin/protocoltojson" 29 27 ''; 30 - meta = { 31 - maintainers = [ lib.maintainers.ttuegel ]; 32 - }; 33 28 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kitemmodels.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kitemmodels"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - meta = { 9 - maintainers = [ lib.maintainers.ttuegel ]; 10 - }; 11 9 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kitemviews.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kitemviews"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - meta = { 9 - maintainers = [ lib.maintainers.ttuegel ]; 10 - }; 11 9 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kjobwidgets.nix
··· 7 7 8 8 kdeFramework { 9 9 name = "kjobwidgets"; 10 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 10 11 nativeBuildInputs = [ extra-cmake-modules ]; 11 - buildInputs = [ kcoreaddons kwidgetsaddons ]; 12 - propagatedBuildInputs = [ qtx11extras ]; 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 12 + propagatedBuildInputs = [ kcoreaddons kwidgetsaddons qtx11extras ]; 16 13 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kjs.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "kjs"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 10 11 postInstall = '' 11 12 wrapQtProgram "$out/bin/kjs5" 12 13 ''; 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 16 14 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kjsembed.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kjsembed"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 8 - buildInputs = [ qtsvg ]; 9 - propagatedBuildInputs = [ ki18n kjs ]; 9 + propagatedBuildInputs = [ ki18n kjs qtsvg ]; 10 10 postInstall = '' 11 11 wrapQtProgram "$out/bin/kjscmd5" 12 12 wrapQtProgram "$out/bin/kjsconsole" 13 13 ''; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 14 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kmediaplayer.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "kmediaplayer"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules ]; 10 - buildInputs = [ kxmlgui ]; 11 - propagatedBuildInputs = [ kparts ]; 12 - meta = { 13 - maintainers = [ lib.maintainers.ttuegel ]; 14 - }; 11 + propagatedBuildInputs = [ kparts kxmlgui ]; 15 12 }
+4 -7
pkgs/desktops/kde-5/frameworks-5.21/knewstuff.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "knewstuff"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - karchive kcompletion kconfig kcoreaddons kiconthemes 11 - kitemviews ktextwidgets kwidgetsaddons 10 + propagatedBuildInputs = [ 11 + attica karchive kcompletion kconfig kcoreaddons ki18n kiconthemes kio 12 + kitemviews kservice ktextwidgets kwidgetsaddons kxmlgui 12 13 ]; 13 - propagatedBuildInputs = [ attica ki18n kio kservice kxmlgui ]; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 14 }
+3 -6
pkgs/desktops/kde-5/frameworks-5.21/knotifications.nix
··· 8 8 9 9 kdeFramework { 10 10 name = "knotifications"; 11 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 11 12 nativeBuildInputs = [ extra-cmake-modules ]; 12 - buildInputs = [ 13 - kcodecs kconfig kcoreaddons libdbusmenu phonon 13 + propagatedBuildInputs = [ 14 + kcodecs kconfig kcoreaddons kwindowsystem libdbusmenu phonon qtx11extras 14 15 ]; 15 - propagatedBuildInputs = [ kwindowsystem qtx11extras ]; 16 - meta = { 17 - maintainers = [ lib.maintainers.ttuegel ]; 18 - }; 19 16 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/knotifyconfig.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "knotifyconfig"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ kcompletion kconfig phonon ]; 9 - propagatedBuildInputs = [ ki18n kio ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 9 + propagatedBuildInputs = [ kcompletion kconfig ki18n kio phonon ]; 13 10 }
+2 -5
pkgs/desktops/kde-5/frameworks-5.21/kpackage/default.nix
··· 10 10 11 11 kdeFramework { 12 12 name = "kpackage"; 13 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 13 14 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 14 - buildInputs = [ karchive kconfig ]; 15 - propagatedBuildInputs = [ kcoreaddons ki18n ]; 15 + propagatedBuildInputs = [ karchive kconfig kcoreaddons ki18n ]; 16 16 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 17 17 postInstall = '' 18 18 wrapQtProgram "$out/bin/kpackagetool5" 19 19 ''; 20 - meta = { 21 - maintainers = [ lib.maintainers.ttuegel ]; 22 - }; 23 20 }
+4 -7
pkgs/desktops/kde-5/frameworks-5.21/kparts.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kparts"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - kconfig kcoreaddons kiconthemes kjobwidgets knotifications 11 - kservice kwidgetsaddons 10 + propagatedBuildInputs = [ 11 + kconfig kcoreaddons ki18n kiconthemes kio kjobwidgets knotifications 12 + kservice ktextwidgets kwidgetsaddons kxmlgui 12 13 ]; 13 - propagatedBuildInputs = [ ki18n kio ktextwidgets kxmlgui ]; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 14 }
+3 -6
pkgs/desktops/kde-5/frameworks-5.21/kpeople.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kpeople"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ 9 - kcoreaddons kitemviews kservice kwidgetsaddons 9 + propagatedBuildInputs = [ 10 + kcoreaddons ki18n kitemviews kservice kwidgetsaddons qtdeclarative 10 11 ]; 11 - propagatedBuildInputs = [ ki18n qtdeclarative ]; 12 - meta = { 13 - maintainers = [ lib.maintainers.ttuegel ]; 14 - }; 15 12 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kplotting.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kplotting"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - meta = { 9 - maintainers = [ lib.maintainers.ttuegel ]; 10 - }; 11 9 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kpty.nix
··· 2 2 3 3 kdeFramework { 4 4 name = "kpty"; 5 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 5 6 nativeBuildInputs = [ extra-cmake-modules ]; 6 7 propagatedBuildInputs = [ kcoreaddons ki18n ]; 7 - meta = { 8 - maintainers = [ lib.maintainers.ttuegel ]; 9 - }; 10 8 }
+5 -5
pkgs/desktops/kde-5/frameworks-5.21/kross.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kross"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 9 - buildInputs = [ kcompletion kcoreaddons kxmlgui ]; 10 - propagatedBuildInputs = [ ki18n kiconthemes kio kparts kwidgetsaddons qtscript ]; 11 - meta = { 12 - maintainers = [ lib.maintainers.ttuegel ]; 13 - }; 10 + propagatedBuildInputs = [ 11 + kcompletion kcoreaddons ki18n kiconthemes kio kparts kwidgetsaddons kxmlgui 12 + qtscript 13 + ]; 14 14 }
+4 -6
pkgs/desktops/kde-5/frameworks-5.21/krunner.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "krunner"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - kconfig kcoreaddons kservice qtquick1 solid threadweaver 10 + propagatedBuildInputs = [ 11 + kconfig kcoreaddons ki18n kio kservice plasma-framework qtquick1 solid 12 + threadweaver 11 13 ]; 12 - propagatedBuildInputs = [ ki18n kio plasma-framework ]; 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 16 14 }
-25
pkgs/desktops/kde-5/frameworks-5.21/kservice/0001-qdiriterator-follow-symlinks.patch
··· 1 - From ae8919eb81abad369e4a26ffcd845b140983398d Mon Sep 17 00:00:00 2001 2 - From: Thomas Tuegel <ttuegel@gmail.com> 3 - Date: Wed, 14 Oct 2015 06:28:57 -0500 4 - Subject: [PATCH 1/2] qdiriterator follow symlinks 5 - 6 - --- 7 - src/sycoca/kbuildsycoca.cpp | 2 +- 8 - 1 file changed, 1 insertion(+), 1 deletion(-) 9 - 10 - diff --git a/src/sycoca/kbuildsycoca.cpp b/src/sycoca/kbuildsycoca.cpp 11 - index 1deae14..250baa8 100644 12 - --- a/src/sycoca/kbuildsycoca.cpp 13 - +++ b/src/sycoca/kbuildsycoca.cpp 14 - @@ -208,7 +208,7 @@ bool KBuildSycoca::build() 15 - QStringList relFiles; 16 - const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, m_resourceSubdir, QStandardPaths::LocateDirectory); 17 - Q_FOREACH (const QString &dir, dirs) { 18 - - QDirIterator it(dir, QDirIterator::Subdirectories); 19 - + QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); 20 - while (it.hasNext()) { 21 - const QString filePath = it.next(); 22 - Q_ASSERT(filePath.startsWith(dir)); // due to the line below... 23 - -- 24 - 2.5.2 25 -
-25
pkgs/desktops/kde-5/frameworks-5.21/kservice/0002-no-canonicalize-path.patch
··· 1 - From 46d124da602d84b7611a7ff0ac0862168d451cdb Mon Sep 17 00:00:00 2001 2 - From: Thomas Tuegel <ttuegel@gmail.com> 3 - Date: Wed, 14 Oct 2015 06:31:29 -0500 4 - Subject: [PATCH 2/2] no canonicalize path 5 - 6 - --- 7 - src/sycoca/vfolder_menu.cpp | 2 +- 8 - 1 file changed, 1 insertion(+), 1 deletion(-) 9 - 10 - diff --git a/src/sycoca/vfolder_menu.cpp b/src/sycoca/vfolder_menu.cpp 11 - index d3e31c3..d15d743 100644 12 - --- a/src/sycoca/vfolder_menu.cpp 13 - +++ b/src/sycoca/vfolder_menu.cpp 14 - @@ -415,7 +415,7 @@ VFolderMenu::absoluteDir(const QString &_dir, const QString &baseDir, bool keepR 15 - } 16 - 17 - if (!relative) { 18 - - QString resolved = QDir(dir).canonicalPath(); 19 - + QString resolved = QDir::cleanPath(dir); 20 - if (!resolved.isEmpty()) { 21 - dir = resolved; 22 - } 23 - -- 24 - 2.5.2 25 -
+4 -10
pkgs/desktops/kde-5/frameworks-5.21/kservice/default.nix
··· 1 - { kdeFramework, lib, extra-cmake-modules, kconfig, kcoreaddons 1 + { kdeFramework, lib, copyPathsToStore, extra-cmake-modules, kconfig, kcoreaddons 2 2 , kcrash, kdbusaddons, kdoctools, ki18n, kwindowsystem 3 3 }: 4 4 5 5 kdeFramework { 6 6 name = "kservice"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 propagatedNativeBuildInputs = [ extra-cmake-modules ]; 8 9 nativeBuildInputs = [ kdoctools ]; 9 - buildInputs = [ kcrash kdbusaddons ]; 10 - propagatedBuildInputs = [ kconfig kcoreaddons ki18n kwindowsystem ]; 11 - patches = [ 12 - ./0001-qdiriterator-follow-symlinks.patch 13 - ./0002-no-canonicalize-path.patch 14 - ]; 15 - meta = { 16 - maintainers = [ lib.maintainers.ttuegel ]; 17 - }; 10 + propagatedBuildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ki18n kwindowsystem ]; 11 + patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 18 12 }
+25
pkgs/desktops/kde-5/frameworks-5.21/kservice/ksycoca-buffer-size.patch
··· 1 + Index: kservice-5.21.0/src/sycoca/ksycocautils.cpp 2 + =================================================================== 3 + --- kservice-5.21.0.orig/src/sycoca/ksycocautils.cpp 4 + +++ kservice-5.21.0/src/sycoca/ksycocautils.cpp 5 + @@ -24,9 +24,10 @@ 6 + 7 + void KSycocaUtilsPrivate::read(QDataStream &s, QString &str) 8 + { 9 + + const qint32 bufferSize = 65528; 10 + quint32 bytes; 11 + s >> bytes; // read size of string 12 + - if (bytes > 8192) { // null string or too big 13 + + if (bytes > bufferSize) { // null string or too big 14 + if (bytes != 0xffffffff) { 15 + KSycoca::flagError(); 16 + } 17 + @@ -35,7 +36,7 @@ void KSycocaUtilsPrivate::read(QDataStre 18 + int bt = bytes / 2; 19 + str.resize(bt); 20 + QChar *ch = str.data(); 21 + - char t[8192]; 22 + + char t[bufferSize]; 23 + char *b = t; 24 + s.readRawData(b, bytes); 25 + while (bt--) {
+13
pkgs/desktops/kde-5/frameworks-5.21/kservice/no-canonicalize-path.patch
··· 1 + Index: kservice-5.21.0/src/sycoca/vfolder_menu.cpp 2 + =================================================================== 3 + --- kservice-5.21.0.orig/src/sycoca/vfolder_menu.cpp 4 + +++ kservice-5.21.0/src/sycoca/vfolder_menu.cpp 5 + @@ -415,7 +415,7 @@ VFolderMenu::absoluteDir(const QString & 6 + } 7 + 8 + if (!relative) { 9 + - QString resolved = QDir(dir).canonicalPath(); 10 + + QString resolved = QDir::cleanPath(dir); 11 + if (!resolved.isEmpty()) { 12 + dir = resolved; 13 + }
+13
pkgs/desktops/kde-5/frameworks-5.21/kservice/qdiriterator-follow-symlinks.patch
··· 1 + Index: kservice-5.21.0/src/sycoca/kbuildsycoca.cpp 2 + =================================================================== 3 + --- kservice-5.21.0.orig/src/sycoca/kbuildsycoca.cpp 4 + +++ kservice-5.21.0/src/sycoca/kbuildsycoca.cpp 5 + @@ -203,7 +203,7 @@ bool KBuildSycoca::build() 6 + QSet<QString> relFiles; 7 + const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, m_resourceSubdir, QStandardPaths::LocateDirectory); 8 + Q_FOREACH (const QString &dir, dirs) { 9 + - QDirIterator it(dir, QDirIterator::Subdirectories); 10 + + QDirIterator it(dir, QDirIterator::Subdirectories | QDirIterator::FollowSymlinks); 11 + while (it.hasNext()) { 12 + const QString filePath = it.next(); 13 + Q_ASSERT(filePath.startsWith(dir)); // due to the line below...
+3
pkgs/desktops/kde-5/frameworks-5.21/kservice/series
··· 1 + qdiriterator-follow-symlinks.patch 2 + no-canonicalize-path.patch 3 + ksycoca-buffer-size.patch
+4 -8
pkgs/desktops/kde-5/frameworks-5.21/ktexteditor/default.nix
··· 8 8 9 9 kdeFramework { 10 10 name = "ktexteditor"; 11 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 11 12 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper perl ]; 12 - buildInputs = [ 13 - karchive kconfig kguiaddons kiconthemes kparts 14 - libgit2 15 - qtscript qtxmlpatterns 13 + propagatedBuildInputs = [ 14 + karchive kconfig kguiaddons ki18n kiconthemes kio kparts libgit2 qtscript 15 + qtxmlpatterns sonnet 16 16 ]; 17 - propagatedBuildInputs = [ ki18n kio sonnet ]; 18 17 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 19 - meta = { 20 - maintainers = [ lib.maintainers.ttuegel ]; 21 - }; 22 18 }
+4 -6
pkgs/desktops/kde-5/frameworks-5.21/ktextwidgets.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "ktextwidgets"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - kcompletion kconfig kconfigwidgets kiconthemes kservice 10 + propagatedBuildInputs = [ 11 + kcompletion kconfig kconfigwidgets ki18n kiconthemes kservice kwindowsystem 12 + sonnet 11 13 ]; 12 - propagatedBuildInputs = [ ki18n kwindowsystem sonnet ]; 13 - meta = { 14 - maintainers = [ lib.maintainers.ttuegel ]; 15 - }; 16 14 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kunitconversion.nix
··· 2 2 3 3 kdeFramework { 4 4 name = "kunitconversion"; 5 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 5 6 nativeBuildInputs = [ extra-cmake-modules ]; 6 7 propagatedBuildInputs = [ ki18n ]; 7 - meta = { 8 - maintainers = [ lib.maintainers.ttuegel ]; 9 - }; 10 8 }
+4 -7
pkgs/desktops/kde-5/frameworks-5.21/kwallet.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kwallet"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 9 - buildInputs = [ 10 - kconfig kconfigwidgets kcoreaddons kdbusaddons kiconthemes 11 - knotifications kservice kwidgetsaddons libgcrypt 10 + propagatedBuildInputs = [ 11 + kconfig kconfigwidgets kcoreaddons kdbusaddons ki18n kiconthemes 12 + knotifications kservice kwidgetsaddons kwindowsystem libgcrypt 12 13 ]; 13 - propagatedBuildInputs = [ ki18n kwindowsystem ]; 14 14 postInstall = '' 15 15 wrapQtProgram "$out/bin/kwalletd5" 16 16 wrapQtProgram "$out/bin/kwallet-query" 17 17 ''; 18 - meta = { 19 - maintainers = [ lib.maintainers.ttuegel ]; 20 - }; 21 18 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kwidgetsaddons.nix
··· 4 4 5 5 kdeFramework { 6 6 name = "kwidgetsaddons"; 7 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 7 8 nativeBuildInputs = [ extra-cmake-modules ]; 8 - meta = { 9 - maintainers = [ lib.maintainers.ttuegel ]; 10 - }; 11 9 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/kwindowsystem.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kwindowsystem"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ qtx11extras ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 10 + propagatedBuildInputs = [ qtx11extras ]; 13 11 }
+3 -7
pkgs/desktops/kde-5/frameworks-5.21/kxmlgui.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "kxmlgui"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ 10 - attica kconfig kiconthemes kitemviews ktextwidgets 11 - ]; 12 10 propagatedBuildInputs = [ 13 - kconfigwidgets kglobalaccel ki18n kwindowsystem sonnet 11 + attica kconfig kconfigwidgets kglobalaccel ki18n kiconthemes kitemviews 12 + ktextwidgets kwindowsystem sonnet 14 13 ]; 15 - meta = { 16 - maintainers = [ lib.maintainers.ttuegel ]; 17 - }; 18 14 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/kxmlrpcclient.nix
··· 2 2 3 3 kdeFramework { 4 4 name = "kxmlrpcclient"; 5 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 5 6 nativeBuildInputs = [ extra-cmake-modules ]; 6 7 propagatedBuildInputs = [ ki18n kio ]; 7 - meta = { 8 - maintainers = [ lib.maintainers.ttuegel ]; 9 - }; 10 8 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/modemmanager-qt.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "modemmanager-qt"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 10 propagatedBuildInputs = [ modemmanager ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 13 11 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/networkmanager-qt.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "networkmanager-qt"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 10 propagatedBuildInputs = [ networkmanager ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 13 11 }
+2 -1
pkgs/desktops/kde-5/frameworks-5.21/oxygen-icons5.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "oxygen-icons5"; 8 - nativeBuildInputs = [ extra-cmake-modules ]; 9 8 meta = { 10 9 license = lib.licenses.lgpl3Plus; 11 10 maintainers = [ lib.maintainers.ttuegel ]; 12 11 }; 12 + outputs = [ "out" ]; 13 + nativeBuildInputs = [ extra-cmake-modules ]; 13 14 }
+4 -9
pkgs/desktops/kde-5/frameworks-5.21/plasma-framework/default.nix pkgs/desktops/kde-5/frameworks-5.21/plasma-framework.nix
··· 7 7 8 8 kdeFramework { 9 9 name = "plasma-framework"; 10 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 10 11 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 11 - buildInputs = [ 12 - karchive kconfig kconfigwidgets kcoreaddons kdbusaddons kguiaddons 13 - kiconthemes knotifications kxmlgui qtscript 14 - ]; 15 12 propagatedBuildInputs = [ 16 - kactivities kdeclarative kglobalaccel ki18n kio kpackage kservice kwindowsystem 17 - qtx11extras 13 + kactivities karchive kconfig kconfigwidgets kcoreaddons kdbusaddons 14 + kdeclarative kglobalaccel kguiaddons ki18n kiconthemes kio knotifications 15 + kpackage kservice kwindowsystem kxmlgui qtscript qtx11extras 18 16 ]; 19 17 postInstall = '' 20 18 wrapQtProgram "$out/bin/plasmapkg2" 21 19 ''; 22 - meta = { 23 - maintainers = [ lib.maintainers.ttuegel ]; 24 - }; 25 20 }
+2 -4
pkgs/desktops/kde-5/frameworks-5.21/solid.nix
··· 6 6 7 7 kdeFramework { 8 8 name = "solid"; 9 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 9 10 nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ]; 10 - buildInputs = [ qtdeclarative ]; 11 + propagatedBuildInputs = [ qtdeclarative ]; 11 12 postInstall = '' 12 13 wrapQtProgram "$out/bin/solid-hardware5" 13 14 ''; 14 - meta = { 15 - maintainers = [ lib.maintainers.ttuegel ]; 16 - }; 17 15 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/sonnet.nix
··· 5 5 6 6 kdeFramework { 7 7 name = "sonnet"; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 10 buildInputs = [ hunspell ]; 10 - meta = { 11 - maintainers = [ lib.maintainers.ttuegel ]; 12 - }; 13 11 }
+1 -3
pkgs/desktops/kde-5/frameworks-5.21/threadweaver.nix
··· 5 5 kdeFramework { 6 6 name = "threadweaver"; 7 7 nativeBuildInputs = [ extra-cmake-modules ]; 8 - meta = { 9 - maintainers = [ lib.maintainers.ttuegel ]; 10 - }; 8 + meta = { maintainers = [ lib.maintainers.ttuegel ]; }; 11 9 }
+2 -5
pkgs/desktops/kde-5/plasma-5.6/bluedevil.nix
··· 9 9 nativeBuildInputs = [ 10 10 extra-cmake-modules makeQtWrapper shared_mime_info 11 11 ]; 12 - buildInputs = [ 13 - kcoreaddons kdbusaddons kded kiconthemes knotifications 14 - kwidgetsaddons 15 - ]; 16 12 propagatedBuildInputs = [ 17 - bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative 13 + bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons 14 + kdbusaddons kded kiconthemes knotifications kwidgetsaddons 18 15 ]; 19 16 propagatedUserEnvPkgs = [ bluez-qt ]; 20 17 postInstall = ''
+1 -3
pkgs/desktops/kde-5/plasma-5.6/breeze-qt5.nix
··· 10 10 extra-cmake-modules 11 11 makeQtWrapper 12 12 ]; 13 - buildInputs = [ 14 - kcmutils kconfigwidgets kcoreaddons kdecoration kguiaddons 15 - ]; 16 13 propagatedBuildInputs = [ 17 14 frameworkintegration ki18n kwindowsystem plasma-framework qtx11extras 15 + kcmutils kconfigwidgets kcoreaddons kdecoration kguiaddons 18 16 ]; 19 17 cmakeFlags = [ "-DUSE_Qt4=OFF" ]; 20 18 postInstall = ''
+1 -1
pkgs/desktops/kde-5/plasma-5.6/default.nix
··· 80 80 plasma-mediacenter = callPackage ./plasma-mediacenter.nix {}; 81 81 plasma-nm = callPackage ./plasma-nm {}; 82 82 plasma-pa = callPackage ./plasma-pa.nix {}; 83 - plasma-workspace = callPackage ./plasma-workspace.nix {}; 83 + plasma-workspace = callPackage ./plasma-workspace {}; 84 84 plasma-workspace-wallpapers = callPackage ./plasma-workspace-wallpapers.nix {}; 85 85 polkit-kde-agent = callPackage ./polkit-kde-agent.nix {}; 86 86 powerdevil = callPackage ./powerdevil.nix {};
+2 -4
pkgs/desktops/kde-5/plasma-5.6/kde-cli-tools.nix
··· 6 6 plasmaPackage { 7 7 name = "kde-cli-tools"; 8 8 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 9 - buildInputs = [ 10 - kcmutils kconfig kdesu kiconthemes 11 - ]; 12 9 propagatedBuildInputs = [ 13 - kdelibs4support ki18n kwindowsystem qtsvg qtx11extras 10 + kdelibs4support ki18n kwindowsystem qtsvg qtx11extras kcmutils kconfig kdesu 11 + kiconthemes 14 12 ]; 15 13 postInstall = '' 16 14 wrapQtProgram "$out/bin/kmimetypefinder5"
+2 -3
pkgs/desktops/kde-5/plasma-5.6/kde-gtk-config/default.nix
··· 16 16 name = "kde-gtk-config"; 17 17 patches = [ ./0001-follow-symlinks.patch ]; 18 18 nativeBuildInputs = [ extra-cmake-modules ]; 19 - buildInputs = [ 20 - glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes 19 + propagatedBuildInputs = [ 20 + ki18n kio glib gtk2 gtk3 karchive kcmutils kconfigwidgets kiconthemes 21 21 knewstuff 22 22 ]; 23 - propagatedBuildInputs = [ ki18n kio ]; 24 23 cmakeFlags = [ 25 24 "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" 26 25 "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
+2 -5
pkgs/desktops/kde-5/plasma-5.6/kdeplasma-addons.nix
··· 10 10 extra-cmake-modules 11 11 kdoctools 12 12 ]; 13 - buildInputs = [ 14 - ibus kconfig kconfigwidgets kcoreaddons kcmutils 15 - knewstuff kservice kunitconversion 16 - ]; 17 13 propagatedBuildInputs = [ 18 14 kdelibs4support kio kross krunner plasma-framework plasma-workspace 19 - qtdeclarative qtx11extras 15 + qtdeclarative qtx11extras ibus kconfig kconfigwidgets kcoreaddons kcmutils 16 + knewstuff kservice kunitconversion 20 17 ]; 21 18 }
+3 -3
pkgs/desktops/kde-5/plasma-5.6/khelpcenter.nix
··· 10 10 kdoctools 11 11 makeQtWrapper 12 12 ]; 13 - buildInputs = [ 14 - kconfig kcoreaddons kdbusaddons kinit kcmutils kservice 13 + propagatedBuildInputs = [ 14 + kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons kinit kcmutils 15 + kservice 15 16 ]; 16 - propagatedBuildInputs = [ kdelibs4support khtml ki18n ]; 17 17 postInstall = '' 18 18 wrapQtProgram "$out/bin/khelpcenter" 19 19 '';
+2 -5
pkgs/desktops/kde-5/plasma-5.6/khotkeys.nix
··· 6 6 plasmaPackage { 7 7 name = "khotkeys"; 8 8 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 9 - buildInputs = [ 10 - kcmutils kdbusaddons kxmlgui 11 - ]; 12 9 propagatedBuildInputs = [ 13 - kdelibs4support kglobalaccel ki18n kio plasma-framework 14 - plasma-workspace qtx11extras 10 + kdelibs4support kglobalaccel ki18n kio plasma-framework plasma-workspace 11 + qtx11extras kcmutils kdbusaddons kxmlgui 15 12 ]; 16 13 }
+4 -5
pkgs/desktops/kde-5/plasma-5.6/kinfocenter.nix
··· 12 12 kdoctools 13 13 makeQtWrapper 14 14 ]; 15 - buildInputs = [ 16 - kcmutils kcompletion kconfig kconfigwidgets kcoreaddons 17 - kdbusaddons kiconthemes kpackage kservice kwidgetsaddons 18 - kxmlgui libraw1394 pciutils solid 15 + propagatedBuildInputs = [ 16 + kdeclarative kdelibs4support ki18n kio kcmutils kcompletion kconfig 17 + kconfigwidgets kcoreaddons kdbusaddons kiconthemes kpackage kservice 18 + kwidgetsaddons kxmlgui libraw1394 pciutils solid 19 19 ]; 20 - propagatedBuildInputs = [ kdeclarative kdelibs4support ki18n kio ]; 21 20 postInstall = '' 22 21 wrapQtProgram "$out/bin/kinfocenter" 23 22 '';
+2 -3
pkgs/desktops/kde-5/plasma-5.6/kmenuedit.nix
··· 9 9 kdoctools 10 10 makeQtWrapper 11 11 ]; 12 - buildInputs = [ 13 - kxmlgui kdbusaddons kiconthemes 12 + propagatedBuildInputs = [ 13 + kdelibs4support ki18n kio sonnet kxmlgui kdbusaddons kiconthemes 14 14 ]; 15 - propagatedBuildInputs = [ kdelibs4support ki18n kio sonnet ]; 16 15 postInstall = '' 17 16 wrapQtProgram "$out/bin/kmenuedit" 18 17 '';
+2 -12
pkgs/desktops/kde-5/plasma-5.6/kscreen.nix
··· 9 9 extra-cmake-modules 10 10 makeQtWrapper 11 11 ]; 12 - buildInputs = [ 13 - kconfig 14 - kconfigwidgets 15 - kdbusaddons 16 - kwidgetsaddons 17 - kxmlgui 18 - ]; 19 12 propagatedBuildInputs = [ 20 - kglobalaccel 21 - ki18n 22 - libkscreen 23 - qtdeclarative 24 - qtgraphicaleffects 13 + kglobalaccel ki18n libkscreen qtdeclarative qtgraphicaleffects kconfig 14 + kconfigwidgets kdbusaddons kwidgetsaddons kxmlgui 25 15 ]; 26 16 postInstall = '' 27 17 wrapQtProgram "$out/bin/kscreen-console"
+2 -5
pkgs/desktops/kde-5/plasma-5.6/kscreenlocker.nix
··· 9 9 extra-cmake-modules 10 10 kdoctools 11 11 ]; 12 - buildInputs = [ 13 - kcmutils kcrash kdelibs4support kglobalaccel kidletime kwayland 14 - libXcursor pam wayland 15 - ]; 16 12 propagatedBuildInputs = [ 17 - kdeclarative plasma-framework qtdeclarative 13 + kdeclarative plasma-framework qtdeclarative kcmutils kcrash kdelibs4support 14 + kglobalaccel kidletime kwayland libXcursor pam wayland 18 15 ]; 19 16 }
+1 -2
pkgs/desktops/kde-5/plasma-5.6/ksshaskpass.nix
··· 5 5 plasmaPackage { 6 6 name = "ksshaskpass"; 7 7 nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ]; 8 - buildInputs = [ kcoreaddons kwallet kwidgetsaddons ]; 9 - propagatedBuildInputs = [ ki18n ]; 8 + propagatedBuildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons ]; 10 9 postInstall = '' 11 10 wrapQtProgram "$out/bin/ksshaskpass" 12 11 '';
+2 -2
pkgs/desktops/kde-5/plasma-5.6/ksysguard.nix
··· 10 10 kdoctools 11 11 makeQtWrapper 12 12 ]; 13 - buildInputs = [ 13 + propagatedBuildInputs = [ 14 14 kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard 15 + kdelibs4support ki18n 15 16 ]; 16 - propagatedBuildInputs = [ kdelibs4support ki18n ]; 17 17 postInstall = '' 18 18 wrapQtProgram "$out/bin/ksysguardd" 19 19 '';
+1 -1
pkgs/desktops/kde-5/plasma-5.6/kwayland.nix
··· 8 8 nativeBuildInputs = [ 9 9 extra-cmake-modules 10 10 ]; 11 - buildInputs = [ 11 + propagatedBuildInputs = [ 12 12 wayland 13 13 ]; 14 14 }
+6 -8
pkgs/desktops/kde-5/plasma-5.6/kwin/default.nix
··· 15 15 kdoctools 16 16 makeQtWrapper 17 17 ]; 18 - buildInputs = [ 19 - epoxy kcompletion kcmutils kconfig kconfigwidgets kcoreaddons 20 - kcrash kdecoration kiconthemes kidletime kinit knewstuff knotifications 21 - kpackage kservice kwayland kwidgetsaddons kxmlgui libinput libICE 22 - libSM qtscript udev wayland xcb-util-cursor 23 - ]; 24 18 propagatedBuildInputs = [ 25 - kactivities kdeclarative kglobalaccel ki18n kio kscreenlocker 26 - kwindowsystem plasma-framework qtdeclarative qtmultimedia qtx11extras 19 + kactivities kdeclarative kglobalaccel ki18n kio kscreenlocker kwindowsystem 20 + plasma-framework qtdeclarative qtmultimedia qtx11extras epoxy kcompletion 21 + kcmutils kconfig kconfigwidgets kcoreaddons kcrash kdecoration kiconthemes 22 + kidletime kinit knewstuff knotifications kpackage kservice kwayland 23 + kwidgetsaddons kxmlgui libinput libICE libSM qtscript udev wayland 24 + xcb-util-cursor 27 25 ]; 28 26 patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; 29 27 cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
+1 -2
pkgs/desktops/kde-5/plasma-5.6/kwrited.nix
··· 5 5 plasmaPackage { 6 6 name = "kwrited"; 7 7 nativeBuildInputs = [ extra-cmake-modules ]; 8 - buildInputs = [ kcoreaddons kpty knotifications kdbusaddons ]; 9 - propagatedBuildInputs = [ ki18n ]; 8 + propagatedBuildInputs = [ kcoreaddons ki18n kpty knotifications kdbusaddons ]; 10 9 }
+1 -4
pkgs/desktops/kde-5/plasma-5.6/libkscreen.nix
··· 9 9 nativeBuildInputs = [ 10 10 extra-cmake-modules 11 11 ]; 12 - buildInputs = [ 13 - kwayland libXrandr 14 - ]; 15 12 propagatedBuildInputs = [ 16 - qtx11extras 13 + kwayland libXrandr qtx11extras 17 14 ]; 18 15 }
+3 -6
pkgs/desktops/kde-5/plasma-5.6/libksysguard/default.nix
··· 12 12 nativeBuildInputs = [ 13 13 extra-cmake-modules 14 14 ]; 15 - buildInputs = [ 16 - kcompletion kconfigwidgets kcoreaddons kservice 17 - kwidgetsaddons qtscript qtwebkit 18 - ]; 19 15 propagatedBuildInputs = [ 20 - kauth kconfig ki18n kiconthemes kwindowsystem plasma-framework 21 - qtx11extras 16 + kauth kconfig ki18n kiconthemes kwindowsystem plasma-framework qtx11extras 17 + kcompletion kconfigwidgets kcoreaddons kservice kwidgetsaddons qtscript 18 + qtwebkit 22 19 ]; 23 20 }
+2 -4
pkgs/desktops/kde-5/plasma-5.6/milou.nix
··· 8 8 nativeBuildInputs = [ 9 9 extra-cmake-modules 10 10 ]; 11 - buildInputs = [ 12 - qtscript kcoreaddons kservice 13 - ]; 14 11 propagatedBuildInputs = [ 15 - kdeclarative ki18n krunner plasma-framework qtdeclarative 12 + kdeclarative ki18n krunner plasma-framework qtdeclarative qtscript 13 + kcoreaddons kservice 16 14 ]; 17 15 }
+3 -4
pkgs/desktops/kde-5/plasma-5.6/oxygen.nix
··· 8 8 nativeBuildInputs = [ 9 9 extra-cmake-modules makeQtWrapper 10 10 ]; 11 - buildInputs = [ 12 - kcmutils kconfig kdecoration kguiaddons kwidgetsaddons 13 - kservice kcompletion 11 + propagatedBuildInputs = [ 12 + kcmutils kconfig kdecoration kguiaddons kwidgetsaddons kservice kcompletion 13 + frameworkintegration ki18n kwindowsystem qtx11extras 14 14 ]; 15 - propagatedBuildInputs = [ frameworkintegration ki18n kwindowsystem qtx11extras ]; 16 15 postInstall = '' 17 16 wrapQtProgram "$out/bin/oxygen-demo5" 18 17 wrapQtProgram "$out/bin/oxygen-settings5"
+7 -41
pkgs/desktops/kde-5/plasma-5.6/plasma-desktop/default.nix
··· 17 17 kdoctools 18 18 makeQtWrapper 19 19 ]; 20 - buildInputs = [ 21 - attica 22 - boost 23 - fontconfig 24 - kcmutils 25 - kdbusaddons 26 - kded 27 - kitemmodels 28 - knewstuff 29 - knotifications 30 - knotifyconfig 31 - kwallet 32 - libcanberra_kde 33 - libXcursor 34 - libpulseaudio 35 - libXft 36 - libxkbfile 37 - phonon 38 - qtsvg 39 - xf86inputevdev 40 - xf86inputsynaptics 41 - xkeyboard_config 42 - xinput 43 - ]; 44 20 propagatedBuildInputs = [ 45 - baloo 46 - kactivities 47 - kauth 48 - kdeclarative 49 - kdelibs4support 50 - kemoticons 51 - kglobalaccel 52 - ki18n 53 - kpeople 54 - krunner 55 - kwin 56 - plasma-framework 57 - plasma-workspace 58 - qtdeclarative 59 - qtquick1 60 - qtquickcontrols 61 - qtx11extras 21 + attica boost fontconfig kcmutils kdbusaddons kded kitemmodels knewstuff 22 + knotifications knotifyconfig kwallet libcanberra_kde libXcursor 23 + libpulseaudio libXft libxkbfile phonon qtsvg xf86inputevdev 24 + xf86inputsynaptics xkeyboard_config xinput baloo kactivities kauth 25 + kdeclarative kdelibs4support kemoticons kglobalaccel ki18n kpeople krunner 26 + kwin plasma-framework plasma-workspace qtdeclarative qtquick1 27 + qtquickcontrols qtx11extras 62 28 ]; 63 29 patches = [ 64 30 ./0001-qt-5.5-QML-import-paths.patch
+2 -6
pkgs/desktops/kde-5/plasma-5.6/plasma-mediacenter.nix
··· 9 9 nativeBuildInputs = [ 10 10 extra-cmake-modules 11 11 ]; 12 - buildInputs = [ 13 - kconfig kcoreaddons kguiaddons kservice 14 - qtdeclarative qtmultimedia taglib 15 - ]; 16 12 propagatedBuildInputs = [ 17 - baloo kactivities kdeclarative kfilemetadata ki18n kio 18 - plasma-framework 13 + baloo kactivities kdeclarative kfilemetadata ki18n kio plasma-framework 14 + kconfig kcoreaddons kguiaddons kservice qtdeclarative qtmultimedia taglib 19 15 ]; 20 16 }
+4 -7
pkgs/desktops/kde-5/plasma-5.6/plasma-nm/default.nix
··· 20 20 kdoctools 21 21 makeQtWrapper 22 22 ]; 23 - buildInputs = [ 24 - kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes 25 - kinit kitemviews knotifications kservice kwallet kwidgetsaddons 26 - kxmlgui mobile_broadband_provider_info modemmanager-qt 27 - networkmanager-qt openconnect qca-qt5 solid 28 - ]; 29 23 propagatedBuildInputs = [ 30 24 kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework 31 - qtdeclarative 25 + qtdeclarative kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes 26 + kinit kitemviews knotifications kservice kwallet kwidgetsaddons kxmlgui 27 + mobile_broadband_provider_info modemmanager-qt networkmanager-qt openconnect 28 + qca-qt5 solid 32 29 ]; 33 30 postInstall = '' 34 31 wrapQtProgram "$out/bin/kde5-nm-connection-editor"
+2 -4
pkgs/desktops/kde-5/plasma-5.6/plasma-pa.nix
··· 9 9 extra-cmake-modules 10 10 kdoctools 11 11 ]; 12 - buildInputs = [ 13 - glib kconfigwidgets kcoreaddons libpulseaudio 14 - ]; 15 12 propagatedBuildInputs = [ 16 - kdeclarative kglobalaccel ki18n plasma-framework 13 + glib kconfigwidgets kcoreaddons libpulseaudio kdeclarative kglobalaccel 14 + ki18n plasma-framework 17 15 ]; 18 16 }
-43
pkgs/desktops/kde-5/plasma-5.6/plasma-workspace.nix
··· 1 - { plasmaPackage, lib 2 - , extra-cmake-modules, kdoctools 3 - , baloo, kactivities, kcmutils, kcrash, kdbusaddons, kdeclarative 4 - , kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime 5 - , kjsembed, knewstuff, knotifyconfig, kpackage, krunner 6 - , ktexteditor, ktextwidgets, kwallet, kwayland, kwin, kxmlrpcclient 7 - , libdbusmenu, libkscreen, libSM, libXcursor, networkmanager-qt 8 - , pam, phonon, plasma-framework, qtquick1, qtscript, qtx11extras, wayland 9 - , libksysguard, kconfig, solid, qtquickcontrols 10 - }: 11 - 12 - plasmaPackage { 13 - name = "plasma-workspace"; 14 - 15 - nativeBuildInputs = [ 16 - extra-cmake-modules 17 - kdoctools 18 - ]; 19 - buildInputs = [ 20 - kcmutils kconfig kcrash kdbusaddons kdesu kdewebkit 21 - kjsembed knewstuff knotifyconfig kpackage 22 - ktextwidgets kwallet kwayland kxmlrpcclient libdbusmenu libSM 23 - libXcursor networkmanager-qt pam phonon qtscript 24 - wayland 25 - ]; 26 - propagatedBuildInputs = [ 27 - baloo kactivities kdeclarative kdelibs4support kglobalaccel 28 - kidletime krunner ktexteditor kwin libkscreen libksysguard 29 - plasma-framework qtquick1 qtquickcontrols qtx11extras solid 30 - ]; 31 - 32 - postPatch = '' 33 - substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \ 34 - --replace kdostartupconfig5 $out/bin/kdostartupconfig5 35 - ''; 36 - 37 - postInstall = '' 38 - rm "$out/bin/startkde" 39 - rm "$out/bin/startplasmacompositor" 40 - rm "$out/lib/libexec/startplasma" 41 - rm -r "$out/share/wayland-sessions" 42 - ''; 43 - }
+57
pkgs/desktops/kde-5/plasma-5.6/plasma-workspace/default.nix
··· 1 + { plasmaPackage, lib, copyPathsToStore 2 + , extra-cmake-modules, kdoctools 3 + , baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative 4 + , kdelibs4support, kdesu, kdewebkit, kglobalaccel, kidletime, kjsembed, knewstuff 5 + , knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet, kwayland 6 + , kwin, kxmlrpcclient, libdbusmenu, libkscreen, libksysguard, libSM, libXcursor 7 + , networkmanager-qt, pam, phonon, plasma-framework, qtquick1, qtquickcontrols 8 + , qtscript, qtx11extras, solid, wayland 9 + }: 10 + 11 + plasmaPackage { 12 + name = "plasma-workspace"; 13 + 14 + nativeBuildInputs = [ 15 + extra-cmake-modules 16 + kdoctools 17 + ]; 18 + propagatedBuildInputs = [ 19 + baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative 20 + kdelibs4support kdesu kdewebkit kglobalaccel kidletime kjsembed knewstuff 21 + knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland 22 + kwin kxmlrpcclient libdbusmenu libkscreen libksysguard libSM libXcursor 23 + networkmanager-qt pam phonon plasma-framework qtquick1 qtquickcontrols 24 + qtscript qtx11extras solid wayland 25 + ]; 26 + 27 + patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 28 + 29 + postPatch = '' 30 + substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \ 31 + --replace kdostartupconfig5 $out/bin/kdostartupconfig5 32 + ''; 33 + 34 + postInstall = '' 35 + rm "$out/bin/startkde" 36 + rm "$out/bin/startplasmacompositor" 37 + rm "$out/lib/libexec/startplasma" 38 + rm -r "$out/share/wayland-sessions" 39 + ''; 40 + 41 + preFixup = '' 42 + wrapQtProgram $out/bin/kcheckrunning 43 + wrapQtProgram $out/bin/kcminit 44 + wrapQtProgram $out/bin/kcminit_startup 45 + wrapQtProgram $out/bin/kdostartupconfig5 46 + wrapQtProgram $out/bin/klipper 47 + wrapQtProgram $out/bin/krunner 48 + wrapQtProgram $out/bin/ksmserver 49 + wrapQtProgram $out/bin/ksplashqml 50 + wrapQtProgram $out/bin/kstartupconfig5 51 + wrapQtProgram $out/bin/kuiserver5 52 + wrapQtProgram $out/bin/plasmashell 53 + wrapQtProgram $out/bin/plasmawindowed 54 + wrapQtProgram $out/bin/systemmonitor 55 + wrapQtProgram $out/bin/xembedsniproxy 56 + ''; 57 + }
+104
pkgs/desktops/kde-5/plasma-5.6/plasma-workspace/qml-import-path.patch
··· 1 + Index: plasma-workspace-5.6.3/applets/analog-clock/contents/ui/analogclock.qml 2 + =================================================================== 3 + --- plasma-workspace-5.6.3.orig/applets/analog-clock/contents/ui/analogclock.qml 4 + +++ plasma-workspace-5.6.3/applets/analog-clock/contents/ui/analogclock.qml 5 + @@ -26,7 +26,7 @@ import QtQuick.Layouts 1.1 6 + 7 + import org.kde.plasma.core 2.0 as PlasmaCore 8 + import org.kde.plasma.components 2.0 as PlasmaComponents 9 + -import "logic.js" as Logic 10 + +import "../code/logic.js" as Logic 11 + 12 + Item { 13 + id: analogclock 14 + Index: plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/BatteryItem.qml 15 + =================================================================== 16 + --- plasma-workspace-5.6.3.orig/applets/batterymonitor/package/contents/ui/BatteryItem.qml 17 + +++ plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/BatteryItem.qml 18 + @@ -26,7 +26,7 @@ import org.kde.plasma.components 2.0 as 19 + import org.kde.plasma.extras 2.0 as PlasmaExtras 20 + import org.kde.plasma.workspace.components 2.0 21 + import org.kde.kcoreaddons 1.0 as KCoreAddons 22 + -import "logic.js" as Logic 23 + +import "../code/logic.js" as Logic 24 + 25 + Item { 26 + id: batteryItem 27 + Index: plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml 28 + =================================================================== 29 + --- plasma-workspace-5.6.3.orig/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml 30 + +++ plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml 31 + @@ -24,7 +24,7 @@ import QtQuick.Layouts 1.1 32 + import org.kde.plasma.core 2.0 as PlasmaCore 33 + import org.kde.plasma.components 2.0 as Components 34 + import org.kde.plasma.workspace.components 2.0 35 + -import "logic.js" as Logic 36 + +import "../code/logic.js" as Logic 37 + 38 + MouseArea { 39 + id: root 40 + Index: plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/PopupDialog.qml 41 + =================================================================== 42 + --- plasma-workspace-5.6.3.orig/applets/batterymonitor/package/contents/ui/PopupDialog.qml 43 + +++ plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/PopupDialog.qml 44 + @@ -23,7 +23,7 @@ import org.kde.plasma.core 2.0 as Plasma 45 + import org.kde.plasma.components 2.0 as Components 46 + import org.kde.plasma.extras 2.0 as PlasmaExtras 47 + import org.kde.kquickcontrolsaddons 2.0 48 + -import "logic.js" as Logic 49 + +import "../code/logic.js" as Logic 50 + 51 + FocusScope { 52 + id: dialog 53 + Index: plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/batterymonitor.qml 54 + =================================================================== 55 + --- plasma-workspace-5.6.3.orig/applets/batterymonitor/package/contents/ui/batterymonitor.qml 56 + +++ plasma-workspace-5.6.3/applets/batterymonitor/package/contents/ui/batterymonitor.qml 57 + @@ -25,7 +25,7 @@ import org.kde.plasma.plasmoid 2.0 58 + import org.kde.plasma.core 2.0 as PlasmaCore 59 + import org.kde.kcoreaddons 1.0 as KCoreAddons 60 + import org.kde.kquickcontrolsaddons 2.0 61 + -import "logic.js" as Logic 62 + +import "../code/logic.js" as Logic 63 + 64 + Item { 65 + id: batterymonitor 66 + Index: plasma-workspace-5.6.3/applets/lock_logout/contents/ui/lockout.qml 67 + =================================================================== 68 + --- plasma-workspace-5.6.3.orig/applets/lock_logout/contents/ui/lockout.qml 69 + +++ plasma-workspace-5.6.3/applets/lock_logout/contents/ui/lockout.qml 70 + @@ -23,7 +23,7 @@ import org.kde.plasma.plasmoid 2.0 71 + import org.kde.plasma.core 2.0 as PlasmaCore 72 + import org.kde.plasma.components 2.0 73 + import org.kde.kquickcontrolsaddons 2.0 74 + -import "data.js" as Data 75 + +import "../code/data.js" as Data 76 + 77 + Flow { 78 + id: lockout 79 + Index: plasma-workspace-5.6.3/applets/notifications/package/contents/ui/main.qml 80 + =================================================================== 81 + --- plasma-workspace-5.6.3.orig/applets/notifications/package/contents/ui/main.qml 82 + +++ plasma-workspace-5.6.3/applets/notifications/package/contents/ui/main.qml 83 + @@ -28,7 +28,7 @@ import org.kde.plasma.extras 2.0 as Plas 84 + 85 + import org.kde.plasma.private.notifications 1.0 86 + 87 + -import "uiproperties.js" as UiProperties 88 + +import "../code/uiproperties.js" as UiProperties 89 + 90 + MouseEventListener { 91 + id: notificationsApplet 92 + Index: plasma-workspace-5.6.3/applets/systemtray/package/contents/ui/main.qml 93 + =================================================================== 94 + --- plasma-workspace-5.6.3.orig/applets/systemtray/package/contents/ui/main.qml 95 + +++ plasma-workspace-5.6.3/applets/systemtray/package/contents/ui/main.qml 96 + @@ -25,7 +25,7 @@ import org.kde.plasma.core 2.0 as Plasma 97 + // import org.kde.plasma.extras 2.0 as PlasmaExtras 98 + 99 + import org.kde.private.systemtray 2.0 as SystemTray 100 + -import "Layout.js" as LayoutManager 101 + +import "../code/Layout.js" as LayoutManager 102 + 103 + Item { 104 + id: root
+1
pkgs/desktops/kde-5/plasma-5.6/plasma-workspace/series
··· 1 + qml-import-path.patch
+372
pkgs/desktops/kde-5/plasma-5.6/plasma-workspace/startkde.patch
··· 1 + Index: plasma-workspace-5.5.5/startkde/startkde.cmake 2 + =================================================================== 3 + --- plasma-workspace-5.5.5.orig/startkde/startkde.cmake 4 + +++ plasma-workspace-5.5.5/startkde/startkde.cmake 5 + @@ -1,8 +1,36 @@ 6 + -#!/bin/sh 7 + +#!@bash@ 8 + # 9 + # DEFAULT KDE STARTUP SCRIPT ( @PROJECT_VERSION@ ) 10 + # 11 + 12 + +set -x 13 + + 14 + +# The KDE icon cache is supposed to update itself 15 + +# automatically, but it uses the timestamp on the icon 16 + +# theme directory as a trigger. Since in Nix the 17 + +# timestamp is always the same, this doesn't work. So as 18 + +# a workaround, nuke the icon cache on login. This isn't 19 + +# perfect, since it may require logging out after 20 + +# installing new applications to update the cache. 21 + +# See http://lists-archives.org/kde-devel/26175-what-when-will-icon-cache-refresh.html 22 + +rm -fv $HOME/.cache/icon-cache.kcache 23 + + 24 + +# Qt writes a weird ‘libraryPath’ line to 25 + +# ~/.config/Trolltech.conf that causes the KDE plugin 26 + +# paths of previous KDE invocations to be searched. 27 + +# Obviously using mismatching KDE libraries is potentially 28 + +# disastrous, so here we nuke references to the Nix store 29 + +# in Trolltech.conf. A better solution would be to stop 30 + +# Qt from doing this wackiness in the first place. 31 + +if [ -e $HOME/.config/Trolltech.conf ]; then 32 + + @sed@ -e '/nix\\store\|nix\/store/ d' -i $HOME/.config/Trolltech.conf 33 + +fi 34 + + 35 + +# (NixOS) We run kbuildsycoca5 before starting the user session because things 36 + +# may be missing or moved if they have run nixos-rebuild and it may not be 37 + +# possible for them to start Konsole to run it manually! 38 + +@kbuildsycoca5@ 39 + + 40 + if test "x$1" = x--failsafe; then 41 + KDE_FAILSAFE=1 # General failsafe flag 42 + KWIN_COMPOSE=N # Disable KWin's compositing 43 + @@ -17,29 +45,16 @@ trap 'echo GOT SIGHUP' HUP 44 + # we have to unset this for Darwin since it will screw up KDE's dynamic-loading 45 + unset DYLD_FORCE_FLAT_NAMESPACE 46 + 47 + -# in case we have been started with full pathname spec without being in PATH 48 + -bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'` 49 + -if [ -n "$bindir" ]; then 50 + - qbindir=`qtpaths --binaries-dir` 51 + - qdbus=$qbindir/qdbus 52 + - case $PATH in 53 + - $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;; 54 + - *) PATH=$bindir:$PATH; export PATH;; 55 + - esac 56 + -else 57 + - qdbus=qdbus 58 + -fi 59 + - 60 + # Check if a KDE session already is running and whether it's possible to connect to X 61 + -kcheckrunning 62 + +@kcheckrunning@ 63 + kcheckrunning_result=$? 64 + if test $kcheckrunning_result -eq 0 ; then 65 + - echo "KDE seems to be already running on this display." 66 + - xmessage -geometry 500x100 "KDE seems to be already running on this display." > /dev/null 2>/dev/null 67 + + echo "KDE seems to be already running on this display." 68 + + @xmessage@ -geometry 500x100 "KDE seems to be already running on this display." 69 + exit 1 70 + elif test $kcheckrunning_result -eq 2 ; then 71 + echo "\$DISPLAY is not set or cannot connect to the X server." 72 + - exit 1 73 + + exit 1 74 + fi 75 + 76 + # Boot sequence: 77 + @@ -57,13 +72,8 @@ fi 78 + # * Then ksmserver is started which takes control of the rest of the startup sequence 79 + 80 + # We need to create config folder so we can write startupconfigkeys 81 + -if [ ${XDG_CONFIG_HOME} ]; then 82 + - configDir=$XDG_CONFIG_HOME; 83 + -else 84 + - configDir=${HOME}/.config; #this is the default, http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html 85 + -fi 86 + - 87 + -mkdir -p $configDir 88 + +configDir=$(@qtpaths@ --writable-path GenericConfigLocation) 89 + +mkdir -p "$configDir" 90 + 91 + #This is basically setting defaults so we can use them with kstartupconfig5 92 + cat >$configDir/startupconfigkeys <<EOF 93 + @@ -102,42 +112,10 @@ XftSubPixel=none 94 + EOF 95 + } 96 + 97 + -# Make sure the Oxygen font is installed 98 + -# This is necessary for setups where CMAKE_INSTALL_PREFIX 99 + -# is not in /usr. fontconfig looks in /usr, ~/.fonts and 100 + -# $XDG_DATA_HOME for fonts. In this case, we symlink the 101 + -# Oxygen font under ${XDG_DATA_HOME} and make it known to 102 + -# fontconfig 103 + - 104 + -usr_share="/usr/share" 105 + -install_share="@KDE_INSTALL_FULL_DATADIR@" 106 + - 107 + -if [ ! $install_share = $usr_share ]; then 108 + - 109 + - if [ ${XDG_DATA_HOME} ]; then 110 + - fontsDir="${XDG_DATA_HOME}/fonts" 111 + - else 112 + - fontsDir="${HOME}/.fonts" 113 + - fi 114 + - 115 + - test -d $fontsDir || { 116 + - mkdir -p $fontsDir 117 + - } 118 + - 119 + - oxygenDir=$fontsDir/oxygen 120 + - prefixDir="@KDE_INSTALL_FULL_DATADIR@/fonts/oxygen" 121 + - 122 + - # if the oxygen dir doesn't exist, create a symlink to be sure that the 123 + - # Oxygen font is available to the user 124 + - test -d $oxygenDir || test -d $prefixDir && { 125 + - test -h $oxygenDir || ln -s $prefixDir $oxygenDir && fc-cache $oxygenDir 126 + - } 127 + -fi 128 + - 129 + -kstartupconfig5 130 + +@out@/bin/kstartupconfig5 131 + returncode=$? 132 + if test $returncode -ne 0; then 133 + - xmessage -geometry 500x100 "kstartupconfig5 does not exist or fails. The error code is $returncode. Check your installation." 134 + + @xmessage@ -geometry 500x100 "kstartupconfig5 does not exist or fails. The error code is $returncode. Check your installation." 135 + exit 1 136 + fi 137 + [ -r $configDir/startupconfig ] && . $configDir/startupconfig 138 + @@ -146,9 +124,11 @@ if test "$kdeglobals_kscreen_scalefactor 139 + export QT_DEVICE_PIXEL_RATIO=$kdeglobals_kscreen_scalefactor 140 + fi 141 + 142 + +XCURSOR_PATH=~/.icons:$(echo "$XDG_DATA_DIRS" | @tr@ ":" "\n" | @sed@ 's,$,/icons,g' | @tr@ "\n" ":") 143 + +export XCURSOR_PATH 144 + + 145 + # XCursor mouse theme needs to be applied here to work even for kded or ksmserver 146 + if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then 147 + - @EXPORT_XCURSOR_PATH@ 148 + 149 + kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize" 150 + if test $? -eq 10; then 151 + @@ -164,21 +144,39 @@ if test -n "$kcminputrc_mouse_cursorthem 152 + fi 153 + fi 154 + 155 + -if test "$kcmfonts_general_forcefontdpi" -ne 0; then 156 + - xrdb -quiet -merge -nocpp <<EOF 157 + -Xft.dpi: $kcmfonts_general_forcefontdpi 158 + -EOF 159 + -fi 160 + +# Set a left cursor instead of the standard X11 "X" cursor, since I've heard 161 + +# from some users that they're confused and don't know what to do. This is 162 + +# especially necessary on slow machines, where starting KDE takes one or two 163 + +# minutes until anything appears on the screen. 164 + +# 165 + +# If the user has overwritten fonts, the cursor font may be different now 166 + +# so don't move this up. 167 + +# 168 + +@xsetroot@ -cursor_name left_ptr 169 + 170 + dl=$DESKTOP_LOCKED 171 + unset DESKTOP_LOCKED # Don't want it in the environment 172 + 173 + +# Make sure that D-Bus is running 174 + +# D-Bus autolaunch is broken 175 + +if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then 176 + + eval `@dbus-launch@ --sh-syntax --exit-with-session` 177 + +fi 178 + +if @qdbus@ >/dev/null 2>/dev/null; then 179 + + : # ok 180 + +else 181 + + echo 'startkde: Could not start D-Bus. Can you call qdbus?' 1>&2 182 + + test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null 183 + + @xmessage@ -geometry 500x100 "Could not start D-Bus. Can you call qdbus?" 184 + + exit 1 185 + +fi 186 + + 187 + ksplash_pid= 188 + if test -z "$dl"; then 189 + # the splashscreen and progress indicator 190 + case "$ksplashrc_ksplash_engine" in 191 + KSplashQML) 192 + - ksplash_pid=`ksplashqml "${ksplashrc_ksplash_theme}" --pid` 193 + + ksplash_pid=`@out@/bin/ksplashqml "${ksplashrc_ksplash_theme}" --pid` 194 + ;; 195 + None) 196 + ;; 197 + @@ -201,8 +199,7 @@ fi 198 + # For anything else (that doesn't set env vars, or that needs a window manager), 199 + # better use the Autostart folder. 200 + 201 + -# TODO: Use GenericConfigLocation once we depend on Qt 5.4 202 + -scriptpath=`qtpaths --paths ConfigLocation | tr ':' '\n' | sed 's,$,/plasma-workspace,g'` 203 + +scriptpath=$(@qtpaths@ --paths GenericConfigLocation | tr ':' '\n' | @sed@ 's,$,/plasma-workspace,g') 204 + 205 + # Add /env/ to the directory to locate the scripts to be sourced 206 + for prefix in `echo $scriptpath`; do 207 + @@ -232,7 +229,7 @@ usr_odir=$HOME/.fonts/kde-override 208 + usr_fdir=$HOME/.fonts 209 + 210 + if test -n "$KDEDIRS"; then 211 + - kdedirs_first=`echo "$KDEDIRS"|sed -e 's/:.*//'` 212 + + kdedirs_first=`echo "$KDEDIRS" | @sed@ -e 's/:.*//'` 213 + sys_odir=$kdedirs_first/share/fonts/override 214 + sys_fdir=$kdedirs_first/share/fonts 215 + else 216 + @@ -245,23 +242,13 @@ fi 217 + # add the user's dirs to the font path, as they might simply have been made 218 + # read-only by the administrator, for whatever reason. 219 + 220 + -test -d "$sys_odir" && xset +fp "$sys_odir" 221 + -test -d "$usr_odir" && (mkfontdir "$usr_odir" ; xset +fp "$usr_odir") 222 + -test -d "$usr_fdir" && (mkfontdir "$usr_fdir" ; xset fp+ "$usr_fdir") 223 + -test -d "$sys_fdir" && xset fp+ "$sys_fdir" 224 + +test -d "$sys_odir" && @xset@ +fp "$sys_odir" 225 + +test -d "$usr_odir" && ( @mkfontdir@ "$usr_odir" ; @xset@ +fp "$usr_odir" ) 226 + +test -d "$usr_fdir" && ( @mkfontdir@ "$usr_fdir" ; @xset@ fp+ "$usr_fdir" ) 227 + +test -d "$sys_fdir" && @xset@ fp+ "$sys_fdir" 228 + 229 + # Ask X11 to rebuild its font list. 230 + -xset fp rehash 231 + - 232 + -# Set a left cursor instead of the standard X11 "X" cursor, since I've heard 233 + -# from some users that they're confused and don't know what to do. This is 234 + -# especially necessary on slow machines, where starting KDE takes one or two 235 + -# minutes until anything appears on the screen. 236 + -# 237 + -# If the user has overwritten fonts, the cursor font may be different now 238 + -# so don't move this up. 239 + -# 240 + -xsetroot -cursor_name left_ptr 241 + +@xset@ fp rehash 242 + 243 + # Get Ghostscript to look into user's KDE fonts dir for additional Fontmap 244 + if test -n "$GS_LIB" ; then 245 + @@ -274,26 +261,6 @@ fi 246 + 247 + echo 'startkde: Starting up...' 1>&2 248 + 249 + -# Make sure that the KDE prefix is first in XDG_DATA_DIRS and that it's set at all. 250 + -# The spec allows XDG_DATA_DIRS to be not set, but X session startup scripts tend 251 + -# to set it to a list of paths *not* including the KDE prefix if it's not /usr or 252 + -# /usr/local. 253 + -if test -z "$XDG_DATA_DIRS"; then 254 + - XDG_DATA_DIRS="@CMAKE_INSTALL_PREFIX@/@SHARE_INSTALL_PREFIX@:/usr/share:/usr/local/share" 255 + -fi 256 + -export XDG_DATA_DIRS 257 + - 258 + -# Make sure that D-Bus is running 259 + -if $qdbus >/dev/null 2>/dev/null; then 260 + - : # ok 261 + -else 262 + - echo 'startkde: Could not start D-Bus. Can you call qdbus?' 1>&2 263 + - test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null 264 + - xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus?" 265 + - exit 1 266 + -fi 267 + - 268 + - 269 + # Mark that full KDE session is running (e.g. Konqueror preloading works only 270 + # with full KDE running). The KDE_FULL_SESSION property can be detected by 271 + # any X client connected to the same X session, even if not launched 272 + @@ -318,11 +285,11 @@ fi 273 + # 274 + KDE_FULL_SESSION=true 275 + export KDE_FULL_SESSION 276 + -xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true 277 + +@xprop@ -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true 278 + 279 + KDE_SESSION_VERSION=5 280 + export KDE_SESSION_VERSION 281 + -xprop -root -f KDE_SESSION_VERSION 32c -set KDE_SESSION_VERSION 5 282 + +@xprop@ -root -f KDE_SESSION_VERSION 32c -set KDE_SESSION_VERSION 5 283 + 284 + KDE_SESSION_UID=`id -ru` 285 + export KDE_SESSION_UID 286 + @@ -332,11 +299,11 @@ export XDG_CURRENT_DESKTOP 287 + 288 + # At this point all the environment is ready, let's send it to kwalletd if running 289 + if test -n "$PAM_KWALLET_LOGIN" ; then 290 + - env | socat STDIN UNIX-CONNECT:$PAM_KWALLET_LOGIN 291 + + env | @socat@ STDIN UNIX-CONNECT:$PAM_KWALLET_LOGIN 292 + fi 293 + # ...and also to kwalletd5 294 + if test -n "$PAM_KWALLET5_LOGIN" ; then 295 + - env | socat STDIN UNIX-CONNECT:$PAM_KWALLET5_LOGIN 296 + + env | @socat@ STDIN UNIX-CONNECT:$PAM_KWALLET5_LOGIN 297 + fi 298 + 299 + # At this point all environment variables are set, let's send it to the DBus session server to update the activation environment 300 + @@ -349,18 +316,18 @@ if test $? -ne 0; then 301 + # Startup error 302 + echo 'startkde: Could not sync environment to dbus.' 1>&2 303 + test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null 304 + - xmessage -geometry 500x100 "Could not sync environment to dbus." 305 + + @xmessage@ -geometry 500x100 "Could not sync environment to dbus." 306 + exit 1 307 + fi 308 + 309 + # We set LD_BIND_NOW to increase the efficiency of kdeinit. 310 + # kdeinit unsets this variable before loading applications. 311 + -LD_BIND_NOW=true @CMAKE_INSTALL_FULL_LIBEXECDIR_KF5@/start_kdeinit_wrapper --kded +kcminit_startup 312 + +LD_BIND_NOW=true @start_kdeinit_wrapper@ --kded +kcminit_startup 313 + if test $? -ne 0; then 314 + # Startup error 315 + echo 'startkde: Could not start kdeinit5. Check your installation.' 1>&2 316 + test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null 317 + - xmessage -geometry 500x100 "Could not start kdeinit5. Check your installation." 318 + + @xmessage@ -geometry 500x100 "Could not start kdeinit5. Check your installation." 319 + exit 1 320 + fi 321 + 322 + @@ -379,27 +346,27 @@ test -n "$KDEWM" && KDEWM="--windowmanag 323 + # lock now and do the rest of the KDE startup underneath the locker. 324 + KSMSERVEROPTIONS="" 325 + test -n "$dl" && KSMSERVEROPTIONS=" --lockscreen" 326 + -kwrapper5 @CMAKE_INSTALL_FULL_BINDIR@/ksmserver $KDEWM $KSMSERVEROPTIONS 327 + +@kwrapper5@ @CMAKE_INSTALL_FULL_BINDIR@/ksmserver $KDEWM $KSMSERVEROPTIONS 328 + if test $? -eq 255; then 329 + # Startup error 330 + echo 'startkde: Could not start ksmserver. Check your installation.' 1>&2 331 + test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null 332 + - xmessage -geometry 500x100 "Could not start ksmserver. Check your installation." 333 + + @xmessage@ -geometry 500x100 "Could not start ksmserver. Check your installation." 334 + fi 335 + 336 + -wait_drkonqi=`kreadconfig5 --file startkderc --group WaitForDrKonqi --key Enabled --default true` 337 + +wait_drkonqi=`@kreadconfig5@ --file startkderc --group WaitForDrKonqi --key Enabled --default true` 338 + 339 + if test x"$wait_drkonqi"x = x"true"x ; then 340 + # wait for remaining drkonqi instances with timeout (in seconds) 341 + - wait_drkonqi_timeout=`kreadconfig5 --file startkderc --group WaitForDrKonqi --key Timeout --default 900` 342 + + wait_drkonqi_timeout=`@kreadconfig5@ --file startkderc --group WaitForDrKonqi --key Timeout --default 900` 343 + wait_drkonqi_counter=0 344 + - while $qdbus | grep "^[^w]*org.kde.drkonqi" > /dev/null ; do 345 + + while @qdbus@ | @grep@ "^[^w]*org.kde.drkonqi" > /dev/null ; do 346 + sleep 5 347 + wait_drkonqi_counter=$((wait_drkonqi_counter+5)) 348 + if test "$wait_drkonqi_counter" -ge "$wait_drkonqi_timeout" ; then 349 + # ask remaining drkonqis to die in a graceful way 350 + - $qdbus | grep 'org.kde.drkonqi-' | while read address ; do 351 + - $qdbus "$address" "/MainApplication" "quit" 352 + + @qdbus@ | @grep@ 'org.kde.drkonqi-' | while read address ; do 353 + + @qdbus@ "$address" "/MainApplication" "quit" 354 + done 355 + break 356 + fi 357 + @@ -411,12 +378,12 @@ echo 'startkde: Shutting down...' 1>&2 358 + test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null 359 + 360 + # Clean up 361 + -kdeinit5_shutdown 362 + +@kdeinit5_shutdown@ 363 + 364 + unset KDE_FULL_SESSION 365 + -xprop -root -remove KDE_FULL_SESSION 366 + +@xprop@ -root -remove KDE_FULL_SESSION 367 + unset KDE_SESSION_VERSION 368 + -xprop -root -remove KDE_SESSION_VERSION 369 + +@xprop@ -root -remove KDE_SESSION_VERSION 370 + unset KDE_SESSION_UID 371 + 372 + echo 'startkde: Done.' 1>&2
+3 -10
pkgs/desktops/kde-5/plasma-5.6/polkit-kde-agent.nix
··· 17 17 nativeBuildInputs = [ 18 18 extra-cmake-modules 19 19 ]; 20 - buildInputs = [ 21 - kdbusaddons 22 - kwidgetsaddons 23 - kcoreaddons 24 - kcrash 25 - kconfig 26 - kiconthemes 27 - knotifications 28 - polkit-qt 20 + propagatedBuildInputs = [ 21 + kdbusaddons kwidgetsaddons kcoreaddons kcrash kconfig ki18n kiconthemes 22 + knotifications kwindowsystem polkit-qt 29 23 ]; 30 - propagatedBuildInputs = [ ki18n kwindowsystem ]; 31 24 }
+3 -5
pkgs/desktops/kde-5/plasma-5.6/powerdevil.nix
··· 10 10 extra-cmake-modules 11 11 kdoctools 12 12 ]; 13 - buildInputs = [ 14 - kconfig kdbusaddons knotifyconfig solid udev 15 - ]; 16 13 propagatedBuildInputs = [ 17 - kactivities kauth kdelibs4support kglobalaccel ki18n kio kidletime 18 - kwayland libkscreen plasma-workspace qtx11extras 14 + kconfig kdbusaddons knotifyconfig solid udev kactivities kauth 15 + kdelibs4support kglobalaccel ki18n kio kidletime kwayland libkscreen 16 + plasma-workspace qtx11extras 19 17 ]; 20 18 }
-1
pkgs/desktops/kde-5/plasma-5.6/setup-hook.sh
··· 1 - addToSearchPath XDG_DATA_DIRS @out@/share
+4 -3
pkgs/desktops/kde-5/plasma-5.6/systemsettings.nix
··· 11 11 makeQtWrapper 12 12 ]; 13 13 buildInputs = [ 14 - kitemviews kcmutils kservice kiconthemes kxmlgui kdbusaddons 15 - kconfig 14 + ]; 15 + propagatedBuildInputs = [ 16 + khtml ki18n kio kwindowsystem kitemviews kcmutils kservice kiconthemes 17 + kxmlgui kdbusaddons kconfig 16 18 ]; 17 - propagatedBuildInputs = [ khtml ki18n kio kwindowsystem ]; 18 19 postInstall = '' 19 20 wrapQtProgram "$out/bin/systemsettings5" 20 21 '';
+2
pkgs/development/libraries/libgnome-keyring/default.nix
··· 9 9 sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n"; 10 10 }; 11 11 12 + outputs = [ "dev" "out" ]; 13 + 12 14 propagatedBuildInputs = [ glib dbus_libs libgcrypt ]; 13 15 nativeBuildInputs = [ pkgconfig intltool ]; 14 16
+3
pkgs/development/libraries/poppler/default.nix
··· 29 29 30 30 nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty; 31 31 32 + NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ]; 33 + 32 34 configureFlags = with lib; 33 35 [ 34 36 "--enable-xpdf-headers" 35 37 "--enable-libcurl" 36 38 "--enable-zlib" 39 + "--enable-build-type=release" 37 40 ] 38 41 ++ optionals minimal [ "--disable-poppler-glib" "--disable-poppler-cpp" ] 39 42 ++ optional (!utils) "--disable-utils";
-1
pkgs/development/libraries/qt-5/5.5/default.nix
··· 45 45 nativeBuildInputs = (args.nativeBuildInputs or []) ++ [ self.fixQtModuleCMakeConfig self.qmakeHook ]; 46 46 47 47 NIX_QT_SUBMODULE = args.NIX_QT_SUBMODULE or true; 48 - dontFixLibtool = args.dontFixLibtool or true; 49 48 50 49 outputs = args.outputs or [ "dev" "out" ]; 51 50 setOutputFlags = args.setOutputFlags or false;
+11
pkgs/development/libraries/qt-5/5.5/qmake-hook.sh
··· 53 53 # The destination directory must exist or moveToOutput will do nothing 54 54 mkdir -p "${!outputDev}/share" 55 55 moveToOutput "share/doc" "${!outputDev}" 56 + 57 + # Move libtool archives and qmake project files to $dev/lib 58 + if [ "z${!outputLib}" != "z${!outputDev}" ]; then 59 + pushd "${!outputLib}" 60 + find lib -name '*.a' -o -name '*.la' -o -name '*.prl' -print0 | \ 61 + while read -r -d $'\0' file; do 62 + mkdir -p "${!outputDev}/$(dirname "$file")" 63 + mv "${!outputLib}/$file" "${!outputDev}/$file" 64 + done 65 + popd 66 + fi 56 67 } 57 68 58 69 qmakeConfigurePhase() {
+47 -26
pkgs/development/libraries/qt-5/5.5/qtbase/default.nix
··· 8 8 , zlib, libjpeg, libpng, libtiff, sqlite, icu 9 9 10 10 , coreutils, bison, flex, gdb, gperf, lndir, ruby 11 - , python, perl, pkgconfig 11 + , patchelf, perl, pkgconfig, python 12 12 13 13 # optional dependencies 14 14 , cups ? null ··· 19 19 , buildExamples ? false 20 20 , buildTests ? false 21 21 , developerBuild ? false 22 - , gtkStyle ? false, libgnomeui, GConf, gnome_vfs, gtk 22 + , gtkStyle ? true, libgnomeui, GConf, gnome_vfs, gtk 23 23 , decryptSslTraffic ? false 24 24 }: 25 25 ··· 27 27 inherit (srcs.qt5) version; 28 28 system-x86_64 = lib.elem stdenv.system lib.platforms.x86_64; 29 29 30 + # Search path for Gtk plugin 31 + gtkLibPath = lib.makeLibraryPath [ gtk.out gnome_vfs.out libgnomeui.out GConf.out ]; 32 + 30 33 dontInvalidateBacking = fetchurl { 31 34 url = "https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=patch;h=0f68f8920573cdce1729a285a92ac8582df32841;hp=24c50f8dcf7fa61ac3c3d4d6295c259a104a2b8c"; 32 35 name = "qtbug-48321-dont-invalidate-backing-store.patch"; ··· 43 46 44 47 sourceRoot = "qt-everywhere-opensource-src-${version}"; 45 48 46 - outputs = [ "dev" "out" ]; 49 + outputs = [ "dev" "out" "gtk" ]; 47 50 48 51 postUnpack = '' 49 52 mv qtbase-opensource-src-${version} ./qt-everywhere-opensource-src-${version}/qtbase ··· 51 54 52 55 patches = 53 56 copyPathsToStore (lib.readPathsFromFile ./. ./series) 54 - ++ lib.optional gtkStyle ./dlopen-gtkstyle.patch 55 57 ++ lib.optional decryptSslTraffic ./decrypt-ssl-traffic.patch 56 58 ++ lib.optional mesaSupported [ ./dlopen-gl.patch ./mkspecs-libgl.patch ]; 57 59 ··· 89 91 qtbase/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp \ 90 92 --replace "@libX11@" "${libX11.out}" 91 93 '' 92 - + lib.optionalString gtkStyle '' 93 - substituteInPlace qtbase/src/widgets/styles/qgtk2painter.cpp --replace "@gtk@" "${gtk.out}" 94 - substituteInPlace qtbase/src/widgets/styles/qgtkstyle_p.cpp \ 95 - --replace "@gtk@" "${gtk.out}" \ 96 - --replace "@gnome_vfs@" "${gnome_vfs.out}" \ 97 - --replace "@libgnomeui@" "${libgnomeui.out}" \ 98 - --replace "@gconf@" "${GConf.out}" 99 - '' 100 94 + lib.optionalString mesaSupported '' 101 95 substituteInPlace \ 102 96 qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp \ ··· 105 99 --replace "@mesa_lib@" "${mesa.out}" \ 106 100 --replace "@mesa_inc@" "${mesa.dev}" 107 101 ''; 102 + 108 103 109 104 setOutputFlags = false; 110 105 preConfigure = '' 111 106 export LD_LIBRARY_PATH="$PWD/qtbase/lib:$PWD/qtbase/plugins/platforms:$LD_LIBRARY_PATH" 112 107 export MAKEFLAGS=-j$NIX_BUILD_CORES 113 108 114 - _multioutQtDevs() { 115 - # We cannot simply set these paths in configureFlags because libQtCore retains 116 - # references to the paths it was built with. 117 - moveToOutput "bin" "$dev" 118 - moveToOutput "include" "$dev" 119 - moveToOutput "mkspecs" "$dev" 120 - 121 - # The destination directory must exist or moveToOutput will do nothing 122 - mkdir -p "$dev/share" 123 - moveToOutput "share/doc" "$dev" 124 - } 125 - preFixupHooks+=(_multioutQtDevs) 126 - 127 109 configureFlags+="\ 128 110 -plugindir $out/lib/qt5/plugins \ 129 111 -importdir $out/lib/qt5/imports \ ··· 230 212 ++ lib.optional (postgresql != null) postgresql 231 213 ++ lib.optionals gtkStyle [gnome_vfs.out libgnomeui.out gtk GConf]; 232 214 233 - nativeBuildInputs = [ fixQtModuleCMakeConfig lndir python perl pkgconfig ]; 215 + nativeBuildInputs = [ fixQtModuleCMakeConfig lndir patchelf perl pkgconfig python ]; 234 216 235 217 # freetype-2.5.4 changed signedness of some struct fields 236 218 NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare"; 219 + 220 + preFixup = '' 221 + # We cannot simply set these paths in configureFlags because libQtCore retains 222 + # references to the paths it was built with. 223 + moveToOutput "bin" "$dev" 224 + moveToOutput "include" "$dev" 225 + moveToOutput "mkspecs" "$dev" 226 + 227 + # The destination directory must exist or moveToOutput will do nothing 228 + mkdir -p "$dev/share" 229 + moveToOutput "share/doc" "$dev" 230 + 231 + # Move libtool archives and qmake projects 232 + if [ "z''${!outputLib}" != "z''${!outputDev}" ]; then 233 + pushd "''${!outputLib}" 234 + find lib -name '*.a' -o -name '*.la' -o -name '*.prl' | \ 235 + while read -r file; do 236 + mkdir -p "''${!outputDev}/$(dirname "$file")" 237 + mv "''${!outputLib}/$file" "''${!outputDev}/$file" 238 + done 239 + popd 240 + fi 241 + 242 + # Move the QGtkStyle plugin to the gtk output 243 + mkdir -p "$gtk/lib/qt5/plugins/platformthemes" 244 + mv "$out/lib/qt5/plugins/platformthemes/libqgtk2.so" "$gtk/lib/qt5/plugins/platformthemes" 245 + rm "$out/lib/cmake/Qt5Gui/Qt5Gui_QGtk2ThemePlugin.cmake" 246 + 247 + # Set RPATH for QGtkStyle plugin 248 + qgtk2="$gtk/lib/qt5/plugins/platformthemes/libqgtk2.so" 249 + qgtk2_RPATH="$(patchelf --print-rpath "$qgtk2")" 250 + qgtk2_RPATH="$qgtk2_RPATH''${qgtk2_RPATH:+:}${gtkLibPath}" 251 + patchelf "$qgtk2" \ 252 + --add-needed libgtk-x11-2.0.so \ 253 + --add-needed libgnomeui-2.so \ 254 + --add-needed libgnomevfs-2.so \ 255 + --add-needed libgconf-2.so \ 256 + --set-rpath "$qgtk2_RPATH" 257 + ''; 237 258 238 259 postFixup = 239 260 ''