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 Sat 25 Oct 2014, 18:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
GUI dependency lister script
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Wed 04 Feb 2009, 14:12    Post_subject:  GUI dependency lister script
Sub_title: tool for finding needed dependencies
 

I wrote a simple GUI script that is platform independent

I use this on puppy and slackware

simple
just down load it click on it it will unzip
put it "wherever you want " it will work
or drop in in the the root speed_build folder if you like

*note: for slackers slackware needs gxmessage installed and xdialog

this is a great tool for packagers and users

users can report easily whats missing
to the packagers without knowing what to do
they just zip and send the text file attached in the forum post Very Happy


and we have some standard order
that should also be included in each package made


run this on pre installed packages or alien packages too

a text file is auto generated and saved in
/root/speed_build/dependencies ##everything is saved here

this is just one script from my GUI front end package management system

the first few of you *the quick ones *who downloaded change the permissions to executable I re uploaded it with that fixed

big_bass
depcheck1.png
 Description   
 Filesize   17.21 KB
 Viewed   881 Time(s)

depcheck1.png

depcheck2.png
 Description   
 Filesize   27.96 KB
 Viewed   865 Time(s)

depcheck2.png

depend_checker.tar.gz
Description 
gz

 Download 
Filename  depend_checker.tar.gz 
Filesize  979 Bytes 
Downloaded  394 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Wed 04 Feb 2009, 15:11    Post_subject:  

Good work big_bass, you've made the front end for a "automated dependency downloader & installer".
I was working on such a utility for Puppy about 2 years ago.

All that's needed is code that uses wget to download the missing dependencies from a web site.
The web site's URL should be gotten from a solid web site so the actual dependency site's URL can change.
Code's also needed to install the downloaded dependencies into Puppy & then run another check to be sure.

This utility could really be a hot number for Puppy!
Back to top
View user's profile Send_private_message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Thu 05 Feb 2009, 21:47    Post_subject:  

sunburnt
I am working on a new depends file format for packages to simplify package management

like the slack-required
but more flexible

so the packager includes an auto generated text file showing all the libs
this will help out with deb and slackware or other packages greatly

you can easily verify your package before uploading also
and see what and where each lib was linked to on the host machine
for debugging if needed

any fully automated package management is doomed
due to the fact that every puppy version is truly unique
*note if there were only official packages
it could be possible but you stop development
from so many people



instead of changing puppy .....
it would be better to adapt
to some organized standard
of knowing what each package depends on
clearly listed in a text file
not to much to ask for
and I even provided an easy way to auto generate the file
and I have bulk scripts also to do several hundred
quickly and painlessly if needed

this came about after building a puppy package building envirornment
on my slackware box and building a front end for the slackware package tools
then compiling and building slackware packages on puppy

so it was a process
and to sort out everything easily
between deb /slackware/source compiled packages and puppy
this was what works for me


I welcome all of your suggestions and hope you can help out
since you said that you wanted to that a few years ago
now is a good time

big_bass
depends formatted files .png
 Description   
 Filesize   39.29 KB
 Viewed   971 Time(s)

depends formatted  files .png

Back to top
View user's profile Send_private_message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Thu 12 Feb 2009, 11:50    Post_subject:  

here's one more script
for advanced users

this is a dragNdrop
any BIN

from /bin /usr/bin /sbin /usr/sbin
usr/local/bin



onto the script to see the dependencies
this is much faster than typing

you get the idea...

super tools
for package building

I also have one for lib dependencies
I'll upload if anyone requests it

big_bass
depend_checker_dragNdrop.tar.gz
Description 
gz

 Download 
Filename  depend_checker_dragNdrop.tar.gz 
Filesize  819 Bytes 
Downloaded  338 Time(s) 
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10829
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 12 Feb 2009, 12:57    Post_subject:  

wow thats a handy tool, great job Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 19 Feb 2009, 06:37    Post_subject:  

hi big_bass,

i wonder if it would be possible to have a 'reverse-dependency-checker'?

e.g. submit 'libsamplerate' and the tool searches for apps that use this library.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Thu 19 Feb 2009, 13:05    Post_subject:  

aragon wrote:
hi big_bass,

i wonder if it would be possible to have a 'reverse-dependency-checker'?

e.g. submit 'libsamplerate' and the tool searches for apps that use this library.

aragon


here is an example from slackware 12.1 libsamplerate
flac >= 1.2.1-i486-1
glibc-solibs >= 2.7-i486-10
libogg >= 1.1.3-i486-2
libsndfile >= 1.0.17-i486-1sl


now the tricky part here is is what version was your build
compiled against ? what puppy version
are you using ? what other apps requires it ?

did you mix and match dependencies or did you use full packages ?

I used libsamplerate in a few packages you need to be careful for conflicts
with other packages that use it too


puppy is too mixed and matched
with different packages at the present state
for many reasons

I would like to see some order
when it comes to dependencies
and this was the reason for a dependency list from the host machine
and the new target host machine so that you verify the package integrity


big_bass
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Thu 19 Feb 2009, 13:10    Post_subject:  

I don't see that an automated installer isn't feasable.
I've used many Puppy variants & even NathanF's highly modified Puppy worked with all the files from Debian.
I've yet to find a package or library at Debian that didn't work with Puppy.
Back to top
View user's profile Send_private_message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Thu 19 Feb 2009, 13:21    Post_subject:  

sunburnt wrote:
I don't see that an automated installer isn't feasable.
I've used many Puppy variants & even NathanF's highly modified Puppy worked with all the files from Debian.
I've yet to find a package or library at Debian that didn't work with Puppy.


never said it couldn't be done
just the present state of puppy doesnt lend itself to it version 4.12 and lower

now with woof in the making using more packages from a
lets say slackware ,debian, arch

having version numbering and dependency info at hand
there is a greater degree of that becoming a reality

so I am for it but many steps need to be taken first
to prepare the way for it to come

even slackware can be broken with tools such as gslapt
and a lot of pre planning and testing went into it

sunburnt I would be happy improving the current state to any degree
and trying new ideas if you want to take steps to improve things
I am all for it and open ears

big_bass
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 19 Feb 2009, 14:20    Post_subject:  

hi big_bass,

i think there was a little misunderstanding, libsamplerate was just an example.

what i want to know is, can i delete a special library, as i don't know which programm is using this lib?

so the input would be

Code:
libsamplerate


the output could be as an example
Code:

- mhwaveedit
- audacious


or
Code:

No application is actually using 'libsamplerate'!


aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Fri 20 Feb 2009, 11:39    Post_subject:  

aragon
Quote:
what i want to know is, can i delete a special library, as i don't know which program is using this lib?

so the input would be



the closest I can do on puppy is this
show you the current on packages then look for the +
symbol

those are apps/libs are linked with petget

What you want requires reading a pre-made package.txt with all the info
setup in advanced and we are not there yet

but anyway I hope this basic script helps
it should work on all puppy versions
not pretty but gets the job done

an added feature here you can safely select text from inside the dialog box then paste to another location outside the dialog box
example create a list for easy reading later

without fear of messing up your original official packages file


big_bass
on_packages_info.tar.gz
Description 
gz

 Download 
Filename  on_packages_info.tar.gz 
Filesize  464 Bytes 
Downloaded  305 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0795s ][ Queries: 12 (0.0053s) ][ GZIP on ]