Il 09/10/2015 10:19, Michael Tokarev ha scritto:
08.10.2015 16:45, Liang Guo wrote:
On Thu, Oct 8, 2015 at 9:34 PM, Fabio Fantoni <fabio.fant...@m2r.biz> wrote:
Control: tag -1 + patch

I did a fast package for 0.12.6 including a fix for build from source and
lz4 support (see the patch in attachment).
This should make easier and faster update spice having major of thing
already done and tested.

thanks to work on spice, to update spice to 0.12.6, spice-protocol
need be updated,
and libcacard need be updated too. I need more time to work on this.
I've updated both spice-protocol and spice to recent versions, closing
almost all bugs in the process.  The work by Fabio helped a lot, thank
you very much!  But I did it in a bit more accurate way, using this work
as a reference.

I saw you missed lz4 support, can you add also it please? See newer patch in attachment.


Fabio, why did you re-introduce dh-autoreconf when we don't patch configure
system?  When adding dependencies, please document the reason for that
in d/changelog.

I added months ago in my custom packages, is needed to solve problem with build from source, backports and probably also for debian tests for reproducibility.


Liang, would you like me to take over the package(s), at least some of
them, as I did almost all recent uploads (except the NMUs)? I'm talking
about spice and spice-protocol especially, since I've no expirience
whatsoever with other stuff (don't even know which other spice-related
packages exists).

Also, which libcacard update are you talking about?  It is a new library,
currently provided by qemu package, but in upstream qemu we finally
separated the two and it is now a separate project hosted in the same
place as spice.  Its packaging is almost ready on my machine, I just
need to complete d/copyright file.  Both versions of libcacard will
work with current spice (which only uses headers from libcacard, btw).

Thanks,

/mjt

>From 9931ddb867f2d3aca0871acee803bf7f95d2e1fb Mon Sep 17 00:00:00 2001
From: Fabio Fantoni <fantonifa...@tiscali.it>
Date: Fri, 9 Oct 2015 10:26:12 +0200
Subject: [PATCH] add lz4 support

---
 debian/changelog | 6 ++++++
 debian/control   | 6 ++++--
 debian/rules     | 4 ++--
 3 files changed, 12 insertions(+), 4 deletions(-)
 mode change 100755 => 100644 debian/rules

diff --git a/debian/changelog b/debian/changelog
index 3631f05..2c6379b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+spice (0.12.6-3~) UNRELEASED; urgency=medium
+
+  * Add lz4 support.
+
+ -- Fabio Fantoni <fantonifa...@tiscali.it>  Fri, 09 Oct 2015 10:24:01 +0200
+
 spice (0.12.6-2) unstable; urgency=medium
 
   * stop linking with libcacard as no symbols from it are
diff --git a/debian/control b/debian/control
index 48d2a63..ba057f1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Liang Guo <guoli...@debian.org>
 Uploaders: Michael Tokarev <m...@tls.msk.ru>
 Build-Depends: debhelper (>= 9), pkg-config,
  dh-autoreconf,
- python, python-six,
+ python,
  libspice-protocol-dev (>= 0.12.10~),
  libopus-dev (>= 0.9.14),
  libpixman-1-dev (>= 0.17.7~),
@@ -14,9 +14,11 @@ Build-Depends: debhelper (>= 9), pkg-config,
  libsasl2-dev,
  libjpeg-dev,
  python-pyparsing,
+ python-six,
  libglib2.0-dev (>= 2.22~),
  libcacard-dev,
-Standards-Version: 3.9.4
+ liblz4-dev,
+Standards-Version: 3.9.6
 Homepage: http://spice-space.org/
 Vcs-Git: git://anonscm.debian.org/collab-maint/spice.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/spice.git
diff --git a/debian/rules b/debian/rules
old mode 100755
new mode 100644
index fc9df20..3ce782b
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,8 @@
 	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure --  --disable-celt051 --disable-silent-rules \
-		--enable-smartcard
+	dh_auto_configure -- --disable-celt051 --disable-silent-rules \
+		--enable-smartcard --enable-lz4
 
 override_dh_strip:
 	dh_strip -plibspice-server1 --dbg-package=libspice-server1-dbg
-- 
1.9.1

Reply via email to