KDE-4.7: build with qt-4.8
svn path=/nixpkgs/trunk/; revision=32392
This commit is contained in:
parent
aaad871c35
commit
08f6682666
@ -1,4 +1,4 @@
|
|||||||
{ callPackage, callPackageOrig, stdenv, qt47 }:
|
{ callPackage, callPackageOrig, stdenv, qt48 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
release = "4.7.4";
|
release = "4.7.4";
|
||||||
@ -44,7 +44,7 @@ kde.modules // kde.individual //
|
|||||||
|
|
||||||
akonadi = callPackage ./support/akonadi { };
|
akonadi = callPackage ./support/akonadi { };
|
||||||
|
|
||||||
qt4 = qt47;
|
qt4 = qt48;
|
||||||
|
|
||||||
kdebase_workspace = kde.modules.kde_workspace;
|
kdebase_workspace = kde.modules.kde_workspace;
|
||||||
|
|
||||||
@ -52,5 +52,8 @@ kde.modules // kde.individual //
|
|||||||
|
|
||||||
full = stdenv.lib.attrValues kde.modules;
|
full = stdenv.lib.attrValues kde.modules;
|
||||||
|
|
||||||
l10n = callPackage ./l10n { inherit release; };
|
l10n = callPackage ./l10n {
|
||||||
|
inherit release;
|
||||||
|
inherit (kde.manifest) stable;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
17
pkgs/desktops/kde-4.7/files/kde-wallpapers-buildsystem.patch
Normal file
17
pkgs/desktops/kde-4.7/files/kde-wallpapers-buildsystem.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 3d3e247..f78db67 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,5 +1,10 @@
|
||||||
|
-find_package(KDE4 REQUIRED)
|
||||||
|
-include(KDE4Defaults)
|
||||||
|
+project(kde-wallpapers NONE)
|
||||||
|
+if( WALLPAPER_INSTALL_DIR )
|
||||||
|
+ message(STATUS "Installing wallpapers to user-supplied directory ${WALLPAPER_INSTALL_DIR}")
|
||||||
|
+else()
|
||||||
|
+ find_package(KDE4 REQUIRED)
|
||||||
|
+ include(KDE4Defaults)
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
install(DIRECTORY Air DESTINATION ${WALLPAPER_INSTALL_DIR} PATTERN .svn EXCLUDE)
|
||||||
|
|
@ -1,8 +1,11 @@
|
|||||||
{ kde, kdelibs }:
|
{ kde, cmake }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
buildNativeInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ kdelibs ];
|
patches = [ ./files/kde-wallpapers-buildsystem.patch ];
|
||||||
|
|
||||||
|
cmakeFlags = "-DWALLPAPER_INSTALL_DIR=share/wallpapers";
|
||||||
|
|
||||||
outputHashAlgo = "sha256";
|
outputHashAlgo = "sha256";
|
||||||
outputHashMode = "recursive";
|
outputHashMode = "recursive";
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies,
|
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies,
|
||||||
lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate,
|
lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate,
|
||||||
consolekit, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi,
|
consolekit, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi,
|
||||||
pykde4
|
pykde4, libjpeg, pkgconfig, libXft, libXxf86misc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ kdelibs qimageblitz libdbusmenu_qt pykde4
|
[ kdelibs qimageblitz libdbusmenu_qt pykde4 libjpeg libXft libXxf86misc
|
||||||
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
||||||
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
||||||
xorg.libpthreadstubs
|
xorg.libpthreadstubs
|
||||||
@ -15,6 +15,8 @@ kde {
|
|||||||
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
# Fix incorrect path to kde4-config.
|
# Fix incorrect path to kde4-config.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ kde, kdelibs, libXtst }:
|
{ kde, kdelibs, libXtst, libXt }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs libXtst ];
|
buildInputs = [ kdelibs libXtst libXt ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A program that clicks the mouse for you";
|
description = "A program that clicks the mouse for you";
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2 }:
|
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2, libXt, pkgconfig }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 ];
|
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 libXt ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
preConfigure = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
preConfigure = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
||||||
|
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
{ kde, kdelibs, qca2, twisted, pythonPackages, sip, makeWrapper, pykde4,
|
{ kde, kdelibs, qca2, twisted, pythonPackages, sip, makeWrapper, pykde4,
|
||||||
openal, libsndfile, qhull }:
|
openal, libsndfile, qhull, sqlite, pkgconfig }:
|
||||||
|
|
||||||
kde rec {
|
kde rec {
|
||||||
buildInputs = [ kdelibs qca2 pythonPackages.python pythonPackages.wrapPython
|
buildInputs = [ kdelibs qca2 pythonPackages.python pythonPackages.wrapPython
|
||||||
openal libsndfile qhull ] ++ pythonPath;
|
openal libsndfile qhull sqlite ] ++ pythonPath;
|
||||||
|
|
||||||
pythonPath = [ pythonPackages.twisted pykde4 ];
|
pythonPath = [ pythonPackages.twisted pykde4 ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
# TODO: ggz
|
# TODO: ggz
|
||||||
|
|
||||||
postInstall = "wrapPythonPrograms";
|
postInstall = "wrapPythonPrograms";
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi }:
|
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi
|
||||||
|
, libjpeg, pkgconfig }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi ];
|
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi libjpeg ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Gwenview, the KDE image viewer";
|
description = "Gwenview, the KDE image viewer";
|
||||||
|
@ -11,7 +11,7 @@ kde {
|
|||||||
[
|
[
|
||||||
acl attr attica avahi bzip2 enchant fam getopt giflib herqq jasper
|
acl attr attica avahi bzip2 enchant fam getopt giflib herqq jasper
|
||||||
libdbusmenu_qt libXScrnSaver libxslt pcre polkit_qt_1 qca2
|
libdbusmenu_qt libXScrnSaver libxslt pcre polkit_qt_1 qca2
|
||||||
shared_desktop_ontologies udev xz libxml2 libjpeg
|
shared_desktop_ontologies udev xz libxml2 libjpeg kerberos
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ qt4 soprano strigi phonon ];
|
propagatedBuildInputs = [ qt4 soprano strigi phonon ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ kde, alsaLib, libvorbis, taglib, flac, cdparanoia, lame, kdelibs, ffmpeg,
|
{ kde, alsaLib, libvorbis, taglib, flac, cdparanoia, lame, kdelibs, ffmpeg,
|
||||||
libmusicbrainz3, libtunepimp }:
|
libmusicbrainz3, libtunepimp, pulseaudio }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
|
||||||
@ -7,7 +7,8 @@ kde {
|
|||||||
# Note: kdemultimedia can use xine-lib, but it doesn't seem useful
|
# Note: kdemultimedia can use xine-lib, but it doesn't seem useful
|
||||||
# without the Phonon Xine backend.
|
# without the Phonon Xine backend.
|
||||||
[ kdelibs cdparanoia taglib libvorbis libmusicbrainz3 libtunepimp ffmpeg
|
[ kdelibs cdparanoia taglib libvorbis libmusicbrainz3 libtunepimp ffmpeg
|
||||||
flac lame ];
|
flac lame pulseaudio
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "KDE multimedia programs such as a movie player and volume utility";
|
description = "KDE multimedia programs such as a movie player and volume utility";
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ kde, kdelibs, libktorrent, kde_workspace, kdepimlibs,
|
{ kde, kdelibs, libktorrent, kde_workspace, kdepimlibs, sqlite
|
||||||
shared_desktop_ontologies, kde_baseapps, gpgme, boost, libmms, qca2 }:
|
, shared_desktop_ontologies, kde_baseapps, gpgme, boost, libmms, qca2 }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ kdelibs libktorrent kde_workspace shared_desktop_ontologies kdepimlibs
|
[ kdelibs libktorrent kde_workspace shared_desktop_ontologies kdepimlibs
|
||||||
kde_baseapps gpgme boost libmms qca2
|
kde_baseapps gpgme boost libmms qca2 sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
KDEDIRS = libktorrent;
|
KDEDIRS = libktorrent;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ kde, kdelibs, speex, libmsn, libotr, kdepimlibs, qimageblitz, libktorrent,
|
{ kde, kdelibs, speex, libmsn, libotr, kdepimlibs, qimageblitz, libktorrent,
|
||||||
jasper, libidn, mediastreamer, msilbc, pkgconfig, libxml2, libxslt, giflib,
|
jasper, libidn, mediastreamer, msilbc, pkgconfig, libxml2, libxslt, giflib,
|
||||||
libgadu, boost, qca2, gpgme }:
|
libgadu, boost, qca2, gpgme, sqlite }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs speex libmsn libotr kdepimlibs qimageblitz libktorrent
|
buildInputs = [ kdelibs speex libmsn libotr kdepimlibs qimageblitz libktorrent
|
||||||
jasper libidn mediastreamer msilbc libxml2 libxslt giflib libgadu boost qca2
|
jasper libidn mediastreamer msilbc libxml2 libxslt giflib libgadu boost qca2
|
||||||
gpgme ];
|
gpgme sqlite ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ kde, kdelibs, libvncserver }:
|
{ kde, kdelibs, libvncserver, libjpeg }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs libvncserver ];
|
buildInputs = [ kdelibs libvncserver libjpeg ];
|
||||||
|
|
||||||
patches = [ ./kdenetwork.patch ];
|
patches = [ ./kdenetwork.patch ];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, kdelibs, gettext, release }:
|
{ stdenv, fetchurl, kdelibs, gettext, release, stable }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ let
|
|||||||
name = "kde-l10n-${saneName}-${release}";
|
name = "kde-l10n-${saneName}-${release}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kde/stable/${release}/src/kde-l10n/kde-l10n-${lang}-${release}.tar.bz2";
|
url = "mirror://kde/${if stable then "" else "un"}stable/${release}/src/kde-l10n/kde-l10n-${lang}-${release}.tar.bz2";
|
||||||
name = "${name}.tar.bz2";
|
name = "${name}.tar.bz2";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user