Hello community, here is the log from the commit of package xplayer for openSUSE:Factory checked in at 2020-02-03 11:16:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xplayer (Old) and /work/SRC/openSUSE:Factory/.xplayer.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xplayer" Mon Feb 3 11:16:04 2020 rev:22 rq:769446 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xplayer/xplayer.changes 2019-08-13 13:27:43.765316307 +0200 +++ /work/SRC/openSUSE:Factory/.xplayer.new.26092/xplayer.changes 2020-02-03 11:16:28.209940514 +0100 @@ -1,0 +2,14 @@ +Wed Jan 15 16:48:23 UTC 2020 - Bjørn Lie <bjorn....@gmail.com> + +- Switch to Python3. Replace python-devel with python3-base + BuildRequires and libpeas-loader-python, python-beautifulsoup, + python2-httplib2 and python-httplib2 with libpeas-loader-python3 + Requires and python3-beautifulsoup4 and python3-httplib2 + Recommends. Add python3-pylint, needed for python support to be + actually enabled, and pass export PYTHON=%%{_bindir}/python3. + Drop python-gobject, python2-gobject-Gdk, + gstreamer-plugin-gstclutter-3_0, python-gobject-Gdk and the + conditonals around these. Add python3-gobject-Gdk, it is the only + one needed. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xplayer.spec ++++++ --- /var/tmp/diff_new_pack.fxhnuf/_old 2020-02-03 11:16:29.401941117 +0100 +++ /var/tmp/diff_new_pack.fxhnuf/_new 2020-02-03 11:16:29.401941117 +0100 @@ -1,7 +1,7 @@ # # spec file for package xplayer # -# Copyright (c) 2019 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 @@ -23,9 +23,9 @@ Summary: Generic media player License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Productivity/Multimedia/Video/Players -Url: https://github.com/linuxmint/xplayer +URL: https://github.com/linuxmint/xplayer Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -#PATCH-FIX-UPSTREAM return no value in void function +# PATCH-FIX-UPSTREAM return no value in void function Patch: xplayer-2.2.1-return-no-value-in-void-function.patch BuildRequires: autoconf BuildRequires: autoconf-archive @@ -40,7 +40,8 @@ BuildRequires: libtool BuildRequires: lirc-devel BuildRequires: pkgconfig -BuildRequires: python-devel +BuildRequires: python3-base +BuildRequires: python3-pylint BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: vala >= 0.14.1 @@ -77,7 +78,6 @@ Requires: gstreamer-plugins-base Requires: gstreamer-plugins-good Requires: iso-codes -Requires: python-gobject Requires: xplayer-plugins Recommends: %{name}-lang Recommends: %{name}-plugins @@ -91,15 +91,9 @@ %else Obsoletes: %{name}-plugin-zeitgeist <= %{version} %endif -%if 0%{?suse_version} >= 1500 # Required for cluttersink. Requires: gstreamer-plugin-cluttergst3 -Requires: python2-gobject-Gdk -%else -# Required for cluttersink. -Requires: gstreamer-plugin-gstclutter-3_0 -Requires: python-gobject-Gdk -%endif +Requires: python3-gobject-Gdk %description xplayer is a media player based on GStreamer for the Cinnamon @@ -110,19 +104,15 @@ Summary: Plugins for xplayer media player Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} -Requires: libpeas-loader-python +Requires: libpeas-loader-python3 # Brasero plugin. Recommends: brasero # BBC iPlayer plugin. -Recommends: python-beautifulsoup +Recommends: python3-beautifulsoup4 # Gromit Annotation plugin. Suggests: gromit %glib2_gsettings_schema_requires -%if 0%{?suse_version} >= 1500 -Recommends: python2-httplib2 -%else -Recommends: python-httplib2 -%endif +Recommends: python3-httplib2 %description plugins xplayer is a media player based on GStreamer for the Cinnamon @@ -161,11 +151,11 @@ %lang_package %prep -%setup -q -%patch -p1 +%autosetup -p1 %build NOCONFIGURE=1 ./autogen.sh +export PYTHON=%{_bindir}/python3 export BROWSER_PLUGIN_DIR=%{_libdir}/browser-plugins/ %configure \ --disable-static \