Bug#408741: espeak 1.19-2

2007-02-18 Thread Julien Cristau
[dropped -release]

On Sat, Feb 17, 2007 at 22:16:22 -0800, Steve Langasek wrote:

 Hi,
 
  On Mon, Feb 05, 2007 at 07:46:34PM +0100, Samuel Thibault wrote:
   I don't understand this: IIUC the package never worked for these archs.
   So wouldn't it be OK to upload a 1.16 with big-endian archs disabled?
 
 On Mon, Feb 05, 2007 at 12:26:00PM -0800, Steve Langasek wrote:
  Yes.  But currently, there is a grave bug in testing for these archs.
 
 Do either of you have plans for a t-p-u upload to drop the big-endian archs
 for espeak?  Should I plan to NMU?
 
Hi,

I think the attached patch would work.  I'll NMU in a few days if there
are no objections (earlier if I get an ACK).

Cheers,
Julien
diff -u espeak-1.16/debian/changelog espeak-1.16/debian/changelog
--- espeak-1.16/debian/changelog
+++ espeak-1.16/debian/changelog
@@ -1,3 +1,10 @@
+espeak (1.16-2.1) testing-proposed-updates; urgency=high
+
+  * Non-maintainer upload.
+  * Don't build on big-endian architectures (closes: #408741).
+
+ -- Julien Cristau [EMAIL PROTECTED]  Sun, 18 Feb 2007 09:41:44 +0100
+
 espeak (1.16-2) unstable; urgency=low
 
   * Fix first-person description (Closes Bug#399585)
diff -u espeak-1.16/debian/control espeak-1.16/debian/control
--- espeak-1.16/debian/control
+++ espeak-1.16/debian/control
@@ -6,7 +6,7 @@
 Standards-Version: 3.7.2
 
 Package: espeak
-Architecture: any
+Architecture: alpha amd64 arm hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 
mipsel
 Depends: ${shlibs:Depends}, espeak-data (= ${Source-Version})
 Description: A multi-lingual software speech synthesizer
  eSpeak is a software speech synthesizer for English, and some other
@@ -45,7 +45,7 @@
  for the espeak program, and the shared library.
 
 Package: libespeak1
-Architecture: any
+Architecture: alpha amd64 arm hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 
mipsel
 Section: libs
 Depends: ${shlibs:Depends}, espeak-data (= ${Source-Version})
 Description: A multi-lingual software speech synthesizer: shared library
@@ -53,7 +53,7 @@
  languages. This package contains the espeak program in a shared library.
 
 Package: libespeak-dev
-Architecture: any
+Architecture: alpha amd64 arm hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 
mipsel
 Section: libdevel
 Depends: libespeak1 (= ${Source-Version})
 Description: A multi-lingual software speech synthesizer: development files
diff -u espeak-1.16/debian/rules espeak-1.16/debian/rules
--- espeak-1.16/debian/rules
+++ espeak-1.16/debian/rules
@@ -16,12 +16,21 @@
CFLAGS += -O2
 endif
 
+DEB_HOST_ARCH?=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+# get the list of architectures from debian/control
+# so we fail to build early on big-endian archs
+ARCHS=$(shell awk 'BEGIN { FS = : } /^Architecture:/ { print $$2; exit }'  
debian/control)
 
 build: build-stamp
 
 build-stamp:
dh_testdir
 
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(ARCHS)))
+   @echo architecture $(DEB_BUILD_ARCH) not allowed in source
+   @exit 1
+endif
+
# Add here commands to compile the package.
cd src  CXXFLAGS=$(CXXFLAGS) $(CFLAGS) $(MAKE)
 


signature.asc
Description: Digital signature


Bug#408741: espeak 1.19-2

2007-02-18 Thread Julien Cristau
On Sun, Feb 18, 2007 at 10:27:46 +0100, Julien Cristau wrote:

 I think the attached patch would work.  I'll NMU in a few days if there
 are no objections (earlier if I get an ACK).
 
Uploaded to DELAYED/3-day.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#408741: espeak 1.19-2

2007-02-17 Thread Steve Langasek
Hi,

On Mon, Feb 05, 2007 at 12:26:00PM -0800, Steve Langasek wrote:
 On Mon, Feb 05, 2007 at 07:46:34PM +0100, Samuel Thibault wrote:
  Steve Langasek, le Sun 04 Feb 2007 15:05:37 -0800, a écrit :
   I am raising the severity of 408741 to 'grave', which is the correct
   severity for such a bug.

  I don't understand this: IIUC the package never worked for these archs.
  So wouldn't it be OK to upload a 1.16 with big-endian archs disabled?

 Yes.  But currently, there is a grave bug in testing for these archs.

Do either of you have plans for a t-p-u upload to drop the big-endian archs
for espeak?  Should I plan to NMU?

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/



Bug#408741: espeak 1.19-2

2007-02-05 Thread Samuel Thibault
Steve Langasek, le Sun 04 Feb 2007 15:05:37 -0800, a écrit :
 I am raising the severity of 408741 to 'grave', which is the correct
 severity for such a bug.

I don't understand this: IIUC the package never worked for these archs.
So wouldn't it be OK to upload a 1.16 with big-endian archs disabled?

Samuel



Bug#408741: espeak 1.19-2

2007-02-05 Thread Steve Langasek
On Mon, Feb 05, 2007 at 07:46:34PM +0100, Samuel Thibault wrote:
 Steve Langasek, le Sun 04 Feb 2007 15:05:37 -0800, a écrit :
  I am raising the severity of 408741 to 'grave', which is the correct
  severity for such a bug.

 I don't understand this: IIUC the package never worked for these archs.
 So wouldn't it be OK to upload a 1.16 with big-endian archs disabled?

Yes.  But currently, there is a grave bug in testing for these archs.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/