[PATCH] .pc file for the qt bindings

Tako Schotanus quintesse at palacio-cristal.com
Mon May 24 14:20:43 PDT 2004


Noticed while trying to use the qt bindings that no .pc file generated
for the library so I decided to add it.

Please be gentle, because:
a) this is the first dbus patch I send so I have no idea if I'm doing
this right
b) I'm fairly new to Linux/GLib/QT development and I hardly have any
idea what I'm doing

Cheers,
  -Tako


-------------- next part --------------
Index: Makefile.am
===================================================================
RCS file: /cvs/dbus/dbus/Makefile.am,v
retrieving revision 1.20
diff -u -2 -r1.20 Makefile.am
--- a/Makefile.am	15 May 2004 19:31:12 -0000	1.20
+++ b/Makefile.am	24 May 2004 21:01:45 -0000
@@ -7,4 +7,5 @@
 if HAVE_QT
    QT_SUBDIR=qt
+   QT_PC=dbus-qt-1.pc
 endif
 
@@ -32,9 +33,10 @@
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = dbus-1.pc $(GLIB_PC) $(MONO_PC)
+pkgconfig_DATA = dbus-1.pc $(GLIB_PC) $(QT_PC) $(MONO_PC)
 
 DISTCLEANFILES = 		\
 	dbus-1.pc		\
 	$(GLIB_PC)		\
+	$(QT_PC)		\
 	$(MONO_PC)
 
@@ -43,4 +45,5 @@
 	dbus-1.pc.in		\
 	dbus-glib-1.pc.in	\
+	dbus-qt-1.pc.in	\
 	dbus-sharp.pc.in
 
@@ -86,2 +89,4 @@
 
 endif
+
+ACLOCAL_AMFLAGS = -I m4
Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.85
diff -u -2 -r1.85 configure.in
--- a/configure.in	21 May 2004 09:05:20 -0000	1.85
+++ b/configure.in	24 May 2004 21:01:46 -0000
@@ -1100,4 +1100,5 @@
 dbus-1.pc
 dbus-glib-1.pc
+dbus-qt-1.pc
 dbus-sharp.pc
 test/data/valid-config-files/debug-allow-all.conf

-------------- next part --------------
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: dbus-qt
Description: QT integration for the free desktop message bus
Version: @VERSION@
Requires: dbus-1 qt-mt
Libs: -L${libdir} -ldbus-qt-1





More information about the dbus mailing list