* Don't strip everything.

svn path=/nixpkgs/trunk/; revision=2322

+21
+3
pkgs/development/libraries/qt-3/default.nix
··· 23 23 24 24 buildInputs = [x11 libXft libXrender zlib libjpeg libpng which]; 25 25 26 + # Don't strip everything so we can get useful backtraces. 27 + patches = [./strip.patch]; 28 + 26 29 inherit threadSupport xftSupport libXft xrenderSupport libXrender; 27 30 inherit mysqlSupport mysql; 28 31 inherit (libXft) freetype fontconfig;
+18
pkgs/development/libraries/qt-3/strip.patch
··· 1 + diff -rc qt-x11-free-3.3.3-orig/mkspecs/linux-g++/qmake.conf qt-x11-free-3.3.3/mkspecs/linux-g++/qmake.conf 2 + *** qt-x11-free-3.3.3-orig/mkspecs/linux-g++/qmake.conf 2004-08-05 16:42:57.000000000 +0200 3 + --- qt-x11-free-3.3.3/mkspecs/linux-g++/qmake.conf 2005-03-02 12:25:55.000000000 +0100 4 + *************** 5 + *** 85,90 **** 6 + QMAKE_DEL_FILE = rm -f 7 + QMAKE_DEL_DIR = rmdir 8 + QMAKE_STRIP = strip 9 + ! QMAKE_STRIPFLAGS_LIB += --strip-unneeded 10 + QMAKE_CHK_DIR_EXISTS = test -d 11 + QMAKE_MKDIR = mkdir -p 12 + --- 85,90 ---- 13 + QMAKE_DEL_FILE = rm -f 14 + QMAKE_DEL_DIR = rmdir 15 + QMAKE_STRIP = strip 16 + ! QMAKE_STRIPFLAGS_LIB += --strip-debug 17 + QMAKE_CHK_DIR_EXISTS = test -d 18 + QMAKE_MKDIR = mkdir -p