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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2021, 02:35 PM   #61
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 668754
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Okay. Understood.

Now I'm fighting with cmake. I cannot get the freetype2 directory included

Do you, by any chance, know how to set up a cmake file for sh_ivtool?

Mine currently looks like this:

Code:
cmake_minimum_required(VERSION 3.7)

# set the project name
project(sh_ivtool)

include(/SDK_6.3.0/SDK-B288/share/cmake/arm_conf.cmake)
list(APPEND PB_INCLUDE_DIRECTORIES "${FREETYPE_INCLUDE_DIRS}")

# add the executable
add_executable(sh_ivtool.app main.c)
Skeeve is offline   Reply With Quote
Old 10-17-2021, 02:56 PM   #62
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 668754
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Seems I got it.
Code:
cmake_minimum_required(VERSION 3.7)

# set the project name
project(sh_ivtool)

# add the executable
add_executable(sh_ivtool.app main.c)

include(/SDK_6.3.0/SDK-B288/share/cmake/arm_conf.cmake)
link_directories("${PB_LINK_DIRECTORIES}")

target_include_directories(sh_ivtool.app PUBLIC "${FREETYPE_INCLUDE_DIRS}")
target_link_libraries(sh_ivtool.app inkview)
To compile then:
Code:
mkdir build
cd build
cmake ..
cmake --build .
Skeeve is offline   Reply With Quote
Old 10-17-2021, 05:02 PM   #63
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 668754
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Tested the file selection and it does something, but seems to hang.
Skeeve is offline   Reply With Quote
Old 10-17-2021, 06:18 PM   #64
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 2,842
Karma: 16411097
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I'll try building for fwv6 and testing on my PB633 later tonight. I don't think I've actually tried sh_ivtool in quite a few years. It's sunny outside for a change, and I have to work on my shed in the backyard, so I'll let you know how it goes late tonight or maybe tomorrow sometime.
rkomar is offline   Reply With Quote
Old 10-18-2021, 02:31 AM   #65
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 142
Karma: 668754
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Take your time.

BTW: Is there a github repo for it? Otherwise I'd create one, but if so, I'd loke to fork it.
Skeeve is offline   Reply With Quote
Old 10-18-2021, 01:33 PM   #66
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 2,842
Karma: 16411097
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
No, I haven't made a public repo. Feel free to fork it if you like, just remember that it is released under the GPL .

I tried it out on my PB633, and it looks like the problem is that the application does not automatically get the focus of the UI. If you run it, and then bring up the Task Manager, you will see the application in the list. Selecting it in the Task Manager will bring the dialog up on the screen. That is not ideal behaviour, so I'll look around to see if that can be fixed. Otherwise, the application seems to run correctly based on my quick tests.
rkomar is offline   Reply With Quote
Old 11-29-2021, 12:25 PM   #67
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 2,842
Karma: 16411097
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I modified the source code to explicitly set the application as the Active Task and it now automatically displays on all of my devices. I updated the application's home page with the latest source code and applications for all of the various firmware versions. See the first post for a link to the homepage. People with older firmware versions (4 and earlier) do not need to update because there is no added functionality. The new version is mainly for people with new devices.
rkomar 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
Trio of Picture Books - Simple Animals, Simple Shapes, and You're My Baby! Manley Peterson Self-Promotions by Authors and Publishers 5 01-06-2012 09:55 PM
Application update: application not installed error Merischino Kindle Fire 4 12-01-2011 11:30 PM
erm, simple question , hope for simple answer! al zymers Amazon Kindle 5 09-25-2010 02:01 PM
Simple question for a simple mind :) PKFFW OpenInkpot 6 08-27-2009 10:00 PM
Television scripts for your handheld Bob Russell Lounge 2 01-07-2006 07:22 PM


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


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