Bug#753935: staden: build can't find new multiarchified itcl and itk packages

2014-07-06 Thread Sergei Golovan
Source: staden
Version: 2.0.0+b10-1
Severity: normal
Tags: patch

Dear Maintainer,

Recently I've added multi-arch support to the itcl3 and itk3 packages.
In particular this means that their pkgIndex.tcl has been moved to
subdirs of /usr/lib/tcltk/$(DEB_HOST_MULTIARCH), and staden configure
script can't find them anymore (and refuses to build some graphic
frontend or whatever). I've prepared a small patch which specifies
the Itcl and Itk directories explicitly. If it's okay to you I could
also do NMU for this change.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru staden-2.0.0+b10/debian/changelog staden-2.0.0+b10/debian/changelog
--- staden-2.0.0+b10/debian/changelog	2014-05-13 15:59:35.0 +0400
+++ staden-2.0.0+b10/debian/changelog	2014-07-06 16:28:23.0 +0400
@@ -1,3 +1,10 @@
+staden (2.0.0+b10-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Point configure to the new location of itcl package.
+
+ -- Sergei Golovan sgolo...@debian.org  Sun, 06 Jul 2014 16:28:20 +0400
+
 staden (2.0.0+b10-1) unstable; urgency=low
 
   [ Tim Booth ]
diff -Nru staden-2.0.0+b10/debian/rules staden-2.0.0+b10/debian/rules
--- staden-2.0.0+b10/debian/rules	2014-05-13 15:59:19.0 +0400
+++ staden-2.0.0+b10/debian/rules	2014-07-05 19:52:30.0 +0400
@@ -2,6 +2,7 @@
 
 ## DEB_BUILD_ARCH or DEB_BUILD_ARCH_BITS ??
 BITARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 ifeq ($(BITARCH),64)
 enable64bit:=--enable-64bit
 else
@@ -20,7 +21,9 @@
 #	dh_auto_configure -- --disable-rpath
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(enable64bit)
+	dh_auto_configure -- $(enable64bit) \
+		--with-itcl=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) \
+		--with-itk=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_install:
 	dh_auto_install


Bug#753935: staden: build can't find new multiarchified itcl and itk packages

2014-07-06 Thread Andreas Tille
Hi Sergei,

since I'm currently traveling I can not respond quickly.  NMU would be
fine but please also commit your changes to SVN (any DD has commit
permissions.

Thanks a lot for the patch

 Andreas.

On Sun, Jul 06, 2014 at 04:35:09PM +0400, Sergei Golovan wrote:
 Source: staden
 Version: 2.0.0+b10-1
 Severity: normal
 Tags: patch
 
 Dear Maintainer,
 
 Recently I've added multi-arch support to the itcl3 and itk3 packages.
 In particular this means that their pkgIndex.tcl has been moved to
 subdirs of /usr/lib/tcltk/$(DEB_HOST_MULTIARCH), and staden configure
 script can't find them anymore (and refuses to build some graphic
 frontend or whatever). I've prepared a small patch which specifies
 the Itcl and Itk directories explicitly. If it's okay to you I could
 also do NMU for this change.
 
 -- System Information:
 Debian Release: jessie/sid
   APT prefers testing
   APT policy: (500, 'testing')
 Architecture: amd64 (x86_64)
 Foreign Architectures: i386
 
 Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash

 diff -Nru staden-2.0.0+b10/debian/changelog staden-2.0.0+b10/debian/changelog
 --- staden-2.0.0+b10/debian/changelog 2014-05-13 15:59:35.0 +0400
 +++ staden-2.0.0+b10/debian/changelog 2014-07-06 16:28:23.0 +0400
 @@ -1,3 +1,10 @@
 +staden (2.0.0+b10-1.1) unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * Point configure to the new location of itcl package.
 +
 + -- Sergei Golovan sgolo...@debian.org  Sun, 06 Jul 2014 16:28:20 +0400
 +
  staden (2.0.0+b10-1) unstable; urgency=low
  
[ Tim Booth ]
 diff -Nru staden-2.0.0+b10/debian/rules staden-2.0.0+b10/debian/rules
 --- staden-2.0.0+b10/debian/rules 2014-05-13 15:59:19.0 +0400
 +++ staden-2.0.0+b10/debian/rules 2014-07-05 19:52:30.0 +0400
 @@ -2,6 +2,7 @@
  
  ## DEB_BUILD_ARCH or DEB_BUILD_ARCH_BITS ??
  BITARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 +DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
  ifeq ($(BITARCH),64)
  enable64bit:=--enable-64bit
  else
 @@ -20,7 +21,9 @@
  #dh_auto_configure -- --disable-rpath
  
  override_dh_auto_configure:
 - dh_auto_configure -- $(enable64bit)
 + dh_auto_configure -- $(enable64bit) \
 + --with-itcl=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) \
 + --with-itk=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
  
  override_dh_auto_install:
   dh_auto_install

 ___
 Debian-med-packaging mailing list
 debian-med-packag...@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org