GNU bug report logs - #2063
image issues in nextstep

Previous Next

Packages: ns, emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Mon, 26 Jan 2009 16:25:03 UTC

Severity: wishlist

Merged with 2038, 6678

Found in version 24.0.50

Done: Glenn Morris <rgm <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 2063 in the body.
You can then email your comments to 2063 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#2063; Package emacs. (Mon, 26 Jan 2009 16:25:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 26 Jan 2009 16:25:04 GMT) Full text and rfc822 format available.

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

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; repeated compile failures after updates for Emacs.app
Date: Mon, 26 Jan 2009 12:42:19 +0100
Hello!

After updating this European (UTC+1) morning to see Emacs.app display  
SVG images compilation fails:

echo "dispnew.o frame.o scroll.o xdisp.o menu.o  window.o charset.o  
coding.o category.o ccl.o character.o chartab.o cm.o term.o  
terminal.o xfaces.o   dbusbind.o emacs.o keyboard.o macros.o keymap.o  
sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o  
dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o  
regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o  
floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o  
bytecode.o process.o callproc.o region-cache.o sound.o atimer.o  
doprnt.o strftime.o intervals.o textprop.o composite.o md5.o   
nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o  
fringe.o image.o   terminfo.o lastfile.o    " > buildobj.lst
gcc -I/sw/include -L/sw/lib  -prebind -framework AppKit -Xlinker - 
headerpad -Xlinker 6C8 -bind_at_load -dead_strip -multiply_defined  
suppress -L/sw/lib/ncurses -o temacs pre-crt0.o dispnew.o frame.o  
scroll.o xdisp.o menu.o  window.o charset.o coding.o category.o ccl.o  
character.o chartab.o cm.o term.o terminal.o xfaces.o   dbusbind.o  
emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o  
insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o  
casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o  
data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o  
print.o lread.o syntax.o unexmacosx.o bytecode.o process.o callproc.o  
region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o  
textprop.o composite.o md5.o  nsterm.o nsfns.o nsmenu.o nsselect.o  
nsimage.o nsfont.o fontset.o fringe.o image.o   terminfo.o  
lastfile.o        -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo - 
lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib -ldbus-1 - 
lncurses  -L/sw/lib/fontconfig2/lib -lfontconfig
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning -prebind  
ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater  
or equal to 10.4
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_x_query_color
collect2: ld returned 1 exit status
make[2]: *** [temacs] Error 1

It obviously comes from src/image.c (./src/image.c:86:extern void  
x_query_color (struct frame *f, XColor *color);) and shows that  
nsimage.m does not provide this function:

./src/xterm.c:1705:x_query_color (f, color)
./src/w32term.c:1550:x_query_color (f, color)

--
Greetings

  Pete       (:
        _    / __    -    -
      _/ \__/_/        -     -
     (´`)      (´`)   -    -
      `´        `´







bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 27 Jan 2009 01:50: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#2063; Package emacs,ns. (Wed, 28 Jan 2009 21:35:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <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. (Wed, 28 Jan 2009 21:35:05 GMT) Full text and rfc822 format available.

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

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 2063 <at> debbugs.gnu.org
Cc: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Subject: Re: 23.0.60; repeated compile failures after updates for Emacs.app
Date: Wed, 28 Jan 2009 23:28:32 +0200
I have a patch for this, I'll commit it as soon as I can get some  
unrelated changes in or split them out.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2063; Package emacs,ns. (Thu, 29 Jan 2009 10:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <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. (Thu, 29 Jan 2009 10:45:03 GMT) Full text and rfc822 format available.

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

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 2063 <at> debbugs.gnu.org, Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Subject: Re: 23.0.60; repeated compile failures after updates for Emacs.app
Date: Thu, 29 Jan 2009 12:40:27 +0200
On Jan 28, 2009, at 11:28 PM, Adrian Robert wrote:

> I have a patch for this, I'll commit it as soon as I can get some  
> unrelated changes in or split them out.

I checked it in, please try when you have a chance.






bug closed, send any further explanations to Peter Dyballa <Peter_Dyballa <at> Freenet.DE> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 21:50: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#2063; Package emacs,ns. (Thu, 29 Jan 2009 22:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 22:15:06 GMT) Full text and rfc822 format available.

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

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 2063 <at> debbugs.gnu.org
Subject: Re: 23.0.60; repeated compile failures after updates for Emacs.app
Date: Thu, 29 Jan 2009 23:06:14 +0100
[Message part 1 (text/plain, inline)]
Am 29.01.2009 um 11:40 schrieb Adrian Robert:

>
> On Jan 28, 2009, at 11:28 PM, Adrian Robert wrote:
>
>> I have a patch for this, I'll commit it as soon as I can get some  
>> unrelated changes in or split them out.
>
> I checked it in, please try when you have a chance.

Emacs.app compiles. When I open /usr/local/share/emacs/23.0.60/etc/ 
images/gnus in dired-mode and visit gnus.svg I first see the XML  
source (XML Image[text] View). When I switch vie C-c C-c to (XML Image 
[svg] View) I see only a blank area.

When I visit gnus.xbm I first see its "source code" (C/I Image[text]  
View Abbrev). When I switch via C-c C-c to the image (C/I Image[xbm]  
View Abbrev) I see it incorrectly:

[pastedGraphic.tiff (image/tiff, inline)]
[Message part 3 (text/plain, inline)]


When I visit gnus.xpm I first see its "source code" (C/I Image[text]  
View Abbrev). When I switch via C-c C-c to the image (C/I Image[xbp]  
View Abbrev) I see it incorrectly, also no effect of transparent  
background (visible when a background colour is set):

[pastedGraphic.tiff (image/tiff, inline)]
[Message part 5 (text/plain, inline)]

The colours seem to be reproduced incorrectly for all XPM files.  
Similar failures happen with XBM files, for example those in  
ghostscript/8.61/lib. Here the XPM versions seem to display  
correctly. The pictures in /Developer/Examples/Java/ 
JavaAdvancedImaging/JAIDemo/images are displayed OK, other JPEG, PNG,  
GIF, and TIFF images as well.


BTW, an 'open <SVG image>' opens Safari – doesn't this mean that  
Apple has provided means to display SVG which could be implemented  
inside Emacs.app, as is already done for JPEG, PNG, GIF, and TIFF  
images?

--
Greetings

  Pete

If builders built buildings the way programmers write programs, then  
the first woodpecker that came along would destroy civilization.
				– Weinberg's Second Law




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2063; Package emacs,ns. (Thu, 29 Jan 2009 22:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <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. (Thu, 29 Jan 2009 22:45:03 GMT) Full text and rfc822 format available.

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

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 2063 <at> debbugs.gnu.org
Subject: Re: 23.0.60; repeated compile failures after updates for Emacs.app
Date: Fri, 30 Jan 2009 00:35:00 +0200
I can reproduce only the xbm failures, and don't have librsvg to test  
svg.  Safari must use some special method to view SVG, otherwise I'd  
expect Preview would be able to do it.






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2063; Package emacs,ns. (Thu, 29 Jan 2009 23:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 23:15:04 GMT) Full text and rfc822 format available.

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

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 2063 <at> debbugs.gnu.org
Subject: Re: 23.0.60; repeated compile failures after updates for Emacs.app
Date: Fri, 30 Jan 2009 00:07:55 +0100
Am 29.01.2009 um 23:35 schrieb Adrian Robert:

> I can reproduce only the xbm failures, and don't have librsvg to  
> test svg.

Both MacPorts and Fink offer librsvg 2.22.3.

Previous Emacs-app version were using:

	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit  
(compatibility version 45.0.0, current version 824.48.0)
	/sw/lib/fontconfig2/lib/libfontconfig.1.dylib (compatibility version  
3.0.0, current version 3.0.0)
	/sw/lib/libdbus-1.3.dylib (compatibility version 8.0.0, current  
version 8.0.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,  
current version 5.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 88.1.12)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)

The new Emacs.app uses additionally, from Fink:

	/sw/lib/libcairo.2.dylib (compatibility version 10803.0.0, current  
version 10803.6.0)
	/sw/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 1401.0.0,  
current version 1401.7.0)
	/sw/lib/libglib-2.0.0.dylib (compatibility version 1801.0.0, current  
version 1801.4.0)
	/sw/lib/libgmodule-2.0.0.dylib (compatibility version 1801.0.0,  
current version 1801.4.0)
	/sw/lib/libgobject-2.0.0.dylib (compatibility version 1801.0.0,  
current version 1801.4.0)
	/sw/lib/libintl.3.dylib (compatibility version 8.0.0, current  
version 8.3.0)
	/sw/lib/librsvg-2.2.dylib (compatibility version 25.0.0, current  
version 25.3.0)


> Safari must use some special method to view SVG, otherwise I'd  
> expect Preview would be able to do it.
>


WebKit?

--
Greetings

  Pete

The light at the end of the tunnel has been turned off due to budget  
cuts.






bug reopened, originator not changed. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 23:15:05 GMT) Full text and rfc822 format available.

Changed bug title to `image issues in nextstep' from `23.0.60; repeated compile failures after updates for Emacs.app'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 23:15:05 GMT) Full text and rfc822 format available.

Merged 2063 2108. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 29 Jan 2009 23:15:05 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs,ns' to `emacs'. Request was from Sven Joachim <svenjoac <at> gmx.de> to control <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 07:15:05 GMT) Full text and rfc822 format available.

Disconnected #2063 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 05 Feb 2009 00:00:02 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 05 Feb 2009 00:00:03 GMT) Full text and rfc822 format available.

Forcibly Merged 2063 6678. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 22 Nov 2012 18:40:01 GMT) Full text and rfc822 format available.

Forcibly Merged 2038 2063 6678. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 22 Nov 2012 18:46:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 21 Dec 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 241 days ago.

Previous Next


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