about summary refs log tree commit diff
path: root/pkgs/applications/version-management/kdesvn
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-11-02 13:35:28 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-11-02 13:35:28 +0000
commit9ff062284801e2df583f862f34bc994a0849b45d (patch)
tree533a6cd546a3e7327203790a89e69b9908f93202 /pkgs/applications/version-management/kdesvn
parent448b75b87b1e0977149754edd9b3edca27c2f42d (diff)
Kdesvn fixed. At the end it was a wrong docbook type only in one of the docbook
files there. The other was fine, and kept me confused for long.

svn path=/nixpkgs/trunk/; revision=24571
Diffstat (limited to 'pkgs/applications/version-management/kdesvn')
-rw-r--r--pkgs/applications/version-management/kdesvn/default.nix5
-rw-r--r--pkgs/applications/version-management/kdesvn/docbook.patch13
2 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/kdesvn/default.nix b/pkgs/applications/version-management/kdesvn/default.nix
index c063cd6d09a1d..b6893ba17e14c 100644
--- a/pkgs/applications/version-management/kdesvn/default.nix
+++ b/pkgs/applications/version-management/kdesvn/default.nix
@@ -8,11 +8,12 @@ stdenv.mkDerivation {
     sha256 = "02sb34p04dyd88ksxvpiffhxqwmhs3yv1wif9m8w0fly9hvy1zk7";
   };
 
-  patchPhase = ''
+  prePatch = ''
     sed -i -e "s|/usr|${subversion}|g" src/svnqt/cmakemodules/FindSubversion.cmake
   '';
 
-  makeFlags = [ "VERBOSE=1" ];
+  patches = [ ./docbook.patch ];
+  
 
   buildInputs = [ cmake qt4 perl gettext apr aprutil subversion db4 kdelibs automoc4 phonon ];
 
diff --git a/pkgs/applications/version-management/kdesvn/docbook.patch b/pkgs/applications/version-management/kdesvn/docbook.patch
new file mode 100644
index 0000000000000..54f43c7795806
--- /dev/null
+++ b/pkgs/applications/version-management/kdesvn/docbook.patch
@@ -0,0 +1,13 @@
+The name of the dtd changed in kdelibs 4.5, so we need to increase it.
+
+diff --git a/doc/nl/index.docbook b/doc/nl/index.docbook
+index 8747869..a9676aa 100644
+--- a/doc/nl/index.docbook
++++ b/doc/nl/index.docbook
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+   <!ENTITY kdesvn "<application>kdesvn</application>">
+   <!ENTITY kappname "&kdesvn;"><!-- Do *not* replace kappname-->
+   <!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc -->