Package: libqjson-dev
Version: 0.7.1-1ubuntu1
Severity: important
Tags: patch

The FindQJSON.cmake installed by upstream cannot be found using the CMake find
macro by default. In Ubuntu, we are solving this problem by installing it to
/usr/share/cmake-2.8/Modules/FindQJSON.cmake, a place where CMake can find it.
diff -u qjson-0.7.1/debian/rules qjson-0.7.1/debian/rules
--- qjson-0.7.1/debian/rules
+++ qjson-0.7.1/debian/rules
@@ -8,0 +9,5 @@
+
+override_dh_install:
+	dh_install
+	mkdir -p debian/libqjson-dev/usr/share/cmake-2.8/Modules/
+	cp debian/libqjson-dev/usr/share/apps/cmake/modules/FindQJSON.cmake debian/libqjson-dev/usr/share/cmake-2.8/Modules/
diff -u qjson-0.7.1/debian/changelog qjson-0.7.1/debian/changelog
--- qjson-0.7.1/debian/changelog
+++ qjson-0.7.1/debian/changelog
@@ -1,3 +1,10 @@
+qjson (0.7.1-1ubuntu1) natty; urgency=low
+
+  * In debian/rules copy the cmake module into /usr/share/cmake-
+    2.8/Modules/ where KDE now expects to find it
+
+ -- Jonathan Riddell <jridd...@ubuntu.com>  Fri, 26 Nov 2010 15:27:08 +0000
+
 qjson (0.7.1-1) unstable; urgency=low
 
   * New upstream release.

Reply via email to