GNU bug report logs - #2172
ico bug on Windows

Previous Next

Packages: w32, emacs;

Reported by: Chong Yidong <cyd <at> stupidchicken.com>

Date: Mon, 2 Feb 2009 22:05:05 UTC

Severity: normal

Merged with 2168, 4378

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2172 in the body.
You can then email your comments to 2172 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2172; Package emacs. (Mon, 02 Feb 2009 22:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 02 Feb 2009 22:05:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: emacs-pretest-bug <at> gnu.org
Cc: David Robinow <drobinow <at> gmail.com>
Subject: ico bug on Windows
Date: Mon, 02 Feb 2009 16:56:28 -0500
David Robinow <drobinow <at> gmail.com> has reported a build failure on MS
Visual Studio, apparently due to change in the Windows icon file format.

David Robinow <drobinow <at> gmail.com> writes:

> Microsoft Visual Studio .NET 2003 fails at:
>
> rc -i../nt -Foobj-spd/i386/emacs.res ../nt/emacs.rc
> ../nt/emacs.rc(1) : error RC2176 : old DIB in icons\emacs.ico; pass it
> through SDKPAINT
>
> This error has been present ever since the new icon was added.  I'd
> forgotten about it since I reverted to the Emacs 22 icon for my daily
> builds.  I don't know a good fix.




Merged 2168 2172. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 02 Feb 2009 22:45:06 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,w32'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 02 Feb 2009 23:10:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Tue, 03 Feb 2009 00:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Rumney <jasonr <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 00:15:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>, 2172 <at> debbugs.gnu.org
Cc: emacs-pretest-bug <at> gnu.org, David Robinow <drobinow <at> gmail.com>
Subject: Re: bug#2172: ico bug on Windows
Date: Tue, 03 Feb 2009 09:06:15 +0900
Chong Yidong wrote:
> David Robinow <drobinow <at> gmail.com> has reported a build failure on MS
> Visual Studio, apparently due to change in the Windows icon file format.
>   

I think it is time to stop caring about MS Visual Studio. GCC has been 
available for Windows for close to 10 years now.






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Tue, 03 Feb 2009 00:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Rumney <jasonr <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 00:15:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Tue, 03 Feb 2009 04:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 04:15:05 GMT) Full text and rfc822 format available.

Message #24 received at 2172 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jason Rumney <jasonr <at> gnu.org>, 2172 <at> debbugs.gnu.org
Cc: cyd <at> stupidchicken.com, drobinow <at> gmail.com
Subject: Re: bug#2172: ico bug on Windows
Date: Tue, 03 Feb 2009 06:10:21 +0200
> From: Jason Rumney <jasonr <at> gnu.org>
> Cc: emacs-pretest-bug <at> gnu.org, David Robinow <drobinow <at> gmail.com>
> 
> Chong Yidong wrote:
> > David Robinow <drobinow <at> gmail.com> has reported a build failure on MS
> > Visual Studio, apparently due to change in the Windows icon file format.
> >   
> 
> I think it is time to stop caring about MS Visual Studio. GCC has been 
> available for Windows for close to 10 years now.

If we decide to do that, we should state the non-support in NEWS and
in nt/INSTALL.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Tue, 03 Feb 2009 06:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Robinow <drobinow <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 06:45:03 GMT) Full text and rfc822 format available.

Message #29 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Robinow <drobinow <at> gmail.com>
To: Jason Rumney <jasonr <at> gnu.org>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 2172 <at> debbugs.gnu.org,
        emacs-pretest-bug <at> gnu.org
Subject: Re: bug#2172: ico bug on Windows
Date: Tue, 3 Feb 2009 01:35:28 -0500
[Message part 1 (text/plain, inline)]
On Mon, Feb 2, 2009 at 7:06 PM, Jason Rumney <jasonr <at> gnu.org> wrote:
> Chong Yidong wrote:
>>
>> David Robinow <drobinow <at> gmail.com> has reported a build failure on MS
>> Visual Studio, apparently due to change in the Windows icon file format.
>>
>
> I think it is time to stop caring about MS Visual Studio. GCC has been
> available for Windows for close to 10 years now.
>
You won't get any argument from me. I only compile with it because
nobody else seemed to. I use gcc on three of my four Windows machines.

I have created an icon that works, sort of. I used png2ico.exe (GPL)
from http://www.winterdrache.de/freeware/png2ico/
It looked good enough on my XP system, but not so great on Vista
compared to the original. Perhaps it can be included as an option for
use with MSVC.
After overwriting emacs.ico the compile works fine. (Of course, it's a
simple matter to change the desktop shortcuts back to the original
icon)
[emacs.ico.2003 (application/octet-stream, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Tue, 03 Feb 2009 06:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Robinow <drobinow <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 06:45:05 GMT) Full text and rfc822 format available.

Merged 2168 2172. Request was from Jason Rumney <jasonr <at> f2s.com> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Feb 2009 09:35:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Fri, 06 Feb 2009 16:05:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Fri, 06 Feb 2009 16:05:08 GMT) Full text and rfc822 format available.

Message #41 received at 2172 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jason Rumney <jasonr <at> gnu.org>
Cc: David Robinow <drobinow <at> gmail.com>, 2172 <at> debbugs.gnu.org
Subject: Re: bug#2172: ico bug on Windows
Date: Fri, 06 Feb 2009 10:56:27 -0500
David Robinow <drobinow <at> gmail.com> writes:

> I have created an icon that works, sort of. I used png2ico.exe (GPL)
> from http://www.winterdrache.de/freeware/png2ico/ It looked good
> enough on my XP system, but not so great on Vista compared to the
> original. Perhaps it can be included as an option for use with MSVC.
> After overwriting emacs.ico the compile works fine. (Of course, it's a
> simple matter to change the desktop shortcuts back to the original
> icon)

Jason, would it be possible for you to try changing the .ico file, along
the lines described by David, so that the MS compiler is happy with it?
Normally we should not go out of our way to accomodate MS Visual studio,
but this seems to be a moderately easy fix.

If you can't fix this and/or would prefer to drop support for MSVS
instead, could you please update nt/INSTALL and etc/PROBLEMS with the
information in this bug report?  Thanks.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2172; Package emacs,w32. (Sun, 08 Feb 2009 08:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Rumney <jasonr <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Sun, 08 Feb 2009 08:20:03 GMT) Full text and rfc822 format available.

Message #46 received at 2172 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: David Robinow <drobinow <at> gmail.com>, 2172 <at> debbugs.gnu.org
Subject: Re: bug#2172: ico bug on Windows
Date: Sun, 08 Feb 2009 17:10:38 +0900
Chong Yidong wrote:
> Jason, would it be possible for you to try changing the .ico file, along
> the lines described by David, so that the MS compiler is happy with it?
> Normally we should not go out of our way to accomodate MS Visual studio,
> but this seems to be a moderately easy fix.
>   

I don't think providing an inferior icon is a good fix just for the one 
or two people who still compile Emacs with outdated proprietary compilers.

> If you can't fix this and/or would prefer to drop support for MSVS
> instead, could you please update nt/INSTALL and etc/PROBLEMS with the
> information in this bug report?  Thanks.


I've already detailed the workarounds in etc/PROBLEMS.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 08 Mar 2009 14:24:10 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 09 Sep 2009 00:45:05 GMT) Full text and rfc822 format available.

Merged 2168 2172 4378. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 09 Sep 2009 01:05:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 07 Oct 2009 14:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.