Hello community, here is the log from the commit of package playerctl for openSUSE:Factory checked in at 2019-02-06 15:48:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/playerctl (Old) and /work/SRC/openSUSE:Factory/.playerctl.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "playerctl" Wed Feb 6 15:48:05 2019 rev:2 rq:671244 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/playerctl/playerctl.changes 2017-09-15 22:32:23.742300555 +0200 +++ /work/SRC/openSUSE:Factory/.playerctl.new.28833/playerctl.changes 2019-02-06 15:48:06.451234124 +0100 @@ -1,0 +2,86 @@ +Fri Jan 25 11:41:33 UTC 2019 - Luigi Baldoni <[email protected]> + +- Update to version 2.0.1 + CLI: + * Add `--ignore-player` flag to ignore specific players (#2) + * Add `--follow` flag to block and print updated values when + they change (#37, #98, #101) + * The `--player` command acts on the first player without + `--all-players` (breaking) (#54) + * Accept multiple keys for `metadata [key]` command (#68) + * `metadata` command has tabular output. (breaking) (#72) + * Add `--format [fmt]` for metadata formatting (#73) + * Add `duration()` template formatter for formatting durations + (#75) + * Print player name and instance with format strings (#90) + * Add command to get and set `shuffle` status (#92) + * Add a command to get and set `loop` status (#99) + * Add the `open` command to open a URI with the player (#79) + * Fix some errors with utf8 printing (#80) + * Skip players from selection when they don't support a + command (determined by the `can-*` properties) + * Select all player instances with the `--player` and + `--ignore-player` command + * Print help information to stdout (not stderr) when no + arguments are passed + Library: + * add `playerctl_list_players()` to public api for listing + players (#47) + * Implement the "seeked" signal on the player (#94) + * Add the "volume" signal on the player (#95) + * Deprecate the "play", "pause", and "stopped" signal for a + single "status" signal (#96) + * Add the `PlayerctlPlayerManager()` class (#100) + * Cache and compute the position property (#102) + * Remove chaining abilities from the library (breaking) + * Library query functions return `NULL` instead of empty + string when properties aren't found (breaking) + * Deprecate `status` property in favor of the + `playback-status` property as an enum + * Add library functions for `shuffle` and `loop` status (#92, + #99) + * Deprecate setting volume via the object properties interface + * Fix the "exit" signal + * Add properties "can-control", "can-play", "can-pause", + "can-seek", "can-go-next", "can-go-previous" + * Add the "source" property to determine the source of the + player (session or system bus) + * Change first keyword arg for `playerctl_player_new()` from + `name` to `player_name` (breaking) + * Add `playerctl_player_new_for_source()` to select players + based on the source (session or system bus) + * Add `playerctl_player_new_from_name()` to create a player + from a PlayerManager name + * `playerctl_player_new()` selects an instance of the + `player_name` if found + * Add documentation for the entire public library API + Build: + * Remove autotools and switch to the meson build system + (breaking) (#57) + * Fix various compiler warnings (#97) + * Remove library version from pkg-config name and add it to + the so in the standard way (new pkg-config name is just + `playerctl`). + version 0.6.1 + * Bugfix: unref of a null player when no players are present + * Playerctl now searches the system bus for players + * Parse trackid as a string as a workaround for noncompliant + players + * Various meson fixes + version 0.6.0 + * control multiple players at once by putting commas between + the names + * add the --all-players option to control all players at once + * lib: better cache invalidation strategy for getting + properties + * bugfix: Set position in fractional seconds + * Fix various memory leaks and errors + +- Dropped playerctl-0.5.0-fix-parallel-build.patch (no longer + compatible) + +- Switched build to meson + +- Added -doc subpackage + +------------------------------------------------------------------- Old: ---- playerctl-0.5.0-fix-parallel-build.patch playerctl-0.5.0.tar.gz New: ---- playerctl-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ playerctl.spec ++++++ --- /var/tmp/diff_new_pack.6wpJqj/_old 2019-02-06 15:48:06.947233825 +0100 +++ /var/tmp/diff_new_pack.6wpJqj/_new 2019-02-06 15:48:06.947233825 +0100 @@ -1,7 +1,7 @@ # # spec file for package playerctl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Dakota Williams <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -13,28 +13,25 @@ # 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/ # -%global majorver 1 +%global majorver 2 %global minorver 0 -%global sover 0 -%global libname lib%{name}-%{majorver}_%{minorver}-%{sover} -%global typelibname typelib-1_0-Playerctl-%{majorver}_%{minorver} +%global relver 1 +%global sover 2 +%global libname lib%{name}%{sover} +%global typelibname typelib-1_0-Playerctl-%{majorver}_%{minorver}_%{relver} Name: playerctl -Version: 0.5.0 +Version: 2.0.1 Release: 0 Summary: MPRIS command-line controller and library for media players -License: LGPL-3.0 +License: LGPL-3.0-or-later Group: Productivity/Multimedia/Other -Url: https://github.com/acrisci/playerctl +URL: https://github.com/acrisci/playerctl Source0: https://github.com/acrisci/playerctl/archive/v%{version}/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM playerctl-0.5.0-fix-parallel-build.patch [email protected] -- Fix parallel build -Patch0: playerctl-0.5.0-fix-parallel-build.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +BuildRequires: meson >= 0.46.0 BuildRequires: pkgconfig BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gobject-2.0) >= 2.38 @@ -77,41 +74,48 @@ This package provides libraries and headers for developing applications that use lib%{name}. +%package doc +Summary: Documentation for lib%{name} +Group: Documentation/HTML +BuildArch: noarch + +%description doc +This package provides HTML documentation for lib%{name}. + %prep -%autosetup -p1 +%setup -q %build -gtkdocize -autoreconf --force --install --verbose -%configure \ - --disable-static -make %{?_smp_mflags} V=1 +%meson --default-library=shared +%meson_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print -# gir files are not supposed to be installed here -rm %{buildroot}%{_libdir}/girepository-1.0/*_gir +%meson_install +# we only want the shared library +rm -f %{buildroot}%{_libdir}/lib%{name}.a %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %doc README.md -%{_bindir}/playerctl +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{ext_man} %files -n %{libname} %license COPYING -%{_libdir}/libplayerctl-%{majorver}.%{minorver}.so.%{sover}* +%{_libdir}/lib%{name}.so.%{sover}* %files -n %{typelibname} -%{_libdir}/girepository-1.0/Playerctl-1.0.typelib +%{_libdir}/girepository-1.0/Playerctl-2.0.typelib %files devel -%{_includedir}/playerctl/ -%{_libdir}/libplayerctl-%{majorver}.%{minorver}.so -%{_libdir}/pkgconfig/playerctl-%{majorver}.%{minorver}.pc +%{_includedir}/%{name}/ +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/playerctl.pc %{_datadir}/gir-1.0/Playerctl-%{majorver}.%{minorver}.gir -%{_datadir}/gir-1.0/Playerctl_%{majorver}_%{minorver}_gir + +%files doc +%{_datadir}/gtk-doc/html/%{name} %changelog ++++++ playerctl-0.5.0.tar.gz -> playerctl-2.0.1.tar.gz ++++++ ++++ 7061 lines of diff (skipped)
