maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   liqbase - call for assistance (https://talk.maemo.org/showthread.php?t=23854)

qole 2008-10-01 16:23

Re: liqbase - call for assistance
 
Quote:

Originally Posted by Texrat (Post 228888)
You know your thread is popular when it gets the qolled post of approval.

You're just saying that because you haven't seen the bacon.

lcuk 2008-10-01 16:59

Re: liqbase - call for assistance
 
qole, look on page 5 at pamadios posting which nicely includes the contents of the package:

/usr/share/liqbase/NCI_bacon_alpha_small.png

mmmmmmmm bacon goodness.


pamadio, I am going to apply your patch after tea once I get my head into it :)

qole 2008-10-01 17:08

Re: liqbase - call for assistance
 
Looking more closely at that structure, it looks like you can drop images and stuff into that folder and pan around them?

Just a note, you should have a /home/user/MyDocs/liqbase folder as well, that works just like /usr/share/liqbase, so the user can drop stuff into liqbase without having to gain root.

lcuk 2008-10-01 17:26

Re: liqbase - call for assistance
 
~/.liqbase is expected to be used by the software to store preferences and is automagically created by liqbase if not there.
(it is also the location where bookhistories are stored)

Part of the config for those preferences has to be location to hold sketches.
I hope to have these 2 pieces of the puzzle in place tonight :)

If I hard wrote ~/MyDocs/..... then I would have problems with portability further on down the line.

qole 2008-10-01 17:37

Re: liqbase - call for assistance
 
I suggested ~/MyDocs because, for some obscure and unknown reason, the file manager on the tablets shows MyDocs as the root directory. The home directory is far more "portable", since that's where most versions of *nix expect config directories to be stored.

I'm not going to make any more suggestions at the moment, because that will slow you down... :)

Benson 2008-10-01 18:03

Re: liqbase - call for assistance
 
Quote:

Originally Posted by qole (Post 229392)
I suggested ~/MyDocs because, for some obscure and unknown reason, the file manager on the tablets shows MyDocs as the root directory. The home directory is far more "portable", since that's where most versions of *nix expect config directories to be stored.

I'm not going to make any more suggestions at the moment, because that will slow you down... :)

Think you may have misunderstood; my understanding is that settings go in ~/.liqbase, and one of those settings will be LOCATION_TO_GRAB_IMAGES, and that will typically be /home/user/MyDocs/liqbase (or similar).

Basically, it's portable to have a systemwide directory in /usr/liqbase, it's portable to have a user-local config directory at ~/.<appname>, and settings there specifying a user-local directory, but it's not portable to assume there exists a MyDocs, and hard-code a user-local path in it.

qole 2008-10-01 20:58

Re: liqbase - call for assistance
 
I can be so thick sometimes. Thanks guys.

lcuk 2008-10-03 08:30

Re: liqbase - call for assistance
 
Quote:

Originally Posted by qole (Post 229460)
I can be so thick sometimes. Thanks guys.

heh, I guess we will have to type it out for you.
(On the new liqbase vkb ;))

I hate coding sometimes - I have exactly 1 use for a keyboard and never thought I would have to write my own :rolleyes:

ColdFusion 2008-10-03 08:35

Re: liqbase - call for assistance
 
Why not use the builtin? Is it possible to add other character sets to it?

Benson 2008-10-03 08:38

Re: liqbase - call for assistance
 
Just guesses here, but I'm gonna say the built-in one would not work well at differing resolutions, and would not work at all with weird color depths? Besides, it would be horribly out-of place, whereas the dedicated one will surely look awesome.

lcuk, thanks for not leaving N800s out; it's much appreciated!


All times are GMT. The time now is 14:57.

vBulletin® Version 3.8.8