Size: 4309
Comment:
|
Size: 4825
Comment: add donate button, currently fixed at $20 CAD
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
[[TableOfContents(2)]] | ||||||<tablestyle="width: 100%"> '''DepSpec''' || || [[https://launchpad.net/depspec|Launchpad Project]] || [[http://bzr.tfkyle.dyndns.org/~kyle/depspec/depspec|bzr branch]] || [[/Packages]] || ||[[https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TFKyle%40gmail%2ecom&item_name=depspec&amount=20%2e00&no_shipping=0&no_note=1&tax=0¤cy_code=CAD&lc=CA&bn=PP%2dDonationsBF&charset=UTF%2d8|{{https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif|donate}}]] || <<TableOfContents(2)>> |
Line 7: | Line 11: |
Depspec is highly modeled after [http://www.dependencywalker.com/ Dependency Walker], and was initially made as a linux-compatable alternative to it, however currently it doesn't have all the features and doesn't integrate in windows as well as dependency walker (would like to fill out most of the features, but some things (symbol demangling fex.) are a bit hard). | Depspec is highly modeled after [[http://www.dependencywalker.com/|Dependency Walker]], and was initially made as a linux-compatable alternative to it, however currently it doesn't have all the features and doesn't integrate in windows as well as dependency walker (would like to fill out most of the features, but some things (symbol demangling fex.) are a bit hard). |
Line 9: | Line 13: |
[[Anchor(Requirements)]] | <<Anchor(Requirements)>> |
Line 11: | Line 15: |
Depspec requires [http://python.org Python] (2.5+), ["tfplib"], [http://gtk.org Gtk+] and [http://pygtk.org PyGtk] (in windows [http://sourceforge.net/projects/pywin32/ pywin32] is also required). eventually there should be support for using Qt/PyQt or other toolkits instead of Gtk+/PyGTK, but not yet. | Depspec requires [[http://python.org|Python]] (2.5+), [[tfplib]], [[http://gtk.org|Gtk+]] and [[http://pygtk.org|PyGtk]] (in windows [[http://sourceforge.net/projects/pywin32/|pywin32]] is also required). eventually there should be support for using Qt/PyQt or other toolkits instead of Gtk+/PyGTK, but not yet. |
Line 13: | Line 17: |
For getting depspec and tfplib from version control you will also need a couple version control tools, namely [http://bazaar-vcs.org/ Bazaar] and [http://subversion.tigris.org subversion]. | For getting depspec and tfplib from version control you will also need a couple version control tools, namely [[http://bazaar-vcs.org/|Bazaar]] and [[http://subversion.tigris.org|subversion]]. |
Line 15: | Line 19: |
[[Anchor(Downloads)]] [[Anchor(Downloading)]] |
<<Anchor(Downloads)>> <<Anchor(Downloading)>> |
Line 18: | Line 22: |
Once you've gotten [http://bazaar-vcs.org/ Bazaar] you can get my depspec branch from either the launchpad mirror (might lag behind a bit, but is most likely a lot faster than branching from my server) or from my server by running: | Once you've gotten [[http://bazaar-vcs.org/|Bazaar]] you can get my depspec branch from either the launchpad mirror (might lag behind a bit, but is most likely a lot faster than branching from my server) or from my server by running: |
Line 25: | Line 29: |
bzr branch http://bzr.tfkyle.dyndns.org/~kyle/depspec | bzr branch http://bzr.tfkyle.dyndns.org/~kyle/depspec/depspec |
Line 29: | Line 33: |
[[Anchor(Installing)]] | <<Anchor(Installing)>> |
Line 31: | Line 35: |
for Premade packages for a couple OSes/Distros see ["/Packages"]. | for Premade packages for a couple OSes/Distros see [[/Packages]]. |
Line 35: | Line 39: |
First you'll want to make sure all the deps are installed/install the ones that are missing, on windows you might want to look at ["Windows/Python"] for a couple things you should do after installing Python, and ["Windows/Gtk"] for a few methods of installing a gtk runtime in windows. | First you'll want to make sure all the deps are installed/install the ones that are missing, on windows you might want to look at [[Windows/Python]] for a couple things you should do after installing Python, and [[Windows/Gtk]] for a few methods of installing a gtk runtime in windows. |
Line 44: | Line 48: |
[[Anchor(Contact)]] | <<Anchor(Contact)>> |
Line 47: | Line 51: |
Also, you can submit bugs, ask questions, submit feature requests (blueprints) and submit translations at the [https://launchpad.net/depspec launchpad project for depspec]. | Also, you can submit bugs, ask questions, submit feature requests (blueprints) and submit translations at the [[https://launchpad.net/depspec|launchpad project for depspec]]. |
Line 49: | Line 53: |
[[Anchor(Screenshots)]] | <<Anchor(Screenshots)>> |
Line 51: | Line 55: |
Depspec on Linux:: attachment:depspec.png Depspec on Windows:: attachment:depspec-win32.png Hacked up UT support:: attachment:depspec-ut.png |
Depspec on Linux:: {{attachment:depspec.png}} Depspec on Windows:: {{attachment:depspec-win32.png}} Hacked up UT support:: {{attachment:depspec-ut.png}} |
Line 56: | Line 60: |
[[Anchor(Similar Tools)]] | <<Anchor(Similar Tools)>> |
Line 58: | Line 62: |
* [http://www.dependencywalker.com/ Dependency Walker] (depends.exe) * [http://www.purinchu.net/wp/2007/10/24/elf-library-dependency-viewer/ ELF Library Viewer] (elflibviewer) - should probably steal the search feature and mentioning the full path (in an Info tab along with other info possibly?) |
* [[http://www.dependencywalker.com/|Dependency Walker]] (depends.exe) * [[http://www.purinchu.net/wp/2007/10/24/elf-library-dependency-viewer/|ELF Library Viewer]] (elflibviewer) - should probably steal the search feature and mentioning the full path (in an Info tab along with other info possibly?) |
DepSpec |
||
Depspec
Depspec is a small program written in Python that allows you to view a Binaries Dependencies (and symbols that it exports/imports from deps), currently it supports ELF (via marienz'es elf.py) and PE (via. diSlib64). also planned is UT package files (using the parser I wrote) and while it's not really a binary format gentoo ebuilds.
Depspec is highly modeled after Dependency Walker, and was initially made as a linux-compatable alternative to it, however currently it doesn't have all the features and doesn't integrate in windows as well as dependency walker (would like to fill out most of the features, but some things (symbol demangling fex.) are a bit hard).
Requirements
Depspec requires Python (2.5+), tfplib, Gtk+ and PyGtk (in windows pywin32 is also required). eventually there should be support for using Qt/PyQt or other toolkits instead of Gtk+/PyGTK, but not yet.
For getting depspec and tfplib from version control you will also need a couple version control tools, namely Bazaar and subversion.
Downloading
Once you've gotten Bazaar you can get my depspec branch from either the launchpad mirror (might lag behind a bit, but is most likely a lot faster than branching from my server) or from my server by running:
bzr branch lp:depspec
for the launchpad mirror, or:bzr branch http://bzr.tfkyle.dyndns.org/~kyle/depspec/depspec
for my server.
Installing
for Premade packages for a couple OSes/Distros see /Packages.
if there's no Package or Standalone Binary for your OS/Distro or you want to hack on depspec you'll have to install depspec manually.
First you'll want to make sure all the deps are installed/install the ones that are missing, on windows you might want to look at Windows/Python for a couple things you should do after installing Python, and Windows/Gtk for a few methods of installing a gtk runtime in windows.
after the deps are all installed you can install depspec itself, it uses distutils and has a good structure for using PYTHONPATH or symlinks as mentioned in InstallingPythonPackages so you can use one of the methods described there to install it. if using 2 or 3 you might want to do a couple extra things:
- on unix-like systems:
- either add /path/to/depspec/scripts to PATH or add a symlink in /usr/local/bin pointing to /path/to/depspec/scripts/depspec , after doing this you should be able to run depspec from a terminal
- for desktop environments using the freedesktop.org menu spec (gnome, kde, xfce) either copy /path/to/depspec/data/depspec.desktop to ~/.local/share/applications or add a symlink in ~/.local/share/applications pointing to /path/to/depspec/data/depspec.desktop, and after doing either of those run update-desktop-database . after doing this the menu should have a depspec entry in Programming
- on windows systems:
create a shortcut (Right Click in a dir or on the desktop -> New -> Shortcut...) to C:\Python25\pythonw.exe -m depspec.ui.gspec , this should run depspec's gtk ui when run.
Contact
feel free to join #init on irc.freenode.net (nick: TFKyle) if you want to ask me any questions, discuss code or generally just stab me Also, you can submit bugs, ask questions, submit feature requests (blueprints) and submit translations at the launchpad project for depspec.
Screenshots
- Depspec on Linux
- Depspec on Windows
- Hacked up UT support
- not in svn currently, needs to be worked out more
Similar Tools
Dependency Walker (depends.exe)
ELF Library Viewer (elflibviewer) - should probably steal the search feature and mentioning the full path (in an Info tab along with other info possibly?)