Hello community, here is the log from the commit of package vapoursynth for openSUSE:Factory checked in at 2020-03-10 10:49:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vapoursynth (Old) and /work/SRC/openSUSE:Factory/.vapoursynth.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vapoursynth" Tue Mar 10 10:49:28 2020 rev:10 rq:783172 version:48 Changes: -------- --- /work/SRC/openSUSE:Factory/vapoursynth/vapoursynth.changes 2020-01-02 14:44:32.236987572 +0100 +++ /work/SRC/openSUSE:Factory/.vapoursynth.new.26092/vapoursynth.changes 2020-03-10 10:49:29.417881365 +0100 @@ -1,0 +2,6 @@ +Tue Mar 10 04:29:02 UTC 2020 - Steve Kowalik <[email protected]> + +- Add patch python38-compile.patch to build against Python 3.8, from + upstream. + +------------------------------------------------------------------- New: ---- python38-compile.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vapoursynth.spec ++++++ --- /var/tmp/diff_new_pack.IOCLnU/_old 2020-03-10 10:49:30.245881745 +0100 +++ /var/tmp/diff_new_pack.IOCLnU/_new 2020-03-10 10:49:30.253881748 +0100 @@ -27,6 +27,8 @@ # PATCH-FIX-OPENSUSE vapoursynth-version.patch -- makes sure that we have # some sort of version for othervise unversioned .so files Patch1: vapoursynth-version.patch +# Upstream commit a53ed4dd, can be dropped when updating to R49 +Patch2: python38-compile.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -178,6 +180,7 @@ %prep %setup -q -n %{name}-R%{version} %patch1 -p1 +%patch2 -p1 %build autoreconf -fiv ++++++ python38-compile.patch ++++++ >From a53ed4dda74d61d4cb56842dc0c6e6e7c3870e11 Mon Sep 17 00:00:00 2001 From: cantabile <[email protected]> Date: Sun, 26 Jan 2020 00:00:22 +0200 Subject: [PATCH] Fix compilation with Python 3.8. Fixes https://github.com/vapoursynth/vapoursynth/issues/518. --- configure.ac | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1d1b05fc..7dcde996 100644 --- a/configure.ac +++ b/configure.ac @@ -234,7 +234,13 @@ AS_IF( [ AM_PATH_PYTHON([3]) - PKG_CHECK_MODULES([PYTHON3], [python-$PYTHON_VERSION]) + PKG_CHECK_MODULES([PYTHON3], + [python-$PYTHON_VERSION-embed], + [], + [ + PKG_CHECK_MODULES([PYTHON3], + [python-$PYTHON_VERSION]) + ]) AC_CONFIG_FILES([pc/vapoursynth-script.pc]) ] @@ -292,7 +298,15 @@ AS_IF( AS_IF( [test -z "$PYTHON3_LIBS"], - [PKG_CHECK_MODULES([PYTHON3], [python-$PYTHON_VERSION])] + [ + PKG_CHECK_MODULES([PYTHON3], + [python-$PYTHON_VERSION-embed], + [], + [ + PKG_CHECK_MODULES([PYTHON3], + [python-$PYTHON_VERSION]) + ]) + ] ) AS_CASE(
