maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   hildon-application-manager - Modded (https://talk.maemo.org/showthread.php?t=24582)

qwerty12 2008-10-27 14:51

hildon-application-manager - Modded
 
Here's a modification of the application manager that comes with diablo.

CHANGES:
  • Mvo's grid view patch added to replace the long list of rows when seeing available applications. (Replaced Jaffa's patch with mvo's one)
  • Jaffa & qwerty12's patch to enable toggling the legal warning in red pill mode (the setting gets carried over to blue pill).
  • Yerga's patch to enable the repository refresh button at the main screen in blue pill mode. (God knows why it was disabled anyway...)
  • In Red Pill mode, Show all packages & Show magic package is disabled by default to help prevent people from ****ing up their devices. (Taken from mvo's latest changes)
  • Red Pill setting is not persistent so when you restart h-a-m after being in red pill mode, it will revert back to blue pill mode. This behaviour can be overridded (but not recommended).
    (Taken from mvo's latest changes)
  • The Dependencies tab is shown in blue pill mode if enabled via the red pill mode settings dialog.
  • Settings changed to Settings... . Thanks to GeneralAntilles for noticing.
  • Grabbed package view renderer from 2.1 branch (contains LCARS fix)
  • Added Yerga's excellent repository display patch (http://www.internettablettalk.com/fo...8&postcount=15)

http://qwerty12.maemobox.org/appman/1.png
Mvo's grid view patch.

http://qwerty12.maemobox.org/appman/2.png
Lookie at the new options.

http://qwerty12.maemobox.org/appman/lcars.png
Applications displayed properly with lcars theme.

Download (install at your own risk - use dpkg to do it though):
http://qwerty12.maemobox.org/appman/...mel.modded.deb

Original (if you think this modded version is a piece of ****):
http://qwerty12.maemobox.org/appman/...armel.orig.deb

Diff:
http://qwerty12.maemobox.org/appman/mod.diff

Of course, this is for diablo with the latest SSU. I've tested it on my device fine but like I said, install at your own risk.
If anyone has any other ideas (e.g stuff to be moved from red pill to blue pill) let me know. I'm not a programmer however and know **** all about GTK so if I can do it, I will ; if not...

timsamoff 2008-10-27 15:54

Re: hildon-application-manager - Modded
 
Hmmm... Sorry guys, but I don't know if I like it. I'll have to try it out first, though. The ideas are promising, but it's a bit on the utilitarian side (which I know is the purpose), but...still...a little ugly.

Tim

tso 2008-10-27 16:01

Re: hildon-application-manager - Modded
 
get **** to work first, then paint it ;)

qwerty12 2008-10-27 16:05

Re: hildon-application-manager - Modded
 
Hehe, glad to see my swearing habit is continuing :P

Hehe, I agree, this is more utilitarian but can't deny it helps :P. At the moment, I'm installing LCARS because the colour bug with LCARS is fixed in the SVN and seeing if I can backport their fix to benefit us :)

tso 2008-10-27 16:22

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by qwerty12 (Post 237000)
Hehe, glad to see my swearing habit is continuing :P

i got the vocal habits of a old sailor at times...

qwerty12 2008-10-27 16:57

Re: hildon-application-manager - Modded
 
Ok, updated package!

Use the same link.

What's new:
  • Replaced Jaffa's cell view patch with mvo's one. (Fits on screen better)
  • Replaced package cell renderer with newer one to provide a fix for lcars not being able to see package names properly.

BTW, it may be true that a official release of new h-a-m may be out for diablo so hopefully, it contains the functions of the mod (should do as I stole most of them anyway :P) but if not, I will remod it when it comes.

allnameswereout 2008-10-27 17:15

Re: hildon-application-manager - Modded
 
It is an improvement, very much appreciated, but... its not enough.

Lets assume I just bought a N810. I open the Application Manager because I want to install Canola.

Now I see All. But All includes all categories. There is no user feedback in the GUI about this.

Then there are a lot of doubles like email and mail, comm and Communication. Isn't email/mail communication? Boingo, whatever that may be, is a seperate category. Why not LogMeIn as well a seperate category? And while you're at it, Canola as well? *rolleyes* And, then the one called Applications. Aren't these all applications? A user would ask: what the hell is an interpreter? Doc should be Documenation.

Why not have a more tree-based viewing. For example, several modes in which one can select how it is sorted.
User -> Communication
Developer -> Interpreter

Open Source -> ...
Proprietary -> ...

Offline -> ...
Online -> ...

Like tags.

Ofcourse, the current one stays default, but more cleaned up.

tso 2008-10-27 17:28

Re: hildon-application-manager - Modded
 
blame the packagers. iirc, its from them the categories comes from, not the app manager itself...

btw, most of canola is in multimedia now. the only thing left in "canola" is canola-tuning, a collection of python scripts...

allnameswereout 2008-10-27 17:54

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by tso (Post 237027)
blame the packagers. iirc, its from them the categories comes from, not the app manager itself...

btw, most of canola is in multimedia now. the only thing left in "canola" is canola-tuning, a collection of python scripts...

"Merge non-standard categories in Misc."

Or refuse to install with weird categories unless overridden.

yerga 2008-10-27 17:59

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by qwerty12 (Post 236981)
If anyone has any other ideas (e.g stuff to be moved from red pill to blue pill) let me know. I'm not a programmer however and know **** all about GTK so if I can do it, I will ; if not...

If you are bored, you could try add a feature from this branch: https://garage.maemo.org/plugins/scm...hildon-app-mgr

That version show the repo where the package is from, in the details dialog. At the moment I don't know in what file the function could be, but sure you can to find it easily ;)

qwerty12 2008-10-27 18:13

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by yerga (Post 237040)
If you are bored, you could try add a feature from this branch: https://garage.maemo.org/plugins/scm...hildon-app-mgr

That version show the repo where the package is from, in the details dialog. At the moment I don't know in what file the function could be, but sure you can to find it easily ;)

I tried that :( to no avail. I found all the functions but it's "unbackportable" (for me anyway) because:
- The trunk is now using a new file format to manage repositories etc
- The functions involved with that require a new glib on the tablet :(

yerga 2008-10-27 19:19

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by qwerty12 (Post 237049)
I tried that :( to no avail. I found all the functions but it's "unbackportable" (for me anyway) because:
- The trunk is now using a new file format to manage repositories etc
- The functions involved with that require a new glib on the tablet :(

Patch is coming in the next minutes. I did prefer hacking a bit in this before than write the Chemometrics report I had to write this evening :)

Let me clean it a bit and I will upload it here.
It works but I haven't tested it very well though.

qole 2008-10-27 19:30

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by yerga (Post 237040)
That version show the repo where the package is from, in the details dialog.

Now THAT is a useful patch! "apt-cache policy <packagename>" is so clunky.

tso 2008-10-27 19:41

Re: hildon-application-manager - Modded
 
heh, give the "kid" some spare time and all manner of crazy things happen.

the rest of us just sit around arguing like old men on park benches :P

yerga 2008-10-27 19:50

Re: hildon-application-manager - Modded
 
2 Attachment(s)
Qwerty, it's a patch against your mod version, not against the unpatched version.

The code is from that branch version, I had it locally, it could be from long time ago, I don't remember when I downloaded that branch.

It adds a line in the details dialog, for example:

Repository: repository.maemo.org diablo free
Repository: catalogue.tableteer.nokia.com diablo user

It doesn't difference among extras and extras-devel.

Is attached as txt file.

mikkov 2008-10-27 20:21

Re: hildon-application-manager - Modded
 
This patch is otherwise great but afaik it doesn't make difference for example between extras and extras-devel.

timsamoff 2008-10-27 20:38

Re: hildon-application-manager - Modded
 
If you're unaware of the current push to standardize the Application Manager Categories, please look here:

http://wiki.maemo.org/Task:Package_categories

Tim

GeneralAntilles 2008-10-28 00:42

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by timsamoff (Post 236995)
Hmmm... Sorry guys, but I don't know if I like it. I'll have to try it out first, though. The ideas are promising, but it's a bit on the utilitarian side (which I know is the purpose), but...still...a little ugly.

Quote:

Originally Posted by allnameswereout (Post 237023)
It is an improvement, very much appreciated, but... its not enough.

Whoa there, you two. :) You do realize this is the result of about 2 short days of hacking from just a couple people? Radical UI changes don't happen over night (though I'm sure everybody would be happy for you to lend a hand).

Quote:

Originally Posted by allnameswereout (Post 237023)
Then there are a lot of doubles like email and mail, comm and Communication. Isn't email/mail communication? Boingo, whatever that may be, is a seperate category. Why not LogMeIn as well a seperate category? And while you're at it, Canola as well? *rolleyes* And, then the one called Applications. Aren't these all applications? A user would ask: what the hell is an interpreter? Doc should be Documenation.

That's not an Application Manager issue, that's a package maintainer issue. I've been emailing maintainers to get them to fix non-compliant (which you'd know, if you'd been paying attention), and quite a few have already uploaded updated packages, but these changes still take time. If you want to help, join in package categories discussion.

Quote:

Originally Posted by allnameswereout (Post 237023)
Why not have a more tree-based viewing. For example, several modes in which one can select how it is sorted.

Several improvements have been suggested, but these things take time to implement. The grid view just happened to be the easiest and most convenient thing to improve quickly.

Quote:

Originally Posted by allnameswereout (Post 237038)
"Merge non-standard categories in Misc."

Or refuse to install with weird categories unless overridden.

Like I said, the discussion is ongoing.

yerga 2008-10-31 14:13

Re: hildon-application-manager - Modded
 
2 Attachment(s)
An updated patch, now it differentiate between extras and extras-devel; updates, certified and non-certified in nokia tableteer repos.
I don't know what it can show in other repositories, but you only should use extras and nokia repos, so there shouldn't be problem ;)
For example in the sdk or tools repositories, the new string added is "dists". So there is enough to improve yet in this patch.

An screenshot:

tso 2008-10-31 14:18

Re: hildon-application-manager - Modded
 
do this shows on installed stuff to, so that one can look up where something came from?

mikkov 2008-10-31 17:09

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by yerga (Post 238173)
An updated patch, now it differentiate between extras and extras-devel; updates, certified and non-certified in nokia tableteer repos.

If it could show the pretty print name used in "Tools->Application catalog" view, it would be even better ;)

GeneralAntilles 2008-10-31 17:12

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by mikkov (Post 238211)
If it could show the pretty print name used in "Tools->Application catalog" view, it would be even better ;)

Hehe, that's exactly what I said after he mentioned the new patch on #maemo.

Adding some sort of "development version" tag to stuff in Extras-devel in this view would also be nice.

yerga 2008-10-31 19:52

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by tso (Post 238174)
do this shows on installed stuff to, so that one can look up where something came from?

No, the details dialog for the installed packages is different. I need look where this info is obtained, and if it has saved the repository from where it was installed.

yerga 2008-10-31 20:06

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by mikkov (Post 238211)
If it could show the pretty print name used in "Tools->Application catalog" view, it would be even better ;)

Yes, GA said it in the IRC :)

The actual patch uses some 'functions' from apt/dpkg to get the repository. And the pretty names of the repositories are stored in a separated xml file. Comparing the urls could be easy get the names from that file. So it would be feasible.

munky261 2008-10-31 22:01

Re: hildon-application-manager - Modded
 
I just downloaded this but when i go to install it says its an incompatible installation package. I do have the latest update (36.5) Any ideas?

tso 2008-10-31 22:24

Re: hildon-application-manager - Modded
 
dpkg -i is friend ;)

Mara 2008-10-31 22:39

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by tso (Post 238297)
dpkg -i is friend ;)

...And... would that make any future SSU updates to fail?

I do not know, just asking...

qole 2008-11-01 02:17

Re: hildon-application-manager - Modded
 
Waiting patiently for the Qwerty-Yerga-deb :)

qwerty12 2008-11-01 08:58

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by qole (Post 238340)
Waiting patiently for the Qwerty-Yerga-deb :)

I haven't been updating the mod in the first post because I've been playing with hildon-application-manager from SVN :), which apart from being a bit faster ; also has most of the stuff from the first post by default. I compiled an SVN version with the mods (in this version of h-a-m, I made it compile with optimised CFLAGS, stop printing the "Ignoring version from wrong domain" messages to log (there are too many of them and they are useless), Yerga's latest repository patch, enable repository refresh button at the main page, show dependencies tab in red-pill mode and the toggable legal warnings patch).

Of course, you will need osso-software-rx[34/44]-unlocked to install this one.

Here's the latest version I'm using with the mods:
http://qwerty12.maemobox.org/appman/...ased_armel.deb

(I also compiled apt, dpkg & apt-https with the same optimisations in that folder if you wish to look too. The only reason I'm giving this link now is that I have tested these debs for a few days now with a good result. It seems a lot faster to me anyway, but I may be experiencing a placebo effect :))

To onlookers, if you don't know what osso-software-version-rx34/44-unlocked is, I'd advise you not to touch the above deb :P. As usual, try at your own risk. :P

peteblack 2008-11-01 15:44

Re: hildon-application-manager - Modded
 
Quote:

Originally Posted by qwerty12 (Post 238393)
Of course, you will need osso-software-rx[34/44]-unlocked to install this one.

Any chance you know where one could find an osso-software-version-rx48-unlocked?

Thanks for putting this together,
Pete

munky261 2008-11-01 17:50

Re: hildon-application-manager - Modded
 
i dont understand what the dpkg -i is....never done that before , can anyone give me a hand? and wondering about a post above , will this affect any ssu updates in the future?

tso 2008-11-01 19:09

Re: hildon-application-manager - Modded
 
basically, in xterm:

dpkg -i /path/to/deb/filename.deb

as for future ssu issues, grab the original from the first post, and install it if a ssu update shows up. should fix any potential issues imo.

gultig 2008-11-06 10:01

Re: hildon-application-manager - Modded
 
I like the work so far! Would it be possible to add a checkbox to each list item to enable multiple installations at once? :D
I hate waiting for the application list to refresh before I can install another package.

munky261 2008-11-06 21:10

Re: hildon-application-manager - Modded
 
i definitely second that...since that is essentially what restoring your apps after a reflash is, i dont see any reason itcouldnt be done somehow.


All times are GMT. The time now is 07:12.

vBulletin® Version 3.8.8