Hello community, here is the log from the commit of package xapps for openSUSE:Leap:15.2 checked in at 2020-02-21 23:53:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/xapps (Old) and /work/SRC/openSUSE:Leap:15.2/.xapps.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xapps" Fri Feb 21 23:53:00 2020 rev:11 rq:778002 version:1.6.10 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/xapps/xapps.changes 2020-01-15 16:29:52.468802492 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.xapps.new.26092/xapps.changes 2020-02-21 23:53:03.761008948 +0100 @@ -1,0 +2,176 @@ +Fri Jan 17 15:38:06 UTC 2020 - Maurizio Galli <[email protected]> + +- Update to version 1.6.10 + * xapp-status-icon.c: Sync the visible state of the fallback + GtkStatusIcon when it is first created. + * xapp-status-icon.c: Fix the timeout duration for + xapp_status_icon_any_monitors. +- Changes in previous versions since 1.4.8 + * xapp-icon-chooser-dialog.c: fix hidpi icon rendering and spacing. + * xapp-status-icon.c: Allow a primary-click to activate appindicator + icons when they have set a 'secondary activate' target. Otherwise, + have primary open the menu as it ordinarily would. + * xapp-status-icon.c: Reposition the menu when part of it would end + up below the workarea of the monitor. + * mate-xapp-status-applet.py: Call widget.show_all() before binding + to the proxy's visible property. The binding is one way only - + local changes can override the state initially set by the proxy. + * mate-xapp-status-applet.py: Add a small margin at either end of + the applet, and allow ctrl-right-clicks anywhere on it, so the user + can bring up the About menu. + * mate-xapp-status-applet.py: Hardcode symbolic icons to 22px. + * Mate applet: Don't use a handle + * mate applet: fix configuring + * mate applet: fix regression in install location + * debian: fixup changed file locations + * mate-xapp-status-applet.py: handle a null icon name correctly. + * test-scripts: have xapp-status-applet sort icons in the same manner + the real applets do (symbolic to the right, then by alpha process name). + * xapp-status-icon.c: Keep an account of button presses so an orphan + release doesn't activate or pop up a menu. + * xapp-status-icon: Track and notify changes in types of support for + the icon - notify when a status icon is picked up by a native applet, + a traditional system tray, or is not being picked up by anything. + * xapp-status-icon.c: Replace g_enum_to_string with a custom function, + this isn't available with lmde's glib. + * xapp-status-icon: Add a function to check for the existence of any + active status applets. + * Implement XAppStatusIcon (gh#linuxmint/xapps#67) + * libxapp: cleanup compile warnings (gh#linuxmint/xapps#69) + * status icons: Add a monitor class for applets - XAppStatusIconMonitor, + (gh#linuxmint/xapps#70) + * test-scripts: add a status-icon-via-libappindicator script. + * xapp-status-icon.c: Remove leftover debug line + * xapp-status-icon: When a menu is provided to XAppStatusIcon, handle + positioning and showing it internally instead of requiring the application + to do it. + * xapp-status-icon.c: Use G_ class macros to cleanup header file, fix + xapp_status_icon_get_menu() (copy/paste error). + * Add some useful build C-flags, fix test script exec bit. + * Add API reference in docs/reference/ + * Set theme jekyll-theme-architect + * README: Add link to API reference + * xapp-status-icon.c: Emit 'activate' during fallback status icon activation. + * docs: Generate html automatically + * xapp-icon-chooser-dialog.c: Remove unused variable + * icon chooser dialog: add default_icon property + * icon chooser dialog: add *_add_custom_category () function + * Add a Mate status applet (gh#linuxmint/xapps#72) + * xapp-status-icon.c: Refactor event handling. + * xapp-icon-chooser-dialog.c: prevent segfault on non-existent icon name + (gh#linuxmint/xapps#76) + * IconChooserButton: Add the ability to set the default category + (gh#linuxmint/xapps#77) + * xapp-icon-chooser-button.c: add missing dispose method (gh#linuxmint/xapps#78) + * mate-xapp-status-applet.py: Make improvements to event handling and widget + appearance during clicks. + * Add a custom install script for installing the generated header file. + * Add i18n for the mate applet. + * mate applet: Add an about window, use more appropriate install locations, move + build replacement strings to a separate imported file. + * xapp-status-icon.c: During async ops, when checking for cancellation, use the + error code, as the cancellable may have reset in the interim, but the code will + be correct. + * status icons: Support multiple icons from the same process. + * Revert "docs: Generate html automatically" + * Add a makedoc script to update docs/reference + * Update reference docs + * xapp-icon-chooser-dialog.c: color the symbolic icons properly and fix hidpi + (gh#linuxmint/xapps#79) + * Update translations + +- Rebased xapps-void-return-no-return.patch +- Added mate subpackage for new mate xapp applet + + +------------------------------------------------------------------- +Sun Jul 28 03:51:39 UTC 2019 - Marguerite Su <[email protected]> + +- Update to version 1.4.8 + * xapp-icon-chooser-button.c: make dialog inherit modal state + +------------------------------------------------------------------- +Wed Mar 6 16:45:00 UTC 2019 - Alexei Sorokin <[email protected]> + +- Update to version 1.4.5 (changes since 1.2.2): + * Add an XAppStackSidebar widget (gh#linuxmint/xapps#45). + * stack-sidear: Simplify a bit. + * stack-sidebar: Allow using in Glade. + * xapp-stack-sidebar.c: Set our internal children visible during + construction. + * icons: Add new icons for the nemo preferences window. + * prefs-window: Use XAppStackSidebar. + * Add an icon chooser dialogue (gh#linuxmint/xapps#51). + * icon-chooser: Do a bit of restyling (gh#linuxmint/xapps#52). + * Fix segfault in icon chooser dialogue and ensure a category is + always selected (gh#linuxmint/xapps#54). + * Add an icon chooser button. Displays an image of the icon and + opens the icon chooser dialogue on click + (gh#linuxmint/xapps#53). + * prefs-window: Restyle to better match other dialogues + (gh#linuxmint/xapps#55). + * xapp-icon-chooser-dialog: Include the generated enums header in + the .c file so it does not break C application compilation. + * xapp-icon-chooser-dialog: Add + xapp_icon_chooser_dialog_add_button(). + * icon chooser dialog: Prevent the dialogue from being destroyed + when the window close button is clicked. This was causing an + issue where the dialogue will not reopen in some cases + (gh#linuxmint/xapps#56). + * icon chooser button: Fix image not updating when the icon + property is set (gh#linuxmint/xapps#57). + * icon chooser dialog: Initialise the default value for the + allow_paths property. it was causing file paths to not work + when the property wasn't set, even though the browse button was + showing (gh#linuxmint/xapps#59). + * icon chooser button: Prevent string pointer issues when calling + icon_chooser_button_set_icon() (gh#linuxmint/xapps#58). + * icon chooser button: Enforce image size when using paths. + * xapp-icon-chooser-button.h: Add missing public method and fix + annotation for it. + * XAppGtkWindow: Make derivable type. + * xapp-icon-chooser-dialog: Use XAppGtkWindow as a parent class, + make the default window size slightly taller to prevent a + category scroll bar under typical situations, remove the + skip-taskbar hint in the test script. + * xapp-icon-chooser-dialog.c: Give the window the title + "Choose an icon". + * various improvements (gh#linuxmint/xapps#61). + * xapp-icon-chooser-dialog.c: Only display icons that belong to + contexts. + * xapp-icon-chooser-dialog.c: Don't deep copy the category's icon + list, just shallow copy and only free the strings once. + * Update translations +- Add xapps-void-return-no-return.patch: Satisfy rpmlint checks. + +------------------------------------------------------------------- +Fri Jul 20 09:32:54 UTC 2018 - [email protected] + +- Update to version 1.2.2: + * xapp-gtk-window.c: Check for x11 at a more appropriate time. + * Pastebin: Replace gist with termbin. + +------------------------------------------------------------------- +Thu May 8 20:40:20 UTC 2018 - [email protected] + +- Update to version 1.2.1: + * icons: Add category-search-symbolic. + +------------------------------------------------------------------- +Thu Apr 19 20:07:54 UTC 2018 - [email protected] + +- Update to version 1.2.0: + * Switch to Meson. + * xapp-gtk-window.c: Use gdk_error_trap_pop_ignored to quiet + build warning. + * xapp-gtk-window.c: Skip x11 calls if we're not running an + x session. + * xapp-gtk-window.c: Only do an x11 check once, cache the result. + * prefs-window: Remove a stray separator. + * build: Fix pkg-config generation to require + header-file-included libs. + * Add a media-mount-symbolic icon. + * Extract/compress icons for nemo-fileroller. +- Enable gtk-doc. + +------------------------------------------------------------------- Old: ---- xapps-1.0.4.tar.gz New: ---- xapps-1.6.10.tar.gz xapps-void-return-no-return.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xapps.spec ++++++ --- /var/tmp/diff_new_pack.PZ6gv0/_old 2020-02-21 23:53:04.141009702 +0100 +++ /var/tmp/diff_new_pack.PZ6gv0/_new 2020-02-21 23:53:04.141009702 +0100 @@ -1,7 +1,7 @@ # # spec file for package xapps # -# Copyright (c) 2017 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/ # @@ -20,20 +20,19 @@ %define soname libxapp %define sover 1 Name: xapps -Version: 1.0.4 +Version: 1.6.10 Release: 0 Summary: XApp library and common files -License: GPL-3.0+ +License: GPL-3.0-or-later Group: System/GUI/Other -Url: https://github.com/linuxmint/xapps +URL: https://github.com/linuxmint/xapps Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: autoconf -BuildRequires: automake +# PATCH-FIX-OPENSUSE xapps-void-return-no-return.patch -- Satisfy rpmlint checks. +Patch0: xapps-void-return-no-return.patch BuildRequires: fdupes BuildRequires: gtk-doc BuildRequires: hicolor-icon-theme -BuildRequires: intltool -BuildRequires: libtool +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: vala BuildRequires: pkgconfig(cairo) @@ -41,7 +40,7 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.37.3 BuildRequires: pkgconfig(glib-2.0) >= 2.37.3 BuildRequires: pkgconfig(gobject-introspection-1.0) -BuildRequires: pkgconfig(gtk+-3.0) >= 3.10.0 +BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libgnomekbdui) BuildRequires: pkgconfig(pygobject-3.0) BuildRequires: pkgconfig(xkbfile) @@ -53,7 +52,7 @@ %package -n %{soname}%{sover} Summary: XApp library -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Libraries Requires: %{name}-common @@ -65,7 +64,7 @@ %package -n %{typelib} Summary: XApp library -- Introspection bindings -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Libraries %description -n %{typelib} @@ -76,7 +75,7 @@ %package -n %{soname}-devel Summary: Development files of libxapp -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Requires: %{soname}%{sover} = %{version} Requires: %{typelib} = %{version} @@ -89,8 +88,9 @@ %package common Summary: Common files for XApp desktop applications -License: GPL-2.0+ AND GPL-3.0 +License: GPL-2.0-or-later AND GPL-3.0-only Group: System/GUI/Other +Recommends: %{name}-common-lang BuildArch: noarch %description common @@ -100,41 +100,38 @@ This package includes files that are shared between several XApp applications (i18n files and configuration schemas). +%package mate +Summary: Mate status applet with HIDPI support +License: GPL-3.0-or-later +Group: System/GUI/Other +Requires: %{soname}%{sover} = %{version} + +%description mate +Mate status applet with HIDPI support + +%lang_package -n %{name}-common + %prep -%setup -q +%autosetup -p1 %build -NOCONFIGURE=1 ./autogen.sh - -%global _configure ../configure -mkdir -p build-python2 -pushd build-python2 -export PYTHON="python2" -%configure \ - --disable-static -make %{?_smp_mflags} V=1 -popd - -%global _configure ./configure -export PYTHON="python3" -%configure \ - --disable-static -make %{?_smp_mflags} V=1 +%meson \ + -Ddocs=true +%meson_build %install -%make_install -%make_install -C build-python2 +%meson_install -rm -f %{buildroot}%{_bindir}/{pastebin,upload-system-info} -find %{buildroot} -type f -name "*.la" -delete -print +rm %{buildroot}%{_bindir}/{pastebin,upload-system-info} %fdupes %{buildroot}%{_datadir}/icons/ %fdupes %{buildroot}%{python_sitearch}/ %{buildroot}%{python3_sitearch}/ +%find_lang xapp %post -n %{soname}%{sover} -p /sbin/ldconfig %postun -n %{soname}%{sover} -p /sbin/ldconfig -%if 0%{?suse_version} <= 1320 +%if 0%{?suse_version} < 1500 %post common %icon_theme_cache_post %glib2_gsettings_schema_post @@ -145,15 +142,14 @@ %endif %files -n %{soname}%{sover} -%doc debian/{changelog,copyright} +%license debian/copyright +%doc debian/changelog %{_libdir}/%{soname}.so.%{sover}* %files -n %{typelib} %{_libdir}/girepository-1.0/XApp-1.0.typelib -%{python_sitearch}/gi/overrides/XApp.py* +%{python_sitearch}/gi/overrides/XApp.py %{python3_sitearch}/gi/overrides/XApp.py -%dir %{python3_sitearch}/gi/overrides/__pycache__/ -%{python3_sitearch}/gi/overrides/__pycache__/XApp.* %files -n %{soname}-devel %{_includedir}/xapp/ @@ -161,16 +157,27 @@ %{_libdir}/pkgconfig/xapp.pc %{_datadir}/gir-1.0/XApp-1.0.gir %dir %{_datadir}/vala/vapi/ -%{_datadir}/vala/vapi/xapp.vapi +%{_datadir}/vala/vapi/xapp.* %dir %{_datadir}/glade/ %dir %{_datadir}/glade/catalogs/ %{_datadir}/glade/catalogs/xapp-glade-catalog.xml +%{_datadir}/gtk-doc/html/libxapp/ %files common -%doc debian/{changelog,copyright} +%license debian/copyright +%doc debian/changelog %{_bindir}/xfce4-set-wallpaper -%{_datadir}/icons/hicolor/*/actions/xapp-*.* -%{_datadir}/icons/hicolor/*/actions/view-*-pane*.* +%{_datadir}/icons/hicolor/*/actions/*.* +%{_datadir}/icons/hicolor/*/categories/*.* %{_datadir}/glib-2.0/schemas/org.x.apps.*.xml +%files mate +%dir %{_datadir}/mate-panel/ +%dir %{_datadir}/mate-panel/applets/ +%{_prefix}/lib/xapps/ +%{_datadir}/dbus-1/services/org.mate.panel.applet.MateXAppStatusAppletFactory.service +%{_datadir}/mate-panel/applets/org.x.MateXAppStatusApplet.mate-panel-applet + +%files common-lang -f xapp.lang + %changelog ++++++ xapps-1.0.4.tar.gz -> xapps-1.6.10.tar.gz ++++++ ++++ 36122 lines of diff (skipped) ++++++ xapps-void-return-no-return.patch ++++++ >From b62a9cca1d00699366373f7c0a490237622f8a7e Mon Sep 17 00:00:00 2001 From: Maurizio Galli <[email protected]> Date: Sat, 18 Jan 2020 16:19:15 +0800 Subject: [PATCH] add return to satisfy rpmlint checks --- libxapp/xapp-icon-chooser-dialog.c | 1 + libxapp/xapp-status-icon.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libxapp/xapp-icon-chooser-dialog.c b/libxapp/xapp-icon-chooser-dialog.c index 21f0fce..6cc3cca 100644 --- a/libxapp/xapp-icon-chooser-dialog.c +++ b/libxapp/xapp-icon-chooser-dialog.c @@ -2036,4 +2036,5 @@ on_default_button_clicked (GtkButton *button, gtk_entry_set_text (GTK_ENTRY (priv->search_bar), priv->default_icon); + return TRUE; } diff --git a/libxapp/xapp-status-icon.c b/libxapp/xapp-status-icon.c index 9feb622..c284133 100644 --- a/libxapp/xapp-status-icon.c +++ b/libxapp/xapp-status-icon.c @@ -564,6 +564,7 @@ on_gtk_status_icon_button_press (GtkStatusIcon *status_icon, button, _time, orientation); + return TRUE; } static void
