WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Dependency listing for directories and mounted extensions  (Read 2345 times)

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Dependency listing for directories and mounted extensions
« on: July 30, 2012, 02:28:20 PM »
Heyho guys,

this time sharing with you a dependency listing script for a directory or a mounted extension (under /tmp/tcloop/). It checks for needed libraries, needed interpreters and some other stuff.

example usage:
Code: [Select]
$ sudo ./lsdep thunderbird

Running dependency check, please wait... done.
Showing a maximum of 3 possible alternatives.
'ext1.tcz | ext2.tcz' means you only need one.

=== Probably needed extensions for thunderbird: ===
GConf.tcz (missing)
ORBit2.tcz (missing)
Xlibs.tcz (installed)
Xorg-7.6-lib.tcz (installed) | Xorg-7.5-lib.tcz (missing)
atk.tcz (installed)
cairo.tcz (installed)
dbus-glib.tcz (installed)
dbus.tcz (installed)
expat2.tcz (installed)
fontconfig.tcz (installed)
gdk-pixbuf2.tcz (installed)
glib2.tcz (installed)
gnome-vfs.tcz (missing)
gtk2.tcz (installed)
libasound.tcz (installed)
libffi.tcz (installed)
libnotify.tcz (installed)
libxcb.tcz (installed)
pango.tcz (installed)
pixman.tcz (installed)

=== Possibly recommended extensions for thunderbird: ===
python.tcz (missing)
shared-mime-info.tcz (installed)

instead of "thunderbird" you can also give any existing directory as parameter and it should tell you at least basic needed extensions for this specific directory/files.

comments and improvement ideas always welcome.
« Last Edit: July 30, 2012, 02:30:43 PM by gutmensch »
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)