View Single Post
Old 08-21-2009, 02:58 PM   #296
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by sidgalt View Post
The source code linked above seems to be for windows though since when I tried running setup.py, it asked for the module py2exe which is windows only afaik. I tried svn checkout but encountered the same problem.
I'm afraid everything is a bit more "manual" as there is no automated modules update/fetching. It really does need a seasoned installer...

The two biggest issues seem to be:
(1) ensure the compatible libraries are set up esp. for libpng.
(2) use a NRmobi2html.pl source code replacement in place of the windows executable. And substituing any windows executables supplied with the PDFRead-Installler with the source for programs listed in the common.py module.
Code:
COMMANDS = {
  'djvused'      : False,
  'gs'           : False,
  'NRhtml2mobi'  : False,
  'pdfinfo'      : False,
  'pdftk'        : False,
  'pngnq'        : False,
  'rbmake'       : False,
  'tiffcp'       : False,
  'tiffsplit'    : False,
  'unrar'        : False
}
nrapallo is offline   Reply With Quote