View Single Post
Old 06-25-2014, 10:48 AM   #814
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,884
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi tkeo,

Quote:
Originally Posted by tkeo View Post
Is it OK to include get_image_size() function for next release?
Okay, that is a popular piece of code. I could not find the original site "draco.boskant.nl" anywhere online. Nor did a Google search of draco and boskant and nl turn up anything really. I did find an src.rpm from 2006 linked to by FileWatcher AltLinux. And then by searching altlinux repositories I finally found the Draco-0.99.4.tar.gz and downloaded it.

And yes the routine in question came from image.py and was released under GPL version 2.

Also, the Internet Archive WayBack Machine (web.archive.org) did archive the main page from http://draco.boskant.nl/ and it confirmed it was released under the GPL version 2 back in 2003 I believe.

Also I did the following Google search:

"Determine the image type of fhandle" and draco

And I found that exact same code in at least 3 places all on github.

- in Aveenstra/Images_To_ePub/_ePubMaker.py under the GPL 3 license

- in evfredericksen/oodocx/oodocx/helper_functions.py under a BSD License

- in SublimeText3-Packages/SideBarEnhancements/SideBar.py under a GPL (no version specified) license

I also found it submitted to the Django source-code repository.

So keeping it in our tree under the GPL 3 license is just fine given its use under the exact same licence or free-er.

Quote:
Originally Posted by tkeo View Post
And have you made GUI for epub3 support? If so, please upload it, I'd like to merge it.
I have an experimental version that uses an option menu that defaults to epub2. It is still being debugged. When I built it I broke some of DiapDealer's new features, and I want to get that fixed before posting it. Also, I think DiapDealer will want to handle the setting of epub version in his new ini file so I will ask him for help on that.

Please note: I have made a number of minor typo fixes and other changes in your v072c (spelling of HIEGHT -> HEIGHT, etc) and added support for converting PAGE sections to APNX files (and DiapDealer has done a lot of work on the TkGUI) so please use the KindleUnpack_v072d_test I just posted as the basis of any new feature work so that all of these improvements are not lost.

Thanks,

KevinH

Last edited by KevinH; 06-25-2014 at 02:39 PM. Reason: updated to properly respond
KevinH is offline   Reply With Quote