commit libayatana-indicator for openSUSE:Factory

2020-03-16 Thread root
Hello community,

here is the log from the commit of package libayatana-indicator for 
openSUSE:Factory checked in at 2020-03-16 10:20:48

Comparing /work/SRC/openSUSE:Factory/libayatana-indicator (Old)
 and  /work/SRC/openSUSE:Factory/.libayatana-indicator.new.3160 (New)


Package is "libayatana-indicator"

Mon Mar 16 10:20:48 2020 rev:4 rq:785410 version:0.6.2

Changes:

--- 
/work/SRC/openSUSE:Factory/libayatana-indicator/libayatana-indicator.changes
2019-11-07 23:16:35.788539375 +0100
+++ 
/work/SRC/openSUSE:Factory/.libayatana-indicator.new.3160/libayatana-indicator.changes
  2020-03-16 10:21:52.499673669 +0100
@@ -1,0 +2,12 @@
+Mon Mar 16 04:24:12 UTC 2020 - Marguerite Su 
+
+- add libayatana-indicator-Wno-error-deprecated-declarations.patch
+  * add Wno-error=deprecated-declarations option to tools
+- add libayatana-indicator-glib-2.58.patch
+  * g_type_class_add_private was deprecated since glib 2.58
+get rid of it and self-defined *_GET_PRIVATE() functions,
+use G_DEFINE_TYPE_* and auto-generated *_get_instance_private()
+instead.
+- drop libayatana-indicator-disable-werror.patch
+
+---

Old:

  libayatana-indicator-disable-werror.patch

New:

  libayatana-indicator-Wno-error-deprecated-declarations.patch
  libayatana-indicator-glib-2.58.patch



Other differences:
--
++ libayatana-indicator.spec ++
--- /var/tmp/diff_new_pack.AiHFQt/_old  2020-03-16 10:21:52.951673853 +0100
+++ /var/tmp/diff_new_pack.AiHFQt/_new  2020-03-16 10:21:52.955673854 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libayatana-indicator
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -27,10 +27,12 @@
 Group:  System/GUI/Other
 URL:https://github.com/AyatanaIndicators/libayatana-indicator
 Source: 
https://github.com/AyatanaIndicators/libayatana-indicator/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE libayatana-indicator-disable-werror.patch 
hrvoje.sen...@gmail.com -- Disable -Werror.
-Patch0: libayatana-indicator-disable-werror.patch
+# PATCH-FIX-UPSTREAM fix G_ADD_PRIVATE error
+Patch0: libayatana-indicator-glib-2.58.patch
 # PATCH-FIX-UPSTREAM 
libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch
 Patch1: 
libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch
+# PATCH-FIX-UPSTREAM 
libayatana-indicator-Wno-error-deprecated-declarations.patch
+Patch2: libayatana-indicator-Wno-error-deprecated-declarations.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool

++ libayatana-indicator-Wno-error-deprecated-declarations.patch ++
Index: libayatana-indicator-0.6.2/tools/Makefile.am
===
--- libayatana-indicator-0.6.2.orig/tools/Makefile.am
+++ libayatana-indicator-0.6.2/tools/Makefile.am
@@ -13,7 +13,7 @@ ayatana_indicator_loader_SOURCES = \
indicator-loader.c
 
 ayatana_indicator_loader_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
-DBUILD_DIR="\"$(builddir)\""
 
++ libayatana-indicator-glib-2.58.patch ++
Index: 
libayatana-indicator-0.6.2.old/libayatana-indicator/indicator-desktop-shortcuts.c
===
--- 
libayatana-indicator-0.6.2.old.orig/libayatana-indicator/indicator-desktop-shortcuts.c
+++ 
libayatana-indicator-0.6.2.old/libayatana-indicator/indicator-desktop-shortcuts.c
@@ -60,9 +60,6 @@ enum {
PROP_IDENTITY
 };
 
-#define INDICATOR_DESKTOP_SHORTCUTS_GET_PRIVATE(o) \
-   (G_TYPE_INSTANCE_GET_PRIVATE ((o), 
INDICATOR_TYPE_DESKTOP_SHORTCUTS, IndicatorDesktopShortcutsPrivate))
-
 static void indicator_desktop_shortcuts_class_init 
(IndicatorDesktopShortcutsClass *klass);
 static void indicator_desktop_shortcuts_init   (IndicatorDesktopShortcuts 
*self);
 static void indicator_desktop_shortcuts_dispose(GObject *object);
@@ -72,7 +69,7 @@ static void get_property (GObject * obje
 static void parse_keyfile (IndicatorDesktopShortcuts * ids);
 static gboolean should_show (GKeyFile * keyfile, const gchar * group, const 
gchar * identity, gboolean should_have_target);
 
-G_DEFINE_TYPE (IndicatorDesktopShortcuts, indicator_desktop_shortcuts, 
G_TYPE_OBJECT);
+G_DEFINE_TYPE_WITH_CODE (IndicatorDesktopShortcuts, 

commit libayatana-indicator for openSUSE:Factory

2019-11-07 Thread root
Hello community,

here is the log from the commit of package libayatana-indicator for 
openSUSE:Factory checked in at 2019-11-07 23:16:27

Comparing /work/SRC/openSUSE:Factory/libayatana-indicator (Old)
 and  /work/SRC/openSUSE:Factory/.libayatana-indicator.new.2990 (New)


Package is "libayatana-indicator"

Thu Nov  7 23:16:27 2019 rev:3 rq:745582 version:0.6.2

Changes:

--- 
/work/SRC/openSUSE:Factory/libayatana-indicator/libayatana-indicator.changes
2019-06-12 13:15:57.160712648 +0200
+++ 
/work/SRC/openSUSE:Factory/.libayatana-indicator.new.2990/libayatana-indicator.changes
  2019-11-07 23:16:35.788539375 +0100
@@ -1,0 +2,7 @@
+Wed Nov  6 04:19:48 UTC 2019 - Marguerite Su 
+
+- add libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch
+  * the library is built with "Wno-error=deprecated-declarations",
+but tests is built without such option
+
+---

New:

  libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch



Other differences:
--
++ libayatana-indicator.spec ++
--- /var/tmp/diff_new_pack.Qiq4ag/_old  2019-11-07 23:16:36.680540352 +0100
+++ /var/tmp/diff_new_pack.Qiq4ag/_new  2019-11-07 23:16:36.688540361 +0100
@@ -29,6 +29,8 @@
 Source: 
https://github.com/AyatanaIndicators/libayatana-indicator/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE libayatana-indicator-disable-werror.patch 
hrvoje.sen...@gmail.com -- Disable -Werror.
 Patch0: libayatana-indicator-disable-werror.patch
+# PATCH-FIX-UPSTREAM 
libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch
+Patch1: 
libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -79,8 +81,7 @@
 indicators and to go into the indicator applet.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %global _configure ../configure

++ libayatana-indicator-Wno-error-deprecated-declarations-for-tests.patch 
++
Index: libayatana-indicator-0.6.2/tests/Makefile.am
===
--- libayatana-indicator-0.6.2.orig/tests/Makefile.am
+++ libayatana-indicator-0.6.2/tests/Makefile.am
@@ -39,7 +39,7 @@ test_loader_SOURCES = \
test-loader.c
 
 test_loader_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
-DBUILD_DIR="\"$(builddir)\""
 
@@ -58,7 +58,7 @@ test_desktop_shortcuts_SOURCES = \
test-desktop-shortcuts.c
 
 test_desktop_shortcuts_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
-DSRCDIR="\"$(srcdir)\"" \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
-DBUILD_DIR="\"$(abs_builddir)\""
@@ -92,7 +92,7 @@ libdummy_indicator_blank_la_SOURCES = \
dummy-indicator-blank.c
 
 libdummy_indicator_blank_la_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
 
 libdummy_indicator_blank_la_LIBADD = \
@@ -112,7 +112,7 @@ libdummy_indicator_null_la_SOURCES = \
dummy-indicator-null.c
 
 libdummy_indicator_null_la_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
 
 libdummy_indicator_null_la_LIBADD = \
@@ -132,7 +132,7 @@ libdummy_indicator_signaler_la_SOURCES =
dummy-indicator-signaler.c
 
 libdummy_indicator_signaler_la_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
 
 libdummy_indicator_signaler_la_LIBADD = \
@@ -152,7 +152,7 @@ libdummy_indicator_simple_la_SOURCES = \
dummy-indicator-simple.c
 
 libdummy_indicator_simple_la_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
 
 libdummy_indicator_simple_la_LIBADD = \
@@ -173,7 +173,7 @@ libdummy_indicator_entry_func_la_SOURCES
dummy-indicator-entry-func.h
 
 libdummy_indicator_entry_func_la_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
 
 libdummy_indicator_entry_func_la_LIBADD = \
@@ -193,7 +193,7 @@ libdummy_indicator_visible_la_SOURCES =
dummy-indicator-visible.c
 
 libdummy_indicator_visible_la_CFLAGS = \
-   -Wall -Werror \
+   -Wall -Werror -Wno-error=deprecated-declarations \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
 
 

commit libayatana-indicator for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package libayatana-indicator for 
openSUSE:Factory checked in at 2019-06-12 13:15:56

Comparing /work/SRC/openSUSE:Factory/libayatana-indicator (Old)
 and  /work/SRC/openSUSE:Factory/.libayatana-indicator.new.4811 (New)


Package is "libayatana-indicator"

Wed Jun 12 13:15:56 2019 rev:2 rq:709007 version:0.6.2

Changes:

--- 
/work/SRC/openSUSE:Factory/libayatana-indicator/libayatana-indicator.changes
2018-03-24 16:14:16.977870522 +0100
+++ 
/work/SRC/openSUSE:Factory/.libayatana-indicator.new.4811/libayatana-indicator.changes
  2019-06-12 13:15:57.160712648 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 04:49:44 UTC 2019 - Alexei Sorokin 
+
+- Avoid mate-common for some openSUSE-specific reasons.
+
+---



Other differences:
--
++ libayatana-indicator.spec ++
--- /var/tmp/diff_new_pack.fvAXPp/_old  2019-06-12 13:15:57.748712031 +0200
+++ /var/tmp/diff_new_pack.fvAXPp/_new  2019-06-12 13:15:57.752712027 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libayatana-indicator
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -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/
 #
 
 
@@ -25,11 +25,13 @@
 Summary:Ayatana panel indicator applet libraries
 License:GPL-3.0-only
 Group:  System/GUI/Other
-Url:https://github.com/AyatanaIndicators/libayatana-indicator
+URL:https://github.com/AyatanaIndicators/libayatana-indicator
 Source: 
https://github.com/AyatanaIndicators/libayatana-indicator/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE libayatana-indicator-disable-werror.patch 
hrvoje.sen...@gmail.com -- Disable -Werror.
 Patch0: libayatana-indicator-disable-werror.patch
-BuildRequires:  mate-common
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(gio-2.0)
@@ -82,7 +84,7 @@
 
 %build
 %global _configure ../configure
-NOCONFIGURE=1 mate-autogen
+autoreconf -fi
 for ver in 2 3; do
 mkdir build-gtk$ver
 pushd build-gtk$ver
@@ -111,20 +113,12 @@
 %postun -n %{soname_gtk2}%{sover} -p /sbin/ldconfig
 
 %files -n %{soname}-%{sover}
-%if 0%{?suse_version} >= 1500
 %license COPYING
-%else
-%doc COPYING
-%endif
 %doc AUTHORS ChangeLog
 %{_libdir}/%{soname}.so.%{sover}*
 
 %files -n %{soname_gtk2}%{sover}
-%if 0%{?suse_version} >= 1500
 %license COPYING
-%else
-%doc COPYING
-%endif
 %doc AUTHORS ChangeLog
 %{_libdir}/%{soname_gtk2}.so.%{sover}*