Your message dated Tue, 05 May 2009 19:47:15 +0000
with message-id <[email protected]>
and subject line Bug#465105: fixed in newt 0.52.10-3
has caused the Debian Bug report #465105,
regarding newt: long term mass bug filing for cross build support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
465105: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465105
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: newt
Version: 0.52.2-11.1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: crossbuilt

In line with the other cross-building support bugs:
http://lists.debian.org/debian-devel/2007/11/msg00116.html

This patch is necessary to allow newt to cross-build in Debian,
following recommendations from autotools-dev.


*** ../crossbuild.diff
--- newt-0.52.2.debian/debian/rules 
+++ newt-0.52.2.emdebian/debian/rules 
@@ -12,6 +12,16 @@
 DEB_BUILD_GNU_SYSTEM = $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
 DEB_BUILD_GNU_CPU = $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
 
+DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE), $(DEB_BUILD_GNU_TYPE))
+CROSS=--build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+CROSSCC=$(DEB_HOST_GNU_TYPE)-gcc
+else
+CROSS=
+CROSSCC=gcc
+endif
+
 VERSION=0.52.2
 SONAME=0.52
 PYVERS=$(shell pyversions -vr debian/control)
@@ -72,14 +82,14 @@
        cp newt.spec $(BUILD_TREE)
        rm -f $(BUILD_TREE)/.depend
        ( cd $(BUILD_TREE) && autoconf --force -i )
-       ( cd $(BUILD_TREE) && ./configure $(GPMSUPPORT) $(NOSTRIP) )
+       ( cd $(BUILD_TREE) && ./configure $(GPMSUPPORT) $(NOSTRIP) $(CROSS) )
        touch $@
 
 build: $(build-stamp)
 $(build-stamp): $(configure-stamp)
        dh_testdir
        ( cd $(BUILD_TREE) && sgmltools --backend html tutorial.sgml )
-       $(MAKE) -C $(BUILD_TREE)
+       CC=$(CROSSCC) $(MAKE) -C $(BUILD_TREE)
        ( cd $(BUILD_TREE) && ar cqv libnewt_pic.a shared/*.o )
        # build POT file for translators
        make -C $(BUILD_TREE)/po newt.pot
@@ -105,7 +115,7 @@
        dh_installdirs -p $@ 
        dh_install -p $@ --sourcedir=$(BUILD_TREE)
        chmod +x $(BUILD_TREE)/mkinstalldirs
-       $(MAKE) -C $(BUILD_TREE)/po prefix=/usr  \
+       CC=$(CROSSCC) $(MAKE) -C $(BUILD_TREE)/po prefix=/usr  \
                DESTDIR=../../../debian/$@ HAVE_XGETTEXT=yes install
        dh_strip -p $@
        dh_makeshlibs -p $@


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: newt
Source-Version: 0.52.10-3

We believe that the bug you reported is fixed in the latest version of
newt, which is due to be installed in the Debian FTP archive:

libnewt-dev_0.52.10-3_i386.deb
  to pool/main/n/newt/libnewt-dev_0.52.10-3_i386.deb
libnewt-pic_0.52.10-3_i386.deb
  to pool/main/n/newt/libnewt-pic_0.52.10-3_i386.deb
libnewt0.52_0.52.10-3_i386.deb
  to pool/main/n/newt/libnewt0.52_0.52.10-3_i386.deb
newt-tcl_0.52.10-3_i386.deb
  to pool/main/n/newt/newt-tcl_0.52.10-3_i386.deb
newt_0.52.10-3.diff.gz
  to pool/main/n/newt/newt_0.52.10-3.diff.gz
newt_0.52.10-3.dsc
  to pool/main/n/newt/newt_0.52.10-3.dsc
python-newt_0.52.10-3_i386.deb
  to pool/main/n/newt/python-newt_0.52.10-3_i386.deb
whiptail_0.52.10-3_i386.deb
  to pool/main/n/newt/whiptail_0.52.10-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated newt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 05 May 2009 20:51:49 +0100
Source: newt
Binary: libnewt-dev libnewt-pic newt-tcl python-newt libnewt0.52 whiptail
Architecture: source i386
Version: 0.52.10-3
Distribution: unstable
Urgency: low
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Description: 
 libnewt-dev - Developer's toolkit for newt windowing library
 libnewt-pic - Not Erik's Windowing Toolkit, shared library subset kit
 libnewt0.52 - Not Erik's Windowing Toolkit - text mode windowing with slang
 newt-tcl   - A newt module for Tcl
 python-newt - A NEWT module for Python
 whiptail   - Displays user-friendly dialog boxes from shell scripts
Closes: 416811 429351 465105
Changes: 
 newt (0.52.10-3) unstable; urgency=low
 .
   * Marathi translation, thanks to Priti Patil. Closes: #416811.
   * Patch from Neil Williams for cross-build support. Closes: #465105.
   * Add patch from Baruch Evan to allow checkboxes be aligned;
     wanted for LTR languages. Experimental API addition. Closes: #429351.
Checksums-Sha1: 
 f56c30396059a493d8bb2d84f5bcc47183c0bcd5 1276 newt_0.52.10-3.dsc
 a15ae071f151418612df954c8167a017be910bb1 36212 newt_0.52.10-3.diff.gz
 ccf8f6a459c198e9073712bfd395904ce1e8de7f 62794 libnewt0.52_0.52.10-3_i386.deb
 554cabec668ad4285c0232b506e6e63ace14a889 87562 libnewt-dev_0.52.10-3_i386.deb
 704ab59e32acfd32154c4350f1a6bc2b0ea25b51 70720 libnewt-pic_0.52.10-3_i386.deb
 46b30d3e3c6ef388f7318809f48493ad3d0140ea 32200 newt-tcl_0.52.10-3_i386.deb
 e524c426482687e1d2aefc4ad5c521ea833855c4 59704 python-newt_0.52.10-3_i386.deb
 5dc5d32194556ae3870d0b3e0c209fe12de6b260 37696 whiptail_0.52.10-3_i386.deb
Checksums-Sha256: 
 45724c34d2e97c4162b1045e0395acb3b8b3e9bda8932c31259b6a142526844c 1276 
newt_0.52.10-3.dsc
 05164a1cd5a6873cc6904b247fa8d8d3aa2b0c3db6fa4d433166222d8f9696cd 36212 
newt_0.52.10-3.diff.gz
 1ad13c0312295c519070198619fc76bdf46812a018c117dfafb408be4dea51b0 62794 
libnewt0.52_0.52.10-3_i386.deb
 922e47942282c91f6b1f0284ed8665f59fca5e776a8f4593bcd42f227d364f1f 87562 
libnewt-dev_0.52.10-3_i386.deb
 525d6739a778e05fcb8edad826c8892cbb1fba0df333b503426977b92dda38aa 70720 
libnewt-pic_0.52.10-3_i386.deb
 ccbb7094e5ff1d55f039b7af7e843561cae37d684b6572bf24b47cc3406ea6e9 32200 
newt-tcl_0.52.10-3_i386.deb
 e4720ca9fdd86b51bda59233964499af9d833db0195da8d4bfbf5603a19548c8 59704 
python-newt_0.52.10-3_i386.deb
 aa7aa6a30947e2f5ff612b37fd112fb8bc62273ab57b50d54516da7300ba0760 37696 
whiptail_0.52.10-3_i386.deb
Files: 
 53a66721302d1e94e6136a4179b2c954 1276 devel optional newt_0.52.10-3.dsc
 db4889a1c043dcbc52eab2fd50e2d0d5 36212 devel optional newt_0.52.10-3.diff.gz
 6d365ef36577ef7628d2c324e75b12cd 62794 libs important 
libnewt0.52_0.52.10-3_i386.deb
 9db550227e61adc7c860f71623ebd394 87562 libdevel optional 
libnewt-dev_0.52.10-3_i386.deb
 49276a2b4368dff0dd2b9cc1511cec62 70720 libdevel extra 
libnewt-pic_0.52.10-3_i386.deb
 4cc998aed1d945d6613ce0620282ce39 32200 interpreters extra 
newt-tcl_0.52.10-3_i386.deb
 0b85723a70f6a30c4b3777b8b335825c 59704 python optional 
python-newt_0.52.10-3_i386.deb
 1cd1e08317e7f7a781461397c32b021e 37696 utils important 
whiptail_0.52.10-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKAJ+lQTK/kCo4XFcRArPLAKCj+oukHcpGdBr7WxjoO/Xy5Q6OFACguHDY
vslGzzhol/z/hNGsdK2gm2U=
=sujA
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to