maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Faster Application Manager (Maemo5) (https://talk.maemo.org/showthread.php?t=57503)

ndi 2010-08-02 17:57

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 773017)
* Use system theme wallpaper on the main screen

Mine's broken - aka black. Is is because I changed the desktop wallpaper?

hqh 2010-08-02 19:09

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 773325)
Mine's broken - aka black. Is is because I changed the desktop wallpaper?

It looks for /etc/hildon/theme/backgrounds/wallpaper1.png and if it can't be found you get a blank background (assuming you haven't copied a custom wallpaper to /root/.fapman/wallpaper.png).

ndi 2010-08-02 19:17

Re: [Announce] Faster Application Manager (Maemo5)
 
Don't have one. I have a wallpaper1.jpg

DaSilva 2010-08-02 19:36

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by bitrocky (Post 771710)
[...]

Please, could you add a small "bing" or led blinking or something after the installing of apps is finished? Because if you install many apps, you don't have to check yourself everytime to see when its finshed!

[...]

This sounds like a handy feature (especially when the display turns off). Would be nice if you could add this hqh.

And could you please add blacklisting for upgradeable packages?

Thanks

Xquiste 2010-08-02 20:12

Re: [Announce] Faster Application Manager (Maemo5)
 
This app is a freaking lifesaver!

lasman 2010-08-03 01:19

Re: [Announce] Faster Application Manager (Maemo5)
 
1 Attachment(s)
I would like to bring to your attention a problem I have noticed.

I have installed navit on my device according to the instructions in this post http://talk.maemo.org/showpost.php?p...&postcount=383

Since then, I have been unable to install any software using fapman. It gives me error messages (see attached file for information from fapman log). I have not had similar problems with the hildon application manager.

Many thanks.

scifi.guy 2010-08-03 01:31

Re: [Announce] Faster Application Manager (Maemo5)
 
Have been using this app for over a week. Works fast enough for me even on 2G.

One thing I noticed is I can upgrade fapman from fapman :) I didn't expect it to work but it did. Great job!

ossipena 2010-08-03 05:25

Re: [Announce] Faster Application Manager (Maemo5)
 
imo it is really stupid to put a bugtracker link leading here. but I've found one bug:

enabling a repository within fapman enables it in HAM too and HAM dialog shows that the repository is disabled.

what about saving repository list separately within fapman, loading the correct ones in startup and reverting to old ones when application is closed?

this is pretty major conflict with system package and needs to be fixed if you want to get this to extras.

leviathan18 2010-08-03 05:46

Re: [Announce] Faster Application Manager (Maemo5)
 
it wont let me download any app because i updated the pbap dependencies

slender 2010-08-03 06:43

Re: [Announce] Faster Application Manager (Maemo5)
 
Little offtopic but relates to this.
I have all repositories enabled. Could someone please explain what happens when you run apt-get update in xterm (as root). I really like fapman but imo just upgrading your software or actually fetching package list takes too much time. When i run apt-get couple of times in a day it downloads almost 5-7 megabytes of stuff every time. Excuse me but Wtf? couple of kilobytes would be understandable. It just takes 10-20 secs and it just too much. It looks like it's doing diff for lists but i do not believed that it's getting incremental update. What the heck it's downloading and why it's in end gzipping stuff? Freaking slow.

also i noticed that Apt-get upgrade kept some packages back like qvernote but fapman and official app manager asked to upgrade app.

aanckar 2010-08-03 07:12

Re: [Announce] Faster Application Manager (Maemo5)
 
1 Attachment(s)
The new style doesn't seem to go along that well with one of the standard themes (Nseries).

On a very light background the text would probably not be visible at all?

jcompagner 2010-08-03 08:41

Re: [Announce] Faster Application Manager (Maemo5)
 
i use the Milky Way image set, so i have an nice dark background
But now i do get the default shown in #252 background (and then the buttons are not really readable anymore). Can there be image set support? or should i just copy something over my self?

hqh 2010-08-03 10:03

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ossipena (Post 773882)
imo it is really stupid to put a bugtracker link leading here. but I've found one bug:

enabling a repository within fapman enables it in HAM too and HAM dialog shows that the repository is disabled.

what about saving repository list separately within fapman, loading the correct ones in startup and reverting to old ones when application is closed?

this is pretty major conflict with system package and needs to be fixed if you want to get this to extras.

This is a valid "bugtracker" according to the wiki... I'll switch to a real one if the app ever goes to extras.

Repository lists of fapman and HAM are already kept separate, HAM restores (or should restore) it's own settings when it does an update. It might be the shared apt cache that causes the "conflicts"... I guess the only sensible way to prevent that is to do a full backup copy of the cache dir.

Quote:

Originally Posted by aanckar (Post 773946)
The new style doesn't seem to go along that well with one of the standard themes (Nseries).

On a very light background the text would probably not be visible at all?

Quote:

Originally Posted by jcompagner (Post 774024)
i use the Milky Way image set, so i have an nice dark background
But now i do get the default shown in #252 background (and then the buttons are not really readable anymore). Can there be image set support? or should i just copy something over my self?

I had a version that faded the background so that the buttons were more readable even with light backgrounds... but I somehow thought that someone's going to complain about that too :) Maybe I'll restore that behavior so that a default wallpaper gets faded but a custom one won't.

At the moment you should copy a custom wallpaper if you're unhappy with how the default one looks. That's what the feature is for :)

Edit: Argh, maybe I should revert back to simple plain standard background with normal, smaller buttons...

d-iivil 2010-08-03 10:16

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 773391)
It looks for /etc/hildon/theme/backgrounds/wallpaper1.png and if it can't be found you get a blank background (assuming you haven't copied a custom wallpaper to /root/.fapman/wallpaper.png).

I think you should change it to look for:
/user/home/.backgrounds/background-1.png

That way if user changes he's wallpaper for desktop1 it's automaticly applied to fapman. Filename is also always the same, so no more issues if theme is bundled with jpg -backgrounds instead of pngs.

jcompagner 2010-08-03 10:47

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 774089)

Edit: Argh, maybe I should revert back to simple plain standard background with normal, smaller buttons...

what i would do: default simple plain standard background
But if you see a wallpaper in your install dir of fapman then use that one..
(or even make it selectable in the settings menu)

grog 2010-08-03 15:04

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 773006)
Quote:

Originally Posted by grog (Post 772138)
Currently in HAM when a package is selected to Update, if you go into Details then Description, you'll see the change log notes for that update (if any). Is that available in fapman, I can't seem to find it?

Currently the only way is to use the web browser button - it should open the package's maemo.org website with the changelogs in the web browser.

Quote:

Originally Posted by grog (Post 772138)
As well I've got a situation right now that according to HAM the extras-devel repo is enabled & there's a bunch of apps to update, but according to fapman it's disabled & there's only one. Are they not supposed to be using the same database's?

They do not share the repository settings, fapman uses it's own list of repos. They are read from HAM only the first time the app is run.

Thanks, Got it now.

ndi 2010-08-03 22:29

Re: [Announce] Faster Application Manager (Maemo5)
 
I know this isn't the Qt way, but all the apps I have themes for have a subfolder under my app called themes, and each folder is a theme. It should contain buttq.png, butt2.png, back.png and maybe a text file that has x, y, dx and dy for each button. And maybe a line for theme author/description. Easy to implement, easy to modify.

rantom 2010-08-04 04:31

Re: [Announce] Faster Application Manager (Maemo5)
 
If I remember right, I've mentioned this before. Every time when I launch the network-connection to my N900 I get the original Application's Manager to check for updates to repositories that it doesn't even use. I've removed Extras-Devel and -Testing-lists from the Application's Manager and moved them to the fapman instead. This happened again today, when I booted the device up (which was odd and first time that it'd happened). Tha same thing happened again during the writing of this post.

Also I think the fapman is missing something from it's lists, since I can't seem to find that update for rootsh anymore. I know it's there since I haven't updated it (unless the original author pulled it off?) but it isn't showing up for some reason.

And yes, I've updated the catalogs.

hqh 2010-08-04 12:41

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 774798)
I know this isn't the Qt way, but all the apps I have themes for have a subfolder under my app called themes, and each folder is a theme. It should contain buttq.png, butt2.png, back.png and maybe a text file that has x, y, dx and dy for each button. And maybe a line for theme author/description. Easy to implement, easy to modify.

Qt can already load your graphics files from a path relative to your stylesheet file. I won't implement a custom theme engine if that's what you're asking, IMO that would be a huge waste of time.

Quote:

Originally Posted by rantom (Post 775002)
Also I think the fapman is missing something from it's lists, since I can't seem to find that update for rootsh anymore. I know it's there since I haven't updated it (unless the original author pulled it off?) but it isn't showing up for some reason.

Can you find the package if you choose the "all" status filter? If yes, what information is displayed for the package?

rantom 2010-08-04 16:33

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 775370)
Can you find the package if you choose the "all" status filter? If yes, what information is displayed for the package?

Yes I can. I'll get a list of all applications (installable, removable and upgradeable) and for example, rootsh is installable (which I already have installed) while as Plastic Theme Pack is removable but not upgradeable. So most likely fapman can't find all installed applications and thus ignores those updates?

hqh 2010-08-04 16:43

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by rantom (Post 775632)
Yes I can. I'll get a list of all applications (installable, removable and upgradeable) and for example, rootsh is installable (which I already have installed) while as Plastic Theme Pack is removable but not upgradeable. So most likely fapman can't find all installed applications and thus ignores those updates?

Yeah, if rootsh is not installed (or fapman thinks it isn't) then it won't be upgradeable either. What does
Code:

dpkg -l rootsh
tell you?

rantom 2010-08-04 17:03

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 775643)
Yeah, if rootsh is not installed (or fapman thinks it isn't) then it won't be upgradeable either. What does
Code:

dpkg -l rootsh
tell you?

Code:

rootsh
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name          Version        Description
+++-==============-==============-============================================
ri  rootsh        1.5            Enable root access, via the "sudo gainroot"

And an extra to compare.

Code:

3g2g-mode-selection-applet
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name          Version        Description
+++-==============-==============-============================================
ii  3g2g-mode-sele 0.4-2          Switch between the three network modes (3G,


hqh 2010-08-04 17:15

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by rantom (Post 775670)
Code:

rootsh
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name          Version        Description
+++-==============-==============-============================================
ri  rootsh        1.5            Enable root access, via the "sudo gainroot"


"ri" means that the package is indeed installed, but has been for some reason marked for removal in the dpkg database. Fapman only reads those packages that are properly installed (marked "ii" in that list). I suggest reinstalling the package with
Code:

apt-get install --reinstall rootsh
(note that this upgrades the package too if a later version is available in your repos)

rantom 2010-08-04 18:59

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 775689)
"ri" means that the package is indeed installed, but has been for some reason marked for removal in the dpkg database. Fapman only reads those packages that are properly installed (marked "ii" in that list). I suggest reinstalling the package with
Code:

apt-get install --reinstall rootsh
(note that this upgrades the package too if a later version is available in your repos)

That's odd. I went and got myself as root, entered the "apt-get --reinstall rootsh" and it just prints to me "Invalid operation rootsh". I did try to remove it from my N900 back in January but it failed, I assume this would have something to do with this? :D

rootsh works fine though, can't just update it with fapman.

ndi 2010-08-04 19:02

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 775689)
Code:

apt-get install --reinstall rootsh

Quote:

Originally Posted by rantom (Post 775805)
"apt-get --reinstall rootsh" and it just prints to me "Invalid operation rootsh"

That's why it prints the message.

chris4 2010-08-04 19:06

Re: [Announce] Faster Application Manager (Maemo5)
 
i have a question which isn't directly related to the ffm:
while looking in the repoository list i saw "nokia ssu" repository how can i download packages from that repo via pc?

rantom 2010-08-04 19:16

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 775808)
That's why it prints the message.

Whoops..

Code:

apt-get install --reinstall rootsh
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reinstallation of rootsh is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Though I assume I'd suppose to have the Extras-Devel enabled for the normal Application's Manager to get this done?

EDIT: After enabling -Devel and -Testing on normal Application's Manager I managed to reinstall the rootsh with it's newest version. However, I'm still not getting upgradeable packages for rest of the missing files, e.g. 3G/2G/Dual Mode Selection Applet (in fapman).
EDIT2: For some very, very odd reason I now lost from the regular Application's Manager the 3G/2G/Dual Mode Selection Applet, it's now listing the same updates as the fapman. :confused:

lasman 2010-08-05 00:09

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by lasman (Post 773769)
I would like to bring to your attention a problem I have noticed.

I have installed navit on my device according to the instructions in this post http://talk.maemo.org/showpost.php?p...&postcount=383

Since then, I have been unable to install any software using fapman. It gives me error messages (see attached file for information from fapman log). I have not had similar problems with the hildon application manager.

Many thanks.

Hello, I wondered if you had a chance to look into this. Unable to get past this error message and can't install any apps using fapman

Jef91 2010-08-05 00:15

Re: [Announce] Faster Application Manager (Maemo5)
 
Howdy There,

Just wanted to say I LOVE FAM. I just did a brief review/overview of the application on my Tech blog -

http://jeffhoogland.blogspot.com/201...er-review.html

Cheers,
~Jeff Hoogland

Flandry 2010-08-05 04:06

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by lasman (Post 776047)
Hello, I wondered if you had a chance to look into this. Unable to get past this error message and can't install any apps using fapman

Either install the qt-experimental packages or remove navit using the remove script and update/install the other apps, and reinstall. You won't have to re-download packages so it won't take long.

That installation does a force that makes apt complain every time it is called until the "broken" dependency is fixed.

lasman 2010-08-05 07:25

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by Flandry (Post 776138)
Either install the qt-experimental packages or remove navit using the remove script and update/install the other apps, and reinstall. You won't have to re-download packages so it won't take long.

That installation does a force that makes apt complain every time it is called until the "broken" dependency is fixed.

Thanks for the reply. I will probably have to do that. However, the hildon application manager does not give me the same trouble. It is able to override this problem somehow. I don't know if there are some settings that can be changed in fapman to allow it do the same.

ndi 2010-08-05 16:32

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by rantom (Post 775828)
EDIT2: For some very, very odd reason I now lost from the regular Application's Manager the 3G/2G/Dual Mode Selection Applet, it's now listing the same updates as the fapman. :confused:

Aaaah, the infamous upgrade bit mismatched stuff.

Let me guess, the updates you had have the same version as those already installed.

The issue is, someone borked the repos. Some packages in devel, testing and final aren't the same, that is, the binaries differ, but not the version. As a result, apt-get offers to "upgrade" them both ways.

Because the version is the same, it doesn't know that one version superseded the other, so when enabling -devel it offers to upgrade from devel, when enabling -testing but not devel it offers that version instead.

The reason why your updates jump up and down is because you enable and disable repos. Right now, if you disable -devel, you get upgrade to say 0.0.3. If you do so and then enable -devel, another update will appear, to 0.0.3.

To maintain sanity, all managers must share the same repos. I had quite a dig at that.

You're welcome. :P

DaSilva 2010-08-05 16:47

Re: [Announce] Faster Application Manager (Maemo5)
 
Currently I have the problem that not all applications from extras(-devel/-testing) repositories have a date (option in settings to fetch it is activated) and when I sort the list to date they are shown at the bottom even if they are new.
Is that a problem from the repositories or FAP?

hqh 2010-08-05 17:11

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by DaSilva (Post 776760)
Currently I have the problem that not all applications from extras(-devel/-testing) repositories have a date (option in settings to fetch it is activated) and when I sort the list to date they are shown at the bottom even if they are new.
Is that a problem from the repositories or FAP?

You could try running fapman from the terminal with debug output enabled, it should show if there are any errors:
Code:

sudo gainroot
run-standalone.sh fapman -d


d-iivil 2010-08-05 17:17

Re: [Announce] Faster Application Manager (Maemo5)
 
fapman randomly wants to update catalogs when I tap remove apps -icon. I think it's not necessary to download catalog data when you're about to remove an existing program...

hqh 2010-08-05 17:22

Re: [Announce] Faster Application Manager (Maemo5)
 
Version 0.6

* use custom repository and package list directories
* "fast remove": don't read full package lists immediately when package view is opened with the remove button
* search options: search from package display name, package name, package description (short and long)
* ability to blacklist installed packages
* show maemo-upgrade-description for upgradeable packages if it exists
* show dependencies and conflicts in the package selector
* option to play a sound on completed operations
* use hildon notes instead of dialogs to inform user about finished operations
* load the default wallpaper from /user/home/.backgrounds/background-1.png
* fade the wallpaper if loaded from the default location but not when loaded from /root/.fapman/wallpaper.png

- Faster application manager now instructs apt-get to use a completely separate repository list and package list cache
directories (it's at /opt/fapman-cache). This should minimize the conflicts with HAM. Running "update" from HAM should ensure it restores its own settings completely.

- Note that blacklisting packages hides them from the UI only. They can still get installed as dependencies for other packages.

I hope I didn't break anything with the changes :)

rantom 2010-08-05 18:40

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 776789)
Version 0.6* search options: search from package display name, package name, package description (short and long)

Doesn't work for me, it still can't find VertSMS when I type in portrait.

hqh 2010-08-05 18:50

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by rantom (Post 776892)
Doesn't work for me, it still can't find VertSMS when I type in portrait.

Working fine here... You actually enabled the option to search from short description, right?

Also, make sure to change the settings *before* you type in your search (it's also possible to set them as default in options menu), there seems to be a bug which prevents all of the results from showing if you change the options after typing :P

rantom 2010-08-05 19:52

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 776905)
Working fine here... You actually enabled the option to search from short description, right?

Also, make sure to change the settings *before* you type in your search (it's also possible to set them as default in options menu), there seems to be a bug which prevents all of the results from showing if you change the options after typing :P

Whoops, I thought that those were enabled by default. Yes, it does work now, thanks. :) Any thoughts by the way regarding my missing updates? It's this post:

#268

hqh 2010-08-05 20:53

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by rantom (Post 776961)
Whoops, I thought that those were enabled by default. Yes, it does work now, thanks. :) Any thoughts by the way regarding my missing updates? It's this post:

#268

You already said that they are now showing the same updates :P
Have you compared the lists with the latest version of fapman?

If you have installed a package manually, HAM can possibly show an available update for it even though the version numbers are the same (in which case fapman won't show it). If it bothers you, just update it in HAM and stop worrying :) Also HAM seems to list some updates outside of user/* categories too, are they visible in fapman if you list "all packages (advanced)"?

If there is a real problem (a package is not shown as upgradeable even if one with an actually higher version number is available), then I'd like some more information... Like output of "dpkg --status packagename" for the offending packages and also the exact version numbers HAM lists in the details dialog.


All times are GMT. The time now is 09:56.

vBulletin® Version 3.8.8