Bug#753491: jpeginfo: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-07-26 Thread Breno Leitao
Hi Ola,

On 07/25/2014 06:54 PM, Ola Lundqvist wrote:
 Hi Breno
 
 Thanks a lot for the patch. If you have the possibility a NMU is welcome. If 
 not
 I'll try to do this as soon as I can get some spare time.
I am not a Debian developer, I can do it if you help me being the sponsor. How
does it sound?

Thank you,
Breno


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



Bug#753491: jpeginfo: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-07-26 Thread Ola Lundqvist
Hi

In that case I will simply apply the patch and upload. It is about the same
as sponsoring.

Thanks for your help.

/ Ola

Inguza Technology AB
Sent from a phone
Den 26 jul 2014 22:20 skrev Breno Leitao bren...@br.ibm.com:

 Hi Ola,

 On 07/25/2014 06:54 PM, Ola Lundqvist wrote:
  Hi Breno
 
  Thanks a lot for the patch. If you have the possibility a NMU is
 welcome. If not
  I'll try to do this as soon as I can get some spare time.
 I am not a Debian developer, I can do it if you help me being the sponsor.
 How
 does it sound?

 Thank you,
 Breno




Bug#753491: jpeginfo: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-07-26 Thread Breno Leitao
On 07/26/2014 06:01 PM, Ola Lundqvist wrote:
 Hi
 
 In that case I will simply apply the patch and upload. It is about the same as
 sponsoring.
That is right, thank you,
Breno


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



Bug#753491: jpeginfo: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-07-26 Thread Ola Lundqvist
Uploaded now.

Thanks again.

// Ola


On Sat, Jul 26, 2014 at 11:15 PM, Breno Leitao bren...@br.ibm.com wrote:

 On 07/26/2014 06:01 PM, Ola Lundqvist wrote:
  Hi
 
  In that case I will simply apply the patch and upload. It is about the
 same as
  sponsoring.
 That is right, thank you,
 Breno




-- 
 --- Inguza Technology AB --- MSc in Information Technology 
/  o...@inguza.comAnnebergsslingan 37\
|  o...@debian.org   654 65 KARLSTAD|
|  http://inguza.com/Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---


Bug#753491: jpeginfo: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-07-25 Thread Ola Lundqvist
Hi Breno

Thanks a lot for the patch. If you have the possibility a NMU is welcome.
If not I'll try to do this as soon as I can get some spare time.

Regards,

// Ola


On Wed, Jul 2, 2014 at 3:11 PM, Breno Leitao bren...@br.ibm.com wrote:

 Package: jpeginfo
 Version: 1.6.0-5
 Severity: normal
 Tags: patch
 User: debian-powe...@lists.debian.org
 Usertags: ppc64el
 User: debian-de...@lists.debian.org
 Usertags: autoreconf

 Dear Maintainer,

 Currently this package FTBFS when compiled in new architectures (as
 ppc64el)
 that is not supported on the outdated package autotools files, mainly
 because
 it fails to understand that the new architectures has support for shared
 libraries, as shown below:

 dh_testdir
 ./configure --prefix=/usr --with-libjpeg \
 --mandir=\${prefix}/share/man \
 --infodir=\${prefix}/share/info
 creating cache ./config.cache
 aux/config.guess: unable to guess system type

 This script, last modified 2009-12-30, has failed to recognize
 the operating system you are using. It is advised that you
 download the most up to date version of the config scripts from
 

 The full log could be found at

 http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/jpeginfo_1.6.0-5_ppc64el.build

 I created this patch that call autoreconf to updates the autotool files
 during
 the build, as suggest by the following wiki:


 https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

 I did some tests (as in ppc64el) and the patch solves the problem and
 doesn't
 seem to add any regression.

 Thank you,
 Breno


 -- System Information:
 Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
 Architecture: ppc64el (ppc64le)

 Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash




-- 
 --- Inguza Technology AB --- MSc in Information Technology 
/  o...@inguza.comAnnebergsslingan 37\
|  o...@debian.org   654 65 KARLSTAD|
|  http://inguza.com/Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---


Bug#753491: jpeginfo: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

2014-07-02 Thread Breno Leitao
Package: jpeginfo
Version: 1.6.0-5
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

Currently this package FTBFS when compiled in new architectures (as ppc64el)
that is not supported on the outdated package autotools files, mainly because
it fails to understand that the new architectures has support for shared
libraries, as shown below: 

dh_testdir
./configure --prefix=/usr --with-libjpeg \
--mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info
creating cache ./config.cache
aux/config.guess: unable to guess system type

This script, last modified 2009-12-30, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from


The full log could be found at
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/jpeginfo_1.6.0-5_ppc64el.build

I created this patch that call autoreconf to updates the autotool files during
the build, as suggest by the following wiki:

https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

I did some tests (as in ppc64el) and the patch solves the problem and doesn't
seem to add any regression.

Thank you,
Breno


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: jpeginfo-1.6.0/debian/control
===
--- jpeginfo-1.6.0.orig/debian/control	2014-07-02 12:53:07.0 +
+++ jpeginfo-1.6.0/debian/control	2014-07-02 12:57:55.0 +
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Ola Lundqvist o...@debian.org
-Build-Depends: debhelper ( 6.0), libjpeg-dev
+Build-Depends: debhelper ( 6.0), libjpeg-dev, autotools-dev
 Standards-Version: 3.9.1
 
 Package: jpeginfo
Index: jpeginfo-1.6.0/debian/rules
===
--- jpeginfo-1.6.0.orig/debian/rules	2014-07-02 12:53:07.0 +
+++ jpeginfo-1.6.0/debian/rules	2014-07-02 12:58:29.0 +
@@ -12,6 +12,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --with-libjpeg \
 		--mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info
@@ -26,6 +27,7 @@
 
 clean:
 	dh_testdir
+	dh_autotools-dev_restoreconfig
 	-rm -f build-stamp configure-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f `find . -name *~` \