[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#662619: marked as done (xloadimage: FTBFS if C_ARITH_CODING_SUPPORTED is defined)



Your message dated Fri, 10 Aug 2012 14:49:33 +0000
with message-id <E1SzqWr-0002Qa-FK@franck.debian.org>
and subject line Bug#662619: fixed in xloadimage 4.1-20
has caused the Debian Bug report #662619,
regarding xloadimage: FTBFS if C_ARITH_CODING_SUPPORTED is defined
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 owner@bugs.debian.org
immediately.)


-- 
662619: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662619
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xloadimage
Version: 4.1-16.3
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch precise

If the system JPEG library defines C_ARITH_CODING_SUPPORTED (which
appears to be the case with libjpeg-turbo in Ubuntu precise), then
xloadimage fails to build due to incorrect placement of "#endif" vs. "}"
in jpeg.c.  Patch follows.

diff -u xloadimage-4.1/debian/changelog xloadimage-4.1/debian/changelog
--- xloadimage-4.1/debian/changelog
+++ xloadimage-4.1/debian/changelog
@@ -1,3 +1,9 @@
+xloadimage (4.1-16.3ubuntu1) precise; urgency=low
+
+  * Fix jpeg.c build if C_ARITH_CODING_SUPPORTED is defined (LP: #935491).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 05 Mar 2012 11:02:13 +0000
+
 xloadimage (4.1-16.3) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u xloadimage-4.1/debian/patches/00list xloadimage-4.1/debian/patches/00list
--- xloadimage-4.1/debian/patches/00list
+++ xloadimage-4.1/debian/patches/00list
@@ -19,0 +20 @@
+20_jpeg.c-build-fix
only in patch2:
unchanged:
--- xloadimage-4.1.orig/debian/patches/20_jpeg.c-build-fix.dpatch
+++ xloadimage-4.1/debian/patches/20_jpeg.c-build-fix.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_jpeg.c-build-fix.dpatch by Colin Watson <cjwatson@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix jpeg.c build if C_ARITH_CODING_SUPPORTED is defined.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' xloadimage-4.1~/jpeg.c xloadimage-4.1/jpeg.c
+--- xloadimage-4.1~/jpeg.c	2012-03-05 10:51:27.000000000 +0000
++++ xloadimage-4.1/jpeg.c	2012-03-05 10:51:42.000000000 +0000
+@@ -321,8 +321,8 @@
+       cinfo->arith_code = TRUE;
+ #else
+       fprintf(stderr, "jpegDump: sorry, arithmetic coding not supported\n");
+-    }
+ #endif
++    }
+     else if (!strncmp("grayscale", name, strlen(name)) ||
+ 	     !strncmp("greyscale", name, strlen(name)) ||
+ 	     !strncmp("monochrome", name, strlen(name))) {

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



--- End Message ---
--- Begin Message ---
Source: xloadimage
Source-Version: 4.1-20

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

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 662619@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated xloadimage 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 10 Aug 2012 14:45:30 +0100
Source: xloadimage
Binary: xloadimage
Architecture: source i386
Version: 4.1-20
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 xloadimage - Graphics file viewer under X11
Closes: 662619
Changes: 
 xloadimage (4.1-20) unstable; urgency=low
 .
   * QA upload.
   * Fix jpeg.c build if C_ARITH_CODING_SUPPORTED is defined (closes:
     #662619).
Checksums-Sha1: 
 922d037c04e2e2469e2a4e38c96302a40a023d26 1831 xloadimage_4.1-20.dsc
 1a16eb324aa66c16ab702c13456ff43d89c0f14d 76409 xloadimage_4.1-20.debian.tar.gz
 bf565f7ca266e33fc805a13718d009a44a4efca5 132738 xloadimage_4.1-20_i386.deb
Checksums-Sha256: 
 26b8fa11a04b782da3cb4d648652d98b760b904a152466019c36081600ec2219 1831 xloadimage_4.1-20.dsc
 e119ef547d6ec58902e3df1d545d94d4953bb27126e95b2fb7b3bf060d8b75d5 76409 xloadimage_4.1-20.debian.tar.gz
 6ca5a36f0b6c71e4394b015fa10fc8a59e65fefc7a34a22b3711dc5092cf77f5 132738 xloadimage_4.1-20_i386.deb
Files: 
 dd9ba3ed778fd676c6b332d9e7136828 1831 graphics optional xloadimage_4.1-20.dsc
 353d5ccfbd13a579290f699c4c9c559b 76409 graphics optional xloadimage_4.1-20.debian.tar.gz
 47455321bd8499d40534bd0c0ccf850b 132738 graphics optional xloadimage_4.1-20_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBUCUSvjk1h9l9hlALAQgxDQ/9H62m9QZaPvV4PnXvQ0Dq/v+hx9LotV7A
PPGD3KoTfpCtAsuWElh1gG8EsIjpPDfOKkJJzuQFFYAf9nv4pkwot3rlqQuwoxHq
sU1I2ZlKNmlNtf0QBhxPyZdJ/YvPUUIVE9krXHPAYj40E71PHSbo7TvP7f4eM2Xl
uu3bcQvbKzkVJepDuCCHLVy3MzqRG4Vwo0crYxP4cMK7wcjlO55zqSFdK5B0M4NS
5IaQ3frn+ichyOvM3s5FWerxVjIcoQFUaNC6COpADsWQauyxkl8tLsRMZwdjadB2
6ZZjevelBEFmLEfhwMmtyMfWFdcXGOkD6Hp9/G30pc74/XOqgrSLv9sdG3RSkrhj
RqaylPOTs+SIYftTVI1ubKHeKa8YZvm6wa/IRAG56XaJOOAQZWU1j/g7CsOGG9n8
UCnvFhH9sm6Ot874YxWrCiYc4m4H7p/yatHnKmVPFfHu7Cqo+V0kOQxlsy1fJu92
7oMhustrrk6byyvP7iOu0vm7AiGA+J2Z+4TFIFI7sJmg8B5H6yHYDb1/7kqd2aLV
/zUq4Hck+qoGN5Tc34ln0Jb44EfNCReYVMOWbPv59tBA65/zmSv/T5faT/XzeUhV
tVdAtJAnoHim5d0XZOQl+U1m5L+F8kf/zs7RBtq6N4+3hcJsX69tWHGcYG1EnSok
2+k1mQmusY4=
=g3DQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: