dff: version bump, tested on amd64

This commit is contained in:
Anton Bolshakov 2011-05-22 05:13:18 +00:00
parent 1fe0efd1ac
commit fd3d3f61b0
3 changed files with 91 additions and 0 deletions

View file

@ -1,4 +1,7 @@
AUX dff-1.0.0-disable-qtassistant.patch 1657 RMD160 06b9679458b97f91c33eb74fa84d7c0d55b816eb SHA1 535d4e60cee04b53d044f273053cd69043472197 SHA256 c4f17f4f3d65987802953683bce3f966d4f149c5deefc465354e63e8a090e5cf
AUX dff-1.1.0-disable-qtassistant.patch 1657 RMD160 06b9679458b97f91c33eb74fa84d7c0d55b816eb SHA1 535d4e60cee04b53d044f273053cd69043472197 SHA256 c4f17f4f3d65987802953683bce3f966d4f149c5deefc465354e63e8a090e5cf
DIST dff-src-1.0.0.tar.gz 9793438 RMD160 82dbf88845012ac12d57fafd9937adf5281a99a0 SHA1 b103026f3fa2d313f2c832274d361007f79a84ba SHA256 365bd6e662f7585846f8821e12c548ed405c36a4ecd57b8a98c759162d6b2444
DIST dff-src-1.1.0.tar.gz 9751963 RMD160 59c62046e6f06766fdfe27ae4b1c7e8f811f5c13 SHA1 3eb0700b40a4bdc29ab9dbd3ecbae0441303b6b3 SHA256 0dab2e10f9c2cb2d1363b51284e9616725f85e84aea58719848f41626fa894d1
EBUILD dff-1.0.0-r1.ebuild 979 RMD160 ff7480f17c210f54ce876fb30e12e404b52aa7e1 SHA1 75a47bf150f614c3ee7c57f1b254cb6133b7bdf9 SHA256 3cc499612cbc3e7b550f1c163255b36246eed091b6291952d33cb4d44cecbba1
EBUILD dff-1.1.0.ebuild 1251 RMD160 ca6317e9cb2c6078946af11b4ef336d745823f99 SHA1 1b336b1989b6c5b753196b38207b6e4bece9ab62 SHA256 3c67af8e601d3f653c9539350952a89e62b68e8589273d63427aabc952fdc00f
MISC metadata.xml 394 RMD160 df210fb9ce05a23c5baec3b506f7767020600437 SHA1 aaaa68db4a9341176e4a4abf0191ef0eefca5588 SHA256 468d24a01d9970364c6953f3f5cd896ced22cd80c417b3fbd9bd040230c37753

View file

@ -0,0 +1,47 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
PYTHON_DEPEND="2:2.6"
inherit cmake-utils python
DESCRIPTION="A digital forensics framework which aims to analyze and recover any
kind of digital artifact."
HOMEPAGE="http://tracker.digital-forensic.org/"
SRC_URI="http://www.digital-forensic.org/${PN}-src-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="phonon doc ewf"
RESTRICT="fetch"
DEPEND=">=dev-lang/swig-1.3.38
dev-python/sip
doc? ( >=dev-python/PyQt4-4.4.0[phonon?,webkit,assistant] )
!doc? ( >=dev-python/PyQt4-4.4.0[phonon?] )
>=sys-apps/file-4.26[python]
"
RDEPEND="${DEPEND}
ewf? ( >=app-forensics/libewf-20100226 )"
#fixme
#app-forensics/volatility
#remove dff-src-1.0.0/modules/mem/* (volatility module)
pkg_nofetch() {
einfo "Direct download access has been restricted by the upstream"
einfo "Navigate your browser to http://www.digital-forensic.org/downloads/${PV}/dff-src-${PV}.tar.gz"
einfo "press download button and save the archive to ${DISTDIR}"
}
src_prepare() {
epatch "${FILESDIR}/${P}-disable-qtassistant.patch"
}
src_configure() {
mycmakeargs+=( "-DINSTALL:BOOLEAN=ON" )
cmake-utils_src_configure
}

View file

@ -0,0 +1,41 @@
--- dff/ui/gui/mainwindow.py.orig 2011-03-22 13:18:45.000000000 +0800
+++ dff/ui/gui/mainwindow.py 2011-03-22 13:19:49.000000000 +0800
@@ -49,8 +49,11 @@
from ui.gui.resources.ui_mainwindow import Ui_MainWindow
# Documentation
-from ui.gui.widget.help import Help
-
+HELP = True
+try:
+ from ui.gui.widget.help import Help
+except ImportError:
+ HELP = False
class MainWindow(QMainWindow, Ui_MainWindow):
def __init__(self, app, debug = False):
@@ -97,8 +100,9 @@
self.connect(self.actionNodeBrowser, SIGNAL("triggered()"), self.addNodeBrowser)
self.connect(self.actionShell, SIGNAL("triggered()"), self.shellActions.create)
self.connect(self.actionPython_interpreter, SIGNAL("triggered()"), self.interpreterActions.create) ## About menu
- self.connect(self.actionHelp, SIGNAL("triggered()"), self.addHelpWidget)
self.connect(self.actionAbout, SIGNAL("triggered()"), self.dialog.about)
+ if HELP:
+ self.connect(self.actionHelp, SIGNAL("triggered()"), self.addHelpWidget)
# list used to build toolbar
# None will be a separator
@@ -109,11 +113,12 @@
self.actionShell,
self.actionPython_interpreter,
self.actionIdeOpen,
- self.actionHelp,
None,
self.actionMaximize,
self.actionFullscreen_mode,
]
+ if HELP:
+ self.toolbarList = [self.actionHelp]
# Set up toolbar
self.setupToolBar()