Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#11
It may be easier if this is in a tar.gz next time.

tar cvzf /media/mmc1/liqbase-<version here<.tar.gz liqbase-folder

^ will tar it up. if the liqbase is tarred up on an ext/jffs system, execute permissions will be kept.

/me ends this off topic
 
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#12
qwerty, I agree totally.
Even more ideal would be a package..
 
Posts: 425 | Thanked: 132 times | Joined on Mar 2008 @ California
#13
@lcuk - you might look at PyPackager over at http://khertan.net/pypackager/

Qwerty12 was kind enough to walk me through using it a couple of weeks ago It's really easy to use and is probably the quickest way to make a .deb package

If you'd like, I'd be more than happy to walk you through the process, it's really simple just drop me a PM
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.

Last edited by josiahg777; 2008-07-01 at 23:04. Reason: Spelling atrocity
 
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#14
Thanks josiahg777 for the kind offer, I will be needing a package in short term future, but for now its not a priority.

I would have to carefully consider where data is to be stored and arrange a lot of other things in the background which are just too fluid right now.

When the software stops feeling like a technology demo and becomes an actual application I will build a package then.

Having this post here will remind me and when I come to building it, if I am having trouble I may come knocking on your inbox
 
Posts: 425 | Thanked: 132 times | Joined on Mar 2008 @ California
#15
Hahah okay I browse these forums semi-obsessively, and I've benefited immensely, so I'm more than willing to lend a hand wherever I can in return
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.
 
Posts: 393 | Thanked: 112 times | Joined on Jul 2007
#16
looks great!
 
Posts: 76 | Thanked: 8 times | Joined on Mar 2008 @ Friday Harbor, WA, USA
#17
might you consider upping the max book size? 4megs is a little small. I am reading Herodotus, and the Wheel of Time series (in a single text file.) Would love to switch to this instead of FBReader. I sthere a way to actively change scroll speed whle reading?
thanks for your time and effort.
__________________
n810, dual boot flash and microsd 8gig, (yay! autoscroll on liqbase!!,) former palm freak / tech geek turned tablet lover
 
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#18
Originally Posted by Oberon85 View Post
might you consider upping the max book size? 4megs is a little small. I am reading Herodotus, and the Wheel of Time series (in a single text file.) Would love to switch to this instead of FBReader. I sthere a way to actively change scroll speed whle reading?
thanks for your time and effort.
I never thought anyone would realise there was a limit to the filesize
good to know people are interested enough to even discover this!

Because of the way I am loading the entire document I did not want to kill all the memory by attempting to load the entire thing (its only a test..), but I will relieve this limit before I push it to garage later.

note however, this is not even finished and will need tweaking in the near future to extract the book reader into a stand alone application with its own preferences and options, and yes variable speed scrolling will be one of those options (as will lots of other things discussed and noted with the testers I've had).

Long term I think it would be nicer to allow fbreader to render to a liqbase screen because I know nothing about book formats and don't really want to get bogged down with those (graffiti + sketching management and ui is my personal target...)

Of course, once the source is out there others may decide to expand liqreader into a full book reader but I don't have a crystal ball.
 

The Following User Says Thank You to lcuk For This Useful Post:
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#19
here is a quick little frontend until lcuk can make a good one. This is by far the best book reader for the tablets (well, the idea anyway) Cant wait to see how it will turn out in the end.

Its in python, based off pyboy by Aisu. Just extract the zip file to /usr/bin/ and run in the terminal "pybook"

Code:
#! /usr/bin/python

import gtk
import pygtk
import os
import hildon

class Namespace: pass
def main(x):
	ns = Namespace()
	ns.pixelDouble = False
	ns.fullscreen = False
	window = hildon.Window()
	def quiter(x):
		gtk.main_quit()

	window.connect("destroy", quiter)

	tab = gtk.Table(2, 5)
	tab.show()

	def filesel(x):

		def ok(x):
			filename = game.get_filename()
			game.destroy()
			global snesg
			snesg = filename
			return filename

		game = gtk.FileSelection(title="Pick a Book")
		game.cancel_button.connect("clicked", lambda w: game.destroy())
		game.ok_button.connect("clicked", ok)
		game.set_filename("/media/")
		a = game.run()
		return a

	def startit(snesg):
		os.popen("/home/user/liqbase/liqbase " + snesg)
	
	fullscreenButton = gtk.CheckButton("Fullscreen");
	def toggleFullscreen(x):
		if fullscreenButton.get_active():
			ns.fullscreen = True
		else:
			ns.fullscreen = False

	fileb1 = gtk.Button("Select Book")
	fileb1.connect('clicked', filesel)
	fileb1.show()

	tab.attach(fileb1, 0, 2, 0, 1)

	def changed_cb(combobox):
		model = combobox.get_model()
		active = combobox.get_active()
		if active < 0:
			return None
		global multi
		multi = model[active][0]
		return model[active][0]

       
	
	notesString = "Controls: Select Read a Book to read. Use fingers to scroll, etc... 4 MB maximum filesize, only .txt files"
	notes = gtk.Label(notesString)
	notes.set_line_wrap(True)
	notes.show()
	tab.attach(notes, 0, 2, 3, 4)

	def e(x):
		startit(snesg)

	start = gtk.Button("Start Reading!")
	start.connect("clicked", e)
	start.show()

	tab.attach(start, 0, 2, 4, 5)

	window.add(tab)
	window.show()
	gtk.main()

x = "0"
main(x)
Attached Files
File Type: zip pybook.zip (880 Bytes, 108 views)
 

The Following 3 Users Say Thank You to Thesandlord For This Useful Post:
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#20
Thesandlord,

damn good idea, I hope it works (confirmed, it does)
I will put in some params and let you auto run the reader component and exit on escape quickly without multiple menus (ie "just run X module with these params" )


This is fairly simple and I should be able to sort it as soon as I am comfortable with svn in the next couple of days.

at least it lets you see if they will work with your documents
Might be an idea to check with folks where they put liqbase, but that should be finalised soon and it should find a home somewhere.

Last edited by lcuk; 2008-07-06 at 16:58.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:23.