![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Nevermind, I ploughed on regardless!
I now have a directory c:\Program Files\Bazaar\calibre which includes the src sub-directory. I've set the environment variable CALIBRE_DEVELOP_FROM and tested it as per manual. I've opened the file ...\src\calibre\__init__.py and tried the "Hello World" mini-test successfully. I've then removed it again. So I'm cooking on gas - what next? |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
look for the file
src\calibre\customize\profiles.py Scroll down to around line 276 where you will see Code:
class SonyReader300Output(SonyReaderOutput): author = 'John Schember' name = 'Sony Reader 300' short_name = 'sony300' description = _('This profile is intended for the SONY PRS-300.') dpi = 200 Code:
class SonyReader300Output(SonyReaderOutput): author = 'John Schember' name = 'Sony Reader 300' short_name = 'sony300' description = _('This profile is intended for the SONY PRS-300.') dpi = 200 screen_size = comic_screen_size = (350, 350) |
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Result!!! Thank you. That will do for now.
![]() Finally, can you tell me what steps I will need to take when I want to install the next Calibre upgrade? |
![]() |
![]() |
![]() |
#20 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
The other is to do a commit of your edit changes, then a merge of the new code from Kovid's trunk: Code:
bzr commit -m "Changes made to fix FBReader on the PB360" bzr merge |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Thank you Starson. A couple of (dumb) questions for you:-
1. Why is there no reference to Calibre in this code? How does Bazaar know? Code:
bzr commit -m "Changes made to fix ADE on the PB360"
bzr merge
Code:
cd \program files\bazaar bzr branch lp:calibre Is there a way to specify a different destination directory? |
![]() |
![]() |
![]() |
#22 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Quote:
Code:
bzr branch lp:calibre C:\some-path\calibre2\src |
||
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Thank you for your help.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pocketbook 360...access epub toc and zoom tables? | extendedping | PocketBook | 3 | 07-28-2010 12:18 PM |
Folders with Calibre and Pocketbook 360 | Marcy | Calibre | 0 | 03-30-2010 03:53 PM |
Calibre & Pocketbook 360 | Hevelius | PocketBook | 9 | 03-30-2010 05:08 AM |
Calibre 0.6.32 problems with Pocketbook 360 | ganymede | Calibre | 4 | 01-04-2010 06:05 PM |
Calibre doesn't recognize SD card in Pocketbook 360 | Katelyn | Calibre | 5 | 12-01-2009 02:44 PM |