* [Xenomai-core] Debian package xenomai-2.4.3-4 available @ 2008-04-19 19:41 Roland Stigge 2008-04-20 17:04 ` Gilles Chanteperdrix 2008-05-25 15:55 ` Gilles Chanteperdrix 0 siblings, 2 replies; 13+ messages in thread From: Roland Stigge @ 2008-04-19 19:41 UTC (permalink / raw) To: xenomai [Warning: First in a series of several issues applicable to xenomai.org's code.] Hi, at http://packages.qa.debian.org/x/xenomai.html, you can find the latest version of Debian's package "xenomai". The "diff" to xenomai 2.4.3 applies to the normal Xenomai distribution with an empty debian/ directory. Feel free to synchronize the Debian changes back to the mainline Xenomai repository, especially the Debian packaging has been fixed. Thanks, Roland ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-04-19 19:41 [Xenomai-core] Debian package xenomai-2.4.3-4 available Roland Stigge @ 2008-04-20 17:04 ` Gilles Chanteperdrix 2008-05-25 15:55 ` Gilles Chanteperdrix 1 sibling, 0 replies; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-04-20 17:04 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai Roland Stigge wrote: > [Warning: First in a series of several issues applicable to > xenomai.org's code.] > > Hi, > > at http://packages.qa.debian.org/x/xenomai.html, you can find the latest > version of Debian's package "xenomai". The "diff" to xenomai 2.4.3 > applies to the normal Xenomai distribution with an empty debian/ directory. > > Feel free to synchronize the Debian changes back to the mainline Xenomai > repository, especially the Debian packaging has been fixed. Hi Roland, reading your mail, I realize that the patch to remove the few "bashisms" in xenomai scripts was forgotten. So, since nobody complained, I will apply it now, so that you will not have to replace /bin/sh with /bin/bash in the next release. Thanks for your work. -- Gilles. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-04-19 19:41 [Xenomai-core] Debian package xenomai-2.4.3-4 available Roland Stigge 2008-04-20 17:04 ` Gilles Chanteperdrix @ 2008-05-25 15:55 ` Gilles Chanteperdrix 2008-05-25 16:14 ` Roland Stigge 1 sibling, 1 reply; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-05-25 15:55 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai Roland Stigge wrote: > [Warning: First in a series of several issues applicable to > xenomai.org's code.] > > Hi, > > at http://packages.qa.debian.org/x/xenomai.html, you can find the latest > version of Debian's package "xenomai". The "diff" to xenomai 2.4.3 > applies to the normal Xenomai distribution with an empty debian/ directory. > > Feel free to synchronize the Debian changes back to the mainline Xenomai > repository, especially the Debian packaging has been fixed. Hi Roland, I am trying to merge the debian changes back into Xenomai, however, I have two problems: - I can not find back the 2.4.3-4 patch, I only find 2.4.3-7; - I do not want to merge changes that replace /bin/sh with /bin/bash since we fixed the bashism the right way (it is important for people of the embedded world, that Xenomai does not require /bin/bash, since embedded boxes may use other shells); - I do not want to include the manual pages in the debian/ sub-directory since I merged your patch adding manual pages to the proper place. So, could you re-generate a patch using Xenomai v2.4.x branch fixing these two issues ? I promise, this time I will not wait one month before merging the changes. Thanks in advance. -- Gilles. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-25 15:55 ` Gilles Chanteperdrix @ 2008-05-25 16:14 ` Roland Stigge 2008-05-25 16:21 ` Gilles Chanteperdrix 0 siblings, 1 reply; 13+ messages in thread From: Roland Stigge @ 2008-05-25 16:14 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi Gilles, thanks for your response. ;-))) Gilles Chanteperdrix wrote: > I am trying to merge the debian changes back into Xenomai, however, I > have two problems: > - I can not find back the 2.4.3-4 patch, I only find 2.4.3-7; No problem - always just take the latest one, currently 2.4.3-7. > - I do not want to merge changes that replace /bin/sh with /bin/bash > since we fixed the bashism the right way (it is important for people > of the embedded world, that Xenomai does not require /bin/bash, since > embedded boxes may use other shells); > - I do not want to include the manual pages in the debian/ > sub-directory since I merged your patch adding manual pages to the > proper place. Fine. Just do the changes the way you like it Xenomai ("upstream"): Bashism fixes and man pages in the proper upstream place. On next merge from Xenomai (e.g. 2.4.4 to Debian 2.4.4-1), I will synchronize it from xenomai.org. For 2.4.3, the respective change would require maintainer script regeneration due to changes in Makefile.am's, which I would like to prevent. So feel free to do a 2.4.4 (or whatever) release soon. :-) (For integrating the Debian changes in addition to the respective upstream changes, just remove the man pages in debian/, debian/xenomai-runtime.manpages and the /bin/bash patch.) bye, Roland ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-25 16:14 ` Roland Stigge @ 2008-05-25 16:21 ` Gilles Chanteperdrix 2008-05-26 12:04 ` Roland Stigge 0 siblings, 1 reply; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-05-25 16:21 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai Roland Stigge wrote: > Hi Gilles, > > thanks for your response. ;-))) > > Gilles Chanteperdrix wrote: > > I am trying to merge the debian changes back into Xenomai, however, I > > have two problems: > > - I can not find back the 2.4.3-4 patch, I only find 2.4.3-7; > > No problem - always just take the latest one, currently 2.4.3-7. > > > - I do not want to merge changes that replace /bin/sh with /bin/bash > > since we fixed the bashism the right way (it is important for people > > of the embedded world, that Xenomai does not require /bin/bash, since > > embedded boxes may use other shells); > > - I do not want to include the manual pages in the debian/ > > sub-directory since I merged your patch adding manual pages to the > > proper place. > > Fine. Just do the changes the way you like it Xenomai ("upstream"): > Bashism fixes and man pages in the proper upstream place. On next merge > from Xenomai (e.g. 2.4.4 to Debian 2.4.4-1), I will synchronize it from > xenomai.org. For 2.4.3, the respective change would require maintainer > script regeneration due to changes in Makefile.am's, which I would like > to prevent. > > So feel free to do a 2.4.4 (or whatever) release soon. :-) > > (For integrating the Debian changes in addition to the respective > upstream changes, just remove the man pages in debian/, > debian/xenomai-runtime.manpages and the /bin/bash patch.) I would have felt more comfortable if you could have done it (and more importantly test it). Besides, the 2.4.4 release is coming, and I would have liked to release it with all the changes that you made. -- Gilles. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-25 16:21 ` Gilles Chanteperdrix @ 2008-05-26 12:04 ` Roland Stigge 2008-05-26 19:43 ` Gilles Chanteperdrix 0 siblings, 1 reply; 13+ messages in thread From: Roland Stigge @ 2008-05-26 12:04 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai [-- Attachment #1: Type: text/plain, Size: 895 bytes --] Hi, Gilles Chanteperdrix wrote: > > So feel free to do a 2.4.4 (or whatever) release soon. :-) > > > > (For integrating the Debian changes in addition to the respective > > upstream changes, just remove the man pages in debian/, > > debian/xenomai-runtime.manpages and the /bin/bash patch.) > > I would have felt more comfortable if you could have done it (and more > importantly test it). Besides, the 2.4.4 release is coming, and I would > have liked to release it with all the changes that you made. I'm attaching a patch that I would apply to branches/v2.4.x if it would be considered as 2.4.4. Please note that on integrating Xenomai 2.4.4 (or whatever) upstream in Debian, I will strip debian/* from the original tarball to separate the Debian part from "upstream". For the same reason, please consider to remove it from the tarball. (It can stay in SVN, though.) bye, Roland [-- Attachment #2: xenomai.patch --] [-- Type: text/x-diff, Size: 15295 bytes --] diff -ruN xenomai-2.4.x/configure.in debian/xenomai-2.4.4/configure.in --- xenomai-2.4.x/configure.in 2008-05-26 13:23:26.000000000 +0200 +++ debian/xenomai-2.4.4/configure.in 2008-05-26 11:55:24.000000000 +0200 @@ -799,6 +799,17 @@ doc/Makefile \ doc/txt/Makefile \ doc/man/Makefile \ + doc/man/clocktest.man \ + doc/man/cyclictest.man \ + doc/man/irqbench.man \ + doc/man/irqloop.man \ + doc/man/klatency.man \ + doc/man/latency.man \ + doc/man/rtcanconfig.man \ + doc/man/rtcanrecv.man \ + doc/man/rtcansend.man \ + doc/man/switchbench.man \ + doc/man/switchtest.man \ doc/man/runinfo.man \ doc/man/xeno-config.man \ doc/man/xeno-info.man \ diff -ruN xenomai-2.4.x/debian/changelog debian/xenomai-2.4.4/debian/changelog --- xenomai-2.4.x/debian/changelog 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/changelog 2008-05-26 12:32:42.000000000 +0200 @@ -1,3 +1,63 @@ +xenomai (2.4.4-1) unstable; urgency=low + + * New upstream release + + -- Roland Stigge <stigge@domain.hid> Mon, 26 May 2008 11:58:30 +0200 + +xenomai (2.4.3-7) unstable; urgency=low + + * Included patch from Riku Voipio to fix ARM compile issues + (Closes: #477720) + + -- Roland Stigge <stigge@domain.hid> Thu, 24 Apr 2008 23:18:01 +0200 + +xenomai (2.4.3-6) unstable; urgency=low + + * Added lintian override for recursive include directories (necessary + according to upstream) + * Added missing man pages (can be removed when integrated upstream) + * debian/rules: Fixed klatency/run script to be proper shell script + + -- Roland Stigge <stigge@domain.hid> Tue, 22 Apr 2008 12:23:22 +0200 + +xenomai (2.4.3-5) unstable; urgency=low + + * Install xeno-config into libxenomai-dev where the executable is + + -- Roland Stigge <stigge@domain.hid> Sat, 19 Apr 2008 22:15:07 +0200 + +xenomai (2.4.3-4) unstable; urgency=low + + * Move /usr/lib/xenomai to original upstream /usr/share/xenomai + + -- Roland Stigge <stigge@domain.hid> Fri, 18 Apr 2008 19:51:49 +0200 + +xenomai (2.4.3-3) unstable; urgency=low + + * debian/rules: Separated prepare-patch.sh calls for individual + architectures (Closes: #473098) + + -- Roland Stigge <stigge@domain.hid> Thu, 10 Apr 2008 10:01:33 +0200 + +xenomai (2.4.3-2) unstable; urgency=low + + * Enable x86 patches for both i386 and amd64 (Closes: #473098) + + -- Roland Stigge <stigge@domain.hid> Tue, 01 Apr 2008 10:04:51 +0200 + +xenomai (2.4.3-1) unstable; urgency=low + + * New upstream release + * Added debian/watch + + -- Roland Stigge <stigge@domain.hid> Tue, 25 Mar 2008 14:13:50 +0100 + +xenomai (2.4.2-3) unstable; urgency=low + + * Fixed bashisms by using "#!/bin/bash" (Closes: #471871) + + -- Roland Stigge <stigge@domain.hid> Sat, 22 Mar 2008 17:01:11 +0100 + xenomai (2.4.2-2) unstable; urgency=low * debian/copyright: Refined Copyrights diff -ruN xenomai-2.4.x/debian/control debian/xenomai-2.4.4/debian/control --- xenomai-2.4.x/debian/control 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/control 2008-05-26 11:58:29.000000000 +0200 @@ -8,7 +8,7 @@ Package: xenomai-runtime Section: devel -Architecture: amd64 arm i386 ia64 powerpc +Architecture: amd64 arm armeb armel i386 ia64 powerpc Depends: ${shlibs:Depends} Suggests: linux-patch-xenomai, xenomai-doc Replaces: xenomai @@ -47,7 +47,7 @@ Package: libxenomai1 Section: libs -Architecture: amd64 arm i386 ia64 powerpc +Architecture: amd64 arm armeb armel i386 ia64 powerpc Depends: ${shlibs:Depends} Suggests: linux-patch-xenomai, xenomai-doc Replaces: xenomai @@ -64,7 +64,7 @@ Package: libxenomai-dev Section: libdevel -Architecture: amd64 arm i386 ia64 powerpc +Architecture: amd64 arm armeb armel i386 ia64 powerpc Depends: libxenomai1 (= ${binary:Version}) Suggests: linux-patch-xenomai, xenomai-doc Replaces: xenomai diff -ruN xenomai-2.4.x/debian/libxenomai1.lintian debian/xenomai-2.4.4/debian/libxenomai1.lintian --- xenomai-2.4.x/debian/libxenomai1.lintian 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/libxenomai1.lintian 2008-05-26 11:58:29.000000000 +0200 @@ -1 +1,2 @@ +# no contained shared library names refer to "xenomai", therefore own name libxenomai1: package-name-doesnt-match-sonames libnative1 libpsos0 libpthread-rt1 librtai0 librtdk0 librtdm1 libuitron0 libvrtx0 libvxworks1 diff -ruN xenomai-2.4.x/debian/libxenomai-dev.dirs debian/xenomai-2.4.4/debian/libxenomai-dev.dirs --- xenomai-2.4.x/debian/libxenomai-dev.dirs 1970-01-01 01:00:00.000000000 +0100 +++ debian/xenomai-2.4.4/debian/libxenomai-dev.dirs 2008-05-26 11:58:29.000000000 +0200 @@ -0,0 +1 @@ +usr/share/lintian/overrides diff -ruN xenomai-2.4.x/debian/libxenomai-dev.install debian/xenomai-2.4.4/debian/libxenomai-dev.install --- xenomai-2.4.x/debian/libxenomai-dev.install 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/libxenomai-dev.install 2008-05-26 11:58:29.000000000 +0200 @@ -4,6 +4,7 @@ usr/lib/*.a usr/lib/*.so usr/lib/posix.wrappers +usr/share/man/man1/xeno-config.1 ../../examples usr/share/libxenomai-dev ../../ksrc/skins/vxworks/demos usr/share/libxenomai-dev/examples/kernel/skins/vxworks ../../ksrc/skins/native/demos usr/share/libxenomai-dev/examples/kernel/skins/native diff -ruN xenomai-2.4.x/debian/libxenomai-dev.lintian debian/xenomai-2.4.4/debian/libxenomai-dev.lintian --- xenomai-2.4.x/debian/libxenomai-dev.lintian 1970-01-01 01:00:00.000000000 +0100 +++ debian/xenomai-2.4.4/debian/libxenomai-dev.lintian 2008-05-26 11:58:29.000000000 +0200 @@ -0,0 +1,7 @@ +# Upstream author insists that those recursive directories exist for +# compatibility reasons of compiles applications +libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/asm-generic/xenomai . +libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/asm-sim/asm . +libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/asm-sim/xenomai . +libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/asm-x86/xenomai . +libxenomai-dev: symlink-is-self-recursive usr/include/xenomai/xenomai . diff -ruN xenomai-2.4.x/debian/linux-patch-xenomai.kpatches.in debian/xenomai-2.4.4/debian/linux-patch-xenomai.kpatches.in --- xenomai-2.4.x/debian/linux-patch-xenomai.kpatches.in 1970-01-01 01:00:00.000000000 +0100 +++ debian/xenomai-2.4.4/debian/linux-patch-xenomai.kpatches.in 2008-05-26 11:58:29.000000000 +0200 @@ -0,0 +1,3 @@ +Patch-name: Xenomai realtime kernel patches +Patch-id: xenomai +Architecture: all diff -ruN xenomai-2.4.x/debian/linux-patch-xenomai.README.Debian debian/xenomai-2.4.4/debian/linux-patch-xenomai.README.Debian --- xenomai-2.4.x/debian/linux-patch-xenomai.README.Debian 1970-01-01 01:00:00.000000000 +0100 +++ debian/xenomai-2.4.4/debian/linux-patch-xenomai.README.Debian 2008-05-26 11:58:29.000000000 +0200 @@ -0,0 +1,15 @@ +Xenomai kernel patches in Debian +================================ + +With this package, you can patch and build kernels suitable for usage with +Xenomai. This can be done with, e.g.: + +# cd /usr/src/linux-source-2.6.24 +# fakeroot make-kpkg --initrd --added-patches xenomai kernel_image + +This is intended for vanilla and Debian kernel sources. + +NOTE: In the kernel config, PARAVIRT should be turned off for Xenomai kernels + to compile successfully. + + -- Roland Stigge <stigge@domain.hid>, Fri, 11 Apr 2008 09:02:28 +0200 diff -ruN xenomai-2.4.x/debian/prepare-patch.sh debian/xenomai-2.4.4/debian/prepare-patch.sh --- xenomai-2.4.x/debian/prepare-patch.sh 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/prepare-patch.sh 2008-05-26 11:58:29.000000000 +0200 @@ -104,6 +104,9 @@ x86_64) base_arch=x86 ;; + x86) + base_arch=x86 + ;; *) base_arch=$linux_arch ;; @@ -146,11 +149,11 @@ cd $xenomai_root -echo "Patch-name: Xenomai realtime kernel patches" > $xenomai_root/debian/linux-patch-xenomai.kpatches -echo "Patch-id: xenomai" >> $xenomai_root/debian/linux-patch-xenomai.kpatches -echo "Architecture: all" >> $xenomai_root/debian/linux-patch-xenomai.kpatches +#echo "Patch-name: Xenomai realtime kernel patches" > $xenomai_root/debian/linux-patch-xenomai.kpatches +#echo "Patch-id: xenomai" >> $xenomai_root/debian/linux-patch-xenomai.kpatches +#echo "Architecture: all" >> $xenomai_root/debian/linux-patch-xenomai.kpatches -find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*.patch" | +find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch" | while read f ; do file=`basename $f` @@ -173,6 +176,9 @@ x86_64) march=amd64 ;; + x86) + march=i386 + ;; esac # Only one patch per arch/kver - Having a common plus kver/arch patch @@ -183,6 +189,13 @@ echo "Kernel-version: $kver" >> $xenomai_root/debian/linux-patch-xenomai.kpatches echo "Architecture: $march" >> $xenomai_root/debian/linux-patch-xenomai.kpatches + if [ "$arch" = "x86" ] ; then + echo "" >> $xenomai_root/debian/linux-patch-xenomai.kpatches + echo "Patch-file: $file" >> $xenomai_root/debian/linux-patch-xenomai.kpatches + echo "Kernel-version: $kver" >> $xenomai_root/debian/linux-patch-xenomai.kpatches + echo "Architecture: amd64" >> $xenomai_root/debian/linux-patch-xenomai.kpatches + fi + cp $f $xenomai_root/$file cat $xenomai_root/$patch_file >> $xenomai_root/$file diff -ruN xenomai-2.4.x/debian/rules debian/xenomai-2.4.4/debian/rules --- xenomai-2.4.x/debian/rules 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/rules 2008-05-26 12:03:17.000000000 +0200 @@ -6,26 +6,32 @@ #export DH_VERBOSE=1 -DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -ifeq ($(DEB_BUILD_ARCH), i386) +ifeq ($(DEB_HOST_ARCH), i386) # Note: Would like to use --includedir=/usr/include/xenomai, but # there appears to be a `make install` problem. CONFIG_OPTS = \ --enable-x86-tsc endif -ifeq ($(DEB_BUILD_ARCH), amd64) +ifeq ($(DEB_HOST_ARCH), amd64) CONFIG_OPTS = \ --enable-smp \ --enable-x86-tsc \ --enable-x86-sep endif -ifeq ($(DEB_BUILD_ARCH), powerpc) +ifeq ($(DEB_HOST_ARCH), powerpc) CONFIG_OPTS = endif -ifeq ($(DEB_BUILD_ARCH), arm) - CONFIG_OPTS = +ifeq ($(DEB_HOST_ARCH), armeb) + CONFIG_OPTS = --enable-arm-mach=imx --enable-arm-tsc --enable-arm-eabi +endif +ifeq ($(DEB_HOST_ARCH), armel) + CONFIG_OPTS = --enable-arm-mach=imx --enable-arm-tsc --enable-arm-eabi +endif +ifeq ($(DEB_HOST_ARCH), arm) + CONFIG_OPTS = --enable-arm-mach=imx --enable-arm-tsc endif CONFIG_OPTS += --prefix=/usr \ --includedir=/usr/include/xenomai \ @@ -46,9 +52,10 @@ patch-stamp: dh_testdir -# The kernel patches get generated next - Need to revisit again -# when 2.6.24 ipipe patch is released. - bash $(CURDIR)/debian/prepare-patch.sh arm i386 powerpc x86_64 + cp debian/linux-patch-xenomai.kpatches.in debian/linux-patch-xenomai.kpatches + for i in arm i386 powerpc x86_64 x86 ; do \ + bash $(CURDIR)/debian/prepare-patch.sh $$i ; \ + done touch patch-stamp config.status: configure-stamp @@ -78,12 +85,14 @@ dh_install --sourcedir=$(CURDIR)/debian/tmp # xeno-config should be only in libxenomai-dev rm -f $(CURDIR)/debian/xenomai-runtime/usr/bin/xeno-config + rm -f $(CURDIR)/debian/xenomai-runtime/usr/share/man/man1/xeno-config.1 for f in $(CURDIR)/ksrc/nucleus/udev/*.rules ; do \ cat $$f >> $(CURDIR)/debian/libxenomai1/etc/udev/xenomai.rules ; \ done # remove empty directory rm -rf $(CURDIR)/debian/xenomai-doc/usr/share/doc/xenomai-doc/ps cp debian/libxenomai1.lintian $(CURDIR)/debian/libxenomai1/usr/share/lintian/overrides/libxenomai1 + cp debian/libxenomai-dev.lintian $(CURDIR)/debian/libxenomai-dev/usr/share/lintian/overrides/libxenomai-dev dh_installkpatches # Build architecture-independent files here. @@ -112,6 +121,7 @@ binary-arch: build install dh_testdir -s dh_testroot -s + dh_installman -s dh_installdocs -s -A CREDITS README.INSTALL TROUBLESHOOTING dh_installchangelogs -s ChangeLog dh_link -s diff -ruN xenomai-2.4.x/debian/watch debian/xenomai-2.4.4/debian/watch --- xenomai-2.4.x/debian/watch 1970-01-01 01:00:00.000000000 +0100 +++ debian/xenomai-2.4.4/debian/watch 2008-05-26 11:58:29.000000000 +0200 @@ -0,0 +1,2 @@ +version=3 +http://download.gna.org/xenomai/stable/xenomai-(.*)\.tar\.bz2 diff -ruN xenomai-2.4.x/debian/xenomai-doc.install debian/xenomai-2.4.4/debian/xenomai-doc.install --- xenomai-2.4.x/debian/xenomai-doc.install 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/xenomai-doc.install 2008-05-26 11:58:29.000000000 +0200 @@ -1 +1 @@ -usr/share/doc/xenomai-2.4.*/* usr/share/doc/xenomai-doc +usr/share/doc/xenomai/* usr/share/doc/xenomai-doc diff -ruN xenomai-2.4.x/debian/xenomai-runtime.install debian/xenomai-2.4.4/debian/xenomai-runtime.install --- xenomai-2.4.x/debian/xenomai-runtime.install 2008-05-26 10:52:55.000000000 +0200 +++ debian/xenomai-2.4.4/debian/xenomai-runtime.install 2008-05-26 11:58:29.000000000 +0200 @@ -1,4 +1,4 @@ usr/bin usr/sbin usr/share/man -usr/share/xenomai usr/lib +usr/share/xenomai diff -ruN xenomai-2.4.x/doc/man/Makefile.am debian/xenomai-2.4.4/doc/man/Makefile.am --- xenomai-2.4.x/doc/man/Makefile.am 2008-05-26 13:23:26.000000000 +0200 +++ debian/xenomai-2.4.4/doc/man/Makefile.am 2008-05-26 11:41:19.000000000 +0200 @@ -1,7 +1,7 @@ man1_MANS = xeno-config.man xeno-info.man xeno-load.man xeno-test.man \ - clocktest.man.in cyclictest.man.in irqbench.man.in irqloop.man.in \ - klatency.man.in latency.man.in rtcanconfig.man.in \ - rtcanrecv.man.in rtcansend.man.in switchbench.man.in \ - switchtest.man.in + clocktest.man cyclictest.man irqbench.man irqloop.man \ + klatency.man latency.man rtcanconfig.man \ + rtcanrecv.man rtcansend.man switchbench.man \ + switchtest.man man5_MANS = runinfo.man diff -ruN xenomai-2.4.x/scripts/xeno-test.in debian/xenomai-2.4.4/scripts/xeno-test.in --- xenomai-2.4.x/scripts/xeno-test.in 2008-05-26 10:53:08.000000000 +0200 +++ debian/xenomai-2.4.4/scripts/xeno-test.in 2008-05-26 12:14:19.000000000 +0200 @@ -441,18 +441,18 @@ # #2. Much more testing. Heres a weak start. You migth be better off #using and improving test/test-xeno-test.rb. - -#!/bin/bash -PATH=.:$PATH -xeno-test -L -xeno-test -N foo -T 18 -l 6 -s -xeno-test -L -N foo1- -xeno-test -m -xeno-test -T 1 -M $USER@localhost -xeno-test -N foo0 -w0 -l 5 -T 30 -h -xeno-test -L -N foo4- -w4 -xeno-test -L -N foo4W- -w4 -W 'dd if=/dev/hda1 of=/dev/null' - -3. Repeat the same tests under the BusyBox. - -4. Check for border cases like missing awk, curl, mail, script, /proc/config.gz +# +##!/bin/bash +#PATH=.:$PATH +#xeno-test -L +#xeno-test -N foo -T 18 -l 6 -s +#xeno-test -L -N foo1- +#xeno-test -m +#xeno-test -T 1 -M $USER@localhost +#xeno-test -N foo0 -w0 -l 5 -T 30 -h +#xeno-test -L -N foo4- -w4 +#xeno-test -L -N foo4W- -w4 -W 'dd if=/dev/hda1 of=/dev/null' +# +#3. Repeat the same tests under the BusyBox. +# +#4. Check for border cases like missing awk, curl, mail, script, /proc/config.gz ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-26 12:04 ` Roland Stigge @ 2008-05-26 19:43 ` Gilles Chanteperdrix 2008-05-26 21:20 ` Roland Stigge 0 siblings, 1 reply; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-05-26 19:43 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai Roland Stigge wrote: > Hi, > > Gilles Chanteperdrix wrote: > > > So feel free to do a 2.4.4 (or whatever) release soon. :-) > > > > > > (For integrating the Debian changes in addition to the respective > > > upstream changes, just remove the man pages in debian/, > > > debian/xenomai-runtime.manpages and the /bin/bash patch.) > > > > I would have felt more comfortable if you could have done it (and more > > importantly test it). Besides, the 2.4.4 release is coming, and I would > > have liked to release it with all the changes that you made. > > I'm attaching a patch that I would apply to branches/v2.4.x if it would > be considered as 2.4.4. > > Please note that on integrating Xenomai 2.4.4 (or whatever) upstream in > Debian, I will strip debian/* from the original tarball to separate the > Debian part from "upstream". For the same reason, please consider to > remove it from the tarball. (It can stay in SVN, though.) Your patch is merged, thank you very much. I just removed the changelog entry about the 2.4.4 release, since, well, 2.4.4 is not released yet. Shipping the xenomai tarball with the debian directory has a real added value: it allows people to build debian package without anything else, this is an unofficial package, of course, but it can be built before the Debian patch is generated. IMO, it would make your life easier if you considered the debian directory part of the Xenomai package, and start working from this directory. If you ask for it, we can probably even give you write access to the repository, so that the debian packaging effort is fully integrated to Xenomai. -- Gilles. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-26 19:43 ` Gilles Chanteperdrix @ 2008-05-26 21:20 ` Roland Stigge 2008-05-26 22:18 ` Gilles Chanteperdrix 0 siblings, 1 reply; 13+ messages in thread From: Roland Stigge @ 2008-05-26 21:20 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi, Gilles Chanteperdrix wrote: > Shipping the xenomai tarball with the debian directory has a real added > value: it allows people to build debian package without anything else, > this is an unofficial package, of course, but it can be built before the > Debian patch is generated. Well, for people who catch the package within the few hours between Xenomai release and the Debian version of it. ;-) > IMO, it would make your life easier if you considered the debian > directory part of the Xenomai package, and start working from this > directory. If you ask for it, we can probably even give you write > access to the repository, so that the debian packaging effort is fully > integrated to Xenomai. As discussed earlier this year: Every Debian package is a (small) fork of the respective "upstream" release, with own Debian release numbers between upstream releases, e.g. 2.4.4-1 and 2.4.4-2. Maintaining this at xenomai.org would require branches on every (minor) Xenomai release, e.g. 2.4.3 and 2.4.4 (besides me having repository write access), because Debian revisions usually come out more often than "upstream" versions (as you have seen 2.4.3-1 ... 2.4.3-7). Therefore, I prefer maintaining it at Debian like most other packages. We already have "trunk" and the stable release branches at xenomai.org. The above would require an additional level of branching, maintenance and synchronization work. Another solution at Debian is called "native" packages where Debian revisions and upstream versions are synchronized (i.e. no separate Debian revisions). The problem here is that at every point in time, Debian can decide to do a new revision (e.g. within a few hours on security fixes) which may not be in the interest of other xenomai maintainers. E.g. this way, Debian would decide when 2.4.5 and 2.4.6 (or 2.4.4.1 and 2.4.4.2?) will be released. This doesn't scale well with the number of Linux distros. ;) For non-native packages in Debian (as Xenomai is currently), the debian/ directory is separated out into the .diff.gz patch which is good for seeing how e.g. debian/rules looks like. If I would take the current "upstream" tarball and only patch debian/rules in the diff.gz, the resulting contents of the file is no recognizable from the patch alone. Therefore, this is not common practice in Debian. Further, it's not only me who works on Debian packages. Sometimes, when I'm not available, one of the other 1000 Debian developers will do Debian adjustments to the xenomai package in Debian. I guess you don't want to give all of them write access to xenomai.org. ;) So you have the choice between the following possibilities: 1) Leave the process as it is (Debian using the upstream tarball, stripped from debian/*, and adding an own debian/* in a separately shipped patch) 2) Give me (and maybe Debian as a whole) write access to Xenomai.org and the right to branch at every "normal" Xenomai release, doing Debian revisions. Problem here: Additional work for Debian because not only Debian revisions must be done but also synchronization to the v2.4.x (stable) brach and trunk. (I.e. changes are most often in 3 places) 3) Give me (and maybe Debian as a whole) write access to Xenomai.org and the right to do xenomai releases whenever Debian wants (i.e. "native" Debian package) I guess you prefer (1)? ;-) bye, Roland ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-26 21:20 ` Roland Stigge @ 2008-05-26 22:18 ` Gilles Chanteperdrix 2008-05-27 9:00 ` Roland Stigge 0 siblings, 1 reply; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-05-26 22:18 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai Roland Stigge wrote: > Hi, > > Gilles Chanteperdrix wrote: > > Shipping the xenomai tarball with the debian directory has a real added > > value: it allows people to build debian package without anything else, > > this is an unofficial package, of course, but it can be built before the > > Debian patch is generated. > > Well, for people who catch the package within the few hours between > Xenomai release and the Debian version of it. ;-) We like the Xenomai package to be as much "self-contained" as possible, which is why it ships with the generated autotools files, the generated documentation, the drivers and examples directories, and why I would prefer it to ship with a working debian directory. > > > IMO, it would make your life easier if you considered the debian > > directory part of the Xenomai package, and start working from this > > directory. If you ask for it, we can probably even give you write > > access to the repository, so that the debian packaging effort is fully > > integrated to Xenomai. > > As discussed earlier this year: Every Debian package is a (small) fork > of the respective "upstream" release, with own Debian release numbers > between upstream releases, e.g. 2.4.4-1 and 2.4.4-2. Maintaining this at > xenomai.org would require branches on every (minor) Xenomai release, > e.g. 2.4.3 and 2.4.4 (besides me having repository write access), > because Debian revisions usually come out more often than "upstream" > versions (as you have seen 2.4.3-1 ... 2.4.3-7). Therefore, I prefer > maintaining it at Debian like most other packages. We already have > "trunk" and the stable release branches at xenomai.org. The above would > require an additional level of branching, maintenance and > synchronization work. > > Another solution at Debian is called "native" packages where Debian > revisions and upstream versions are synchronized (i.e. no separate > Debian revisions). The problem here is that at every point in time, > Debian can decide to do a new revision (e.g. within a few hours on > security fixes) which may not be in the interest of other xenomai > maintainers. E.g. this way, Debian would decide when 2.4.5 and 2.4.6 (or > 2.4.4.1 and 2.4.4.2?) will be released. This doesn't scale well with the > number of Linux distros. ;) > > For non-native packages in Debian (as Xenomai is currently), the debian/ > directory is separated out into the .diff.gz patch which is good for > seeing how e.g. debian/rules looks like. If I would take the current > "upstream" tarball and only patch debian/rules in the diff.gz, the > resulting contents of the file is no recognizable from the patch alone. > Therefore, this is not common practice in Debian. > > Further, it's not only me who works on Debian packages. Sometimes, when > I'm not available, one of the other 1000 Debian developers will do > Debian adjustments to the xenomai package in Debian. I guess you don't > want to give all of them write access to xenomai.org. ;) > > So you have the choice between the following possibilities: > > 1) Leave the process as it is (Debian using the upstream tarball, > stripped from debian/*, and adding an own debian/* in a separately > shipped patch) > > 2) Give me (and maybe Debian as a whole) write access to Xenomai.org and > the right to branch at every "normal" Xenomai release, doing Debian > revisions. Problem here: Additional work for Debian because not only > Debian revisions must be done but also synchronization to the v2.4.x > (stable) brach and trunk. (I.e. changes are most often in 3 places) > > 3) Give me (and maybe Debian as a whole) write access to Xenomai.org and > the right to do xenomai releases whenever Debian wants (i.e. "native" > Debian package) > > I guess you prefer (1)? ;-) I am sorry to use this argument, because I love Debian as an end-user (actually, I installed my first Debian in 1997 and upgraded it until now, copying my hard disks when changing machines), but as far as I understood, the way Debian maintained a patch to the ssh package is the reason why a bug could remain unnoticed during two years in Debian distributions, including so-called "stable" distributions. So, maybe it is time for a change. The only problem I have with the current scheme is that merging back debian patches in xenomai repository is rendered hard by the fact that the patch is generated against an empty debian directory. So, it looks to me like it would be much simpler for you to simply keep Xenomai own debian directory and generate patches against it. Of course it makes the patch a bit less readable, but I do not see how it violates a Debian policy. But of course, if you insist, this probably can be worked around by writing some merging script. -- Gilles. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-26 22:18 ` Gilles Chanteperdrix @ 2008-05-27 9:00 ` Roland Stigge 2008-05-27 12:37 ` Gilles Chanteperdrix 0 siblings, 1 reply; 13+ messages in thread From: Roland Stigge @ 2008-05-27 9:00 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi, Gilles Chanteperdrix wrote: > the way Debian maintained a patch to the ssh package is the > reason why a bug could remain unnoticed during two years in Debian > distributions, including so-called "stable" distributions. So, maybe it > is time for a change. First, it doesn't matter most how you maintain a patch. Most important is that sufficient code review is done, which unfortunately didn't happen in the libssl case. Second, the actual libssl patch in .diff.gz was the following: ======================================================================= diff -u openssl-0.9.8g/crypto/rand/md_rand.c openssl-0.9.8g/crypto/rand/md_rand.c --- openssl-0.9.8g/crypto/rand/md_rand.c +++ openssl-0.9.8g/crypto/rand/md_rand.c @@ -271,7 +271,10 @@ else MD_Update(&m,&(state[st_idx]),j); +/* + * Don't add uninitialised data. MD_Update(&m,buf,j); +*/ MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c)); MD_Final(&m,local_md); md_c[1]++; ======================================================================= I.e. quite clear in my opinion. It wouldn't be if Debian wouldn't ship .diff.gz separately. (The above patch was actually reported upstream and there was no objection.) Third, the above case is different from our case: While I consider debian/* as Debian specific, the above patch was not Debian specific (it was actually introduced to ease valgrind usage). Therefore, I even consider the libssl patch style (not the semantics! :-) ) above as good; but patching debian/* in Debian's diff.gz as bad. Fourth, you are proposing the same patching technique as above (which you criticize as not appropriate). > But of course, if you insist, this probably can be worked around by > writing some merging script. Yeah, maybe this is the way to go. Easy to implement and minimizes the work for all participants. bye, Roland ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-27 9:00 ` Roland Stigge @ 2008-05-27 12:37 ` Gilles Chanteperdrix 2008-05-27 13:19 ` Roland Stigge 0 siblings, 1 reply; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-05-27 12:37 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai On Tue, May 27, 2008 at 11:00 AM, Roland Stigge <stigge@domain.hid> wrote: > Hi, > > Gilles Chanteperdrix wrote: >> the way Debian maintained a patch to the ssh package is the >> reason why a bug could remain unnoticed during two years in Debian >> distributions, including so-called "stable" distributions. So, maybe it >> is time for a change. > > First, it doesn't matter most how you maintain a patch. Most important > is that sufficient code review is done, which unfortunately didn't > happen in the libssl case. > > Second, the actual libssl patch in .diff.gz was the following: > > ======================================================================= > diff -u openssl-0.9.8g/crypto/rand/md_rand.c > openssl-0.9.8g/crypto/rand/md_rand.c > --- openssl-0.9.8g/crypto/rand/md_rand.c > +++ openssl-0.9.8g/crypto/rand/md_rand.c > @@ -271,7 +271,10 @@ > else > MD_Update(&m,&(state[st_idx]),j); > > +/* > + * Don't add uninitialised data. > MD_Update(&m,buf,j); > +*/ > MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c)); > MD_Final(&m,local_md); > md_c[1]++; > ======================================================================= > > I.e. quite clear in my opinion. It wouldn't be if Debian wouldn't ship > .diff.gz separately. (The above patch was actually reported upstream and > there was no objection.) > > Third, the above case is different from our case: While I consider > debian/* as Debian specific, the above patch was not Debian specific (it > was actually introduced to ease valgrind usage). Therefore, I even > consider the libssl patch style (not the semantics! :-) ) above as good; > but patching debian/* in Debian's diff.gz as bad. > > Fourth, you are proposing the same patching technique as above (which > you criticize as not appropriate). What I criticize is patching without submitting patches upstream, or without consulting upstream package maintainers, or making debian patches hard to apply upstream. For instance I saw there was a bug with generating debian packages for ARM. Instead of reporting this bug upstream, which, as the maintainer of Xenomai ARM port, I could have helped to resolve, you chose to resolve the bug silently, but unfortunately chose a solution which will not work with the imx21 and more generally for machines which do not provide tsc emulation in user-space based on a free-running counter. The proper solution is to add a "generic" architecture to the --enable-arm-mach option of the configure script, which sets the architecture to 4, disables the tsc emulation, and enables the SA1100 quirks. I will try to do this for the 2.4.4 release. > >> But of course, if you insist, this probably can be worked around by >> writing some merging script. > > Yeah, maybe this is the way to go. Easy to implement and minimizes the > work for all participants. Ok. Will do that. -- Gilles ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-27 12:37 ` Gilles Chanteperdrix @ 2008-05-27 13:19 ` Roland Stigge 2008-05-27 13:36 ` Gilles Chanteperdrix 0 siblings, 1 reply; 13+ messages in thread From: Roland Stigge @ 2008-05-27 13:19 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi, Gilles Chanteperdrix wrote: > What I criticize is patching without submitting patches upstream, or > without consulting upstream package maintainers, or making debian > patches hard to apply upstream. I both submitted to Xenomai upstream and provided an easy patch (not even assuming the stripped debian/*), you should be fully satisfied now... ;-) For the libssl case, it was basically the same, as I understand it. (I'm not involved into Debian's openssl packaging, though.) > For instance I saw there was a bug with generating debian packages > for ARM. Instead of reporting this bug upstream, which, as the > maintainer of Xenomai ARM port, I could have helped to resolve, you > chose to resolve the bug silently [...] I just incorporated the patch by Riku Voipio for Debian #477720 which resolved the problem for Debian's ARM porters. (Further, I sent you the patch in a convenient way...) If you have further improvements in 2.4.4, fine. :-) bye, Roland PS: I hope it doesn't look to the others like we are complaining about each other's work. So for the rest of xenomai-core developers: This is just mine and Gilles' way to say "thanks for your work" to each other. ;-))) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xenomai-core] Debian package xenomai-2.4.3-4 available 2008-05-27 13:19 ` Roland Stigge @ 2008-05-27 13:36 ` Gilles Chanteperdrix 0 siblings, 0 replies; 13+ messages in thread From: Gilles Chanteperdrix @ 2008-05-27 13:36 UTC (permalink / raw) To: Roland Stigge; +Cc: xenomai On Tue, May 27, 2008 at 3:19 PM, Roland Stigge <stigge@domain.hid> wrote: > Hi, > > Gilles Chanteperdrix wrote: >> What I criticize is patching without submitting patches upstream, or >> without consulting upstream package maintainers, or making debian >> patches hard to apply upstream. > > I both submitted to Xenomai upstream and provided an easy patch (not > even assuming the stripped debian/*), you should be fully satisfied > now... ;-) > > For the libssl case, it was basically the same, as I understand it. (I'm > not involved into Debian's openssl packaging, though.) > >> For instance I saw there was a bug with generating debian packages >> for ARM. Instead of reporting this bug upstream, which, as the >> maintainer of Xenomai ARM port, I could have helped to resolve, you >> chose to resolve the bug silently [...] > > I just incorporated the patch by Riku Voipio for Debian #477720 which > resolved the problem for Debian's ARM porters. (Further, I sent you the > patch in a convenient way...) > > If you have further improvements in 2.4.4, fine. :-) Ok. I have no excuse, it was even in the changelog if I did not want to read the whole patch. But technically you did not announce the 2.4.3-7 patch on Xenomai mailing list :-) > PS: I hope it doesn't look to the others like we are complaining about > each other's work. So for the rest of xenomai-core developers: This is > just mine and Gilles' way to say "thanks for your work" to each other. ;-))) Yes, I should stress that I consider it as a great advance for the Xenomai project to have a Debian package, and thank you for the packaging hard work. -- Gilles ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-05-27 13:36 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-04-19 19:41 [Xenomai-core] Debian package xenomai-2.4.3-4 available Roland Stigge 2008-04-20 17:04 ` Gilles Chanteperdrix 2008-05-25 15:55 ` Gilles Chanteperdrix 2008-05-25 16:14 ` Roland Stigge 2008-05-25 16:21 ` Gilles Chanteperdrix 2008-05-26 12:04 ` Roland Stigge 2008-05-26 19:43 ` Gilles Chanteperdrix 2008-05-26 21:20 ` Roland Stigge 2008-05-26 22:18 ` Gilles Chanteperdrix 2008-05-27 9:00 ` Roland Stigge 2008-05-27 12:37 ` Gilles Chanteperdrix 2008-05-27 13:19 ` Roland Stigge 2008-05-27 13:36 ` Gilles Chanteperdrix
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.