summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-4.x
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-04-05 13:50:34 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2012-04-05 13:50:34 +0000
commite1743e57be209e43bdf1e748f24fde41eb019bbd (patch)
treebe3c17e9b6cfb0b3507dc82ef9aa51fd79ddf0fa /pkgs/development/libraries/qt-4.x
parent8e160830c11c7f29e35ae60282950a8daa9b99d2 (diff)
downloadnixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.tar
nixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.tar.gz
nixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.tar.bz2
nixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.tar.lz
nixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.tar.xz
nixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.tar.zst
nixpkgs-e1743e57be209e43bdf1e748f24fde41eb019bbd.zip
qt-4.8.1, kde-4.8.2
svn path=/nixpkgs/trunk/; revision=33621
Diffstat (limited to 'pkgs/development/libraries/qt-4.x')
-rw-r--r--pkgs/development/libraries/qt-4.x/4.8/4.8.1.nix112
-rw-r--r--pkgs/development/libraries/qt-4.x/4.8/default.nix4
2 files changed, 2 insertions, 114 deletions
diff --git a/pkgs/development/libraries/qt-4.x/4.8/4.8.1.nix b/pkgs/development/libraries/qt-4.x/4.8/4.8.1.nix
deleted file mode 100644
index a3a78af439a..00000000000
--- a/pkgs/development/libraries/qt-4.x/4.8/4.8.1.nix
+++ /dev/null
@@ -1,112 +0,0 @@
-{ stdenv, fetchurl, substituteAll
-, libXrender, libXinerama, libXcursor, libXmu , libXv, libXext
-, libXfixes, libXrandr, libSM, freetype, fontconfig
-, zlib, libjpeg, libpng, libmng, which, mesa, openssl, dbus, cups, pkgconfig
-, libtiff, glib, icu
-, mysql, postgresql, sqlite
-, perl, coreutils, libXi
-, buildMultimedia ? true, alsaLib, gstreamer, gst_plugins_base
-, buildWebkit ? true
-, flashplayerFix ? true, gdk_pixbuf
-, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
-}:
-
-let
-  v = "4.8.1";
-in
-
-# TODO:
-#  * move some plugins (e.g., SQL plugins) to dedicated derivations to avoid
-#    false build-time dependencies
-
-stdenv.mkDerivation rec {
-  name = "qt-${v}";
-
-  src = fetchurl {
-    url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
-    sha256 = "1s3sv2p8q4bjy0h6r81gdnd64apdx8kwm5jc7rxavd21m8v1m1gg";
-  };
-
-  patches = [ ( substituteAll {
-        src = ./dlopen-absolute-paths.diff;
-        inherit cups icu libXfixes;
-        glibc = stdenv.gcc.libc;
-      })
-    ] ++ stdenv.lib.optional gtkStyle (
-      substituteAll {
-        src = ./dlopen-gtkstyle.diff;
-        # substituteAll ignores env vars starting with capital letter
-        gconf = GConf; 
-        inherit gnome_vfs libgnomeui gtk;
-      }
-    ) ++ stdenv.lib.optional flashplayerFix (
-      substituteAll {
-        src = ./dlopen-webkit-nsplugin.diff;
-        inherit gtk gdk_pixbuf;
-      }
-    );
-
-  preConfigure =
-    ''
-      export LD_LIBRARY_PATH="`pwd`/lib:$LD_LIBRARY_PATH"
-      configureFlags+="
-        -docdir $out/share/doc/${name}
-        -plugindir $out/lib/qt4/plugins
-        -importdir $out/lib/qt4/imports
-        -examplesdir $out/share/doc/${name}/examples
-        -demosdir $out/share/doc/${name}/demos
-        -datadir $out/share/${name}
-        -translationdir $out/share/${name}/translations
-      "
-    '';
-
-  configureFlags =
-    ''
-      -v -no-separate-debug-info -release -no-fast -confirm-license -opensource
-
-      -opengl -xrender -xrandr -xinerama -xcursor -xinput -xfixes -fontconfig
-      -qdbus -${if cups == null then "no-" else ""}cups -glib -dbus-linked -openssl-linked
-
-      ${if mysql != null then "-plugin" else "-no"}-sql-mysql -system-sqlite
-
-      -exceptions -xmlpatterns
-
-      -make libs -make tools -make translations
-      -nomake demos -nomake examples -nomake docs
-
-      -no-phonon ${if buildWebkit then "" else "-no"}-webkit ${if buildMultimedia then "" else "-no"}-multimedia -audio-backend
-    '';
-
-  propagatedBuildInputs =
-    [ libXrender libXrandr libXinerama libXcursor libXext libXfixes
-      libXv libXi libSM mesa
-    ] ++ (stdenv.lib.optional (buildWebkit || buildMultimedia) alsaLib)
-    ++ [ zlib libpng openssl dbus.libs freetype fontconfig glib ]
-    ++ (stdenv.lib.optionals (buildWebkit || buildMultimedia)
-        [ gstreamer gst_plugins_base ]);
-
-  # The following libraries are only used in plugins
-  buildInputs = [ cups # Qt dlopen's libcups instead of linking to it
-    mysql postgresql sqlite libjpeg libmng libtiff icu ]
-    ++ stdenv.lib.optionals gtkStyle [ gtk gdk_pixbuf ];
-
-  buildNativeInputs = [ perl pkgconfig which ];
-
-  prefixKey = "-prefix ";
-
-  prePatch = ''
-    substituteInPlace configure --replace /bin/pwd pwd
-    substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
-    sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i mkspecs/*/*.conf
-  '';
-
-  enableParallelBuilding = true;
-
-  meta = with stdenv.lib; {
-    homepage = http://qt.nokia.com/products;
-    description = "A cross-platform application framework for C++";
-    license = "GPL/LGPL";
-    maintainers = with maintainers; [ urkud sander ];
-    platforms = platforms.linux;
-  };
-}
diff --git a/pkgs/development/libraries/qt-4.x/4.8/default.nix b/pkgs/development/libraries/qt-4.x/4.8/default.nix
index 5313c8afefa..a3a78af439a 100644
--- a/pkgs/development/libraries/qt-4.x/4.8/default.nix
+++ b/pkgs/development/libraries/qt-4.x/4.8/default.nix
@@ -12,7 +12,7 @@
 }:
 
 let
-  v = "4.8.0";
+  v = "4.8.1";
 in
 
 # TODO:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
 
   src = fetchurl {
     url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
-    sha256 = "0vhb6bysjqz8l0dygg2yypm4frsggma2g9877rdgf5ay917bg4lk";
+    sha256 = "1s3sv2p8q4bjy0h6r81gdnd64apdx8kwm5jc7rxavd21m8v1m1gg";
   };
 
   patches = [ ( substituteAll {