On Monday 20 August 2007 16:49:20 Bo Peng wrote: > Dear list, > > Because I get no objection to the design of the embedding feature of > lyx, I plan to add it to the trunk in the next few weeks. There is, > however, a big question on how to zip and unzip files. > > There is a unzipFile function in src/support/filetools.cpp which calls > 'gunzip -c'. I am not sure how lyx distributes gunzip and I doubt if > it works under windows. > > In my current patch, I build a static library minizip.a from > zlib-1.2.3/contrib/minizip/ioapi.c, zip.c and unzip.c. I then add > functions zipFiles() and unzipToDir() to filetools.cpp using code from > minzip.c and minunz.c. This allows lyx to zip and unzip files easily, > but requires zlib source and changes to our four build systems. I am > not quite sure if this is a good idea so any comment is welcome.
Could you add, please, your ideas to a wiki page under development? Even a compilation of previous messages to this list is OK. :-) > Cheers, > Bo -- José Abílio