Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2012, 11:36 AM   #736
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
It does. I agree with your points.

Might I politely suggest you consider having a shufty at buildroot.

Since you are "a noob" (although I think after building that we can safely term you "blooded") that will undoubtedly seem like fun. Your new found skills with Make certainly will have a home there.

(Perhaps you could inject KPDF into the make packages, a completely kindle app in the tree, With a completely hand built make, that would be cool, BR supports home-madey makes )


As you can see I really have no answers, only ideas, I appreciate your take on the TC's
I am certain KNC meant well.

In other news if you are up for it I could REALLY use some help getting doom going...

Just a thought.

In answer to your question I'm going to dump some 3 stuff on a 5 straight out of buildroot via the CS 2007q3 and see what happens. LOL.

Answers soon.
twobob is offline   Reply With Quote
Old 09-29-2012, 11:36 AM   #737
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by Kai771 View Post

Since I never tried compiling anything other than kpdfv, these are just speculations of a noob, but I'd expect most other apps would work with the latest CS/MG, given the same switches used with kpdfv. I think that if you use the latest source of any opensource project you'd like to build, it will require more recent gcc than 4.2, if not now, then soon. So personally, I'd go with the latest, and regress if necessary.
Any objective is worthy of a specific description.

For new work, if your objective is to compile code targeted at a device that uses recent glibc system libraries,
then that requires a gcc version newer than 4.2 to compile those glibc system libraries.
That objective in itself sets a minimum gcc version.
Neither the vendor of the gcc version, the target of the compilation, nor the producer of the gcc compiler binaries is relevant in the selection of the minimum gcc version.

For work targeting an existing system, then the type and version of the existing system libraries may (is likely to) set a different minimum gcc version. This sort of objective may also set a maximum gcc version. It may also set other limits to the selection of the gcc version.
The prime deciding factor is the type and version of the system libraries being run by the targeted existing system.

For work targeting an existing Kindle system, just stating the objective as "a Kindle system" is not a specific enough to qualify the objective.
The Kindle models, and the software system that runs them, has evolved over time. Not all Kindle models run the same type and version of system libraries.
A person's choice in this situation is to better qualify the objective.
If qualified as a specific Kindle model, then that specifies the type and version of system libraries the work is targeted at and that in turn may set requirements on gcc version, per the above.

Quote:
Originally Posted by Kai771 View Post
Regarding Linaro, I think that it might be better than CS/MG. It seems Linaro is pretty popular with building android roms, for example. However, it won't work out of the box (on K3. I think it works out of the box on K5). To make it work on K3, you'd have to build it yourself. I'm reluctant to do it, at least for now. It might not be that hard, but... idk, it seems like too much work for me. So I think I'll stick with CS/MG for now.
There is another consideration to be made, that is not included in the above statements.
Which CS/MG release process is being discussed.
The "for purchase" version, generally released at 3 month intervals and updated during its deployment, will be very close (within 3 months or closer) to the Linaro versions.
The "for free" version, will always be at least 6 to 9 months older than the Linaro project.
This is an artifact of the company not releasing the sources to the current "for purchase" version until that version has been replaced.
With CS/MG - to get a tool-chain comparable to the Linaro project, you have to purchase the binary builds.

It is misleading to compare Apples and 9 month old Oranges.

The Linaro project targets only the ARM processors. A single focus project.
The CS/MG targets most of the common processors used in the world of embedded systems. A multiple focus project. This can reduce the degree of attention paid to any single processor target.
These two large, for-profit, corporations do not work in a vacuum. They both publish their changes to the upstream projects. What gets fixed by one will appear in the sources of the other through the commonality of the upstream projects.

The GPLv2, section 3 requires the release of "all scripts and other files ..." I.E: Everything required to duplicate the binary from the sources.

For Linaro, they use the crosstool-ng build system to create their binary releases. They also post the complete crosstool-ng system used "as configured" with each release of the sources and binaries they make.
You only have to run the crosstool-ng system, with possibly changes in its configuration to match your fully qualified objective.

For CS/MG, they include all of the scripting and configuration they used in the source bundle for each release.
You only have to run it the way they ran it, again with possible changes in its configuration to match your fully qualified objective.

No "invented here" build effort required in either case (other than your local changes to the configuration).

Quote:
Originally Posted by Kai771 View Post
If I were to build Linaro, however, I'd go for the latest stable release, and build that. Bleeding edge is, well... too bleeding edge for me . In my opinion, bleeding edge is for experts, and since I'm just a noob, it's clearly not for me.

Correct me if I'm wrong, but don't apps built for K3 (nano for example) work on K5? If so, I'd use armv6 etc settings for all but performance critical apps (for example, nano doesn't need to be optimized for armv7. Some Video codec, on the other hand...). Some might say it's because I only have K3, but I'm not a fan of optimizations for optimization sake.
Applications can be built to run on both the K3 and the K5 if and only if:
The lowest common denominator of the hardware resources is sufficient; and
(presuming from the non-specific context above: "using the Amazon-lab126 libraries that are pre-installed"):
The lowest common denominator of mutual compatibility between system libraries and kernel headers is used.

If claims of "ABI compatibility" are relied on in making the above configuration decisions, be prepared to discover and deal with any over-sights in those claims.

Quote:
Originally Posted by Kai771 View Post
So, these are my opinions. I don't know how useful they may be to anyone, but I hope that answers your question .
As opinions on a general over-view of the situation, not bad.
As guidance for others, something more specific than generalized opinions is required.

For readers interested in entering this world of system's building . . . .
I strongly recommend that they take the time to work through at least one build of LFS (Linux From Scratch):
http://www.linuxfromscratch.org/lfs/

Once you master that, if interested in doing cross-system development, then I recommend that you work through that specialization of LFS:
http://trac.cross-lfs.org/
knc1 is offline   Reply With Quote
Old 09-29-2012, 11:40 AM   #738
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Built for a 3 with 3 flags...
splattered on 5...
[root@kindle root]# /mnt/us/usr/bin/gnuchess
Quote:
GNU Chess 5.07
Adjusting HashSize to 1024 slots
Transposition table: Entries=1K Size=48K
Pawn hash table: Entries=0K Size=32K
White (1) :
works fine...
twobob is offline   Reply With Quote
Old 09-29-2012, 11:44 AM   #739
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Yeah it's an interesting point about GPLv2 "You must include all configs"

Thought about that. In essence to fully comply one would have to provide the entire machine as a snapshot. sort of silly.

Went with: The full build folders and be damned
twobob is offline   Reply With Quote
Old 09-29-2012, 11:51 AM   #740
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
Built for a 3 with 3 flags...
splattered on 5...
[root@kindle root]# /mnt/us/usr/bin/gnuchess

works fine...
Hey, I never discussed: "Luck" in my post. *

The above post was addressed to an audience that was at the point of their 2nd or 3rd try at compiling something.

Not at folks who are in their 2nd or 3rd decade of compiling things.

- - - -
* Actually, those buzz-words: "ABI compatibility" at work.
knc1 is offline   Reply With Quote
Old 09-29-2012, 11:56 AM   #741
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
Yeah it's an interesting point about GPLv2 "You must include all configs"

Thought about that. In essence to fully comply one would have to provide the entire machine as a snapshot. sort of silly.

Went with: The full build folders and be damned
That is a subject that has received a lot of attention on the Buildroot project mailing lists.
There has even been some efforts made to automate the process of GPL compliance in Buildroot.

But some of the commercial contractors using Buildroot have decided the same as yourself:
Tar-Ball the entire mess (exclusive of their proprietary, locally added, parts), drop it on the world and "be done with it".
Let "the world" sort it all out.

Last edited by knc1; 09-29-2012 at 12:03 PM.
knc1 is offline   Reply With Quote
Old 09-29-2012, 12:13 PM   #742
swrd
Junior Member
swrd began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2012
Device: kinde DXG
Smile how can i custom the margin

First of all ,It's a wonderful software.
Well we can custom the LINE SPACING by alt + pageup OR pagedown
font by shift+pageup OR pagedown
and how can i custom the margin of txt mobi or epubs

Is there some shortcut or should i edit the cr3.css or txt.css.
I NEED you helps.thx
swrd is offline   Reply With Quote
Old 10-01-2012, 01:07 PM   #743
tigran
Zealot
tigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tongue
 
Posts: 104
Karma: 22956
Join Date: Nov 2009
Location: London
Device: Kobo Aura HD and H2O,Kobo Mini,Kindle 3+DXG,Nook Simple Touch
The very latest (pre-release) version is available here:

https://github.com/tigran123/kindlepdfviewer/downloads

The more people download and test it the sooner you will get the official release
tigran is offline   Reply With Quote
Old 10-02-2012, 08:13 AM   #744
dpavlin
Connoisseur
dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.
 
dpavlin's Avatar
 
Posts: 59
Karma: 116624
Join Date: May 2011
Location: Zagreb, Croatia
Device: Kindle K3G and DXG
Release 2012.09

I just pushed new 2012.09 release to

https://github.com/hwhw/kindlepdfviewer/wiki/Download

Thanks to all developers for hard work, and I hope you will like it.
dpavlin is offline   Reply With Quote
Old 10-02-2012, 11:05 AM   #745
Fred Vargas
Member
Fred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura aboutFred Vargas has a spectacular aura about
 
Posts: 10
Karma: 4118
Join Date: Jun 2012
Location: Brasil
Device: Kindle 3
Quote:
Originally Posted by dpavlin View Post
I just pushed new 2012.09 release to

https://github.com/hwhw/kindlepdfviewer/wiki/Download

Thanks to all developers for hard work, and I hope you will like it.
what was already good, just got better

I use your reader at least 4hrs per day and i'm very happy. I only had a problem. Some vectorized objects in pdf - like dialogue box - make the page take a few minutes to change.
Fred Vargas is offline   Reply With Quote
Old 10-02-2012, 03:27 PM   #746
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 140
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
Old hacks for the new release. They're first discussed here. Since some people did downloaded them, I thought maybe some of them need it. So here they are. Just unpack it and copy it over unireader.lua on your kindle. Changes contain:

1. Changing key bindings for Zoom to Fit to Content etc.
2. Removing dimming of overlapping content
3. Always fill screen with content of the page
Attached Files
File Type: zip unireader-R2012.09.zip (20.9 KB, 58 views)

Last edited by Kai771; 10-02-2012 at 04:58 PM.
Kai771 is offline   Reply With Quote
Old 10-02-2012, 10:56 PM   #747
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 230
Karma: 183457
Join Date: Jan 2012
Device: k3G(broken), KDXG, paperwhite
Quote:
Originally Posted by swrd View Post
First of all ,It's a wonderful software.
Well we can custom the LINE SPACING by alt + pageup OR pagedown
font by shift+pageup OR pagedown
and how can i custom the margin of txt mobi or epubs

Is there some shortcut or should i edit the cr3.css or txt.css.
I NEED you helps.thx
So far, there is no shortcut But it is in the TODO list.


Quote:
Originally Posted by dpavlin View Post
I just pushed new 2012.09 release to

https://github.com/hwhw/kindlepdfviewer/wiki/Download

Thanks to all developers for hard work, and I hope you will like it.
And all the users who reported bugs and helped with testing, especiall eLiNK and dracodoc
dave2008 is offline   Reply With Quote
Old 10-07-2012, 03:49 PM   #748
dracodoc
Connoisseur
dracodoc has a complete set of Star Wars action figures.dracodoc has a complete set of Star Wars action figures.dracodoc has a complete set of Star Wars action figures.dracodoc has a complete set of Star Wars action figures.
 
Posts: 79
Karma: 322
Join Date: Mar 2009
Device: Kindle DXG, Sony T1
How can I change the font zoom step in crereader? I'm using some Chinese font for Chinese epub book, the current font zoom step is too big, I tried to edit the crereader.lua, changed the delta =0.5, but that doesn't work, it seemed to have to be integer.
dracodoc is offline   Reply With Quote
Old 10-08-2012, 08:19 AM   #749
lokoroko
Junior Member
lokoroko began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2012
Device: Kindle Keyboard 3G
Thanks for great program.

I've made two screenshots: one for default Kindle 3 (Keyboard) PDF reader and one for this one. You can add these screenshots in description to illustrate difference (and improvement) between readers.
Attached Thumbnails
Click image for larger version

Name:	stock_kindle3_pdf.gif
Views:	1591
Size:	35.4 KB
ID:	93630   Click image for larger version

Name:	new_cool_pdf.png
Views:	1444
Size:	62.9 KB
ID:	93631  
lokoroko is offline   Reply With Quote
Old 10-08-2012, 08:54 AM   #750
tigran
Zealot
tigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tonguetigran can tie a knot in a cherry stem with his or her tongue
 
Posts: 104
Karma: 22956
Join Date: Nov 2009
Location: London
Device: Kobo Aura HD and H2O,Kobo Mini,Kindle 3+DXG,Nook Simple Touch
Quote:
Originally Posted by Kai771 View Post
Old hacks for the new release.
2. Removing dimming of overlapping content
Thanks, I implemented this feature as a per-book configurable (controlled via `O` command) in the PR #395, see here:

https://github.com/hwhw/kindlepdfviewer/pull/395

I haven't built the new kindlepdfviewer yet, probably will do tonight, it will be in the usual location:

https://github.com/tigran123/kindlepdfviewer/downloads

Last edited by tigran; 10-08-2012 at 09:02 AM. Reason: corrected a typo
tigran is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Librerator - multi-format e-reader, fork of KPV Kai771 Kindle Developer's Corner 345 Today 09:10 PM
Native KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 677 Today 07:05 AM
Yet another PDF viewer (muPDF based) melihron PocketBook 66 09-02-2014 04:03 AM
Text-based PDF to Mobi, etc./Kindle 3 kidblue Calibre 41 07-20-2012 04:19 PM
muPDF on Kindle DX!! DairyKnight Kindle Developer's Corner 8 03-21-2010 04:39 AM


All times are GMT -4. The time now is 10:15 PM.


MobileRead.com is a privately owned, operated and funded community.