summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-03-19 12:45:11 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-03-19 12:45:11 +0200
commit6edecafaa7e81a625bc799d1513790af456ea302 (patch)
treee273cb87c34e29e4be81aed754fcf7abb2ddf818
parentcedefad1cbd0857fd1247dfb65a38f1bd0323304 (diff)
downloadlibresourceqt-6edecafaa7e81a625bc799d1513790af456ea302.tar.gz
Added .pc files
-rw-r--r--debian/changelog7
-rw-r--r--debian/libdbus-qeventloop-dev.install1
-rw-r--r--debian/libresourceqt-dev.install1
-rw-r--r--libdbus-qeventloop/libdbus-qeventloop.pro5
-rw-r--r--libdbus-qeventloop/libdbus-qeventloop1.pc11
-rw-r--r--libresourceqt/libresourceqt.pro4
-rw-r--r--libresourceqt/libresourceqt1.pc11
-rw-r--r--resourceqt-client/resourceqt-client.cpp2
8 files changed, 39 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 74b7496..cd504e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libresourceqt (1.2) unstable; urgency=low
+
+ * Added .pc files
+ * libdbus-qeventloop header is now in /usr/include
+
+ -- Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> Fri, 19 Mar 2010 12:28:19 +0200
+
libresourceqt (1.1) unstable; urgency=low
* Bugfix release
diff --git a/debian/libdbus-qeventloop-dev.install b/debian/libdbus-qeventloop-dev.install
index 638f8ea..84b3b2b 100644
--- a/debian/libdbus-qeventloop-dev.install
+++ b/debian/libdbus-qeventloop-dev.install
@@ -1,2 +1,3 @@
usr/include/dbus*
usr/lib/libdbus-qeventloop*.so
+usr/lib/pkgconfig/libdbus-qeventloop1.pc
diff --git a/debian/libresourceqt-dev.install b/debian/libresourceqt-dev.install
index 916b938..03a3003 100644
--- a/debian/libresourceqt-dev.install
+++ b/debian/libresourceqt-dev.install
@@ -1,2 +1,3 @@
usr/include/resource/qt4/policy
usr/lib/libresourceqt*.so
+usr/lib/pkgconfig/libresourceqt1.pc
diff --git a/libdbus-qeventloop/libdbus-qeventloop.pro b/libdbus-qeventloop/libdbus-qeventloop.pro
index d70c261..5b0ef18 100644
--- a/libdbus-qeventloop/libdbus-qeventloop.pro
+++ b/libdbus-qeventloop/libdbus-qeventloop.pro
@@ -20,4 +20,7 @@ headers.files = $$HEADERS
INSTALLBASE = /usr
target.path = $$INSTALLBASE/lib
headers.path = $$INSTALLBASE/include
-INSTALLS = target headers
+pc.files = libdbus-qeventloop1.pc
+pc.path = $${INSTALLBASE}/lib/pkgconfig
+INSTALLS = target headers pc
+
diff --git a/libdbus-qeventloop/libdbus-qeventloop1.pc b/libdbus-qeventloop/libdbus-qeventloop1.pc
new file mode 100644
index 0000000..b7a7399
--- /dev/null
+++ b/libdbus-qeventloop/libdbus-qeventloop1.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: libdbus-qeventloop1
+Description: D-Bus - QEventloop binding
+Version: 1.2
+Libs: -L${libdir} -ldbus-qeventloop
+Cflags: -I${includedir}
+Requires: dbus-1
diff --git a/libresourceqt/libresourceqt.pro b/libresourceqt/libresourceqt.pro
index 428208d..f2d642c 100644
--- a/libresourceqt/libresourceqt.pro
+++ b/libresourceqt/libresourceqt.pro
@@ -34,6 +34,8 @@ headers.files = $${PUBLIC_HEADERS}
INSTALLBASE = /usr
target.path = $${INSTALLBASE}/lib
headers.path = $${INSTALLBASE}/include/resource/qt4/policy
+pc.files = libresourceqt1.pc
+pc.path = $${INSTALLBASE}/lib/pkgconfig
-INSTALLS = target headers
+INSTALLS = target headers pc
diff --git a/libresourceqt/libresourceqt1.pc b/libresourceqt/libresourceqt1.pc
new file mode 100644
index 0000000..9ebe09a
--- /dev/null
+++ b/libresourceqt/libresourceqt1.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include/resource/qt4
+
+Name: libresourceqt1
+Description: Maemo resource management Qt API
+Version: 1.2
+Libs: -L${libdir} -lresourceqt
+Cflags: -I${includedir}
+Requires: dbus-1 libdbus-qeventloop1
diff --git a/resourceqt-client/resourceqt-client.cpp b/resourceqt-client/resourceqt-client.cpp
index 49fa323..02bfbc3 100644
--- a/resourceqt-client/resourceqt-client.cpp
+++ b/resourceqt-client/resourceqt-client.cpp
@@ -144,7 +144,7 @@ private:
}
void usage(int theExitCode) {
- printf("usage: %s [-h] [-t] [-v] [-m mode-values]"
+ printf("usage: %s [-h] [-m mode-values]"
"[-o optional-resources] [-s shared-resources -m shared-mask] "
"class all-resources\n",
exeName);