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 Fri 31 Oct 2014, 04:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Check Dependencies with right-click-action
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Thu 08 Mar 2012, 22:59    Post_subject:  Check Dependencies with right-click-action
Sub_title: 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 Surprised Shocked

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! Very Happy

Just type dir and see... Very Happy Laughing

Update:
RSHsDepCheck-0.6.pet - works now also on libraries - and now: all will be happy ? Very Happy

Update:
RSHsDepCheck-0.7.pet - shows missing dependencies at top of text Very Happy



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. Cool
RSHsDepCheck-0.7.pet
Description  RSHsDepCheck-0.7.pet - now shows missing dependencies at top of text
pet

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

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

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

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

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

 Download 
Filename  RSHsDepCheck-0.2.pet 
Filesize  4.49 KB 
Downloaded  391 Time(s) 

_________________
LazY Puppy
RSH's DNA
SARA B.

Edited_times_total
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1800
Location: wales

PostPosted: 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
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: 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.

Edited_time_total
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: 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
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: 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
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1800
Location: wales

PostPosted: 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
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Sat 17 Mar 2012, 12:24    Post_subject:  

Thanks for this as well ....... it works great Smile

My text is in German? but that's okay, as there are only 2 options to choose from.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3359
Location: Ontario

PostPosted: 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. Embarassed
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1800
Location: wales

PostPosted: 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
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3359
Location: Ontario

PostPosted: 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
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: 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! Very Happy

Just type dir and see... Very Happy Laughing

RSHsDepCheck-0.5.pet is downloadable at first post. Very Happy

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1800
Location: wales

PostPosted: Sat 17 Mar 2012, 18:08    Post_subject:  

excellent..... Smile
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 Smile

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sat 17 Mar 2012, 18:18    Post_subject:  

666philb wrote:
excellent..... Smile
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
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1800
Location: wales

PostPosted: 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
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: 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... Embarassed

So, 0.6 is on the way... Very Happy

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0966s ][ Queries: 13 (0.0140s) ][ GZIP on ]