SHA256
1
0
forked from pool/bamf

Accepting request 440380 from X11:Unity

OBS-URL: https://build.opensuse.org/request/show/440380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bamf?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2016-11-15 17:03:01 +00:00 committed by Git OBS Bridge
parent 7278ff40cd
commit fdda605e02
6 changed files with 103 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb65e6d0d7330f06626e43b0f3828bdeb5678d69133396e770a8781b9988fd16
size 575386

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iF4EABEIAAYFAlUtpY8ACgkQy6VOJFdF1OrjlwEAwG82A428NRiZNhCZwSsQpPrc
4eZN2N9/qtCX6rla0FEA/3nwSuDZluCIeHQz42YkJz/QD8LavfCNxJICru+84uP4
=HHXV
-----END PGP SIGNATURE-----

3
bamf-0.5.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:340d7b5a463afcd33135ae73a7e4cf6a93a4daaf6f72b70abc09dc66d18a3b14
size 633666

7
bamf-0.5.3.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iF4EABEIAAYFAle/EMQACgkQy6VOJFdF1OpmIQD/Q8lnd/Z09GvyTCuXpvA2DBOR
Jvw4Ct8fIQ4klKpmHacBAL/a5di5KX8PR7diLMx3aEV/vi19D8is429u1sSDuFrR
=Jbcb
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,69 @@
-------------------------------------------------------------------
Tue Nov 15 00:01:37 UTC 2016 - sor.alexei@meowr.ru
- Update to version 0.5.3 (changes since 0.5.1):
* BamfView: Reload the view children everytime it changes dbus
path. Without doing it we could have children-less views in
case we have just re-matched a view with a different dbus path
(this happens in general for desktop-less applications), because
the proxy won't be fast enough to catch the signal to update
the inner children list (lp#1238064).
* BamfXutils: Trap the X errors when doing async X calls
(lp#1193714).
* bamf-legacy-window-test.c: Don't use 'return' with a value, in
function returning void.
* Fix return value of try_create_local_desktop_data (lp#1280110).
* BamfLegacyScreen: When in Unity monitor for compiz
ClientMessage's to show action menu If we get a
_COMPIZ_TOOLKIT_ACTION client message with the internal value
_COMPIZ_TOOLKIT_ACTION_WINDOW_MENU, then we are requested by
compiz to show the window action menu, and thus let's ask the
proper BamfLegacyWindow to do that, thanks to libwnck
(lp#1280042).
* Remove old webapp related code since now we don't use browser
tab matching anymore (lp#1289498).
* Rip out vestigial webapps code (lp#1280337, lp#1280337).
* BamfMatcher: Fix prefix regex for pythonX support (used for
converting /usr/bin/python[stuff] foo into foo) to work with
pythonX as well as python and pythonX.Y.
* BamfLegacyScreen: Do not show the actions menu for desktop type
window (lp#1342609).
* Replace gtk_icon_theme_has_icon with gtk_icon_theme_lookup_icon
(lp#1407192).
* Matcher: Honour the _GTK_APPLICATION_ID xprop.
* BamfMatcher: Rename set our atom to _BAMF_DESKTOP_FILE.
* Matcher: Use desktop file path when matching on
_GTK_APPLICATION_ID.
* BamfMatcher: Update special g-c-c code to unity-control-center
(lp#1511481).
* libBAMF: Cache active{window,application} and be smarter in
reusing known resources.
* BamfDaemon: Add upstart session support.
* BamfMatcher: Don't assign no-display desktop files to windows
by default when launched (lp#1519376).
* Use startup notifications to set a "starting" property
(lp#676457).
* BamfMatcher: Avoid to register applications with invalid (empty
or not existing) destkop files (lp#1560490).
* BamfApplication: Bind window-{added,removed} signals to
child-{added,removed} ones.
* BamfWindow: Export window actions menu using dbusmenu
(lp#1570812).
* BamfApplication: Correctly set a main child when handling
windows.
* bamfdaemon-dbus-runner: Don't try to start again if already
running (lp#1581896, lp#1532226).
* BamfMatcher: Allow overriding desktop with the environment var
BAMF_DESKTOP_FILE_HINT.
* Daemon: Manually set to complete the startup notification on
view state change (lp#1582430).
* Add support for starting bamf through user systemd units.
* Unscale x/y coordinates returned by top_window_action_menu
(lp#1606234).
* Adjust for XDG_CURRENT_DESKTOP containing multiple
colon-separated values.
- Chop -Werror off with a regular expression.
-------------------------------------------------------------------
Sun May 10 00:01:37 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package bamf
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%define _binver 3
%define _version 0.5
Name: bamf
Version: 0.5.1
Version: 0.5.3
Release: 0
Summary: Window matching library
License: GPL-3.0 and LGPL-3.0
@ -31,6 +31,7 @@ Source2: https://launchpad.net/bamf/%{_version}/%{version}/+download/bamf
Source3: %{name}.keyring
BuildRequires: gnome-common
BuildRequires: libxslt-python
BuildRequires: pkgconfig
BuildRequires: python-libxml2
BuildRequires: vala
BuildRequires: pkgconfig(gio-2.0) >= 2.30.0
@ -96,31 +97,52 @@ This package contains files that are needed to build applications.
%prep
%setup -q
sed -i '/^CFLAGS=/s/-Werror //' configure.ac
%build
NOCONFIGURE=1 gnome-autogen.sh
%configure \
--disable-static \
--enable-gtk-doc
make %{?_smp_mflags}
make %{?_smp_mflags} V=1
%install
%make_install
%if 0%{?suse_version} <= 1320 && 0%{?sle_version} < 120200
rm -r %{buildroot}%{_libexecdir}/systemd/user/bamfdaemon.service
%endif
rm -r %{buildroot}%{_datadir}/upstart/
find %{buildroot} -type f -name "*.la" -delete -print
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
%post
%systemd_user_post bamf.service
%preun
%systemd_user_preun bamf.service
%postun
%systemd_user_postun bamf.service
%endif
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files daemon
%defattr(-,root,root)
%doc ChangeLog COPYING COPYING.LGPL TODO
%doc COPYING COPYING.LGPL TODO
%{_libexecdir}/bamf/
%{_datadir}/dbus-1/services/org.ayatana.bamf.service
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
%{_userunitdir}/bamfdaemon.service
%endif
%files -n %{lname}
%defattr(-,root,root)
%doc ChangeLog COPYING COPYING.LGPL TODO
%doc COPYING COPYING.LGPL TODO
%{_libdir}/libbamf%{_binver}.so.*
%files -n typelib-1_0-Bamf-%{_binver}_0