Skip to contentSkip to conversation

New Debian source package format 3.0

Xenomai-core Roland Stigge 3 participants 3 messages May 15, 2010 – May 16, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

for some time now, Debian has the new source package version 3.0 [1] to which I'm currently migrating the Xenomai package.

This has the following consequences:

* I don't need to repackage the upstream tarball anymore, since with the new format, dpkg supports bzip2 besides gz, among others
* There are actually 2 different 3.0 package formats: "native" and "quilt". While the former is appropriate for maintaining "Upstream" and Debian together in one single place, the latter is appropriate for Debian packages that have an upstream development location outside Debian.
* To migrate appropriately, you can do the following changes in the xenomai.org repository:

$ mkdir debian/source
$ echo '3.0 (native)' > debian/source/format
$ dch 'Switch to dpkg-source 3.0 (native) format'

while I will do accordingly at Debian with "native" replaced by
"quilt". (Maintaining it as "native" in both locations would only be reasonable if Debian would have official Xenomai release privileges which is neither the case nor necessary. - E.g. maintenance of "old" Xenomai versions in Debian stable while xenomai already has newer versions available.)
* You can remove the "-x" Debian revision from the native Debian package and the watch file at xenomai.org.
* Debian now ships a ".debian.tar.gz" file instead of ".diff.gz" for the "quilt" version.
* Take care of "native" instead of "quilt" when synchronizing with the "downstream" Debian package

Thanks for considering.

bye,
Roland

[1] http://wiki.debian.org/Projects/DebSrc3.0

#1 lore raw
Quoted 8 lines · Roland Stigge

Hi,

* To migrate appropriately, you can do the following changes in the xenomai.org repository:

$ mkdir debian/source
$ echo '3.0 (native)' > debian/source/format
$ dch 'Switch to dpkg-source 3.0 (native) format'

It is OK with me, but I probably do not have the proper tools installed. Could someone do it and send me the patches? Stefan maybe?

TIA.

Signature · 1 line
					    Gilles.
#2 lore raw
Quoted 6 lines · Gilles Chanteperdrix
Quoted 5 lines · Roland Stigge

Hi,

* To migrate appropriately, you can do the following changes in the xenomai.org repository:

Quoted 9 lines
Quoted 3 lines
$ mkdir debian/source
$ echo '3.0 (native)' > debian/source/format
$ dch 'Switch to dpkg-source 3.0 (native) format'

It is OK with me, but I probably do not have the proper tools installed. Could someone do it and send me the patches? Stefan maybe?

TIA.

patch attached, stefan

Quoted 1 line

From fa86da573916f59869e6f2e552525d9f9c4135de Mon Sep 17 00:00:00 2001

From: Stefan Kisdaroczi <[email protected]>
Date: Sun, 16 May 2010 21:48:34 +0200
Subject: [PATCH] debian: switch to dpkg-source 3.0 (native) format

---
 debian/changelog     |    6 ++++++
 debian/source/format |    1 +
 debian/watch         |    2 --
 3 files changed, 7 insertions(+), 2 deletions(-)
 create mode 100644 debian/source/format
 delete mode 100644 debian/watch
debian/changelog +6 -0
index 9f001a9..c69851e 100644
@@ -1,3 +1,9 @@
+xenomai (2.5.3) unstable; urgency=low
+
+  * Switch to dpkg-source 3.0 (native) format
+
+ -- Stefan Kisdaroczi <[email protected]>  Sun, 16 May 2010 21:46:58 +0200
+
 xenomai (2.5.2-2) unstable; urgency=low
 
   * Added patch from Stefan Kisdaroczi <[email protected]>:
debian/source/format new file +1 -0
new file mode 100644
index 0000000..89ae9db
@@ -0,0 +1 @@
+3.0 (native)
debian/watch deleted +0 -2
deleted file mode 100644
index caf6853..0000000
@@ -1,2 +0,0 @@
-version=3
-http://download.gna.org/xenomai/stable/xenomai-(.*)\.tar\.bz2
Signature · 1 line
1.5.6.5