From b7703655749df57dd5cbc84b89cc3be4bc7358bc Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Wed, 29 May 2013 23:24:20 +0200 Subject: ReRevert Merge x-updates into master This reverts commit ec3965d8d0b5594a9db11e6c9cd1c28d36e91cde. Conflicts (taken x-updates): pkgs/development/libraries/libgcrypt/default.nix pkgs/development/libraries/libgpg-error/default.nix pkgs/development/libraries/poppler/default.nix --- pkgs/applications/editors/geany/default.nix | 6 +- pkgs/applications/graphics/k3d/default.nix | 1 + pkgs/applications/graphics/rawtherapee/default.nix | 4 +- pkgs/applications/misc/blender/fix-include.patch | 12 + pkgs/applications/misc/calibre/default.nix | 14 +- pkgs/applications/misc/djvulibre/default.nix | 10 +- pkgs/applications/misc/djvulibre/gcc-4.6.patch | 658 --------------------- pkgs/applications/misc/evince/default.nix | 59 -- .../networking/browsers/firefox/21.0.nix | 2 +- .../instant-messengers/linphone/default.nix | 2 + pkgs/applications/office/gnucash/default.nix | 8 +- .../office/gnucash/potfiles-skip.patch | 147 +++++ pkgs/applications/science/misc/tulip/default.nix | 8 +- .../version-management/kdesvn/default.nix | 4 +- pkgs/applications/video/gnash/default.nix | 4 +- .../window-managers/weston/default.nix | 31 + 16 files changed, 223 insertions(+), 747 deletions(-) create mode 100644 pkgs/applications/misc/blender/fix-include.patch delete mode 100644 pkgs/applications/misc/djvulibre/gcc-4.6.patch delete mode 100644 pkgs/applications/misc/evince/default.nix create mode 100644 pkgs/applications/office/gnucash/potfiles-skip.patch create mode 100644 pkgs/applications/window-managers/weston/default.nix (limited to 'pkgs/applications') diff --git a/pkgs/applications/editors/geany/default.nix b/pkgs/applications/editors/geany/default.nix index 289cf7ff8d63..6d43cc279975 100644 --- a/pkgs/applications/editors/geany/default.nix +++ b/pkgs/applications/editors/geany/default.nix @@ -1,15 +1,15 @@ { stdenv, fetchurl, gtk2, which, pkgconfig, intltool }: let - version = "1.22"; + version = "1.23"; in stdenv.mkDerivation rec { name = "geany-${version}"; src = fetchurl { - url = "http://download.geany.org/${name}.tar.gz"; - md5 = "1cb7f6cea8e301c416211786cec474fa"; + url = "http://download.geany.org/${name}.tar.bz2"; + sha256 = "1c78rggjaz9fa8gj25wka1sa3argvixnzrarmqvwh0s8d5ragm6d"; }; buildInputs = [ gtk2 which pkgconfig intltool ]; diff --git a/pkgs/applications/graphics/k3d/default.nix b/pkgs/applications/graphics/k3d/default.nix index 058d0f79a2f4..8920d243dbf0 100644 --- a/pkgs/applications/graphics/k3d/default.nix +++ b/pkgs/applications/graphics/k3d/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { preConfigure = '' export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib" + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${gtkglext}/include/gtkglext-*) -I$(echo ${gtkglext}/lib/gtkglext-*/include)" ''; buildInputs = [ diff --git a/pkgs/applications/graphics/rawtherapee/default.nix b/pkgs/applications/graphics/rawtherapee/default.nix index bf7e2d304202..34ad7821c876 100644 --- a/pkgs/applications/graphics/rawtherapee/default.nix +++ b/pkgs/applications/graphics/rawtherapee/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau -, libXdmcp, lcms2, libiptcdata, libcanberra, fftw +, libXdmcp, lcms2, libiptcdata, libcanberra, fftw, expat , mercurial # Not really needed for anything, but it fails if it does not find 'hg' }: @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ pkgconfig gtk cmake pixman libpthreadstubs gtkmm libXau libXdmcp - lcms2 libiptcdata mercurial libcanberra fftw ]; + lcms2 libiptcdata mercurial libcanberra fftw expat ]; # Disable the use of the RAWZOR propietary libraries cmakeFlags = [ "-DWITH_RAWZOR=OFF" ]; diff --git a/pkgs/applications/misc/blender/fix-include.patch b/pkgs/applications/misc/blender/fix-include.patch new file mode 100644 index 000000000000..44e2147d073c --- /dev/null +++ b/pkgs/applications/misc/blender/fix-include.patch @@ -0,0 +1,12 @@ +diff --git a/intern/smoke/intern/WAVELET_NOISE.h b/intern/smoke/intern/WAVELET_NOISE.h +index fce901b..1f73c5e 100644 +--- a/intern/smoke/intern/WAVELET_NOISE.h ++++ b/intern/smoke/intern/WAVELET_NOISE.h +@@ -43,6 +43,7 @@ + #ifndef WAVELET_NOISE_H + #define WAVELET_NOISE_H + ++#include + #include + + #ifdef WIN32 diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index 562a9dd52ad4..23b5092cd4d8 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -1,17 +1,15 @@ { stdenv, fetchurl, python, pyqt4, sip, popplerQt4, pkgconfig, libpng , imagemagick, libjpeg, fontconfig, podofo, qt4, icu, sqlite -, pil, makeWrapper, unrar, chmlib, pythonPackages, xz +, pil, makeWrapper, unrar, chmlib, pythonPackages, xz, udisks, libusb1, libmtp }: stdenv.mkDerivation rec { - name = "calibre-0.8.51"; + name = "calibre-0.8.70"; + # 0.9.* versions won't build: https://bugs.launchpad.net/calibre/+bug/1094719 src = fetchurl { - urls = [ - "http://calibre-ebook.googlecode.com/files/${name}.tar.xz" - "mirror://sourceforge/calibre/${name}.tar.xz" - ]; - sha256 = "1grcc0k9qpfpwp863x52rl9wj4wz61hcz67l8h2jmli0wxiq44z1"; + url = "mirror://sourceforge/calibre/${name}.tar.xz"; + sha256 = "12avwp8r6cnrw6c32gmd2hksa9rszdb76zs6fcmr3n8r1wkwa71g"; }; inherit python; @@ -23,7 +21,7 @@ stdenv.mkDerivation rec { fontconfig podofo qt4 pil chmlib icu pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil pythonPackages.cssutils pythonPackages.beautifulsoup - pythonPackages.sqlite3 sqlite + pythonPackages.sqlite3 sqlite udisks libusb1 libmtp ]; installPhase = '' diff --git a/pkgs/applications/misc/djvulibre/default.nix b/pkgs/applications/misc/djvulibre/default.nix index e22dce72b628..4a51ec2d1acd 100644 --- a/pkgs/applications/misc/djvulibre/default.nix +++ b/pkgs/applications/misc/djvulibre/default.nix @@ -1,16 +1,14 @@ -{ stdenv, fetchurl, libjpeg, libtiff, libpng, ghostscript, libungif, zlib }: +{ stdenv, fetchurl, libjpeg, libtiff, librsvg }: stdenv.mkDerivation rec { - name = "djvulibre-3.5.24"; + name = "djvulibre-3.5.25.3"; src = fetchurl { url = "mirror://sourceforge/djvu/${name}.tar.gz"; - sha256 = "0d1592cmc7scg2jzah47mnvbqldhxb1x9vxm7y64a3iasa0lqwy0"; + sha256 = "1q5i5ha4zmj2ahjfhi8cv1rah80vm43m9ads46ji38rgvpb7x3c9"; }; - buildInputs = [ libjpeg libtiff libpng ghostscript zlib libungif ]; - - patches = [ ./gcc-4.6.patch ]; + buildInputs = [ libjpeg libtiff librsvg ]; meta = { description = "A library and viewer for the DJVU file format for scanned images"; diff --git a/pkgs/applications/misc/djvulibre/gcc-4.6.patch b/pkgs/applications/misc/djvulibre/gcc-4.6.patch deleted file mode 100644 index 48fbc2bc7aca..000000000000 --- a/pkgs/applications/misc/djvulibre/gcc-4.6.patch +++ /dev/null @@ -1,658 +0,0 @@ -commit 3341545edba359b292a8ef6db1b7d342caf3dcf1 -Author: Leon Bottou -Date: Wed May 4 21:25:35 2011 -0700 - - Added include for gcc-4.6 - -diff --git a/libdjvu/BSByteStream.cpp b/libdjvu/BSByteStream.cpp -index b762ccf..d662ab0 100644 ---- a/libdjvu/BSByteStream.cpp -+++ b/libdjvu/BSByteStream.cpp -@@ -62,6 +62,7 @@ - - // - Author: Leon Bottou, 07/1998 - -+#include - #include - #include - #include -diff --git a/libdjvu/BSEncodeByteStream.cpp b/libdjvu/BSEncodeByteStream.cpp -index 5d80e51..68bc3e3 100644 ---- a/libdjvu/BSEncodeByteStream.cpp -+++ b/libdjvu/BSEncodeByteStream.cpp -@@ -71,6 +71,7 @@ - #include "GOS.h" - #endif - -+#include - #include - #include - #include -diff --git a/libdjvu/ByteStream.cpp b/libdjvu/ByteStream.cpp -index 158c33c..be01847 100644 ---- a/libdjvu/ByteStream.cpp -+++ b/libdjvu/ByteStream.cpp -@@ -73,6 +73,7 @@ - #include "GOS.h" - #include "GURL.h" - #include "DjVuMessage.h" -+#include - #include - #if defined(WIN32) || defined(__CYGWIN32__) - # include -diff --git a/libdjvu/DjVuFileCache.cpp b/libdjvu/DjVuFileCache.cpp -index 6b1e85d..7d7a192 100644 ---- a/libdjvu/DjVuFileCache.cpp -+++ b/libdjvu/DjVuFileCache.cpp -@@ -63,6 +63,7 @@ - #include "DjVuFileCache.h" - #include "debug.h" - -+#include - #include - - -diff --git a/libdjvu/DjVuGlobal.cpp b/libdjvu/DjVuGlobal.cpp -index e6d3cec..df9278e 100644 ---- a/libdjvu/DjVuGlobal.cpp -+++ b/libdjvu/DjVuGlobal.cpp -@@ -76,6 +76,8 @@ - #include "GThreads.h" - #include "GException.h" - #include "GContainer.h" -+ -+#include - #include - #include - #include -diff --git a/libdjvu/DjVuGlobalMemory.cpp b/libdjvu/DjVuGlobalMemory.cpp -index 3c6012c..c8ba309 100644 ---- a/libdjvu/DjVuGlobalMemory.cpp -+++ b/libdjvu/DjVuGlobalMemory.cpp -@@ -67,6 +67,8 @@ - - #include "DjVuGlobal.h" - #include "GException.h" -+ -+#include - #include - #include - #include "debug.h" -diff --git a/libdjvu/DjVuMessage.cpp b/libdjvu/DjVuMessage.cpp -index 6f5a735..1726025 100644 ---- a/libdjvu/DjVuMessage.cpp -+++ b/libdjvu/DjVuMessage.cpp -@@ -71,6 +71,7 @@ - #include "debug.h" - #include - #include -+#include - #include - #ifdef WIN32 - # include -diff --git a/libdjvu/DjVuMessageLite.cpp b/libdjvu/DjVuMessageLite.cpp -index b8c1010..5daa9d9 100644 ---- a/libdjvu/DjVuMessageLite.cpp -+++ b/libdjvu/DjVuMessageLite.cpp -@@ -73,8 +73,8 @@ - #include "debug.h" - #include - #include -+#include - #include --// #include - #ifdef WIN32 - #include - #include -diff --git a/libdjvu/DjVuPalette.cpp b/libdjvu/DjVuPalette.cpp -index c489f7b..76b0bf4 100644 ---- a/libdjvu/DjVuPalette.cpp -+++ b/libdjvu/DjVuPalette.cpp -@@ -64,6 +64,8 @@ - #include "ByteStream.h" - #include "BSByteStream.h" - #include "DjVuPalette.h" -+ -+#include - #include - #include - -diff --git a/libdjvu/DjVuPort.h b/libdjvu/DjVuPort.h -index f6a92f6..e2b3125 100644 ---- a/libdjvu/DjVuPort.h -+++ b/libdjvu/DjVuPort.h -@@ -65,6 +65,7 @@ - - #include "GThreads.h" - #include "GURL.h" -+#include "stddef.h" - - #ifdef HAVE_NAMESPACES - namespace DJVU { -diff --git a/libdjvu/DjVuToPS.cpp b/libdjvu/DjVuToPS.cpp -index 5517bf3..6914ff9 100644 ---- a/libdjvu/DjVuToPS.cpp -+++ b/libdjvu/DjVuToPS.cpp -@@ -72,6 +72,7 @@ - #include "GPixmap.h" - #include "debug.h" - #include -+#include - #include - #include - #include -diff --git a/libdjvu/GBitmap.cpp b/libdjvu/GBitmap.cpp -index ab5c0de..797edcc 100644 ---- a/libdjvu/GBitmap.cpp -+++ b/libdjvu/GBitmap.cpp -@@ -66,6 +66,8 @@ - #include "GString.h" - #include "GThreads.h" - #include "GException.h" -+#include -+#include - #include - - // - Author: Leon Bottou, 05/1997 -diff --git a/libdjvu/GException.cpp b/libdjvu/GException.cpp -index 2ea179a..89da70f 100644 ---- a/libdjvu/GException.cpp -+++ b/libdjvu/GException.cpp -@@ -60,6 +60,7 @@ - # pragma implementation - #endif - -+#include - #include - #include - #include -diff --git a/libdjvu/GOS.cpp b/libdjvu/GOS.cpp -index e784932..d2088e2 100644 ---- a/libdjvu/GOS.cpp -+++ b/libdjvu/GOS.cpp -@@ -65,6 +65,7 @@ - #include "GOS.h" - #include "GURL.h" - -+#include - #include - #include - #include -diff --git a/libdjvu/GPixmap.cpp b/libdjvu/GPixmap.cpp -index 392df54..4bf6f57 100644 ---- a/libdjvu/GPixmap.cpp -+++ b/libdjvu/GPixmap.cpp -@@ -75,6 +75,8 @@ - #include "GThreads.h" - #include "Arrays.h" - #include "JPEGDecoder.h" -+ -+#include - #include - #include - #include -diff --git a/libdjvu/GSmartPointer.cpp b/libdjvu/GSmartPointer.cpp -index 6e523e7..58aef5b 100644 ---- a/libdjvu/GSmartPointer.cpp -+++ b/libdjvu/GSmartPointer.cpp -@@ -67,6 +67,7 @@ - // Our original implementation consisted of multiple classes. - // . - -+#include - #include - #if PARANOID_DEBUG - # include -diff --git a/libdjvu/GSmartPointer.h b/libdjvu/GSmartPointer.h -index 82781bd..8a8bb8a 100644 ---- a/libdjvu/GSmartPointer.h -+++ b/libdjvu/GSmartPointer.h -@@ -97,6 +97,8 @@ - #include "DjVuGlobal.h" - #include "atomic.h" - -+#include -+ - #ifdef HAVE_NAMESPACES - namespace DJVU { - # ifdef NOT_DEFINED // Just to fool emacs c++ mode -diff --git a/libdjvu/GString.cpp b/libdjvu/GString.cpp -index 03f6226..350b11b 100644 ---- a/libdjvu/GString.cpp -+++ b/libdjvu/GString.cpp -@@ -73,6 +73,7 @@ - #include "GThreads.h" - #include "debug.h" - -+#include - #include - #include - #include -diff --git a/libdjvu/GString.h b/libdjvu/GString.h -index b63b753..3aa1f76 100644 ---- a/libdjvu/GString.h -+++ b/libdjvu/GString.h -@@ -108,6 +108,7 @@ - #include "DjVuGlobal.h" - #include "GContainer.h" - -+#include - #include - #include - #ifdef WIN32 -diff --git a/libdjvu/GThreads.cpp b/libdjvu/GThreads.cpp -index d81f3c3..253fed8 100644 ---- a/libdjvu/GThreads.cpp -+++ b/libdjvu/GThreads.cpp -@@ -71,6 +71,8 @@ - #include "GThreads.h" - #include "GException.h" - #include "DjVuMessageLite.h" -+ -+#include - #include - #include - -diff --git a/libdjvu/GURL.cpp b/libdjvu/GURL.cpp -index c37bf52..a80078c 100644 ---- a/libdjvu/GURL.cpp -+++ b/libdjvu/GURL.cpp -@@ -72,6 +72,7 @@ - #include "GURL.h" - #include "debug.h" - -+#include - #include - #include - #include -diff --git a/libdjvu/GUnicode.cpp b/libdjvu/GUnicode.cpp -index 415c081..a8b25b8 100644 ---- a/libdjvu/GUnicode.cpp -+++ b/libdjvu/GUnicode.cpp -@@ -62,6 +62,8 @@ - - #include "GString.h" - -+#include -+ - #if HAS_ICONV - #include - #endif -diff --git a/libdjvu/IFFByteStream.h b/libdjvu/IFFByteStream.h -index a653f8c..e31b216 100644 ---- a/libdjvu/IFFByteStream.h -+++ b/libdjvu/IFFByteStream.h -@@ -124,6 +124,7 @@ - - - #include "DjVuGlobal.h" -+#include - #include - #include - #include -diff --git a/libdjvu/IW44EncodeCodec.cpp b/libdjvu/IW44EncodeCodec.cpp -index 8d7b12c..49081b7 100644 ---- a/libdjvu/IW44EncodeCodec.cpp -+++ b/libdjvu/IW44EncodeCodec.cpp -@@ -76,6 +76,7 @@ - #include "IFFByteStream.h" - #include "GRect.h" - -+#include - #include - #include - #include -diff --git a/libdjvu/IW44Image.cpp b/libdjvu/IW44Image.cpp -index 9476726..4a19fb5 100644 ---- a/libdjvu/IW44Image.cpp -+++ b/libdjvu/IW44Image.cpp -@@ -76,6 +76,7 @@ - #include "IFFByteStream.h" - #include "GRect.h" - -+#include - #include - #include - #include -diff --git a/libdjvu/JPEGDecoder.h b/libdjvu/JPEGDecoder.h -index bd430a0..fad1d4c 100644 ---- a/libdjvu/JPEGDecoder.h -+++ b/libdjvu/JPEGDecoder.h -@@ -64,6 +64,7 @@ - - #ifdef NEED_JPEG_DECODER - -+#include - #include - #include - -diff --git a/libdjvu/MMX.cpp b/libdjvu/MMX.cpp -index 5ab60bb..528dab6 100644 ---- a/libdjvu/MMX.cpp -+++ b/libdjvu/MMX.cpp -@@ -62,6 +62,7 @@ - - #include "MMX.h" - #include -+#include - #include - - -diff --git a/libdjvu/UnicodeByteStream.h b/libdjvu/UnicodeByteStream.h -index 0ae112b..9b49a17 100644 ---- a/libdjvu/UnicodeByteStream.h -+++ b/libdjvu/UnicodeByteStream.h -@@ -88,6 +88,7 @@ - #include "GString.h" - #include "ByteStream.h" - -+#include - - #ifdef HAVE_NAMESPACES - namespace DJVU { -diff --git a/libdjvu/XMLParser.cpp b/libdjvu/XMLParser.cpp -index 84386c5..7da923a 100644 ---- a/libdjvu/XMLParser.cpp -+++ b/libdjvu/XMLParser.cpp -@@ -75,6 +75,7 @@ - #include "debug.h" - #include - #include -+#include - #include - - -diff --git a/libdjvu/ZPCodec.cpp b/libdjvu/ZPCodec.cpp -index f6e971d..ff5b9bf 100644 ---- a/libdjvu/ZPCodec.cpp -+++ b/libdjvu/ZPCodec.cpp -@@ -66,6 +66,8 @@ - #include "ZPCodec.h" - #include "ByteStream.h" - #include "GException.h" -+ -+#include - #include - #include - #include -diff --git a/libdjvu/atomic.cpp b/libdjvu/atomic.cpp -index bdc193e..63fd483 100644 ---- a/libdjvu/atomic.cpp -+++ b/libdjvu/atomic.cpp -@@ -28,6 +28,7 @@ - # include "config.h" - #endif - -+#include - #include - #include - #include "atomic.h" -diff --git a/libdjvu/ddjvuapi.cpp b/libdjvu/ddjvuapi.cpp -index b18b84b..f40f5aa 100644 ---- a/libdjvu/ddjvuapi.cpp -+++ b/libdjvu/ddjvuapi.cpp -@@ -60,6 +60,7 @@ - # pragma implementation "ddjvuapi.h" - #endif - -+#include - #include - #include - #include -diff --git a/libdjvu/ddjvuapi.h b/libdjvu/ddjvuapi.h -index d0ed48f..841f223 100644 ---- a/libdjvu/ddjvuapi.h -+++ b/libdjvu/ddjvuapi.h -@@ -64,6 +64,7 @@ extern "C" { - } - #endif - -+#include - #include - #include - -diff --git a/libdjvu/miniexp.cpp b/libdjvu/miniexp.cpp -index e0fb087..fc51297 100644 ---- a/libdjvu/miniexp.cpp -+++ b/libdjvu/miniexp.cpp -@@ -23,6 +23,7 @@ - # pragma implementation "miniexp.h" - #endif - -+#include - #include - #include - #include -diff --git a/libdjvu/miniexp.h b/libdjvu/miniexp.h -index 91e345d..993005b 100644 ---- a/libdjvu/miniexp.h -+++ b/libdjvu/miniexp.h -@@ -38,7 +38,8 @@ extern "C" { - #ifndef MINILISPAPI - # define MINILISPAPI /**/ - #endif -- -+ -+#include - - /* -------------------------------------------------- */ - /* LISP EXPRESSIONS */ -diff --git a/tools/bzz.cpp b/tools/bzz.cpp -index ca092e1..2ebc7b9 100644 ---- a/tools/bzz.cpp -+++ b/tools/bzz.cpp -@@ -94,6 +94,7 @@ - #include "GURL.h" - #include "DjVuMessage.h" - #include -+#include - #include - - static const char *program = "(unknown)"; -diff --git a/tools/c44.cpp b/tools/c44.cpp -index 6f23b53..855504b 100644 ---- a/tools/c44.cpp -+++ b/tools/c44.cpp -@@ -226,6 +226,7 @@ - #include - #include - #include -+#include - #include - - // command line data -diff --git a/tools/cjb2.cpp b/tools/cjb2.cpp -index 8cf89b9..11eb662 100644 ---- a/tools/cjb2.cpp -+++ b/tools/cjb2.cpp -@@ -120,6 +120,7 @@ - #include "jb2tune.h" - - #include -+#include - #include - #if HAVE_TIFF - #include -diff --git a/tools/cpaldjvu.cpp b/tools/cpaldjvu.cpp -index 111cbd3..b640a7a 100644 ---- a/tools/cpaldjvu.cpp -+++ b/tools/cpaldjvu.cpp -@@ -118,6 +118,7 @@ - #include "jb2tune.h" - - #include -+#include - #include - #include - -diff --git a/tools/csepdjvu.cpp b/tools/csepdjvu.cpp -index cd721f8..d5203d5 100644 ---- a/tools/csepdjvu.cpp -+++ b/tools/csepdjvu.cpp -@@ -162,6 +162,7 @@ - #include "jb2tune.h" - - #include -+#include - #include - - #undef MIN -diff --git a/tools/ddjvu.cpp b/tools/ddjvu.cpp -index 817e045..981a270 100644 ---- a/tools/ddjvu.cpp -+++ b/tools/ddjvu.cpp -@@ -62,6 +62,7 @@ - # include "config.h" - #endif - -+#include - #include - #include - #include -diff --git a/tools/djvm.cpp b/tools/djvm.cpp -index 951bd66..6ea88c2 100644 ---- a/tools/djvm.cpp -+++ b/tools/djvm.cpp -@@ -135,9 +135,9 @@ - #include "DjVuMessage.h" - - #include -+#include - #include - #include --#include - - static const char * progname; - -diff --git a/tools/djvmcvt.cpp b/tools/djvmcvt.cpp -index 9ca1c54..20b468a 100644 ---- a/tools/djvmcvt.cpp -+++ b/tools/djvmcvt.cpp -@@ -144,6 +144,7 @@ - - #include - #include -+#include - #include - - static const char * progname; -diff --git a/tools/djvudump.cpp b/tools/djvudump.cpp -index 6a0215a..2dddbdf 100644 ---- a/tools/djvudump.cpp -+++ b/tools/djvudump.cpp -@@ -119,6 +119,7 @@ xxx - #include - #include - #include -+#include - #include - - void -diff --git a/tools/djvuextract.cpp b/tools/djvuextract.cpp -index 4a9f381..907b99c 100644 ---- a/tools/djvuextract.cpp -+++ b/tools/djvuextract.cpp -@@ -105,6 +105,7 @@ - #include "GOS.h" - #include "DjVuMessage.h" - #include -+#include - #include - - -diff --git a/tools/djvumake.cpp b/tools/djvumake.cpp -index 7020484..4c5fc0f 100644 ---- a/tools/djvumake.cpp -+++ b/tools/djvumake.cpp -@@ -153,6 +153,7 @@ - - #include - #include -+#include - #include - #include - -diff --git a/tools/djvups.cpp b/tools/djvups.cpp -index 51aa999..632b832 100644 ---- a/tools/djvups.cpp -+++ b/tools/djvups.cpp -@@ -57,6 +57,7 @@ - # include "config.h" - #endif - -+#include - #include - #include - #include -diff --git a/tools/djvused.cpp b/tools/djvused.cpp -index de84dcd..687fdca 100644 ---- a/tools/djvused.cpp -+++ b/tools/djvused.cpp -@@ -61,6 +61,7 @@ - #endif - - #include -+#include - #include - #include - #include -diff --git a/tools/djvuserve.cpp b/tools/djvuserve.cpp -index 19a17da..818fe78 100644 ---- a/tools/djvuserve.cpp -+++ b/tools/djvuserve.cpp -@@ -73,6 +73,7 @@ - - #include - #include -+#include - #include - #include - #include -diff --git a/tools/djvutxt.cpp b/tools/djvutxt.cpp -index ba2c745..9e9124c 100644 ---- a/tools/djvutxt.cpp -+++ b/tools/djvutxt.cpp -@@ -61,6 +61,7 @@ - # include "config.h" - #endif - -+#include - #include - #include - #include -diff --git a/tools/tiff2pdf.h b/tools/tiff2pdf.h -index 082f5fb..656dc43 100644 ---- a/tools/tiff2pdf.h -+++ b/tools/tiff2pdf.h -@@ -22,6 +22,7 @@ - # endif - # if HAVE_TIFF - # include -+# include - # include - # include - # include -diff --git a/xmltools/djvutoxml.cpp b/xmltools/djvutoxml.cpp -index 17c769b..b40535e 100644 ---- a/xmltools/djvutoxml.cpp -+++ b/xmltools/djvutoxml.cpp -@@ -71,6 +71,7 @@ - - #include - #include -+#include - #include - #include - #include -diff --git a/xmltools/djvuxmlparser.cpp b/xmltools/djvuxmlparser.cpp -index bdc5768..6679a9d 100644 ---- a/xmltools/djvuxmlparser.cpp -+++ b/xmltools/djvuxmlparser.cpp -@@ -70,6 +70,7 @@ - #include - #include - #include -+#include - #include - - static void diff --git a/pkgs/applications/misc/evince/default.nix b/pkgs/applications/misc/evince/default.nix deleted file mode 100644 index 793c7bda2994..000000000000 --- a/pkgs/applications/misc/evince/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ fetchurl, stdenv, perl, perlXMLParser, gettext, intltool -, pkgconfig, glib, gtk, gnomedocutils, gnomeicontheme -, libgnome, libgnomeui, scrollkeeper, libxslt -, libglade, libgnome_keyring, dbus, dbus_glib -, poppler, libspectre, djvulibre, shared_mime_info -, makeWrapper, which, ghostscript -, recentListSize ? null # 5 is not enough, allow passing a different number -}: - -stdenv.mkDerivation rec { - name = "evince-2.32.0"; - - src = fetchurl { - url = "http://ftp.gnome.org/pub/GNOME/sources/evince/2.32/${name}.tar.bz2"; - sha256 = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7"; - }; - - buildInputs = [ - perl perlXMLParser gettext intltool pkgconfig glib gtk - gnomedocutils gnomeicontheme libgnome libgnomeui libglade - scrollkeeper libgnome_keyring - libxslt # for `xsltproc' - dbus dbus_glib poppler libspectre djvulibre makeWrapper which - ghostscript - ]; - - configureFlags = "--with-libgnome --enable-dbus --enable-pixbuf " - - # Do not use nautilus - + " --disable-nautilus " - # Do not update Scrollkeeper's database (GNOME's help system). - + "--disable-scrollkeeper"; - - postUnpack = if recentListSize != null then '' - sed -i 's/\(gtk_recent_chooser_set_limit .*\)5)/\1${builtins.toString recentListSize})/' */shell/ev-open-recent-action.c - sed -i 's/\(if (++n_items == \)5\(.*\)/\1${builtins.toString recentListSize}\2/' */shell/ev-window.c - '' else ""; - - postInstall = '' - # Tell Glib/GIO about the MIME info directory, which is used - # by `g_file_info_get_content_type ()'. - wrapProgram "$out/bin/evince" \ - --prefix XDG_DATA_DIRS : "${shared_mime_info}/share:$out/share" - ''; - - meta = { - homepage = http://www.gnome.org/projects/evince/; - description = "Evince, GNOME's document viewer"; - - longDescription = '' - Evince is a document viewer for multiple document formats. It - currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal - of Evince is to replace the multiple document viewers that exist - on the GNOME Desktop with a single simple application. - ''; - - license = "GPLv2+"; - }; -} diff --git a/pkgs/applications/networking/browsers/firefox/21.0.nix b/pkgs/applications/networking/browsers/firefox/21.0.nix index 1a23c9d9cf9f..6043364c754b 100644 --- a/pkgs/applications/networking/browsers/firefox/21.0.nix +++ b/pkgs/applications/networking/browsers/firefox/21.0.nix @@ -35,7 +35,7 @@ rec { #"--enable-profiling" "--disable-debug" "--enable-strip" - # "--with-system-jpeg" # Too old in nixpkgs + "--with-system-jpeg" # now we use recent libjpeg-turbo "--with-system-zlib" "--with-system-bz2" "--with-system-nspr" diff --git a/pkgs/applications/networking/instant-messengers/linphone/default.nix b/pkgs/applications/networking/instant-messengers/linphone/default.nix index 7bdb6cc1452d..a4a32327d0c6 100644 --- a/pkgs/applications/networking/instant-messengers/linphone/default.nix +++ b/pkgs/applications/networking/instant-messengers/linphone/default.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { configureFlags = "--enable-external-ortp --enable-external-mediastreamer"; + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # I'm lazy to fix these for them + meta = { homepage = http://www.linphone.org/; description = "Open Source video SIP softphone"; diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix index 26879a6f660f..1654aa880046 100644 --- a/pkgs/applications/office/gnucash/default.nix +++ b/pkgs/applications/office/gnucash/default.nix @@ -1,6 +1,7 @@ { fetchurl, stdenv, pkgconfig, libxml2, gconf, glib, gtk, libgnomeui, libofx , libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant, gettext, libbonoboui -, intltool, perl, guile, slibGuile, swig, isocodes, bzip2, makeWrapper +, intltool, perl, guile, slibGuile, swig, isocodes, bzip2, makeWrapper, libglade +, libgsf, libart_lgpl }: /* If you experience GConf errors when running GnuCash on NixOS, see @@ -19,9 +20,12 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig libxml2 gconf glib gtk libgnomeui libgtkhtml gtkhtml libgnomeprint goffice enchant gettext intltool perl guile slibGuile - swig isocodes bzip2 makeWrapper libofx + swig isocodes bzip2 makeWrapper libofx libglade libgsf libart_lgpl ]; + # fix a problem with new intltool versions, taken from Gentoo + patchPhase = "patch -p3 < ${./potfiles-skip.patch}"; + configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3 --disable-dbi --enable-ofx"; postInstall = '' diff --git a/pkgs/applications/office/gnucash/potfiles-skip.patch b/pkgs/applications/office/gnucash/potfiles-skip.patch new file mode 100644 index 000000000000..6fef3a1dcd38 --- /dev/null +++ b/pkgs/applications/office/gnucash/potfiles-skip.patch @@ -0,0 +1,147 @@ +Index: gnucash/branches/2.4/po/POTFILES.skip +=================================================================== +--- gnucash/branches/2.4/po/POTFILES.skip (revision 18623) ++++ gnucash/branches/2.4/po/POTFILES.skip (revision 22300) +@@ -19,2 +19,142 @@ + src/libqof/qof/qofquery-serialize.c + src/libqof/qof/qofsql.c ++ ++# The scheme files are handled by intl-scm/guile-strings.c because ++# intltool wouldn't scan scheme files. They're here now because ++# intltool 0.50 *does* scan them, and it creates an error during make ++# check. Once the whole world has upgraded to intltool 0.50, intl-scm ++# can be deleted and these files added to POTFILES.in. ++ ++src/app-utils/date-utilities.scm ++src/app-utils/prefs.scm ++src/business/business-utils/business-prefs.scm ++src/business/business-utils/business-utils.scm ++src/business/business-utils/gnucash/business-utils.scm ++src/import-export/qif-import/qif-dialog-utils.scm ++src/import-export/qif-import/qif-file.scm ++src/import-export/qif-import/qif-import/qif-dialog-utils.scm ++src/import-export/qif-import/qif-import/qif-file.scm ++src/import-export/qif-import/qif-import/qif-merge-groups.scm ++src/import-export/qif-import/qif-import/qif-parse.scm ++src/import-export/qif-import/qif-import/qif-to-gnc.scm ++src/import-export/qif-import/qif-merge-groups.scm ++src/import-export/qif-import/qif-parse.scm ++src/import-export/qif-import/qif-to-gnc.scm ++src/report/business-reports/aging.scm ++src/report/business-reports/balsheet-eg.eguile.scm ++src/report/business-reports/balsheet-eg.scm ++src/report/business-reports/business-reports.scm ++src/report/business-reports/customer-summary.scm ++src/report/business-reports/easy-invoice.scm ++src/report/business-reports/fancy-invoice.scm ++src/report/business-reports/gnucash/report/aging.scm ++src/report/business-reports/gnucash/report/balsheet-eg.eguile.scm ++src/report/business-reports/gnucash/report/balsheet-eg.scm ++src/report/business-reports/gnucash/report/business-reports.scm ++src/report/business-reports/gnucash/report/customer-summary.scm ++src/report/business-reports/gnucash/report/easy-invoice.scm ++src/report/business-reports/gnucash/report/fancy-invoice.scm ++src/report/business-reports/gnucash/report/invoice.scm ++src/report/business-reports/gnucash/report/job-report.scm ++src/report/business-reports/gnucash/report/owner-report.scm ++src/report/business-reports/gnucash/report/payables.scm ++src/report/business-reports/gnucash/report/receivables.scm ++src/report/business-reports/gnucash/report/taxinvoice.eguile.scm ++src/report/business-reports/gnucash/report/taxinvoice.scm ++src/report/business-reports/invoice.scm ++src/report/business-reports/job-report.scm ++src/report/business-reports/owner-report.scm ++src/report/business-reports/payables.scm ++src/report/business-reports/receivables.scm ++src/report/business-reports/taxinvoice.eguile.scm ++src/report/business-reports/taxinvoice.scm ++src/report/locale-specific/us/gnucash/report/taxtxf-de_DE.scm ++src/report/locale-specific/us/gnucash/report/taxtxf.scm ++src/report/locale-specific/us/taxtxf-de_DE.scm ++src/report/locale-specific/us/taxtxf.scm ++src/report/report-gnome/gnucash/report/report-gnome.scm ++src/report/report-gnome/report-gnome.scm ++src/report/report-system/eguile-gnc.scm ++src/report/report-system/gnucash/report/eguile-gnc.scm ++src/report/report-system/html-acct-table.scm ++src/report/report-system/html-fonts.scm ++src/report/report-system/html-style-sheet.scm ++src/report/report-system/html-utilities.scm ++src/report/report-system/options-utilities.scm ++src/report/report-system/report-utilities.scm ++src/report/report-system/report.scm ++src/report/standard-reports/account-piecharts.scm ++src/report/standard-reports/account-summary.scm ++src/report/standard-reports/advanced-portfolio.scm ++src/report/standard-reports/average-balance.scm ++src/report/standard-reports/balance-sheet.scm ++src/report/standard-reports/budget-balance-sheet.scm ++src/report/standard-reports/budget-barchart.scm ++src/report/standard-reports/budget-flow.scm ++src/report/standard-reports/budget-income-statement.scm ++src/report/standard-reports/budget.scm ++src/report/standard-reports/cash-flow.scm ++src/report/standard-reports/category-barchart.scm ++src/report/standard-reports/daily-reports.scm ++src/report/standard-reports/equity-statement.scm ++src/report/standard-reports/general-journal.scm ++src/report/standard-reports/general-ledger.scm ++src/report/standard-reports/gnucash/report/standard-reports/account-piecharts.scm ++src/report/standard-reports/gnucash/report/standard-reports/account-summary.scm ++src/report/standard-reports/gnucash/report/standard-reports/advanced-portfolio.scm ++src/report/standard-reports/gnucash/report/standard-reports/average-balance.scm ++src/report/standard-reports/gnucash/report/standard-reports/balance-sheet.scm ++src/report/standard-reports/gnucash/report/standard-reports/budget-balance-sheet.scm ++src/report/standard-reports/gnucash/report/standard-reports/budget-barchart.scm ++src/report/standard-reports/gnucash/report/standard-reports/budget-flow.scm ++src/report/standard-reports/gnucash/report/standard-reports/budget-income-statement.scm ++src/report/standard-reports/gnucash/report/standard-reports/budget.scm ++src/report/standard-reports/gnucash/report/standard-reports/cash-flow.scm ++src/report/standard-reports/gnucash/report/standard-reports/category-barchart.scm ++src/report/standard-reports/gnucash/report/standard-reports/daily-reports.scm ++src/report/standard-reports/gnucash/report/standard-reports/equity-statement.scm ++src/report/standard-reports/gnucash/report/standard-reports/general-journal.scm ++src/report/standard-reports/gnucash/report/standard-reports/general-ledger.scm ++src/report/standard-reports/gnucash/report/standard-reports/income-statement.scm ++src/report/standard-reports/gnucash/report/standard-reports/net-barchart.scm ++src/report/standard-reports/gnucash/report/standard-reports/net-linechart.scm ++src/report/standard-reports/gnucash/report/standard-reports/portfolio.scm ++src/report/standard-reports/gnucash/report/standard-reports/price-scatter.scm ++src/report/standard-reports/gnucash/report/standard-reports/register.scm ++src/report/standard-reports/gnucash/report/standard-reports/sx-summary.scm ++src/report/standard-reports/gnucash/report/standard-reports/transaction.scm ++src/report/standard-reports/gnucash/report/standard-reports/trial-balance.scm ++src/report/standard-reports/income-statement.scm ++src/report/standard-reports/net-barchart.scm ++src/report/standard-reports/net-linechart.scm ++src/report/standard-reports/portfolio.scm ++src/report/standard-reports/price-scatter.scm ++src/report/standard-reports/register.scm ++src/report/standard-reports/sx-summary.scm ++src/report/standard-reports/transaction.scm ++src/report/standard-reports/trial-balance.scm ++src/report/stylesheets/gnucash/report/stylesheet-easy.scm ++src/report/stylesheets/gnucash/report/stylesheet-fancy.scm ++src/report/stylesheets/gnucash/report/stylesheet-footer.scm ++src/report/stylesheets/gnucash/report/stylesheet-plain.scm ++src/report/stylesheets/stylesheet-easy.scm ++src/report/stylesheets/stylesheet-fancy.scm ++src/report/stylesheets/stylesheet-footer.scm ++src/report/stylesheets/stylesheet-plain.scm ++src/report/utility-reports/gnucash/report/hello-world.scm ++src/report/utility-reports/gnucash/report/view-column.scm ++src/report/utility-reports/gnucash/report/welcome-to-gnucash.scm ++src/report/utility-reports/hello-world.scm ++src/report/utility-reports/view-column.scm ++src/report/utility-reports/welcome-to-gnucash.scm ++src/scm/build-config.scm ++src/scm/build-config.scm.in ++src/scm/command-line.scm ++src/scm/gnucash/price-quotes.scm ++src/scm/main-window.scm ++src/scm/price-quotes.scm ++src/tax/us/de_DE.scm ++src/tax/us/gnucash/tax/de_DE.scm ++src/tax/us/txf-de_DE.scm ++src/tax/us/txf.scm ++ diff --git a/pkgs/applications/science/misc/tulip/default.nix b/pkgs/applications/science/misc/tulip/default.nix index 1402dc9b1824..84da60398227 100644 --- a/pkgs/applications/science/misc/tulip/default.nix +++ b/pkgs/applications/science/misc/tulip/default.nix @@ -1,13 +1,13 @@ { fetchurl, stdenv, libxml2, freetype, mesa, glew, qt4 , cmake, makeWrapper, libjpeg }: -let version = "3.7.0"; in +let version = "4.1.0"; in stdenv.mkDerivation rec { name = "tulip-${version}"; src = fetchurl { - url = "mirror://sourceforge/auber/tulip/tulip-3.7.0/${name}-src.tar.gz"; - sha256 = "150fj9pdxblvl5sby61cb2kq98r6h8yljk3vq5xizn198d3fz4jq"; + url = "mirror://sourceforge/auber/${name}_src.tar.gz"; + sha256 = "1js1f8xdm9g2m66xbhfxa8ixzw6h4gjynxsm83p54l3i0hs3biig"; }; buildInputs = [ libxml2 freetype glew mesa qt4 libjpeg ]; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { doCheck = false; meta = { - description = "Tulip, a visualization framework for the analysis and visualization of relational data"; + description = "A visualization framework for the analysis and visualization of relational data"; longDescription = '' Tulip is an information visualization framework dedicated to the diff --git a/pkgs/applications/version-management/kdesvn/default.nix b/pkgs/applications/version-management/kdesvn/default.nix index 29b8b306fe54..59fb1f5a867f 100644 --- a/pkgs/applications/version-management/kdesvn/default.nix +++ b/pkgs/applications/version-management/kdesvn/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, gettext, apr, aprutil, subversion, db4, kdelibs }: +{ stdenv, fetchurl, gettext, apr, aprutil, subversion, db4, kdelibs, expat }: stdenv.mkDerivation rec { name = "kdesvn-1.5.5"; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { patches = [ ./docbook.patch ./virtual_inheritance.patch ]; - buildInputs = [ apr aprutil subversion db4 kdelibs ]; + buildInputs = [ apr aprutil subversion db4 kdelibs expat ]; nativeBuildInputs = [ gettext ]; diff --git a/pkgs/applications/video/gnash/default.nix b/pkgs/applications/video/gnash/default.nix index db6bde782b99..4f2addcc99b0 100644 --- a/pkgs/applications/video/gnash/default.nix +++ b/pkgs/applications/video/gnash/default.nix @@ -3,7 +3,7 @@ , gst_ffmpeg, speex , libogg, libxml2, libjpeg, mesa, libpng, libungif, libtool , boost, freetype, agg, dbus, curl, pkgconfig, gettext -, glib, gtk, gtkglext, x11, ming, dejagnu, python, perl +, glib, gtk, gtkglext, pangox_compat, x11, ming, dejagnu, python, perl , freefont_ttf, haxe, swftools , lib, makeWrapper , xulrunner }: @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { gettext x11 SDL SDL_mixer gstreamer gst_plugins_base gst_plugins_good gst_ffmpeg speex libtool libogg libxml2 libjpeg mesa libpng libungif boost freetype agg - dbus curl pkgconfig glib gtk gtkglext + dbus curl pkgconfig glib gtk gtkglext pangox_compat xulrunner makeWrapper ] diff --git a/pkgs/applications/window-managers/weston/default.nix b/pkgs/applications/window-managers/weston/default.nix new file mode 100644 index 000000000000..2c1044d69372 --- /dev/null +++ b/pkgs/applications/window-managers/weston/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, pkgconfig, wayland, mesa, libxkbcommon +, cairo, libxcb, libXcursor, x11, udev, libdrm, mtdev +, libjpeg, pam, autoconf, automake, libtool }: + +let version = "1.0.5"; in + +stdenv.mkDerivation rec { + name = "weston-${version}"; + + src = fetchurl { + url = "http://wayland.freedesktop.org/releases/${name}.tar.xz"; + sha256 = "0g2k82pnlxl8b70ykazj7kn8xffjfsmgcgx427qdrm4083z2hgm0"; + }; + + buildInputs = [ pkgconfig wayland mesa libxkbcommon + cairo libxcb libXcursor x11 udev libdrm mtdev + libjpeg pam autoconf automake libtool ]; + + preConfigure = "autoreconf -vfi"; + + # prevent install target to chown root weston-launch, which fails + configureFlags = '' + --disable-setuid-install + ''; + + meta = { + description = "Reference implementation of a Wayland compositor"; + homepage = http://wayland.freedesktop.org/; + license = stdenv.lib.licenses.mit; + }; +} -- cgit 1.4.1