Author |
Message |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Thu 08 Mar 2012, 22:59 Post subject:
Check Dependencies with right-click-action Subject description: Right-Click on the binary and watch the results in a simple text editor |
|
Hi,
this Xdialog tool can check dependencies by doing a right-click on a binary.
- German and English Localization
- gets the results of -v (full information) and -u (unused direct dependencies).
- results are going to /tmp/lddout_tmp
- /tmp/lddout_tmp will automatically load into a simple text editor or into xterm (option to choose)
RSH
Update:
Version 0.1 did have a tiny small text issue (not ldd) - never mind.
Update:
RSHsDepCheck-0.2-xterm.pet sends results to terminal (xterm) - thanks to seaside.
Update:
RSHsDepCheck-0.3.pet gives option to send results to text editor or terminal
Update:
RSHsDepCheck-0.4.pet - german text bug fix (one line was not translated)
- 0.4 has not been published, because i found new suggestion by
666philb wrote: | hi RSH .... any chance of the terminal that gets left open , being in the same directory as whatever you dependency checked?
cheers
666philb |
Update:
RSHsDepCheck-0.5.pet -stays open in directory of checked application!
Just type dir and see...
Update:
RSHsDepCheck-0.6.pet - works now also on libraries - and now: all will be happy ?
Update:
RSHsDepCheck-0.7.pet - shows missing dependencies at top of text
Note, as 666philb wrote: to get more speed, comment some lines out (sleep x). I did just add these lines to make sure my own "echoed" comments are not colliding with the output of ldd.
Description |
RSHsDepCheck-0.7.pet - now shows missing dependencies at top of text
|

Download |
Filename |
RSHsDepCheck-0.7.pet |
Filesize |
5.06 KB |
Downloaded |
745 Time(s) |
Description |
RSHsDepCheck-0.6.pet - works now also on libraries
|

Download |
Filename |
RSHsDepCheck-0.6.pet |
Filesize |
4.95 KB |
Downloaded |
595 Time(s) |
Description |
RSHsDepCheck-0.5.pet -stays open in directory of checked application!
|

Download |
Filename |
RSHsDepCheck-0.5.pet |
Filesize |
4.89 KB |
Downloaded |
568 Time(s) |
Description |
Check Dependencies with right-click-action - option to send the results to text editor or to xterm!
|

Download |
Filename |
RSHsDepCheck-0.3.pet |
Filesize |
4.79 KB |
Downloaded |
587 Time(s) |
Description |
Check Dependencies with right-click-action - results are going to xterm!
|

Download |
Filename |
RSHsDepCheck-0.2-xterm.pet |
Filesize |
4.41 KB |
Downloaded |
545 Time(s) |
Description |
Check Dependencies with right-click-action - results are going to simple text editor!
|

Download |
Filename |
RSHsDepCheck-0.2.pet |
Filesize |
4.49 KB |
Downloaded |
573 Time(s) |
_________________ LazY Puppy
RSH's DNA
SARA B.
Last edited by RSH on Wed 12 Sep 2012, 16:44; edited 7 times in total
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3169 Location: wales
|
Posted: Sun 11 Mar 2012, 10:34 Post subject:
|
|
cheers RSH.... very useful
any ideas on how to change this slightly so that it runs in the terminal? actually ldd's the binary in the terminal, and leaves the terminal open and useable.?
cheers 666philb
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Mon 12 Mar 2012, 20:06 Post subject:
|
|
666philb wrote: | cheers RSH.... very useful
any ideas on how to change this slightly so that it runs in the terminal? actually ldd's the binary in the terminal, and leaves the terminal open and useable.?
cheers 666philb |
Attached script sends results to xterm. Xterm will start twice. First xterm contains the results, second xterm stays open, because first xterm will close after hit enter.
I'm working on a single xterm solution, but actually that's all i can do.
The text editor doesn't start using this script. To start the text editor, remove "#" in front of "XDEdit" at the end of the script.
Edit: script removed. Updated version in the first post.
_________________ LazY Puppy
RSH's DNA
SARA B.
Last edited by RSH on Tue 13 Mar 2012, 00:38; edited 1 time in total
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Tue 13 Mar 2012, 00:33 Post subject:
|
|
666philb wrote: | cheers RSH.... very useful
any ideas on how to change this slightly so that it runs in the terminal? actually ldd's the binary in the terminal, and leaves the terminal open and useable.?
cheers 666philb |
I think, it's done. Look at the first post.
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Tue 13 Mar 2012, 02:26 Post subject:
|
|
Update Version 0.3!
Check Dependencies with right-click-action.
Version 0.3 gives option to send the results to text editor and/or to xterm!
See first post.
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3169 Location: wales
|
Posted: Thu 15 Mar 2012, 13:32 Post subject:
|
|
cheers RSH i've been using this a fair old bit....... very usefull
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
chrome307

Joined: 15 Jan 2009 Posts: 713
|
Posted: Sat 17 Mar 2012, 12:24 Post subject:
|
|
Thanks for this as well ....... it works great
My text is in German? but that's okay, as there are only 2 options to choose from.
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4985 Location: Ontario
|
Posted: Sat 17 Mar 2012, 15:28 Post subject:
|
|
I'm busy writing a right click option to do file renaming.
but is it possible to 'grep' for lines that say there is a missing dependency.
Add these lines together and prepend them to the beginning
of your output file.
The simplest way to prepend is here.
http://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/
I used a more difficult method in my quick_launch application.
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3169 Location: wales
|
Posted: Sat 17 Mar 2012, 15:34 Post subject:
|
|
hi RSH .... any chance of the terminal that gets left open , being in the same directory as whatever you dependency checked?
cheers
666philb
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4985 Location: Ontario
|
Posted: Sat 17 Mar 2012, 15:40 Post subject:
|
|
Here's my latest work. I'll make it a right click option.
http://murga-linux.com/puppy/viewtopic.php?p=612812#612812
_______________________________________________
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Sat 17 Mar 2012, 16:58 Post subject:
|
|
666philb wrote: | hi RSH .... any chance of the terminal that gets left open , being in the same directory as whatever you dependency checked?
cheers
666philb |
Update:
RSHsDepCheck-0.5.pet -stays open in directory of checked application!
Just type dir and see...
RSHsDepCheck-0.5.pet is downloadable at first post.
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3169 Location: wales
|
Posted: Sat 17 Mar 2012, 18:08 Post subject:
|
|
excellent.....
you could also make 'checkdeps' appear in the menu, when you right click on a lib,
i've set it in mine .. but it should be default
I've commented out a few lines in mine, just so i get an immediate result in the term. And i would say it's exactly what i initially asked for in the other thread.
perfect
cheers
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Sat 17 Mar 2012, 18:18 Post subject:
|
|
666philb wrote: | excellent.....
you could also make 'checkdeps' appear in the menu, when you right click on a lib,
i've set it in mine .. but it should be default |
Would you please explain? I don't understand what you mean. Maybe a screenshot of what you did etc?
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3169 Location: wales
|
Posted: Sat 17 Mar 2012, 18:45 Post subject:
|
|
i just right clicked on a lib and chose customize...
it symlinked your checkdeps to /root/.config/rox.sourceforge.net/SendTo/.application_x-sharedlib
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Sat 17 Mar 2012, 19:01 Post subject:
|
|
666philb wrote: | i just right clicked on a lib and chose customize...
it symlinked your checkdeps to /root/.config/rox.sourceforge.net/SendTo/.application_x-sharedlib
|
Ah, ok. Thank you. I just didn't know, that this could also be done on libs. If i would have known this earlier it would have been already build in...
So, 0.6 is on the way...
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
|