Package: src:qemu
Version: 1.7.0+dfsg-5
Severity: wishlist
Tags: patch

Please apply the attached patch adding support for the Tanglu GNU/Linux [1] 
distribution.

1: http://tanglu.org/

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (225, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 3317b9ac8f3b494aa0c1843936d121ac82149c30 Mon Sep 17 00:00:00 2001
From: Jon Severinsson <j...@severinsson.net>
Date: Fri, 28 Mar 2014 16:00:00 +0100
Subject: [PATCH] Add Tanglu support

---
 debian/changelog  |    6 ++++++
 debian/control-in |   10 ++++++++++
 debian/rules      |   10 +++++++++-
 3 filer ändrade, 25 tillägg(+), 1 borttagning(-)

diff --git a/debian/changelog b/debian/changelog
index cbc3d605..31d66303 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+qemu (1.7.0+dfsg-6) UNRELEASED; urgency=medium
+
+  * Add Tanglu support
+
+ -- Jon Severinsson <j...@severinsson.net>  Fri, 28 Mar 2014 16:00:00 +0100
+
 qemu (1.7.0+dfsg-5) unstable; urgency=medium
 
   * remove OVMF.fd symlink added in -4, it belongs to ovmf (Closes: #741494)
diff --git a/debian/control-in b/debian/control-in
index 0ab7d7b5..51bb272b 100644
--- a/debian/control-in
+++ b/debian/control-in
@@ -4,6 +4,8 @@ Priority: optional
 :debian:Maintainer: Debian QEMU Team <pkg-qemu-de...@lists.alioth.debian.org>
 :ubuntu:Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
 :ubuntu:XSBC-Original-Maintainer: Debian QEMU Team <pkg-qemu-de...@lists.alioth.debian.org>
+:tanglu:Maintainer: Tanglu Developers <tanglu-devel-disc...@lists.tanglu.org>
+:tanglu:XSBC-Original-Maintainer: Debian QEMU Team <pkg-qemu-de...@lists.alioth.debian.org>
 Uploaders: Aurelien Jarno <aure...@debian.org>,
 	Riku Voipio <riku.voi...@iki.fi>,
 	Vagrant Cascadian <vagr...@debian.org>,
@@ -46,6 +48,8 @@ Build-Depends: debhelper (>= 9),
 # libgtk2.0-dev, libvte-dev (>> 0.18.0~),
 :debian:# --enable-libiscsi
 :debian: libiscsi-dev,
+:tanglu:# --enable-libiscsi
+:tanglu: libiscsi-dev,
 # --enable-curses
  libncurses5-dev,
 # --with-system-pixman
@@ -69,8 +73,12 @@ Build-Depends: debhelper (>= 9),
  libusbredirparser-dev (>= 0.6~) [linux-any],
 :debian:# --enable-libssh2
 :debian: libssh2-1-dev,
+:tanglu:# --enable-libssh2
+:tanglu: libssh2-1-dev,
 :debian:# --enable-vde
 :debian: libvdeplug-dev,
+:tanglu:# --enable-vde
+:tanglu: libvdeplug-dev,
 # needed for sdl
  libx11-dev,
 # --enable-xen	linux-amd64|linux-i386
@@ -86,6 +94,7 @@ Build-Depends: debhelper (>= 9),
 # other optional features we enable
 # --enable-vnc
 :debian:# --enable-vnc-jpeg
+:tanglu:# --enable-vnc-jpeg
 # --enable-vnc-png
 # --enable-kvm		linux-*
 # --enable-vhost-net	linux-*	# is it really linux-specific?
@@ -439,6 +448,7 @@ Description: Guest-side qemu-system agent
 Package: qemu-kvm
 :debian:Architecture: i386 amd64
 :ubuntu:Architecture: i386 amd64 armhf armel powerpc sparc
+:tanglu:Architecture: i386 amd64 armhf armel powerpc sparc
 Multi-Arch: foreign
 Depends: ${misc:Depends}, qemu-system-x86 (>= 1.7.0+dfsg-2~)
 Provides: kvm,
diff --git a/debian/rules b/debian/rules
index ef228857..12a4fb6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,14 @@
 #!/usr/bin/make -f
 
-VENDOR := debian
+ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
+  VENDOR := ubuntu
+else ifeq (yes,$(shell dpkg-vendor --derives-from Tanglu && echo yes))
+  VENDOR := tanglu
+else
+  VENDOR := debian
+endif
+
+DEB_BUILD_PARALLEL = yes
 
 # support parallel build using DEB_BUILD_OPTIONS=parallel=N
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-- 
1.7.10.4

Reply via email to