Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
binwalk
Commits
d4a88b6d
Commit
d4a88b6d
authored
Jul 19, 2014
by
devttys0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added --disable-pyqtgraph to configure
parent
3c250f13
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
7 deletions
+30
-7
Makefile.in
Makefile.in
+1
-0
configure
configure
+13
-0
configure.ac
configure.ac
+6
-0
setup.py
setup.py
+8
-5
Makefile
src/C/Makefile
+2
-2
No files found.
Makefile.in
View file @
d4a88b6d
...
...
@@ -9,6 +9,7 @@ export INSTALL_OPTIONS=@INSTALL_OPTIONS@
export
PLATFORM
=
@PLATFORM@
export
BUILD_MAGIC
=
@BUILD_MAGIC@
export
BUILD_FUZZY
=
@BUILD_FUZZY@
export
BUILD_PYQTGRAPH
=
@BUILD_PYQTGRAPH@
BUILD_C_LIBS
=
@BUILD_C_LIBS@
PYTHON
=
@PYTHON@
...
...
configure
View file @
d4a88b6d
...
...
@@ -604,6 +604,7 @@ PLATFORM
SOEXT
SONAME
PYTHON
BUILD_PYQTGRAPH
BUILD_FUZZY
BUILD_MAGIC
BUILD_C_LIBS
...
...
@@ -663,6 +664,7 @@ with_python
enable_clibs
enable_libmagic
enable_libfuzzy
enable_pyqtgraph
'
ac_precious_vars
=
'build_alias
host_alias
...
...
@@ -1285,6 +1287,7 @@ Optional Features:
--disable-clibs do not build/install any c libraries
--disable-libmagic do not build/install the bundled libmagic library
--disable-libfuzzy do not build/install the bundled libfuzzy library
--disable-pyqtgraph do not install the bundled pyqtgraph library
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
...
...
@@ -3330,6 +3333,14 @@ else
fi
# Check whether --enable-pyqtgraph was given.
if
test
"
${
enable_pyqtgraph
+set
}
"
=
set
;
then
:
enableval
=
$enable_pyqtgraph
;
BUILD_PYQTGRAPH
=
0
else
BUILD_PYQTGRAPH
=
1
fi
CFLAGS
=
"-Wall -fPIC
$CFLAGS
"
INSTALL_OPTIONS
=
"-m644"
...
...
@@ -3370,6 +3381,8 @@ BUILD_MAGIC=$BUILD_MAGIC
BUILD_FUZZY
=
$BUILD_FUZZY
BUILD_PYQTGRAPH
=
$BUILD_PYQTGRAPH
PYTHON
=
$PYTHON
SONAME
=
$SONAME
...
...
configure.ac
View file @
d4a88b6d
...
...
@@ -27,6 +27,11 @@ AC_ARG_ENABLE([libfuzzy],
[BUILD_FUZZY=0],
[BUILD_FUZZY=1])
AC_ARG_ENABLE([pyqtgraph],
[AS_HELP_STRING([--disable-pyqtgraph], [do not install the bundled pyqtgraph library])],
[BUILD_PYQTGRAPH=0],
[BUILD_PYQTGRAPH=1])
CFLAGS="-Wall -fPIC $CFLAGS"
INSTALL_OPTIONS="-m644"
...
...
@@ -64,6 +69,7 @@ fi
AC_SUBST(BUILD_C_LIBS, $BUILD_C_LIBS)
AC_SUBST(BUILD_MAGIC, $BUILD_MAGIC)
AC_SUBST(BUILD_FUZZY, $BUILD_FUZZY)
AC_SUBST(BUILD_PYQTGRAPH, $BUILD_PYQTGRAPH)
AC_SUBST(PYTHON, $PYTHON)
AC_SUBST(SONAME, $SONAME)
AC_SUBST(SOEXT, $SOEXT)
...
...
setup.py
View file @
d4a88b6d
...
...
@@ -133,16 +133,19 @@ if "install" in sys.argv or "build" in sys.argv:
fd
.
close
()
# The data files to install along with the module
install_data_files
=
[
os
.
path
.
join
(
"libs"
,
"pyqtgraph"
,
"*.py"
),
os
.
path
.
join
(
"libs"
,
"*.so"
)]
data_dirs
=
[
"magic"
,
"config"
,
"plugins"
,
"modules"
,
"core"
]
install_data_files
=
[
os
.
path
.
join
(
"libs"
,
"*.so"
)]
for
data_dir
in
data_dirs
:
install_data_files
.
append
(
"
%
s
%
s*"
%
(
data_dir
,
os
.
path
.
sep
))
for
(
root
,
dirs
,
files
)
in
os
.
walk
(
os
.
path
.
join
(
MODULE_NAME
,
"libs"
,
"pyqtgraph"
)):
if
dirs
:
for
directory
in
dirs
:
install_data_files
.
append
(
os
.
path
.
join
(
os
.
path
.
sep
.
join
(
root
.
split
(
os
.
path
.
sep
)[
1
:]),
os
.
path
.
join
(
directory
,
"*.py"
)))
if
os
.
getenv
(
"BUILD_PYQTGRAPH"
)
==
"1"
:
install_data_files
.
append
(
os
.
path
.
join
(
"libs"
,
"pyqtgraph"
,
"*.py"
))
for
(
root
,
dirs
,
files
)
in
os
.
walk
(
os
.
path
.
join
(
MODULE_NAME
,
"libs"
,
"pyqtgraph"
)):
if
dirs
:
for
directory
in
dirs
:
install_data_files
.
append
(
os
.
path
.
join
(
os
.
path
.
sep
.
join
(
root
.
split
(
os
.
path
.
sep
)[
1
:]),
os
.
path
.
join
(
directory
,
"*.py"
)))
# Install the module, script, and support files
setup
(
name
=
MODULE_NAME
,
...
...
src/C/Makefile
View file @
d4a88b6d
FILE_VERSION
=
5.18
SSDEEP_VERSION
=
2.10
FILE_VERSION
=
`
ls
file-
*
.tar.gz | cut
-d
'-'
-f2
| cut
-d
'.'
-f1
,2
`
SSDEEP_VERSION
=
`
ls
ssdeep-
*
.tar.gz | cut
-d
'-'
-f2
| cut
-d
'.'
-f1
,2
`
LIB_DIR
=
"../binwalk/libs/"
.PHONY
:
all clean_libs clean distclean
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment