CPUnltd
Active Member
would like to see documentation... plan on getting into PND packaging myself and would like to do it as efficiently as possible... so, what new features are you guys planning to bring to Panorama?
dflemstr said:The issue with stuff rather lies with other people that haven't been very cooperative, in my opinion (And that's all that matters for justifying my own decisions ). It has been people like CraigIX and EvilDragon that caused me trouble; CraigIX for sticking to an old version of the PND standard for a *very* long time, causing correct PNDs to misbehave on the Pandora Appstore thing (which caused a whole story on its own, because *that* had bugs too), and EvilDragon for not really having enough time to actually care about the problem, having declined multiple times when I offered to help, saying "what we have is good enough."
dflemstr said:I'll look into:
But I'll be VERY busy until at least the first of April, so might just do bug fixes till then.
- Making application discovery pluggable (if libpnd exists, add preview pics; if PackageKit exists, add installable apps; if pack.man. X exists, add that too... tons of plugins)
- Adding a "Window {}" QML thing so that we can transition into doing WM kinda stuff, but I dunno how far I want to go with this (But adding a Panorama WM would be easy, with inspiration from the xmonad WM which is written in ~500 SLOC of Haskell (which is barely anything))
I answered your post in the other thread. I tried this but put it on the back burner for now because I couldn't think of an elegant solution to the constant mounting/unmounting. I'll probably look into this again at some point though.Esn said:If you guys are entertaining feature requests... could there be a built-in viewer for documentation files for PNDs? This is one thing that Xfce and Minimenu fail badly at. They use Arora to open these files, and it takes ages to load; very inconvenient.
#ifndef SQUACC_H
#define SQUACC_H
typedef squacc_handle_t (void *);
const char **squacc_get_decompressor_names(int *count);
const int *squacc_get_decompressor_ids(int *count);
squacc_handle_t squacc_new();
void squacc_delete(squacc_handle_t handle);
void squacc_set_squash_file(squacc_handle_t handle, const char *squashFile);
const char *squacc_get_squash_file(squacc_handle_t handle);
void squacc_set_num_processors(squacc_handle_t handle, int numProcessors);
int squacc_get_num_processors(squacc_handle_t handle);
void squacc_set_data_queue_size(squacc_handle_t handle, int dataQueueSize);
int squacc_get_data_queue_size(squacc_handle_t handle);
void squacc_set_frag_queue_size(squacc_handle_t handle, int fragQueueSize);
int squacc_get_frag_queue_size(squacc_handle_t handle);
char **squacc_ls(squacc_handle_t handle, const char *dir, int *count);
char *squacc_read(squacc_handle_t handle, const char *file, int *length);
void squacc_read_to_handle(squacc_handle_t handle, const char *file, int fd);
#endif
skeezix said:Mounting is not too slow really (depends on Sd, but say 1/3 seconds?) when you run an app in a pnd, you dont' really notice it right?
So mostly its loading a browser and all that.. ie: arora woudl be gtk or qt based, so when firing it up all that whole subsystem has get loaded into meory and all that, big chunk; but panaorama already has all that up.
But we've had a bunch of slim browsers popping up lately, so could use some of them instead of Arora .. find a browser that starts up reallly quick and let me know; changing from Arora to somethign else is just a config file to libpnd
http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=blob;f=deployment/etc/pandora/conf/desktop;h=653f332ccc297e7791f9782ab33f729edc4561f6;hb=cdaa163638fe57d9616e46fbbb79d1c20090ecbb
/etc/pandora/conf/desktop
25 [info]
26 emit_info 1 # 0->no info .desktop; !0->yes to info .desktop
27 dotdesktoppath /usr/share/applications # path for pndnotifyd to spit .desktop files into
28 viewer ../../../usr/bin/arora # sh-script or prog to run. Use wrapper sh if needed.
29 viewer_args # args. <- plus filename will be passed. ie: "-a filename.html"
30 category Documentation # freedesktop standard category to use
We change that to another browser and poof, mmenu and xfce and panorama use that, magic.
jeff