Humm... am I wrong ? I kept searching on http://xdp.it/ but couldn't find anything about the modified libraries, although i'm sure I saw that sometime since I also wanted to remove the extra code... I can't tell you unfortunately.. also, I see that the Cximage project has been abondonned, its author didn't release or post on his forums since 2004, so I guess we'll have to figure it all out ourselves... if we can find the diff between those libraries and the ones shipped with tkcximage (from your 'undefined symbol' error, it may have been that he added new functions.. maybe we can implement them separately from the libjpeg code for example), see if there are any big changes, see if any changes, maybe bugfixes he did to the libraries, were patched in the latest versions of zlib/libjpeg/libpng.. if not, can we get a workaround for it ? I'm sure there's a way... The question is, though, how will it work on windows and mac ? the libs are portable right ? (if no, maybe that was the reason he patched them, then we could use the cximage libs only for those platforms..)

btw, if you look at his website, read the forums, or the codeproject's website in the comments, you'll find a few patches and unicode fixes submitted by other users, maybe we could patch our working copy of cximage in order to fix the unicode problem we had (will optimize opening).

p.s.: I think this should go into 0.96 for sure, so let it be added to the TODO, BUT it will be a post RC1, and hopefully a pre RC2... if not (if not enough manpower), we'll have to go into an RC3 before the official 0.96 release...

P.s.2: mabye OT, TkCximage is really slow, do you think we should either use Img instead (assuming it has EVERYTHING we need, like anigifs, resize, colorize, etc...), or maybe we should really optimize it. If we decide to keep TkcxImage (which would be my choice for sure), how about, as a side-project, completly unrelated to amsn, how about making tkcximage, a real tkcximage library, which means, not an extension using cximage to load/save files, but wrap into Tk commands ALL the cximage methods, making TkCximage supercede TkImg by making it not only an image reading extension but also an image manipulation extension. I'm sure the tk community would be thrilled in having an extension allowing them to create a tkphotoshop app... :p

KaKaRoTo

On Fri, 19 May 2006 04:36:55 -0400, Sander Hoentjen <[EMAIL PROTECTED]> wrote:

Hi,

in order to get the amsn rpm into Fedora, I need to build TkCximage
against system copies of jpeg, png and zlib. I told youness this and he
answered that it isn't possible, since our versions are heavily modified
ones. I search for proof of that but I can only find that the amsn team
didn't change anything. (also the files on my system (jmorecfg.h,
jpeglib.h, jerror.h) are the same except for 2 small bugfixes)

Attached I have the diff i made, unfortunately it doesn't work:

$ wish
% lappend auto_path utils
/usr/share/tcl8.4 /usr/share /usr/lib /usr/share/tcl8.4/tcllib-1.8 /usr/share/tk8.4 utils
% package require TkCximage
couldn't load file "utils/TkCximage/TkCximage.so":
utils/TkCximage/TkCximage.so: undefined symbol: jpeg_resync_to_restart

Can anyone with any c knowledge help me?



--
KaKaRoTo


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to