Dear Debian Xen maintainers,
for your convenience I attach Richard's patch directly. It simply
installs the necessary headers so we're able to enable xen support in
libvirt for the default builds. Please apply.
Cheers,
 -- Guido

P.S.: building a separate libxen*-dev package (like Ubuntu does) looks
like a better long term solution
>From 18915d87a7eebffe3264c43164aba82a345efb15 Mon Sep 17 00:00:00 2001
From: Guido Guenther <[EMAIL PROTECTED]>
Date: Sat, 1 Dec 2007 14:31:41 +0100
Subject: [PATCH] apply patch from Richard Jones to install the necessary headers to build libvirt with xen support (Closes: #402249)


diff --git a/debian/rules.real b/debian/rules.real
index e1c77e1..49c09ac 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -115,9 +115,15 @@ install-utils_$(ARCH): $(STAMPS_DIR)/build-utils_$(ARCH)
 	dh_clean -k
 	@rm -rf $(DIR)
 	$(MAKE) -C $(SOURCE_DIR)/tools install DESTDIR=$(CURDIR)/$(DIR) DISTDIR=$(CURDIR)/$(DIR) $(CONFIG)
+	mkdir -p $(CURDIR)/$(DIR)/usr/include/xen/io $(CURDIR)/$(DIR)/usr/include/xen/hvm $(CURDIR)/$(DIR)/usr/include/xen/arch-x86
+	install -m 644 $(SOURCE_DIR)/xen/include/public/io/*.h $(CURDIR)/$(DIR)/usr/include/xen/io
+	install -m 644 $(SOURCE_DIR)/xen/include/public/hvm/*.h $(CURDIR)/$(DIR)/usr/include/xen/hvm
+	install -m 644 $(SOURCE_DIR)/xen/include/public/arch-x86/*.h $(CURDIR)/$(DIR)/usr/include/xen/arch-x86
+	install -m 644 $(SOURCE_DIR)/xen/include/public/*.h $(CURDIR)/$(DIR)/usr/include/xen/
 	install -D -m644 debian/xen-utils.NEWS $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/NEWS
 	install -D -m644 debian/xen-utils.README.Debian $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/README.Debian
 	dh_install --sourcedir=$(DIR) usr/lib
+	dh_install --sourcedir=$(DIR) usr/include
 	dh_install --sourcedir=$(DIR) usr/share/xen-$(VERSION)$(ABINAME)
 	dh_pycentral
 	dh_strip

Reply via email to