AppPkg... An improved RoxApp or AppDir.

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#21 Post by sunburnt »

seaside; That`s what I just did last night!

Listing missing libs. and removing ones found in the Package`s /usr/lib
It took a surprisingly small amount of Bash code to do it.

ldconfig is the only lib. update tool I know of. It seems a silly way to do it, but...
As far as I`ve seen, no Ubuntu packages use /opt., or even /usr/local/lib
So all I`m searching in is the system`s /usr/lib and the package`s /usr/lib
I may have to add the system and package`s /lib to that if They start to appear.

Next I`ll have AppPkg-Build download the missing libs. that are left in the list.
The trick here is that the libs. (and all files) are in packages, so a package search.
I think I have a handle on that from a little web search page technosaurus gave me.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#22 Post by sunburnt »

I have the AppPkg builder working basically, it has built several working packages.

However as both seaside and I have said, Linux apps. are messy at best.
Many are well made and follow standards, but many others are a disaster.
Some don`t have icons ( not a problem ), but others have no desktop files!
The builder reads the desktop files for app. info. to make the AppPkg.

It may need to repair the apps. as it goes, it already does this a little.
And that`s bull $#!+, if there`s much of a problem, why have a builder?
And that doesn`t even begin to touch libs. in odd places and similar crap.
If libs. can`t be found, the builder will just download another one, simple.

The builder can`t chase dozens of seldom encountered exceptions.
It would double ( at least...) the amount of code and reduce reliability.
Common exceptions should be dealt with, and they`ll become obvious.

Lots more testing and some code writing before it`s a beta release.
As I test build working AppPkgs I`ll post a group of them to try out.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#23 Post by RSH »

Many are well made and follow standards, but many others are a disaster.
Some don`t have icons ( not a problem ), but others have no desktop files!
The builder reads the desktop files for app. info. to make the AppPkg.
:lol: That's exactly what I've complained on various occasions. :lol:

The LazY Puppy RunScript Builder also needs the .desktop files to grab the needed information from it.

But the Console-Freaks don't and even won't care about the .desktop files. :roll:

Some few moments I was downright angry and got hit for that. Meanwhile I have edited the .desktop files of around 280 .pet and/or sfs files to have a .desktop file, to get it in the menu, to get the icon, to get it run from the menu ---> often one finds a "%F" after the "Exec=" entry that blocks running a program from the menu. I can not tell, how often I had to remove such stuff etc.

This doesn't only make doubled and tripled work ---> every user does this work by himself and for himself alone.

What a waste of power and resources :evil:

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#24 Post by sunburnt »

RHS; And now we know why Linux will never surpass Windows...
Is it possible that Android will morph to the desktop also? It could work!

I`ve been thinking about an app. to repair Linux app. packages.
It`d fix desktop files and an editor, and an icon finder and editor-maker.

In fact I just gave AppPkg-Build a simple desktop file editor, text only.
Now just add an existing icon image editor app. ( Know any good ones? ).

From what you`ve said, the problem is worse than I thought ( or hoped ).
I`m using Ubuntu apps., so it appears even they don`t bother to fix them.
Their diff files must be what corrects the screwy apps.

Perhaps a web repository of fixed apps. and complete dep. files?
And a library file pool, no searching packages, just raw files to download.
Tons of icons grouped in dirs., no more searching web page to web page.
None of the twisted, upsidedown and backwards ways of doing things...

Fortunately not all apps. are relevant, only the good ones matter really.
A selection of good apps. for each group and app. type in that group.
Office, games, multimedia, internet, utilities, servers, etc. ( More? )

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#25 Post by RSH »

Now just add an existing icon image editor app. ( Know any good ones? ).
No, I've had made a request on that long time ago. People told me to use gimp. Sometimes I use IcoFX in Wine.
Image
But this can only save .ico for Win and icons for Mac. So, I do not use it really often because I have to load the wine sfs and to use the gimp after that to save the .ico as .png. It's not a much comfortable solution, so, I'm still interested to have such a program ---> for linux. :D

A program to fix (really to fix) .desktop files would be really great.
Should have a feature to search the desktop files (not for them) and to inform the user if it finds a file that has something wrong or strange inside. 8)
Should give then option to edit the .desktop file and continuing the job after that. 8) 8)

But there are also .desktop files which seem to include everything needed and do not appear in the menu. I've had this three or four times. These files had name, comment and genericname for almost all languages. :o

I am currently modifying my private LazY Puppy to have a category for buildingblock actually for .desktop files which contains categories not available in puppy (they are set automatically to buildingblock and will never be found) ---> I call it Unsortet.
:lol: :lol: :lol: Look also here! :lol: :lol: :lol:
A selection of good apps. for each group and app. type in that group.
Office, games, multimedia, internet, utilities, servers, etc. ( More? )
I would add Filesystem. Rox is cool especially for its right-click possibilities but its copy function is really ugly - if you have to copy a huge number of files into a directory containing earlier and therefor existing version of these files. :roll:
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#26 Post by sunburnt »

Hi RSH; File browsers, rxvt, etc. I consider to be utilities.

I was looking at gzine, it does have a desktop file... Hidden in it`s /share/gzine dir.!
And what`s more than that, the file`s named: gzine.desktop.in
It`s obvious that they are trying very hard to make it difficult to use.

It also has an /etc dir. in it. So in the setup script I added making a link to /etc/(dir.).

### I`m wondering if /var is important enough to need links in it also.

Post Reply