On Sat, Dec 09, 2006 at 01:02:16PM +1100, Anibal Monsalve Salazar wrote:
>Package: xen-3.0
>Severity: important

Please feel to downgrade the severity of this bug. However, it's
very important for libvirt.

>Version: 3.0.3-0-2
>Tags: sid
>
>Hello,
>
>I need libxen3.0 and libxen3.0-dev to package libvirt (please see:
>#384300).

I've been trying to create a patch that works without much success.
Please someone tell me what's wrong with the attached patch.

Best Regards,

Aníbal Monsalve Salazar
-- 
http://v7w.com/anibal
diff -urNp xen-3.0-3.0.3-0/debian/changelog xen-3.0-3.0.3-0/debian/changelog
--- xen-3.0-3.0.3-0/debian/changelog    2006-12-07 08:27:31.000000000 +1100
+++ xen-3.0-3.0.3-0/debian/changelog    2006-12-09 14:10:10.000000000 +1100
@@ -1,3 +1,10 @@
+xen-3.0 (3.0.3-0-3) unstable; urgency=low
+
+  [Anibal Monsalve Salazar]
+  * Added libxen3.0 and libxen3.0-dev binary packages.
+
+ -- Anibal Monsalve Salazar <[EMAIL PROTECTED]>  Thu, 07 Dec 2006 14:22:34 
+1100
+
 xen-3.0 (3.0.3-0-2) unstable; urgency=medium
 
   [Bastian Blank]
diff -urNp xen-3.0-3.0.3-0/debian/control xen-3.0-3.0.3-0/debian/control
--- xen-3.0-3.0.3-0/debian/control      2006-12-07 08:27:31.000000000 +1100
+++ xen-3.0-3.0.3-0/debian/control      2006-12-07 13:38:03.000000000 +1100
@@ -90,3 +90,19 @@ Description: The Xen Hypervisor on i386 
  kernel specifically crafted to work as the Domain 0, mediating hardware
  access for XEN itself.
 
+Package: libxen3.0-dev
+Architecture: amd64 i386
+Replaces: xen-utils-3.0 (<= 3.0.3-0-2)
+Depends: libxen3.0 (= ${Source-Version})
+Suggests: xen-docs-3.0
+Description: headers for Xen, a Virtual Machine Monitor
+ This package provides headers for interfacing with the Xen hypervisor and
+ related libraries
+
+Package: libxen3.0
+Architecture: amd64 i386
+Replaces: xen-utils-3.0 (<= 3.0.3-0-2)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: xen-docs-3.0
+Description: library interface for Xen, a Virtual Machine Monitor
+ library interface for Xen, a Virtual Machine Monitor
diff -urNp xen-3.0-3.0.3-0/debian/libxen3.0-dev.install 
xen-3.0-3.0.3-0/debian/libxen3.0-dev.install
--- xen-3.0-3.0.3-0/debian/libxen3.0-dev.install        1970-01-01 
10:00:00.000000000 +1000
+++ xen-3.0-3.0.3-0/debian/libxen3.0-dev.install        2006-12-07 
13:38:38.000000000 +1100
@@ -0,0 +1,3 @@
+usr/include/xen/*
+usr/include/*
+usr/lib/lib*.so
diff -urNp xen-3.0-3.0.3-0/debian/libxen3.0.install 
xen-3.0-3.0.3-0/debian/libxen3.0.install
--- xen-3.0-3.0.3-0/debian/libxen3.0.install    1970-01-01 10:00:00.000000000 
+1000
+++ xen-3.0-3.0.3-0/debian/libxen3.0.install    2006-12-07 13:39:15.000000000 
+1100
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff -urNp xen-3.0-3.0.3-0/debian/patches/00list 
xen-3.0-3.0.3-0/debian/patches/00list
--- xen-3.0-3.0.3-0/debian/patches/00list       2006-12-07 08:27:31.000000000 
+1100
+++ xen-3.0-3.0.3-0/debian/patches/00list       2006-12-07 14:54:34.000000000 
+1100
@@ -3,7 +3,6 @@ prefix-ioemu
 prefix-python
 version
 qemu-config
-libs
 qemu-arch
 blktap-disable
 path-relative
diff -urNp xen-3.0-3.0.3-0/debian/patches/libs.dpatch 
xen-3.0-3.0.3-0/debian/patches/libs.dpatch
--- xen-3.0-3.0.3-0/debian/patches/libs.dpatch  2006-12-07 08:27:31.000000000 
+1100
+++ xen-3.0-3.0.3-0/debian/patches/libs.dpatch  1970-01-01 10:00:00.000000000 
+1000
@@ -1,124 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## libs.dpatch by Bastian Blank <[EMAIL PROTECTED]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
[EMAIL PROTECTED]@
-diff -urNad xen-unstable~/tools/libxc/Makefile 
xen-unstable/tools/libxc/Makefile
---- xen-unstable~/tools/libxc/Makefile 2006-08-22 09:56:46.000000000 +0000
-+++ xen-unstable/tools/libxc/Makefile  2006-08-22 10:24:54.509973069 +0000
-@@ -4,9 +4,6 @@
- INSTALL_DATA  = $(INSTALL) -m0644
- INSTALL_DIR   = $(INSTALL) -d -m0755
- 
--MAJOR    = 3.0
--MINOR    = 0
--
- XEN_ROOT = ../..
- include $(XEN_ROOT)/tools/Rules.mk
- 
-@@ -55,11 +52,9 @@
- GUEST_LIB_OBJS := $(patsubst %.c,%.o,$(GUEST_SRCS-y))
- GUEST_PIC_OBJS := $(patsubst %.c,%.opic,$(GUEST_SRCS-y))
- 
--LIB := libxenctrl.a
--LIB += libxenctrl.so libxenctrl.so.$(MAJOR) libxenctrl.so.$(MAJOR).$(MINOR)
-+LIB += libxenctrl.so
- 
--LIB += libxenguest.a
--LIB += libxenguest.so libxenguest.so.$(MAJOR) libxenguest.so.$(MAJOR).$(MINOR)
-+LIB += libxenguest.so
- 
- .PHONY: all
- all: build
-@@ -81,16 +76,10 @@
- install: build
-       [ -d $(DESTDIR)/usr/$(LIBDIR) ] || $(INSTALL_DIR) 
$(DESTDIR)/usr/$(LIBDIR)
-       [ -d $(DESTDIR)/usr/include ] || $(INSTALL_DIR) $(DESTDIR)/usr/include
--      $(INSTALL_PROG) libxenctrl.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)
--      $(INSTALL_DATA) libxenctrl.a $(DESTDIR)/usr/$(LIBDIR)
--      ln -sf libxenctrl.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)/libxenctrl.so.$(MAJOR)
--      ln -sf libxenctrl.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenctrl.so
-+      $(INSTALL_DATA) libxenctrl.so $(DESTDIR)/usr/$(LIBDIR)
-       $(INSTALL_DATA) xenctrl.h $(DESTDIR)/usr/include
- 
--      $(INSTALL_PROG) libxenguest.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)
--      $(INSTALL_DATA) libxenguest.a $(DESTDIR)/usr/$(LIBDIR)
--      ln -sf libxenguest.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)/libxenguest.so.$(MAJOR)
--      ln -sf libxenguest.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenguest.so
-+      $(INSTALL_DATA) libxenguest.so $(DESTDIR)/usr/$(LIBDIR)
-       $(INSTALL_DATA) xenguest.h $(DESTDIR)/usr/include
- 
- .PHONY: TAGS
-@@ -118,26 +107,16 @@
- libxenctrl.a: $(CTRL_LIB_OBJS)
-       $(AR) rc $@ $^
- 
--libxenctrl.so: libxenctrl.so.$(MAJOR)
--      ln -sf $< $@
--libxenctrl.so.$(MAJOR): libxenctrl.so.$(MAJOR).$(MINOR)
--      ln -sf $< $@
--
--libxenctrl.so.$(MAJOR).$(MINOR): $(CTRL_PIC_OBJS)
--      $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname -Wl,libxenctrl.so.$(MAJOR) 
-shared -o $@ $^
-+libxenctrl.so: $(CTRL_PIC_OBJS)
-+      $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^
- 
- # libxenguest
- 
- libxenguest.a: $(GUEST_LIB_OBJS)
-       $(AR) rc $@ $^
- 
--libxenguest.so: libxenguest.so.$(MAJOR)
--      ln -sf $< $@
--libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
--      ln -sf $< $@
--
--libxenguest.so.$(MAJOR).$(MINOR): $(GUEST_PIC_OBJS) libxenctrl.so
--      $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname -Wl,libxenguest.so.$(MAJOR) 
-shared -o $@ $^ -lz -lxenctrl
-+libxenguest.so: $(GUEST_PIC_OBJS) libxenctrl.so
-+      $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lz -lxenctrl
- 
- -include $(DEPS)
- 
-diff -urNad xen-unstable~/tools/xenstore/Makefile 
xen-unstable/tools/xenstore/Makefile
---- xen-unstable~/tools/xenstore/Makefile      2006-08-22 10:23:24.313310008 
+0000
-+++ xen-unstable/tools/xenstore/Makefile       2006-08-22 10:24:42.839218147 
+0000
-@@ -2,9 +2,6 @@
- include $(XEN_ROOT)/tools/Rules.mk
- XEN_LIBXC          = $(XEN_ROOT)/tools/libxc
- 
--MAJOR = 3.0
--MINOR = 0
--
- INSTALL         = install
- INSTALL_DATA  = $(INSTALL) -m0644
- INSTALL_PROG    = $(INSTALL) -m0755
-@@ -89,13 +86,8 @@
- talloc_test.o: talloc.c
-       $(COMPILE.c) -o $@ $<
- 
--libxenstore.so: libxenstore.so.$(MAJOR)
--      ln -sf $< $@
--libxenstore.so.$(MAJOR): libxenstore.so.$(MAJOR).$(MINOR)
--      ln -sf $< $@
--
--libxenstore.so.$(MAJOR).$(MINOR): xs.opic xs_lib.opic
--      $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname -Wl,libxenstore.so.$(MAJOR) 
-shared -o $@ $^ -lpthread
-+libxenstore.so: xs.opic xs_lib.opic
-+      $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lpthread
- 
- libxenstore.a: xs.o xs_lib.o
-       $(AR) rcs libxenstore.a $^
-@@ -182,9 +174,7 @@
-       $(INSTALL_PROG) xenstore-control $(DESTDIR)/usr/$(BINDIR)
-       $(INSTALL_PROG) xenstore-ls $(DESTDIR)/usr/$(BINDIR)
-       $(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
--      $(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)
--      ln -sf libxenstore.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)/libxenstore.so.$(MAJOR)
--      ln -sf libxenstore.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenstore.so
-+      $(INSTALL_DATA) libxenstore.so $(DESTDIR)/usr/$(LIBDIR)
-       $(INSTALL_DATA) libxenstore.a $(DESTDIR)/usr/$(LIBDIR)
-       $(INSTALL_DATA) xs.h $(DESTDIR)/usr/include
-       $(INSTALL_DATA) xs_lib.h $(DESTDIR)/usr/include
diff -urNp xen-3.0-3.0.3-0/debian/rules.real xen-3.0-3.0.3-0/debian/rules.real
--- xen-3.0-3.0.3-0/debian/rules.real   2006-12-07 08:27:31.000000000 +1100
+++ xen-3.0-3.0.3-0/debian/rules.real   2006-12-08 17:25:40.000000000 +1100
@@ -120,6 +120,8 @@ install-utils_$(ARCH): $(STAMPS_DIR)/bui
          usr/lib/xen-$(VERSION)$(ABINAME)/boot \
          usr/lib/xen-$(VERSION)$(ABINAME)
        DH_OPTIONS= dh_install -p$(PACKAGE_NAME_IOEMU) --sourcedir=debian/tmp 
usr/share/xen-$(VERSION)$(ABINAME) usr/share
+       DH_OPTIONS= dh_install -plibxen3.0-dev --sourcedir=debian/tmp 
usr/include/xen/* usr/include/* usr/lib/lib*.so
+       DH_OPTIONS= dh_install -plibxen3.0 --sourcedir=debian/tmp 
usr/lib/lib*.so.*
        dh_pycentral
        dh_python
        dh_strip

Attachment: signature.asc
Description: Digital signature

Reply via email to