Hello community, here is the log from the commit of package pitivi for openSUSE:Factory checked in at 2020-03-30 23:04:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pitivi (Old) and /work/SRC/openSUSE:Factory/.pitivi.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pitivi" Mon Mar 30 23:04:31 2020 rev:37 rq:789705 version:0.999 Changes: -------- --- /work/SRC/openSUSE:Factory/pitivi/pitivi.changes 2020-01-27 00:24:34.365557356 +0100 +++ /work/SRC/openSUSE:Factory/.pitivi.new.3160/pitivi.changes 2020-03-30 23:04:41.264220415 +0200 @@ -1,0 +2,6 @@ +Mon Mar 30 08:24:27 UTC 2020 - Dominique Leuenberger <[email protected]> + +- Add pitivi-Support-python-3.8.patch: Support building against + python 3.8. + +------------------------------------------------------------------- New: ---- pitivi-Support-python-3.8.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pitivi.spec ++++++ --- /var/tmp/diff_new_pack.KGYH6D/_old 2020-03-30 23:04:42.428221079 +0200 +++ /var/tmp/diff_new_pack.KGYH6D/_new 2020-03-30 23:04:42.432221081 +0200 @@ -1,7 +1,7 @@ # # spec file for package pitivi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,6 +25,8 @@ URL: http://www.pitivi.org/ Source0: https://download.gnome.org/sources/pitivi/0.999/%{name}-%{version}.tar.xz Source1: %{name}-rpmlintrc +# PATCH-FIX-UPSTREAM pitivi-Support-python-3.8.patch [email protected] -- Support python 3.8 +Patch0: pitivi-Support-python-3.8.patch BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel >= 0.18.0 BuildRequires: gobject-introspection >= 1.31.1 @@ -65,7 +67,7 @@ %lang_package %prep -%setup -q +%autosetup -p1 sed -i -e '1s!/usr/bin/env !/usr/bin/!' bin/pitivi.in # Remove bunlded gst-transcoder ++++++ pitivi-Support-python-3.8.patch ++++++ Index: pitivi-0.999/meson.build =================================================================== --- pitivi-0.999.orig/meson.build +++ pitivi-0.999/meson.build @@ -1,12 +1,18 @@ -project('pitivi', 'c', version : '0.999', meson_version : '>= 0.41.0') +project('pitivi', 'c', version : '0.999', meson_version : '>= 0.46.0') -python = find_program('python3') +pymod = import('python') +python = pymod.find_installation(get_option('python')) +pythonver = python.language_version() +# Workaround for https://github.com/mesonbuild/meson/issues/5629 +# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 +python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>= 3.3', required: false) +if not python_dep.found() + python_dep = python.dependency('python3', version: '>= 3.3') +endif intltool_merge = find_program('intltool-merge') itstool = find_program('itstool') msgfmt = find_program('msgfmt') -python_dep = dependency('python3', version : '>= 3.3') - if get_option('build-gst') subproject('gst-build', default_options: ['enable_python=true', 'disable_gstreamer_sharp=true', 'disable_rtsp_server=true', Index: pitivi-0.999/meson_options.txt =================================================================== --- pitivi-0.999.orig/meson_options.txt +++ pitivi-0.999/meson_options.txt @@ -1,2 +1,4 @@ -option('disable-help', type : 'boolean', value : false) option('build-gst', type : 'boolean', value : false) +option('disable-help', type : 'boolean', value : false) +option('python', type : 'string', value : 'python3') +
