From dca68e5664b3dc4f7e91b5df4b8656b5e8386b6e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 25 Sep 2012 12:41:59 +0200 Subject: Rename libusbredirparser.pc to libusbredirparser-0.5.pc The usbredir 0.5 release introduced the new API for 64 bit packet ids, but it kept the libusbredirparser.pc name as is, meaning that older versions of qemu will still have their pkg-config check for usbredirparser fulfilled, and build with the usb-redir device. Due to the API change there will be some compiler warnings, but the build will succeed, however the usb-redir device will be broken on 32 bit machines. To solve this, this patch renames the libusbredirparser.pc file to libusbredirparser-0.5.pc, so that it will no longer fulfill the pkg-config check of the qemu-1.2 and older releases, stopping the (silent) breakage. A patch has been send to qemu-devel to adjusts qemu master's configure. Signed-off-by: Hans de Goede --- usbredirparser/Makefile.am | 2 +- usbredirparser/libusbredirparser-0.5.pc.in | 10 ++++++++++ usbredirparser/libusbredirparser.pc.in | 10 ---------- 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 usbredirparser/libusbredirparser-0.5.pc.in delete mode 100644 usbredirparser/libusbredirparser.pc.in (limited to 'usbredirparser') diff --git a/usbredirparser/Makefile.am b/usbredirparser/Makefile.am index 53c1012..e9cd917 100644 --- a/usbredirparser/Makefile.am +++ b/usbredirparser/Makefile.am @@ -11,4 +11,4 @@ libusbredirparser_la_SOURCES += strtok_r.c strtok_r.h endif pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libusbredirparser.pc +pkgconfig_DATA = libusbredirparser-0.5.pc diff --git a/usbredirparser/libusbredirparser-0.5.pc.in b/usbredirparser/libusbredirparser-0.5.pc.in new file mode 100644 index 0000000..4fc7acd --- /dev/null +++ b/usbredirparser/libusbredirparser-0.5.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libusbredirparser-0.5 +Description: usbredirparser library +Version: @VERSION@ +Libs: -L${libdir} -lusbredirparser +Cflags: -I${includedir} diff --git a/usbredirparser/libusbredirparser.pc.in b/usbredirparser/libusbredirparser.pc.in deleted file mode 100644 index 2bb1a62..0000000 --- a/usbredirparser/libusbredirparser.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: libusbredirparser -Description: usbredirparser library -Version: @VERSION@ -Libs: -L${libdir} -lusbredirparser -Cflags: -I${includedir} -- cgit v1.2.3