Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Nov 2019, 14:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Package Collections / Repositories
Analien - checks for dependencies in .deb programs
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
did18

Joined: 19 Nov 2014
Posts: 417

PostPosted: Tue 27 Nov 2018, 13:41    Post subject:  Analien - checks for dependencies in .deb programs  

Hello.

(original text click on me)

analien = analyse link

Usually when installing a.sfs program, the programmer ensures that all dependencies related to the proper functioning of the program are installed at the same time as the program on the PC.
But how do you do that if you want to install a program in ".deb" format?
Of course, just double-click on the.deb archive to install it, but that doesn't guarantee that all dependencies will be satisfied...
It is always possible to solve the problem of missing dependencies when the program is installed, but it is usually long and tedious because it is necessary to search for a sub-dependency in another dependency, not to mention that one can forget some and that it will have to start over, in short it quickly becomes discouraging.

Analyst will help you in this task....
To download analien click on me
It is a small program written in gambas3 (so gambas3 must be installed on your PC to be able to use it)

1) - Analien allows you to retrieve all the links of a web page...
If the link points to a package in the format".deb" it will be written in blue, otherwise it will appear in orange...
2) - It is possible (right click on one of the recovered links, then choose "Filter") to filter all links to see only those that meet your needs for example all those containing something_i386. deb plus all those containing something_all.deb (which will be written in the filter *i386.deb|*all.deb)
3) - Now that the filter is established, all that remains is to download all the packages at once (right click on one of the recovered links, then choose "Download").

The "Internet" window is replaced by the "Action Tracking" window which informs you of the status of downloads, and the information line (at the bottom of the screen returns the package being downloaded as well as the overall status of all downloads).
All.deb packages contain (among other things) an.info file.
This.info file contains information about the.deb package (file size, name of the package maintainer, dependencies, description etc.) as its name indicates

When all packages are downloaded (in the Download directory for example), the "Action Tracking" window is replaced by a "File Manager".
Select all or part of the packages and click/drag them into the analysis container (tree) so that the required dependencies are displayed almost instantly for each package. In fact you understood it, it is the.info file of each package that was queried and returned the content of the "depend" line....
Even if all dependencies are displayed with a black circle (which means that the presence of the dependency remains to be checked) this already gives a first assessment.

Among all these dependencies, some are most certainly present in the "Download" directory or in the system directories (nb: You can add directories for searching, right-click on one of the dependencies and choose "Manage directories to analyze").
Start the analysis by right-clicking on one of the dependencies, then "Analyze all the files in the tree")...).
The "File Manager" window is replaced by 3 lists.
- List of available dependencies ((green circle) in general in the "Download" directory).
- List of dependencies available on the disk ((blue circle) in the directories you have predefined).
- List of dependencies not available (red circle) or not found in the directories you have pre-defined and that you will have to search on the Internet).

Right-clicking on one of the items in the list of unavailable dependencies allows you to copy the name of the dependency... Right-clicking on the information line (at the bottom of the screen) allows you to access the Internet windows, action tracking, file manager and thus to search more easily for the dependency that you only need to paste in the search field.

Of course analien is translated into German, English (thanks cogier), Spanish, Italian, Japanese...

Have a good day.

Translated with www.DeepL.com/Translator
Back to top
View user's profile Send private message 
nosystemdthanks


Joined: 03 May 2018
Posts: 699

PostPosted: Tue 27 Nov 2018, 20:51    Post subject: Re: Analien - checks for dependencies in .deb programs  

cool idea, but the sources arent available in plaintext?

could you include those in the zip file or at least on the project website?

_________________
"microsoft is unique among proprietary software companies: they are the only ones who have actively tried to kill [floss]. it’s not often someone wants to be your friend after trying to kill you for ten years" -- bradley m. kuhn
Back to top
View user's profile Send private message Visit poster's website 
did18

Joined: 19 Nov 2014
Posts: 417

PostPosted: Wed 28 Nov 2018, 05:45    Post subject:  

Hello.

Thank you for the feedback nosystemdthanks.
The sources are available in.zip format under the sourceforge file tab
to download the sources (click on me).

There are only 3 files:
- 003 (which is the verification file used for future updates).
- analien_003-0ubuntu1_all.deb (which is the program file to install on the PC).
- analien-sources_0.0.3.3.zip (which are the sources in.zip format).

NB: Gambas3 is absolutely necessary to read (and modify) the source code!
Gambas3 is available here (click on me), if you don't find a gambas3 version compatible with your puppy system, I can possibly try to recompile a version. (Please tell me the series (Xenial, Precise, Cosmic, Bionic, Trusty, Artful, Zesty, Yakkety, Vivid, or Willy) as well as (32Bit or 64Bit)).

Have a good day.

Translated with www.DeepL.com/Translator
Back to top
View user's profile Send private message 
did18

Joined: 19 Nov 2014
Posts: 417

PostPosted: Wed 05 Dec 2018, 10:24    Post subject:  

Hello

Version 0.0.4 of Analian is at your disposal.

- Modification / addition of translations....

- The possibility to modify the reasons and display direction of the progress bar in the "info" line.
The user can now display the progress bar from right to left and replace the plain bar with patterns, rectangles, circles and even an image.
In analien, right click on the info line and choose "Information line management".
I agree, it's a gadget...

- It is now possible to search (more finely) for dependencies not present on the hard disk by four modules that are executed one after the other (unless a match is found).
In Analian, when all three lists are displayed, right-click on the list "Dependencies not available" (red dot), then choose the item "Advanced search" (to return to the previous screen right-click on the list "Dependencies not available" (red dot), then choose the item "View lists").
In general, if the dependency was not found during the first analysis, it is unlikely that it will be found here, but a library (for example) with another revision number can be found, which can avoid an unnecessary search.
A brief description of how the modules work is displayed when the search procedure is completed.

- In order to ensure compatibility between large distributions (Debian type, 0ubuntu, Mint etc. and puppy-Linux), I had to add an authentication window (this will not be visible to puppy-Linux users because root commands do not require an mdp). This new window is imposed by using the "find" command (used in the "Advanced Search") which requires administrator rights.

Have a good day.

Translated with www.DeepL.com/Translator
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Package Collections / Repositories
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0375s ][ Queries: 11 (0.0064s) ][ GZIP on ]