Import dissy, a graphical frontend to the objdump disassembler writen

in py-gtk. With tweaks from kili@.

Ok landry@ and kili@
This commit is contained in:
armani 2010-10-17 19:04:30 +00:00
parent 9a44ad2def
commit fe6538f082
6 changed files with 119 additions and 0 deletions

27
devel/dissy/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/17 19:04:30 armani Exp $
COMMENT = graphical frontend to the objdump disassembler
MODPY_EGG_VERSION = 9
DISTNAME = dissy-${MODPY_EGG_VERSION}
CATEGORIES = devel
HOMEPAGE = http://code.google.com/p/dissy/
MAINTAINER = Jonathan Armani <armani@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://dissy.googlecode.com/files/
MODULES = lang/python
RUN_DEPENDS = ::x11/py-gtk2
NO_REGRESS = Yes
PKG_ARCH = *
.include <bsd.port.mk>

5
devel/dissy/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (dissy-9.tar.gz) = sCUwNFCbSliDUKTLH18hoQ==
RMD160 (dissy-9.tar.gz) = 5mD0myZ/MHDqW98R9PSkuNh9ZJY=
SHA1 (dissy-9.tar.gz) = whasLk/VF3jFgwr4STe4hEhm4i4=
SHA256 (dissy-9.tar.gz) = ZGysp0nXCtggFOJ0ANJRtWSVLPioacjUIrF59PLnfVs=
SIZE (dissy-9.tar.gz) = 34508

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-dissy_File_py,v 1.1.1.1 2010/10/17 19:04:30 armani Exp $
--- dissy/File.py.orig Sat Oct 16 13:52:35 2010
+++ dissy/File.py Sat Oct 16 13:59:55 2010
@@ -118,7 +118,7 @@ class File(AddressableEntity):
def parse(self):
"Parse the functions from this file (with symbols)"
- f = os.popen("%s --numeric-sort --demangle --print-size %s" % (config.nm, self.filename))
+ f = os.popen("%s --numeric-sort --demangle %s" % (config.nm, self.filename))
lines = f.readlines()
f.close()

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2010/10/17 19:04:30 armani Exp $
--- setup.py.orig Sat Oct 16 19:43:31 2010
+++ setup.py Sat Oct 16 19:44:01 2010
@@ -31,9 +31,7 @@ setup(name='%s' % (Config.PROGRAM_NAME).lower(),
'gfx/red_arrow_right.png', 'gfx/red_plus.png', 'gfx/red_start_up.png',
'gfx/icon.svg']),
('share/%s/' % (Config.PROGRAM_NAME.lower()), ['menubar.xml']),
- ('share/doc/%s/' % (Config.PROGRAM_NAME.lower()), ['README']),
- ('share/doc/%s/' % (Config.PROGRAM_NAME.lower()), ['COPYING']),
- ('share/man/man1/', ['dissy.1']),
+ ('man/man1/', ['dissy.1']),
],
)

2
devel/dissy/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Dissy is a graphical frontend to the objdump disassembler. Dissy
can be used for debugging and browsing compiler-generated code.

59
devel/dissy/pkg/PLIST Normal file
View File

@ -0,0 +1,59 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/17 19:04:30 armani Exp $
bin/dissy
lib/python${MODPY_VERSION}/site-packages/dissy/
lib/python${MODPY_VERSION}/site-packages/dissy-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/dissy/Bookmark.py
lib/python${MODPY_VERSION}/site-packages/dissy/Bookmark.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/Config.py
lib/python${MODPY_VERSION}/site-packages/dissy/Config.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/Data.py
lib/python${MODPY_VERSION}/site-packages/dissy/Data.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/DataModel.py
lib/python${MODPY_VERSION}/site-packages/dissy/DataModel.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/Entity.py
lib/python${MODPY_VERSION}/site-packages/dissy/Entity.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/File.py
lib/python${MODPY_VERSION}/site-packages/dissy/File.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/FileDialogue.py
lib/python${MODPY_VERSION}/site-packages/dissy/FileDialogue.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/Function.py
lib/python${MODPY_VERSION}/site-packages/dissy/Function.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/FunctionModel.py
lib/python${MODPY_VERSION}/site-packages/dissy/FunctionModel.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/Instruction.py
lib/python${MODPY_VERSION}/site-packages/dissy/Instruction.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/InstructionModel.py
lib/python${MODPY_VERSION}/site-packages/dissy/InstructionModel.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/InstructionModelHighlighter.py
lib/python${MODPY_VERSION}/site-packages/dissy/InstructionModelHighlighter.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/JumpStreamHandler.py
lib/python${MODPY_VERSION}/site-packages/dissy/JumpStreamHandler.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/PreferencesDialogue.py
lib/python${MODPY_VERSION}/site-packages/dissy/PreferencesDialogue.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/StrEntity.py
lib/python${MODPY_VERSION}/site-packages/dissy/StrEntity.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/__init__.py
lib/python${MODPY_VERSION}/site-packages/dissy/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/architecture.py
lib/python${MODPY_VERSION}/site-packages/dissy/architecture.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/arm.py
lib/python${MODPY_VERSION}/site-packages/dissy/arm.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/history.py
lib/python${MODPY_VERSION}/site-packages/dissy/history.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/intel.py
lib/python${MODPY_VERSION}/site-packages/dissy/intel.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/mips.py
lib/python${MODPY_VERSION}/site-packages/dissy/mips.pyc
lib/python${MODPY_VERSION}/site-packages/dissy/ppc.py
lib/python${MODPY_VERSION}/site-packages/dissy/ppc.pyc
@man man/man1/dissy.1
share/dissy/
share/dissy/gfx/
share/dissy/gfx/icon.svg
share/dissy/gfx/red_arrow_left.png
share/dissy/gfx/red_arrow_right.png
share/dissy/gfx/red_line.png
share/dissy/gfx/red_plus.png
share/dissy/gfx/red_start_down.png
share/dissy/gfx/red_start_up.png
share/dissy/menubar.xml