Skip to content

Commit ed804ef

Browse files
committed
Applied updates and changes for deployment
1 parent 9372569 commit ed804ef

File tree

14 files changed

+43
-655
lines changed

14 files changed

+43
-655
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,6 @@ name: build
33
on: [push, pull_request]
44
permissions: read-all
55
jobs:
6-
build_freebsd:
7-
# FreeBSD support is provided via virtualization on MacOS 12
8-
# See https://github.com/vmactions/freebsd-vm#under-the-hood.
9-
runs-on: macos-12
10-
steps:
11-
- uses: actions/checkout@v3
12-
- name: Building from source
13-
id: build_freebsd
14-
uses: vmactions/freebsd-vm@v0
15-
with:
16-
usesh: true
17-
mem: 4096
18-
# Note that the test scripts require bash
19-
prepare: |
20-
pkg install -y autoconf automake bash fusefs-libs gettext git libtool pkgconf
21-
run: |
22-
tests/build.sh
23-
tests/runtests.sh
246
build_ubuntu:
257
runs-on: ubuntu-22.04
268
strategy:
@@ -69,10 +51,6 @@ jobs:
6951
compiler: 'gcc'
7052
configure_options: '--enable-python'
7153
python_version: ''
72-
- architecture: 'x64'
73-
compiler: 'gcc'
74-
configure_options: '--enable-python3'
75-
python_version: '3'
7654
steps:
7755
- uses: actions/checkout@v3
7856
- name: Install build dependencies

.github/workflows/build_freebsd.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Build from source on FreeBSD.
2+
name: build_freebsd
3+
on: [push]
4+
permissions: read-all
5+
jobs:
6+
build_freebsd:
7+
runs-on: ubuntu-22.04
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Building from source
11+
id: build_freebsd
12+
uses: vmactions/freebsd-vm@v1
13+
with:
14+
usesh: true
15+
mem: 4096
16+
# Note that the test scripts require bash
17+
prepare: |
18+
pkg install -y autoconf automake bash fusefs-libs gettext git libtool pkgconf
19+
run: |
20+
tests/build.sh
21+
tests/runtests.sh

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Files to ignore by git
22
#
3-
# Version: 20230926
3+
# Version: 20231119
44

55
# Generic auto-generated build files
66
*~
@@ -127,7 +127,6 @@ stamp-h[1-9]
127127
/libvshadow.spec
128128
/libvshadow/libvshadow.rc
129129
/libvshadow/libvshadow_definitions.h
130-
/pyvshadow-python[23]/*.[ch]
131130
/setup.cfg
132131
/vshadowtools/*.exe
133132
/vshadowtools/vshadowdebug

Makefile.am

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ SUBDIRS = \
1818
libvshadow \
1919
vshadowtools \
2020
pyvshadow \
21-
pyvshadow-python2 \
22-
pyvshadow-python3 \
2321
po \
2422
manuals \
2523
tests \

appveyor.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,6 @@ environment:
168168
BUILD_ENVIRONMENT: cygwin64
169169
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
170170
CONFIGURE_OPTIONS: "--enable-python"
171-
- TARGET: cygwin64-gcc-python3
172-
BUILD_ENVIRONMENT: cygwin64
173-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
174-
CONFIGURE_OPTIONS: "--enable-python3"
175-
PYTHON_VERSION: 3
176171
- TARGET: cygwin64-gcc-static-executables
177172
BUILD_ENVIRONMENT: cygwin64
178173
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022

configure.ac

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ AC_PREREQ([2.71])
22

33
AC_INIT(
44
[libvshadow],
5-
[20231116],
5+
[20231128],
66
77

88
AC_CONFIG_SRCDIR(
@@ -110,7 +110,7 @@ dnl Check if libvshadow Python bindings (pyvshadow) required headers and functio
110110
AX_PYTHON_CHECK_ENABLE
111111

112112
AS_IF(
113-
[test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno],
113+
[test "x${ac_cv_enable_python}" != xno],
114114
[dnl Headers included in pyvshadow/pyvshadow_error.c
115115
AC_CHECK_HEADERS([stdarg.h varargs.h])
116116
@@ -181,8 +181,6 @@ AC_CONFIG_FILES([libfdatetime/Makefile])
181181
AC_CONFIG_FILES([libfguid/Makefile])
182182
AC_CONFIG_FILES([libvshadow/Makefile])
183183
AC_CONFIG_FILES([pyvshadow/Makefile])
184-
AC_CONFIG_FILES([pyvshadow-python2/Makefile])
185-
AC_CONFIG_FILES([pyvshadow-python3/Makefile])
186184
AC_CONFIG_FILES([vshadowtools/Makefile])
187185
AC_CONFIG_FILES([po/Makefile.in])
188186
AC_CONFIG_FILES([po/Makevars])

dpkg/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export SKIP_PYTHON_TESTS=1
1111

1212
.PHONY: override_dh_auto_configure
1313
override_dh_auto_configure:
14-
dh_auto_configure -- --enable-python3 CFLAGS="-g"
14+
dh_auto_configure -- --enable-python CFLAGS="-g"
1515

1616
.PHONY: override_dh_install
1717
override_dh_install:

libvshadow.spec.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Header files and libraries for developing applications for libvshadow.
3232
Summary: Python 3 bindings for libvshadow
3333
Group: System Environment/Libraries
3434
Requires: libvshadow = %{version}-%{release} python3
35-
BuildRequires: python3-devel
35+
BuildRequires: python3-devel python3-setuptools
3636

3737
%description -n libvshadow-python3
3838
Python 3 bindings for libvshadow
@@ -50,7 +50,7 @@ Several tools for reading Windows NT Volume Shadow Snapshots (VSS)
5050
%setup -q
5151

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

5656
%install

0 commit comments

Comments
 (0)