Thread: impfind
View Single Post
Old 10-18-2008, 09:22 PM   #22
derrell
Jack O' Apes
derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.derrell once ate a cherry pie in a record 7 seconds.
 
derrell's Avatar
 
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
Quote:
Originally Posted by nrapallo View Post
Mobi2IMP.pl uses the .imp creation routine I "lifted" from the SBPubX.doc COM interface doucmentation that ships with eBook Publisher. It basically calls '$builder->Build($project);' to create the .imp. You use 'BuildFromProject', but how is it different than what I'm calling that doesn't make it work!
The main problem that I've had is getting the extra perl modules the scripts need installed in the activestate perl that I've got installed under wine. Even the exe version that uses par to budle all of the stuff up fails under wine with errors from par. I fought with it all for awhile then just said to heck with it. There is a point where its just not worth all the extra effort trying to get windows software to work under linux. Thats why I started thinking along the lines getting most of the work done in a native linux environment and using wine as little as possible. The little script that I wrote to run under wine uses only the AutoPublisher api. You pass in a path to the opf and it creates the imp file.


Quote:
Originally Posted by nrapallo View Post
So after installing eBook Publisher using wine, what do you call to create the .imp? Is it detailed in your EBookwise-1150-Linux wiki page?
I haven't added any of this to the wiki yet because it is such a mess to try getting wine set up to work with the command line tools. Impmake works but you have to have two seperate bottles for wine with eBook Publisher installed in them. The first can just be standard with only the core fonts installed into it. The second, where impmake will run, has to have some other dll's installed that allow the api calls from AutoPublisher to work but completely break the gui version of eBook Publisher.


Quote:
Originally Posted by tompe View Post
I kind of like the Perl's object orientation. For larger Perl programs I always use it. And I used it a bit in MobiPerl.

My PerlTK programs usually starts out non-OO but when they grow they become a mess so I ususally add OO at some point.
Yeah, at some point I'm going to have to break down and get comfortable with writing OO but since this is a hobby I just haven't taken the time to do it. My day job, or I should say night job since I work the graveyard shift, is being a machinist.
derrell is offline   Reply With Quote