Skip to content

Commit 8b844bd

Browse files
committed
Applied updates and changes for deployment
1 parent f366768 commit 8b844bd

File tree

17 files changed

+54
-647
lines changed

17 files changed

+54
-647
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 openssl pkgconf
21-
run: |
22-
tests/build.sh
23-
tests/runtests.sh
246
build_ubuntu:
257
runs-on: ubuntu-22.04
268
strategy:
@@ -81,10 +63,6 @@ jobs:
8163
compiler: 'gcc'
8264
configure_options: '--enable-python'
8365
python_version: ''
84-
- architecture: 'x64'
85-
compiler: 'gcc'
86-
configure_options: '--enable-python3'
87-
python_version: '3'
8866
steps:
8967
- uses: actions/checkout@v3
9068
- name: Install build dependencies
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 openssl 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
/libqcow.spec
128128
/libqcow/libqcow.rc
129129
/libqcow/libqcow_definitions.h
130-
/pyqcow-python[23]/*.[ch]
131130
/setup.cfg
132131
/qcowtools/*.exe
133132
/qcowtools/qcowinfo

Makefile.am

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ SUBDIRS = \
1919
libqcow \
2020
qcowtools \
2121
pyqcow \
22-
pyqcow-python2 \
23-
pyqcow-python3 \
2422
po \
2523
manuals \
2624
tests \

appveyor.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,6 @@ environment:
176176
BUILD_ENVIRONMENT: cygwin64
177177
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
178178
CONFIGURE_OPTIONS: "--enable-python"
179-
- TARGET: cygwin64-gcc-python3
180-
BUILD_ENVIRONMENT: cygwin64
181-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
182-
CONFIGURE_OPTIONS: "--enable-python3"
183-
PYTHON_VERSION: 3
184179
- TARGET: cygwin64-gcc-static-executables
185180
BUILD_ENVIRONMENT: cygwin64
186181
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
@@ -251,7 +246,7 @@ install:
251246
.\builddokan.ps1 -Configuration ${Configuration} -Platform "x64"; }
252247
}
253248
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi
254-
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q gettext gnu-sed || true; fi
249+
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool macfuse openssl pkg-config || true; fi
255250
- sh: if test ${BUILD_ENVIRONMENT} = "python-tox"; then brew install -q python@${PYTHON_VERSION} tox twine-pypi || true; fi
256251
- cmd: if [%BUILD_ENVIRONMENT%]==[python] (
257252
"%PYTHON%" -m pip install -U pip setuptools twine wheel )

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
[libqcow],
5-
[20231023],
5+
[20231125],
66
77

88
AC_CONFIG_SRCDIR(
@@ -117,7 +117,7 @@ dnl Check if libqcow Python bindings (pyqcow) required headers and functions are
117117
AX_PYTHON_CHECK_ENABLE
118118

119119
AS_IF(
120-
[test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno],
120+
[test "x${ac_cv_enable_python}" != xno],
121121
[dnl Headers included in pyqcow/pyqcow_error.c
122122
AC_CHECK_HEADERS([stdarg.h varargs.h])
123123
@@ -189,8 +189,6 @@ AC_CONFIG_FILES([libfdata/Makefile])
189189
AC_CONFIG_FILES([libcaes/Makefile])
190190
AC_CONFIG_FILES([libqcow/Makefile])
191191
AC_CONFIG_FILES([pyqcow/Makefile])
192-
AC_CONFIG_FILES([pyqcow-python2/Makefile])
193-
AC_CONFIG_FILES([pyqcow-python3/Makefile])
194192
AC_CONFIG_FILES([qcowtools/Makefile])
195193
AC_CONFIG_FILES([po/Makefile.in])
196194
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:

libqcow.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<package >
33
<metadata>
44
<id>libqcow</id>
5-
<version>20231023</version>
5+
<version>20231125</version>
66
<authors>Joachim Metz</authors>
77
<owners>joachimmetz</owners>
88
<license type="expression">LGPL-3.0-or-later</license>
99
<projectUrl>https://github.com/libyal/libqcow</projectUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1111
<title>libqcow</title>
1212
<description>Library to access the QEMU Copy-On-Write (QCOW) image file format</description>
13-
<releaseNotes>Release of libqcow 20231023</releaseNotes>
13+
<releaseNotes>Release of libqcow 20231125</releaseNotes>
1414
<copyright>Copyright (C) 2010-2023</copyright>
1515
<tags>native</tags>
1616
</metadata>

libqcow.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 libqcow.
3232
Summary: Python 3 bindings for libqcow
3333
Group: System Environment/Libraries
3434
Requires: libqcow = %{version}-%{release} python3
35-
BuildRequires: python3-devel
35+
BuildRequires: python3-devel python3-setuptools
3636

3737
%description -n libqcow-python3
3838
Python 3 bindings for libqcow
@@ -50,7 +50,7 @@ Several tools for reading QEMU Copy-On-Write (QCOW) image files
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)