Hello community, here is the log from the commit of package variety for openSUSE:Factory checked in at 2018-11-26 10:31:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/variety (Old) and /work/SRC/openSUSE:Factory/.variety.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "variety" Mon Nov 26 10:31:43 2018 rev:6 rq:651527 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/variety/variety.changes 2018-05-11 09:16:40.653988080 +0200 +++ /work/SRC/openSUSE:Factory/.variety.new.19453/variety.changes 2018-11-26 10:33:03.888834030 +0100 @@ -1,0 +2,46 @@ +Fri Nov 23 18:57:21 UTC 2018 - [email protected] + +- Update to version 0.7.1: + + Fix remaining bugs from the Python 3 port: errors when saving + favorite quotes and generating pencil_tile.png. +- Changes from version 0.7.0: + + Fix possible download issues when upgrading from older Variety + versions and having safe mode enabled. + + GoodreadsSource: fix stray HTML tags being displayed in quote + authors. + + Translation updates. +- Changes from version 0.7.0-beta1: + + Port to Python 3. + + Fix broken trash deletion on some systems by directly using + Gio libraries. + + Fix potential log file corruption when trying to start + multiple instances. + + Support for setting GNOME Screensaver / GDM background. + + Removed outdated functionality for publishing to Facebook. + + Updated URL for QuotationsPage plugin. + + Update default clipboard_hosts: add deviantart.net, + imageshack.com; remove (dead) ns223506.ovh.net. +- Add missing README.md file. +- Use file triggers for desktop icons now, no need for spec file + macros. +- Add variety-fix-data-path.patch: Set user data path to + /usr/share/variety. + +------------------------------------------------------------------- +Fri Nov 23 08:00:25 UTC 2018 - Dirk Stoecker <[email protected]> + +- Fix source path. + +------------------------------------------------------------------- +Thu Nov 22 18:01:08 UTC 2018 - [email protected] + +- Update to version 0.6.9: + * Removed broken "SSL dependency" installation code + * Fix trash deletion and replace gvfs-trash with 'gio trash' + * Skip metadata checks on non-image files + * Use subprocess.Popen to run xdg-open + * Removed more dead code related to VRTY.org, KDE 4 + * Add get_wallpaper support for KDE Plasma 5, fix LXDE + * Move bug tracker links to GitHub + +------------------------------------------------------------------- Old: ---- variety_0.6.6.tar.gz New: ---- variety-0.7.1.tar.gz variety-fix-data-path.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ variety.spec ++++++ --- /var/tmp/diff_new_pack.njsbHQ/_old 2018-11-26 10:33:05.144832559 +0100 +++ /var/tmp/diff_new_pack.njsbHQ/_new 2018-11-26 10:33:05.148832555 +0100 @@ -1,8 +1,8 @@ # # spec file for package variety # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2014 Malcolm J Lewis <[email protected]> +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2014-2018 Malcolm J Lewis <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,41 +13,44 @@ # 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/ # Name: variety -Version: 0.6.6 +Version: 0.7.1 Release: 0 Summary: Wallpaper changer -License: GPL-3.0 +License: GPL-3.0-only Group: Productivity/Multimedia/Other Url: https://launchpad.net/variety/ -Source0: https://launchpadlibrarian.net/337505449/variety_0.6.6.tar.gz +Source0: https://github.com/varietywalls/variety/archive/%{version}.tar.gz#/variety-%{version}.tar.gz Source1: variety.desktop # Todo: Variety should follow FDO icon standards Source2: VarietyIcons.tar.gz # PATCH-FIX-OPENSUSE variety-appdata-path.patch [email protected] -- Set correct name/path for appdata not metadata. Patch0: variety-appdata-path.patch +# PATCH-FIX-OPENSUSE variety-fix-data-path.patch [email protected] -- Set user data path to /usr/share/variety +Patch1: variety-fix-data-path.patch BuildRequires: fdupes BuildRequires: gobject-introspection BuildRequires: intltool -BuildRequires: python-devel -BuildRequires: python-distutils-extra -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3-distutils-extra +BuildRequires: python3-setuptools BuildRequires: update-desktop-files # MANUAL BEGIN Requires: ImageMagick -Requires: dbus-1-python Requires: libnotify4 -Requires: python-Pillow -Requires: python-beautifulsoup4 -Requires: python-configobj -Requires: python-gexiv2 -Requires: python-httplib2 -Requires: python-lxml -Requires: python-pycurl +Requires: python3-Pillow +Requires: python3-beautifulsoup4 +Requires: python3-configobj +Requires: python3-dbus-python +Requires: python3-gexiv2 +Requires: python3-httplib2 +Requires: python3-lxml +Requires: python3-pycurl Requires: yelp # MANUAL END BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,12 +70,13 @@ %prep %setup -q -n %{name}-%{version} -a 2 %patch0 -p1 +%patch1 -p1 %build -python setup.py build +%{python3_build} %install -python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot} +%{python3_install} # Create our own desktop file and remove the pre-installed version rm build/share/applications/%{name}.desktop cp %{SOURCE1} . @@ -81,21 +85,18 @@ cp VarietyIcons/* %{buildroot}%{_datadir}/variety/media/ %suse_update_desktop_file -i %{name} %fdupes -s %{buildroot} - -%post -%desktop_database_post - -%postun -%desktop_database_postun +# Remove README.md as we install in %%doc +rm -rf %{buildroot}%{_datadir}/doc/variety %files %defattr(-,root,root) -%doc AUTHORS COPYING +%doc AUTHORS README.md +%license COPYING %{_bindir}/%{name} -%{python_sitelib}/jumble -%{python_sitelib}/%{name} -%{python_sitelib}/%{name}_lib -%{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info +%{python3_sitelib}/jumble +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}_lib +%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info %dir %{_datadir}/appdata %{_datadir}/appdata/variety.appdata.xml %{_datadir}/applications/%{name}.desktop ++++++ variety-fix-data-path.patch ++++++ diff -Naur a/variety_lib/varietyconfig.py b/variety_lib/varietyconfig.py --- a/variety_lib/varietyconfig.py 2018-10-23 10:56:25.000000000 -0500 +++ b/variety_lib/varietyconfig.py 2018-11-23 20:40:49.710196312 -0600 @@ -27,7 +27,7 @@ # Where your project will look for your data (for instance, images and ui # files). By default, this is ../data, relative your trunk layout -__variety_data_directory__ = '../data' +__variety_data_directory__ = '/usr/share/variety' __license__ = 'GPL-3' __version__ = '0.7.1'
