All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Script marking
@ 2008-02-28 20:43 Roland Stigge
  2008-02-29  9:27 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Roland Stigge @ 2008-02-28 20:43 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

Hi,

at Debian, I noticed that the "run" scripts are not marked as such and
therefore produce "lintian errors". Consider the attached patch that I
propose.

Besides, the documentation seems to be installed under
/usr/share/doc/xenomai-2.4.2. Shouldn't /usr/share/doc/xenomai be more
appropriate? (I implemented the latter in Debian.)

Further, I updated the package in Debian with the suggested changes.

bye,
  Roland

[-- Attachment #2: xenomai.patch --]
[-- Type: text/x-patch, Size: 4668 bytes --]

diff -ruN xenomai-2.4.2/src/testsuite/clocktest/Makefile.am xenomai-2.4.2.new/src/testsuite/clocktest/Makefile.am
--- xenomai-2.4.2/src/testsuite/clocktest/Makefile.am	2007-12-09 11:46:39.000000000 +0100
+++ xenomai-2.4.2.new/src/testsuite/clocktest/Makefile.am	2008-02-28 21:29:24.000000000 +0100
@@ -14,7 +14,8 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "#!/bin/sh" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" >> $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
diff -ruN xenomai-2.4.2/src/testsuite/cyclic/Makefile.am xenomai-2.4.2.new/src/testsuite/cyclic/Makefile.am
--- xenomai-2.4.2/src/testsuite/cyclic/Makefile.am	2007-12-09 11:46:39.000000000 +0100
+++ xenomai-2.4.2.new/src/testsuite/cyclic/Makefile.am	2008-02-28 21:34:34.000000000 +0100
@@ -14,7 +14,8 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "#!/bin/sh" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" >> $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
diff -ruN xenomai-2.4.2/src/testsuite/irqbench/Makefile.am xenomai-2.4.2.new/src/testsuite/irqbench/Makefile.am
--- xenomai-2.4.2/src/testsuite/irqbench/Makefile.am	2007-12-09 11:46:39.000000000 +0100
+++ xenomai-2.4.2.new/src/testsuite/irqbench/Makefile.am	2008-02-28 21:31:22.000000000 +0100
@@ -34,7 +34,8 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "#!/bin/sh" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" >> $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
diff -ruN xenomai-2.4.2/src/testsuite/latency/Makefile.am xenomai-2.4.2.new/src/testsuite/latency/Makefile.am
--- xenomai-2.4.2/src/testsuite/latency/Makefile.am	2007-12-09 11:46:39.000000000 +0100
+++ xenomai-2.4.2.new/src/testsuite/latency/Makefile.am	2008-02-28 21:32:02.000000000 +0100
@@ -18,7 +18,8 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "#!/bin/sh" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" >> $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
diff -ruN xenomai-2.4.2/src/testsuite/switchbench/Makefile.am xenomai-2.4.2.new/src/testsuite/switchbench/Makefile.am
--- xenomai-2.4.2/src/testsuite/switchbench/Makefile.am	2007-12-09 11:46:39.000000000 +0100
+++ xenomai-2.4.2.new/src/testsuite/switchbench/Makefile.am	2008-02-28 21:32:38.000000000 +0100
@@ -17,7 +17,8 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "#!/bin/sh" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" >> $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:
diff -ruN xenomai-2.4.2/src/testsuite/switchtest/Makefile.am xenomai-2.4.2.new/src/testsuite/switchtest/Makefile.am
--- xenomai-2.4.2/src/testsuite/switchtest/Makefile.am	2007-12-09 11:46:39.000000000 +0100
+++ xenomai-2.4.2.new/src/testsuite/switchtest/Makefile.am	2008-02-28 21:30:41.000000000 +0100
@@ -14,7 +14,8 @@
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(testdir)
 	@sed -e's,@exec_prefix\@,$(exec_prefix),g' $(srcdir)/runinfo.in > $(DESTDIR)$(testdir)/.runinfo
-	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" > $(DESTDIR)$(testdir)/run
+	@echo "#!/bin/sh" > $(DESTDIR)$(testdir)/run
+	@echo "\$${DESTDIR}$(exec_prefix)/bin/xeno-load \`dirname \$$0\` \$$*" >> $(DESTDIR)$(testdir)/run
 	@chmod +x $(DESTDIR)$(testdir)/run
 
 uninstall-local:

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-28 20:43 [Xenomai-core] Script marking Roland Stigge
@ 2008-02-29  9:27 ` Gilles Chanteperdrix
  2008-02-29 13:49   ` Roland Stigge
  0 siblings, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-02-29  9:27 UTC (permalink / raw)
  To: Roland Stigge; +Cc: xenomai

On Thu, Feb 28, 2008 at 9:43 PM, Roland Stigge <stigge@domain.hid> wrote:
> Hi,
>
>  at Debian, I noticed that the "run" scripts are not marked as such and
>  therefore produce "lintian errors". Consider the attached patch that I
>  propose.
>
>  Besides, the documentation seems to be installed under
>  /usr/share/doc/xenomai-2.4.2. Shouldn't /usr/share/doc/xenomai be more
>  appropriate? (I implemented the latter in Debian.)
>
>  Further, I updated the package in Debian with the suggested changes.

We trust you, please send patches.

-- 
                                               Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-29  9:27 ` Gilles Chanteperdrix
@ 2008-02-29 13:49   ` Roland Stigge
  2008-02-29 15:06     ` Gilles Chanteperdrix
  2008-02-29 19:50     ` Gilles Chanteperdrix
  0 siblings, 2 replies; 8+ messages in thread
From: Roland Stigge @ 2008-02-29 13:49 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

Gilles Chanteperdrix wrote:
>>  Further, I updated the package in Debian with the suggested changes.
> 
> We trust you, please send patches.

The attached patch (and the latest version of it) can also always be
found at the Debian developer's package page for Xenomai at
http://packages.qa.debian.org/x/xenomai.html .

It applies to the latest Xenomai release (currently 2.4.2), and assumes
that there is _no_ debian/ directory in the original source tree (as
discussed beforehand - Debian maintains the complete debian/* hierarchy
completely - for further questions just ask).

bye,
  Roland

[-- Attachment #2: xenomai_2.4.2-2.diff.gz --]
[-- Type: text/html, Size: 6651 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-29 13:49   ` Roland Stigge
@ 2008-02-29 15:06     ` Gilles Chanteperdrix
  2008-02-29 16:29       ` Roland Stigge
  2008-02-29 19:50     ` Gilles Chanteperdrix
  1 sibling, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-02-29 15:06 UTC (permalink / raw)
  To: Roland Stigge; +Cc: xenomai

On Fri, Feb 29, 2008 at 2:49 PM, Roland Stigge <stigge@domain.hid> wrote:
> Gilles Chanteperdrix wrote:
>  >>  Further, I updated the package in Debian with the suggested changes.
>  >
>  > We trust you, please send patches.
>
>  The attached patch (and the latest version of it) can also always be
>  found at the Debian developer's package page for Xenomai at
>  http://packages.qa.debian.org/x/xenomai.html .
>
>  It applies to the latest Xenomai release (currently 2.4.2), and assumes
>  that there is _no_ debian/ directory in the original source tree (as
>  discussed beforehand - Debian maintains the complete debian/* hierarchy
>  completely - for further questions just ask).

I see that xenomai packages depends on glibc version >= 2.7.1. Is this
dependency really needed ? Without this dependency it would be
possible to compile the Xenomai package for older versions of Debian.

-- 
                                               Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-29 15:06     ` Gilles Chanteperdrix
@ 2008-02-29 16:29       ` Roland Stigge
  0 siblings, 0 replies; 8+ messages in thread
From: Roland Stigge @ 2008-02-29 16:29 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Hi,

Gilles Chanteperdrix wrote:
> I see that xenomai packages depends on glibc version >= 2.7.1. Is this
> dependency really needed ? Without this dependency it would be
> possible to compile the Xenomai package for older versions of Debian.

This is an automatically generated dependency at package built time
_only_ for Debian sid (to be released later), and only for the binary
package.

If you build the package for yourself, or in another Debian environment
(an already released version, e.g. for backporting?), the dependency
would look different. Theoretically, it could even be sth. else than
glibc. ;-O

The versioned dependency is for safety reasons, not always really
necessary, but provided be default; taken from the actual build
environment...

bye,
  Roland


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-29 13:49   ` Roland Stigge
  2008-02-29 15:06     ` Gilles Chanteperdrix
@ 2008-02-29 19:50     ` Gilles Chanteperdrix
  2008-02-29 20:12       ` Paul
  1 sibling, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-02-29 19:50 UTC (permalink / raw)
  To: paul_c; +Cc: xenomai

Roland Stigge wrote:
 > Gilles Chanteperdrix wrote:
 > >>  Further, I updated the package in Debian with the suggested changes.
 > > 
 > > We trust you, please send patches.
 > 
 > The attached patch (and the latest version of it) can also always be
 > found at the Debian developer's package page for Xenomai at
 > http://packages.qa.debian.org/x/xenomai.html .
 > 
 > It applies to the latest Xenomai release (currently 2.4.2), and assumes
 > that there is _no_ debian/ directory in the original source tree (as
 > discussed beforehand - Debian maintains the complete debian/* hierarchy
 > completely - for further questions just ask).

Hi Paul,

Is it Ok for you to replace the repository debian directory current
contents with the debian directory as provided by Roland ? Or will it
break things on your side ?

Regards.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-29 19:50     ` Gilles Chanteperdrix
@ 2008-02-29 20:12       ` Paul
  2008-02-29 20:26         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Paul @ 2008-02-29 20:12 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai


Hi Giles

First, sorry about not jumping in on some of the other threads about Debian 
and packaging...

On Friday 29 February 2008 19:50, Gilles Chanteperdrix wrote:
> Roland Stigge wrote:
>  > Gilles Chanteperdrix wrote:
>  > >>  Further, I updated the package in Debian with the suggested changes.
>  > >
>  > > We trust you, please send patches.
>  >
>  > The attached patch (and the latest version of it) can also always be
>  > found at the Debian developer's package page for Xenomai at
>  > http://packages.qa.debian.org/x/xenomai.html .
>  >
>  > It applies to the latest Xenomai release (currently 2.4.2), and assumes
>  > that there is _no_ debian/ directory in the original source tree (as
>  > discussed beforehand - Debian maintains the complete debian/* hierarchy
>  > completely - for further questions just ask).
>
> Hi Paul,
>
> Is it Ok for you to replace the repository debian directory current
> contents with the debian directory as provided by Roland ? Or will it
> break things on your side ?

I have no problem with Roland's changes, it won't break anything I do. The 
relevant wiki page will need to be updated to reflect the extra packages that 
are generated, but that is a minor detail.

On a personal level, I would like to see a debian/ structure retained within 
SVN - This simplifies test builds and allows changes (such as merged x86 
trees) to be tackled before (Debian) releases are made.


Regards, Paul.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Xenomai-core] Script marking
  2008-02-29 20:12       ` Paul
@ 2008-02-29 20:26         ` Gilles Chanteperdrix
  0 siblings, 0 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2008-02-29 20:26 UTC (permalink / raw)
  To: Paul; +Cc: xenomai

Paul wrote:
 > 
 > Hi Giles
 > 
 > First, sorry about not jumping in on some of the other threads about Debian 
 > and packaging...
 > 
 > On Friday 29 February 2008 19:50, Gilles Chanteperdrix wrote:
 > > Roland Stigge wrote:
 > >  > Gilles Chanteperdrix wrote:
 > >  > >>  Further, I updated the package in Debian with the suggested changes.
 > >  > >
 > >  > > We trust you, please send patches.
 > >  >
 > >  > The attached patch (and the latest version of it) can also always be
 > >  > found at the Debian developer's package page for Xenomai at
 > >  > http://packages.qa.debian.org/x/xenomai.html .
 > >  >
 > >  > It applies to the latest Xenomai release (currently 2.4.2), and assumes
 > >  > that there is _no_ debian/ directory in the original source tree (as
 > >  > discussed beforehand - Debian maintains the complete debian/* hierarchy
 > >  > completely - for further questions just ask).
 > >
 > > Hi Paul,
 > >
 > > Is it Ok for you to replace the repository debian directory current
 > > contents with the debian directory as provided by Roland ? Or will it
 > > break things on your side ?
 > 
 > I have no problem with Roland's changes, it won't break anything I do. The 
 > relevant wiki page will need to be updated to reflect the extra packages that 
 > are generated, but that is a minor detail.

IMO, the page should be updated to talk about the official Debian
packages as well.

 > 
 > On a personal level, I would like to see a debian/ structure retained within 
 > SVN - This simplifies test builds and allows changes (such as merged x86 
 > trees) to be tackled before (Debian) releases are made.

I agree. This is a way to build Xenomai which we should not
remove. Roland also has the choice to use it if he changes his mind.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-29 20:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28 20:43 [Xenomai-core] Script marking Roland Stigge
2008-02-29  9:27 ` Gilles Chanteperdrix
2008-02-29 13:49   ` Roland Stigge
2008-02-29 15:06     ` Gilles Chanteperdrix
2008-02-29 16:29       ` Roland Stigge
2008-02-29 19:50     ` Gilles Chanteperdrix
2008-02-29 20:12       ` Paul
2008-02-29 20:26         ` 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.