Your message dated Sat, 18 Jun 2005 06:17:19 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#156905: fixed in qemacs 0.3.1.cvs.20050617-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Aug 2002 10:56:08 +0000
>From [EMAIL PROTECTED] Fri Aug 16 05:56:08 2002
Return-path: <[EMAIL PROTECTED]>
Received: from nemesis.systems.pipex.net [62.241.160.8]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 17fem0-0001N8-00; Fri, 16 Aug 2002 05:56:08 -0500
Received: from cloaked.freeserve.co.uk (81-86-163-141.dsl.pipex.com
[81.86.163.141])
by nemesis.systems.pipex.net (Postfix) with ESMTP
id A7CDC32F9A; Fri, 16 Aug 2002 11:15:11 +0100 (BST)
Received: from markj by cloaked.freeserve.co.uk with local (Exim 3.35 #1
(Debian))
id 17fefb-0003h5-00; Fri, 16 Aug 2002 11:49:31 +0100
From: MJ Ray <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: qemacs: html2png fails
X-Mailer: reportbug 1.50
Date: Fri, 16 Aug 2002 11:49:31 +0100
Message-Id: <[EMAIL PROTECTED]>
Sender: MJ Ray <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Package: qemacs
Version: 0.2+really0.3pre12-2
Severity: normal
html2png fails with:
libpng warning: Application was compiled with png.h from libpng-1.0.6 or earlier
libpng warning: Application is running with png.c from libpng-1.0.12
libpng error: The png struct allocated by the application for writing is too
small.
segmentation violation
The patch to fix html2png to use newer libpng2 functions is:
--- html2png.c.orig Fri Aug 16 11:25:39 2002
+++ html2png.c Fri Aug 16 11:48:11 2002
@@ -191,8 +191,9 @@
int png_save(QEditScreen *s, const char *filename)
{
CFBContext *cfb = s->private;
- png_struct * volatile png_ptr = NULL;
- png_info * volatile info_ptr = NULL;
+//MJR: updated for new libpng - 2002-08-16 (2 lines)
+ png_struct * png_ptr = NULL;
+ png_info * info_ptr = NULL;
png_byte *row_ptr, *row_pointers[1], *row = NULL;
int w, h, x, y;
unsigned int r, g, b, v;
@@ -202,10 +203,12 @@
row = malloc(3 * s->width);
if (!row)
goto fail;
- png_ptr = malloc(sizeof (png_struct));
+//MJR: updated for new libpng - 2002-08-16 (1 line)
+ png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, (png_voidp)NULL,
NULL,NULL);
if (!png_ptr)
goto fail;
- info_ptr = malloc(sizeof (png_info));
+//MJR: updated for new libpng - 2002-08-16 (1 line)
+ info_ptr = png_create_info_struct(png_ptr);
if (!info_ptr)
goto fail;
@@ -218,16 +221,18 @@
fail:
/* free pointers before returning. Make sure you clean up
anything else you've done. */
- free(png_ptr);
- free(info_ptr);
+//MJR: updated for new libpng - 2002-08-16 (2 lines)
+ png_destroy_info_struct(png_ptr,&info_ptr);
+ png_destroy_write_struct(&png_ptr,&info_ptr);
free(row);
if (f)
fclose(f);
return -1;
}
- png_info_init(info_ptr);
- png_write_init(png_ptr);
+//MJR: removed for new libpng - 2002-08-16
+// png_info_init(info_ptr);
+// png_write_init(png_ptr);
png_init_io(png_ptr, f);
data = (unsigned int *)cfb->base;
@@ -261,8 +266,9 @@
png_write_end(png_ptr, info_ptr);
png_write_destroy(png_ptr);
- free(png_ptr);
- free(info_ptr);
+//MJR: updated for new libpng - 2002-08-16 (2 lines)
+ png_destroy_info_struct(png_ptr,&info_ptr);
+ png_destroy_write_struct(&png_ptr,&info_ptr);
free(row);
fclose(f);
return 0;
Please patch the debian copy and send this on upstream with my thanks for a
useful tool.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux bouncing 2.4.18 #14 Tue Jul 16 18:26:24 BST 2002 i586
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8
Versions of packages qemacs depends on:
ii libc6 2.2.5-13 GNU C Library: Shared libraries an
ii libpng2 1.0.12-3 PNG library - runtime
ii xlibs 4.1.0-16 X Window System client libraries
---------------------------------------
Received: (at 156905-close) by bugs.debian.org; 18 Jun 2005 10:21:41 +0000
>From [EMAIL PROTECTED] Sat Jun 18 03:21:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DjaSL-0008Pp-00; Sat, 18 Jun 2005 03:21:41 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DjaO7-0004xb-00; Sat, 18 Jun 2005 06:17:19 -0400
From: Romain Francoise <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#156905: fixed in qemacs 0.3.1.cvs.20050617-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 18 Jun 2005 06:17:19 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: qemacs
Source-Version: 0.3.1.cvs.20050617-1
We believe that the bug you reported is fixed in the latest version of
qemacs, which is due to be installed in the Debian FTP archive:
qemacs_0.3.1.cvs.20050617-1.diff.gz
to pool/main/q/qemacs/qemacs_0.3.1.cvs.20050617-1.diff.gz
qemacs_0.3.1.cvs.20050617-1.dsc
to pool/main/q/qemacs/qemacs_0.3.1.cvs.20050617-1.dsc
qemacs_0.3.1.cvs.20050617-1_i386.deb
to pool/main/q/qemacs/qemacs_0.3.1.cvs.20050617-1_i386.deb
qemacs_0.3.1.cvs.20050617.orig.tar.gz
to pool/main/q/qemacs/qemacs_0.3.1.cvs.20050617.orig.tar.gz
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.
Romain Francoise <[EMAIL PROTECTED]> (supplier of updated qemacs 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.7
Date: Sat, 18 Jun 2005 11:49:57 +0200
Source: qemacs
Binary: qemacs
Architecture: source i386
Version: 0.3.1.cvs.20050617-1
Distribution: unstable
Urgency: low
Maintainer: Romain Francoise <[EMAIL PROTECTED]>
Changed-By: Romain Francoise <[EMAIL PROTECTED]>
Description:
qemacs - Small emacs clone editor with HTML and DocBook editing support
Closes: 156905 257025 314684
Changes:
qemacs (0.3.1.cvs.20050617-1) unstable; urgency=low
.
* New upstream (CVS snapshot of the upcoming 0.3.2), no longer segfaults
on M-x set-system-font RET (closes: #257025).
.
* Converted to dpatch for patch management:
+ debian/rules: Add dpatch stanzas.
+ debian/control: Add build-dependency on dpatch (>= 2.0.9).
+ debian/patches/00list: New file.
.
* debian/patches/10_plugin-example.dpatch: New patch, tweaks to the
plugin example (by Yann Dirson), ported from the previous monolithic
.diff.gz.
.
* debian/patches/20_html2png-libpng.dpatch: New patch, ports html2png to
libpng12, based on a patch from MJ Ray <[EMAIL PROTECTED]>, thanks!
(closes: #156905).
.
* New maintainer (closes: #314684):
+ debian/control: Update maintainer address.
+ debian/copyright: Ditto.
.
* Bumped Standards-Version to 3.6.2.1, no changes needed.
Files:
797edca66f07f4069a954e9a36da49eb 686 editors optional
qemacs_0.3.1.cvs.20050617-1.dsc
74450c0c132f87bf14a71171ab2930ce 832050 editors optional
qemacs_0.3.1.cvs.20050617.orig.tar.gz
9b8514764ec0885195a8ed3669e347be 5026 editors optional
qemacs_0.3.1.cvs.20050617-1.diff.gz
9f91efadeb70f4678cd88cad30353eb4 744640 editors optional
qemacs_0.3.1.cvs.20050617-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCs/MxogN2vsA8Vt8RAkm1AKCJoWZINnOfpsVJKlJihKHUeBARcwCdFViJ
im9Kbdc7x+Mqz3slo1F6mTA=
=mv1W
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]