Remove kde4.quassel

- Already updated to KDE 5 in Nixpkgs

+33 -147
+32 -15
pkgs/applications/networking/irc/quassel/default.nix
··· 1 1 { monolithic ? true # build monolithic Quassel 2 2 , daemon ? false # build Quassel daemon 3 3 , client ? false # build Quassel client 4 - , previews ? false # enable webpage previews on hovering over URLs 5 4 , tag ? "" # tag added to the package name 6 - , withKDE ? stdenv.isLinux # enable KDE integration 7 - , kdelibs ? null 8 5 , static ? false # link statically 9 6 10 - , stdenv, fetchurl, cmake, makeWrapper, qt, automoc4, phonon, dconf, qca2 }: 7 + , stdenv, fetchurl, cmake, makeWrapper, dconf 8 + , qtbase, qtscript 9 + , phonon, libdbusmenu, qca-qt5 11 10 12 - let buildClient = monolithic || client; 11 + , withKDE ? stdenv.isLinux # enable KDE integration 12 + , extra-cmake-modules 13 + , kconfigwidgets 14 + , kcoreaddons 15 + , knotifications 16 + , knotifyconfig 17 + , ktextwidgets 18 + , kwidgetsaddons 19 + , kxmlgui 20 + }: 21 + 22 + let 23 + buildClient = monolithic || client; 13 24 buildCore = monolithic || daemon; 14 25 in 15 26 ··· 17 28 18 29 assert monolithic -> !client && !daemon; 19 30 assert client || daemon -> !monolithic; 20 - assert withKDE -> kdelibs != null; 21 31 assert !buildClient -> !withKDE; # KDE is used by the client only 22 32 23 33 let ··· 31 41 32 42 enableParallelBuilding = true; 33 43 44 + # Prevent ``undefined reference to `qt_version_tag''' in SSL check 45 + NIX_CFLAGS_COMPILE = [ "-DQT_NO_VERSION_TAGGING=1" ]; 46 + 34 47 buildInputs = 35 - [ cmake makeWrapper qt ] 36 - ++ lib.optionals buildCore [qca2] 37 - ++ lib.optionals withKDE [automoc4 kdelibs phonon]; 38 - 39 - NIX_CFLAGS_COMPILE = "-fPIC"; 48 + [ cmake makeWrapper qtbase ] 49 + ++ lib.optionals buildCore [qtscript qca-qt5] 50 + ++ lib.optionals buildClient [libdbusmenu phonon] 51 + ++ lib.optionals (buildClient && withKDE) [ 52 + extra-cmake-modules kconfigwidgets kcoreaddons 53 + knotifications knotifyconfig ktextwidgets kwidgetsaddons 54 + kxmlgui 55 + ]; 40 56 41 57 cmakeFlags = [ 42 - "-DEMBED_DATA=OFF" ] 58 + "-DEMBED_DATA=OFF" 59 + "-DUSE_QT5=ON" 60 + ] 43 61 ++ edf static "STATIC" 44 62 ++ edf monolithic "WANT_MONO" 45 63 ++ edf daemon "WANT_CORE" 46 64 ++ edf client "WANT_QTCLIENT" 47 - ++ edf withKDE "WITH_KDE" 48 - ++ edf previews "WITH_WEBKIT"; 65 + ++ edf withKDE "WITH_KDE"; 49 66 50 67 preFixup = 51 68 lib.optionalString buildClient '' ··· 66 83 license = stdenv.lib.licenses.gpl3; 67 84 maintainers = with maintainers; [ phreedom ttuegel ]; 68 85 repositories.git = https://github.com/quassel/quassel.git; 69 - inherit (qt.meta) platforms; 86 + inherit (qtbase.meta) platforms; 70 87 }; 71 88 }
-88
pkgs/applications/networking/irc/quassel/qt-5.nix
··· 1 - { monolithic ? true # build monolithic Quassel 2 - , daemon ? false # build Quassel daemon 3 - , client ? false # build Quassel client 4 - , tag ? "" # tag added to the package name 5 - , static ? false # link statically 6 - 7 - , stdenv, fetchurl, cmake, makeWrapper, dconf 8 - , qtbase, qtscript 9 - , phonon, libdbusmenu, qca-qt5 10 - 11 - , withKDE ? stdenv.isLinux # enable KDE integration 12 - , extra-cmake-modules 13 - , kconfigwidgets 14 - , kcoreaddons 15 - , knotifications 16 - , knotifyconfig 17 - , ktextwidgets 18 - , kwidgetsaddons 19 - , kxmlgui 20 - }: 21 - 22 - let 23 - buildClient = monolithic || client; 24 - buildCore = monolithic || daemon; 25 - in 26 - 27 - assert stdenv.isLinux; 28 - 29 - assert monolithic -> !client && !daemon; 30 - assert client || daemon -> !monolithic; 31 - assert !buildClient -> !withKDE; # KDE is used by the client only 32 - 33 - let 34 - edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))]; 35 - source = import ./source.nix { inherit fetchurl; }; 36 - 37 - in with stdenv; mkDerivation rec { 38 - inherit (source) src version; 39 - 40 - name = "quassel${tag}-${version}"; 41 - 42 - enableParallelBuilding = true; 43 - 44 - # Prevent ``undefined reference to `qt_version_tag''' in SSL check 45 - NIX_CFLAGS_COMPILE = [ "-DQT_NO_VERSION_TAGGING=1" ]; 46 - 47 - buildInputs = 48 - [ cmake makeWrapper qtbase ] 49 - ++ lib.optionals buildCore [qtscript qca-qt5] 50 - ++ lib.optionals buildClient [libdbusmenu phonon] 51 - ++ lib.optionals (buildClient && withKDE) [ 52 - extra-cmake-modules kconfigwidgets kcoreaddons 53 - knotifications knotifyconfig ktextwidgets kwidgetsaddons 54 - kxmlgui 55 - ]; 56 - 57 - cmakeFlags = [ 58 - "-DEMBED_DATA=OFF" 59 - "-DUSE_QT5=ON" 60 - ] 61 - ++ edf static "STATIC" 62 - ++ edf monolithic "WANT_MONO" 63 - ++ edf daemon "WANT_CORE" 64 - ++ edf client "WANT_QTCLIENT" 65 - ++ edf withKDE "WITH_KDE"; 66 - 67 - preFixup = 68 - lib.optionalString buildClient '' 69 - wrapProgram "$out/bin/quassel${lib.optionalString client "client"}" \ 70 - --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules" 71 - ''; 72 - 73 - meta = with stdenv.lib; { 74 - homepage = http://quassel-irc.org/; 75 - description = "Qt/KDE distributed IRC client suppporting a remote daemon"; 76 - longDescription = '' 77 - Quassel IRC is a cross-platform, distributed IRC client, 78 - meaning that one (or multiple) client(s) can attach to 79 - and detach from a central core -- much like the popular 80 - combination of screen and a text-based IRC client such 81 - as WeeChat, but graphical (based on Qt4/KDE4 or Qt5/KF5). 82 - ''; 83 - license = stdenv.lib.licenses.gpl3; 84 - maintainers = with maintainers; [ phreedom ttuegel ]; 85 - repositories.git = https://github.com/quassel/quassel.git; 86 - inherit (qtbase.meta) platforms; 87 - }; 88 - }
+1 -44
pkgs/top-level/all-packages.nix
··· 14843 14843 14844 14844 qtscrobbler = callPackage ../applications/audio/qtscrobbler { }; 14845 14845 14846 - quassel = qt5.callPackage ../applications/networking/irc/quassel/qt-5.nix { 14846 + quassel = qt5.callPackage ../applications/networking/irc/quassel { 14847 14847 monolithic = true; 14848 14848 daemon = false; 14849 14849 client = false; ··· 16782 16782 psi = callPackage ../applications/networking/instant-messengers/psi { }; 16783 16783 16784 16784 qtcurve = callPackage ../misc/themes/qtcurve { }; 16785 - 16786 - quassel = callPackage ../applications/networking/irc/quassel rec { 16787 - monolithic = true; 16788 - daemon = false; 16789 - client = false; 16790 - withKDE = stdenv.isLinux; 16791 - qt = if withKDE then qt4 else qt5; # KDE supported quassel cannot build with qt5 yet (maybe in 0.12.0) 16792 - dconf = gnome3.dconf; 16793 - }; 16794 - 16795 - quasselWithoutKDE = (quassel.override { 16796 - monolithic = true; 16797 - daemon = false; 16798 - client = false; 16799 - withKDE = false; 16800 - #qt = qt5; 16801 - tag = "-without-kde"; 16802 - }); 16803 - 16804 - quasselDaemon = (quassel.override { 16805 - monolithic = false; 16806 - daemon = true; 16807 - client = false; 16808 - withKDE = false; 16809 - #qt = qt5; 16810 - tag = "-daemon"; 16811 - }); 16812 - 16813 - quasselClient = (quassel.override { 16814 - monolithic = false; 16815 - daemon = false; 16816 - client = true; 16817 - tag = "-client"; 16818 - }); 16819 - 16820 - quasselClientWithoutKDE = (quasselClient.override { 16821 - monolithic = false; 16822 - daemon = false; 16823 - client = true; 16824 - withKDE = false; 16825 - #qt = qt5; 16826 - tag = "-client-without-kde"; 16827 - }); 16828 16785 16829 16786 rekonq-unwrapped = callPackage ../applications/networking/browsers/rekonq { }; 16830 16787 rekonq = wrapFirefox rekonq-unwrapped { };