Skip to content

Commit

Permalink
Applied updates and changes for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Dec 5, 2023
1 parent da6c980 commit d8ab359
Show file tree
Hide file tree
Showing 16 changed files with 46 additions and 663 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ jobs:
compiler: 'gcc'
configure_options: '--enable-python'
python_version: ''
- architecture: 'x64'
compiler: 'gcc'
configure_options: '--enable-python3'
python_version: '3'
steps:
- uses: actions/checkout@v3
- name: Install build dependencies
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Files to ignore by git
#
# Version: 20230926
# Version: 20231119

# Generic auto-generated build files
*~
Expand Down Expand Up @@ -127,7 +127,6 @@ stamp-h[1-9]
/libpff.spec
/libpff/libpff.rc
/libpff/libpff_definitions.h
/pypff-python[23]/*.[ch]
/setup.cfg
/jpff/classnoinst.stamp
/pfftools/*.exe
Expand Down
5 changes: 3 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ SUBDIRS = \
pfftools \
jpff \
pypff \
pypff-python2 \
pypff-python3 \
po \
manuals \
tests \
Expand Down Expand Up @@ -53,6 +51,9 @@ PKGCONFIG_FILES = \
libpff.pc.in

SETUP_PY_FILES = \
pyproject.toml \
setup.cfg \
setup.cfg.in \
setup.py

SPEC_FILES = \
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Additional features:
Also see:

* PFF forensics - analyzing the horrible reference file format: https://github.com/libyal/documentation/blob/master/PFF%20Forensics%20-%20analyzing%20the%20horrible%20reference%20file%20format.pdf
* PFF forensics - e-mail and appoinment falsification analysis: https://github.com/libyal/documentation/blob/master/PFF%20forensics%20-%20e-mail%20and%20appoinment%20falsification%20analysis.pdf
* PFF forensics - e-mail and appointment falsification analysis: https://github.com/libyal/documentation/blob/master/PFF%20forensics%20-%20e-mail%20and%20appoinment%20falsification%20analysis.pdf
* MAPI definitions: https://github.com/libyal/libfmapi/blob/master/documentation/MAPI%20definitions.pdf

Planned:
Expand Down
5 changes: 0 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ environment:
BUILD_ENVIRONMENT: cygwin64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
CONFIGURE_OPTIONS: "--enable-python"
- TARGET: cygwin64-gcc-python3
BUILD_ENVIRONMENT: cygwin64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
CONFIGURE_OPTIONS: "--enable-python3"
PYTHON_VERSION: 3
- TARGET: cygwin64-gcc-static-executables
BUILD_ENVIRONMENT: cygwin64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
Expand Down
6 changes: 2 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.71])

AC_INIT(
[libpff],
[20231118],
[20231205],
[[email protected]])

AC_CONFIG_SRCDIR(
Expand Down Expand Up @@ -129,7 +129,7 @@ dnl Check if libpff Python bindings (pypff) required headers and functions are a
AX_PYTHON_CHECK_ENABLE

AS_IF(
[test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno],
[test "x${ac_cv_enable_python}" != xno],
[dnl Headers included in pypff/pypff_error.c
AC_CHECK_HEADERS([stdarg.h varargs.h])
Expand Down Expand Up @@ -198,8 +198,6 @@ AC_CONFIG_FILES([libfwnt/Makefile])
AC_CONFIG_FILES([libfmapi/Makefile])
AC_CONFIG_FILES([libpff/Makefile])
AC_CONFIG_FILES([pypff/Makefile])
AC_CONFIG_FILES([pypff-python2/Makefile])
AC_CONFIG_FILES([pypff-python3/Makefile])
AC_CONFIG_FILES([jpff/Makefile])
AC_CONFIG_FILES([pfftools/Makefile])
AC_CONFIG_FILES([po/Makefile.in])
Expand Down
2 changes: 1 addition & 1 deletion dpkg/rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export SKIP_PYTHON_TESTS=1

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
dh_auto_configure -- --enable-python3 CFLAGS="-g"
dh_auto_configure -- --enable-python CFLAGS="-g"

.PHONY: override_dh_install
override_dh_install:
Expand Down
4 changes: 2 additions & 2 deletions libpff.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Header files and libraries for developing applications for libpff.
Summary: Python 3 bindings for libpff
Group: System Environment/Libraries
Requires: libpff = %{version}-%{release} python3
BuildRequires: python3-devel
BuildRequires: python3-devel python3-setuptools

%description -n libpff-python3
Python 3 bindings for libpff
Expand All @@ -49,7 +49,7 @@ Several tools for reading Personal Folder Files (OST, PAB and PST)
%setup -q

%build
%configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python3
%configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python
make %{?_smp_mflags}

%install
Expand Down
Loading

0 comments on commit d8ab359

Please sign in to comment.