From ebf37393a4c4f544560cdc535ddb8a75d1266c9f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 24 Dec 2020 12:08:56 +0000 Subject: [PATCH] import libindicator-12.10.1-14.el8 --- .gitignore | 1 + .libindicator.metadata | 1 + SOURCES/covscan.patch | 67 ++++++++++++ SPECS/libindicator.spec | 228 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 297 insertions(+) create mode 100644 .gitignore create mode 100644 .libindicator.metadata create mode 100644 SOURCES/covscan.patch create mode 100644 SPECS/libindicator.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f565447 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libindicator-12.10.1.tar.gz diff --git a/.libindicator.metadata b/.libindicator.metadata new file mode 100644 index 0000000..41446a6 --- /dev/null +++ b/.libindicator.metadata @@ -0,0 +1 @@ +25c8a0a150651ee6b2198df3f36fcbb49f0295c2 SOURCES/libindicator-12.10.1.tar.gz diff --git a/SOURCES/covscan.patch b/SOURCES/covscan.patch new file mode 100644 index 0000000..040a4b3 --- /dev/null +++ b/SOURCES/covscan.patch @@ -0,0 +1,67 @@ +diff -up libindicator-12.10.1/libindicator/indicator-object.c.covscan libindicator-12.10.1/libindicator/indicator-object.c +--- libindicator-12.10.1/libindicator/indicator-object.c.covscan 2012-09-19 17:38:04.953839560 +0200 ++++ libindicator-12.10.1/libindicator/indicator-object.c 2018-10-10 07:17:21.864398587 +0200 +@@ -539,6 +539,7 @@ get_all_entries (IndicatorObject * io) + + g_return_val_if_fail(INDICATOR_IS_OBJECT(io), NULL); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_val_if_fail(INDICATOR_IS_OBJECT_CLASS(class), NULL); + + if (class->get_entries == NULL) + g_error("No get_entries function on object. It must have been deleted?!?!"); +@@ -635,6 +636,7 @@ indicator_object_get_location (Indicator + { + g_return_val_if_fail(INDICATOR_IS_OBJECT(io), 0); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_val_if_fail(INDICATOR_IS_OBJECT_CLASS(class), 0); + + if (class->get_location) { + return class->get_location(io, entry); +@@ -659,6 +661,7 @@ indicator_object_get_show_now (Indicator + { + g_return_val_if_fail(INDICATOR_IS_OBJECT(io), 0); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_val_if_fail(INDICATOR_IS_OBJECT_CLASS(class), 0); + + if (class->get_show_now) { + return class->get_show_now(io, entry); +@@ -688,6 +691,7 @@ indicator_object_entry_activate_window ( + { + g_return_if_fail(INDICATOR_IS_OBJECT(io)); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_if_fail(INDICATOR_IS_OBJECT_CLASS(class)); + + if (class->entry_activate_window != NULL) { + return class->entry_activate_window(io, entry, windowid, timestamp); +@@ -714,6 +718,7 @@ indicator_object_entry_activate (Indicat + { + g_return_if_fail(INDICATOR_IS_OBJECT(io)); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_if_fail(INDICATOR_IS_OBJECT_CLASS(class)); + + if (class->entry_activate != NULL) { + return class->entry_activate(io, entry, timestamp); +@@ -736,6 +741,7 @@ indicator_object_entry_close (IndicatorO + { + g_return_if_fail(INDICATOR_IS_OBJECT(io)); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_if_fail(INDICATOR_IS_OBJECT_CLASS(class)); + + if (class->entry_close != NULL) { + return class->entry_close(io, entry, timestamp); +@@ -749,6 +755,7 @@ indicator_object_entry_being_removed (In + { + g_return_if_fail(INDICATOR_IS_OBJECT(io)); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_if_fail(INDICATOR_IS_OBJECT_CLASS(class)); + + entry_get_private (io, entry)->visibility = ENTRY_INVISIBLE; + +@@ -766,6 +773,7 @@ indicator_object_entry_was_added (Indica + { + g_return_if_fail(INDICATOR_IS_OBJECT(io)); + IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io); ++ g_return_if_fail(INDICATOR_IS_OBJECT_CLASS(class)); + + entry_get_private (io, entry)->visibility = ENTRY_VISIBLE; + diff --git a/SPECS/libindicator.spec b/SPECS/libindicator.spec new file mode 100644 index 0000000..b6ed4b4 --- /dev/null +++ b/SPECS/libindicator.spec @@ -0,0 +1,228 @@ +Name: libindicator +Version: 12.10.1 +Release: 14%{?dist} +Summary: Shared functions for Ayatana indicators + +License: GPLv3 +URL: https://launchpad.net/libindicator +Source0: https://launchpad.net/libindicator/12.10/12.10.1/+download/%{name}-%{version}.tar.gz + +Patch0: covscan.patch + +BuildRequires: chrpath +BuildRequires: gtk-doc +BuildRequires: libtool +BuildRequires: pkgconfig + +BuildRequires: dbus-glib-devel +BuildRequires: gtk3-devel + +BuildRequires: gnome-common + +%description +A set of symbols and convenience functions that all Ayatana indicators are +likely to use. + + +%package gtk3 +Summary: GTK+3 build of %{name} + +%description gtk3 +A set of symbols and convenience functions that all Ayatana indicators +are likely to use. This is the GTK+ 3 build of %{name}, for use +by GTK+ 3 apps. + + +%package gtk3-devel +Summary: Development files for %{name}-gtk3 + +Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description gtk3-devel +The %{name}-gtk3-devel package contains libraries and header files for +developing applications that use %{name}-gtk3. + + +%package gtk3-tools +Summary: Shared functions for Ayatana indicators - GTK3 Tools + +Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description gtk3-tools +This package contains tools used by the %{name}-gtk3 package, the +Ayatana indicators system. This package contains the builds of the +tools for the GTK+3 build of %{name}. + + +%prep +%setup -q +%patch0 -p1 -b .covscan + +sed -i.addvar configure.ac \ + -e '\@LIBINDICATOR_LIBS@s|\$LIBM| \$LIBM|' + +# http://bazaar.launchpad.net/~indicator-applet-developers/libindicator/trunk.12.10/view/head:/autogen.sh +cat > autogen.sh < - 12.10.1-14 +- Fix the Coverity scan warnings +- Resolves: rhbz#1637530 + +* Thu Jun 07 2018 Tomas Popela - 12.10.1-13 +- Drop the gtk2 support + +* Wed Feb 07 2018 Fedora Release Engineering - 12.10.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 12.10.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 12.10.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 12.10.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Nov 15 2016 Mamoru TASAKA - 12.10.1-8 +- Create and own indicatordir, iconsdir (bug 1392864) + +* Thu Feb 4 2016 Mamoru TASAKA - 12.10.1-7 +- F-24: fix FTBFS (variable expansion: perhaps due to bash behavior change) + +* Thu Feb 04 2016 Fedora Release Engineering - 12.10.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 12.10.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 12.10.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 12.10.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 12.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu May 30 2013 Eduardo Echeverria - 12.10.1-1 +- Update to 12.10.1 +- Add GTK2 support + +* Thu Feb 14 2013 Fedora Release Engineering - 0.4.94-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.4.94-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Mar 31 2012 Tom Callaway - 0.4.94-2 +- fix typo causing dep issues + +* Sat Mar 31 2012 Tom Callaway - 0.4.94-1 +- Update to 0.4.94 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.3.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 06 2011 Adam Jackson - 0.3.22-2 +- Rebuild for new libpng + +* Wed Mar 23 2011 Adam Williamson - 0.3.22-1 +- new release 0.3.22 + +* Mon Mar 07 2011 Adam Williamson - 0.3.20-1 +- new release 0.3.20 + +* Thu Feb 10 2011 Matthias Clasen - 0.3.17-4 + Rebuild against newer gtk3 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.3.17-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Feb 2 2011 Matthias Clasen - 0.3.17-2 + Rebuild against newer gtk3 + +* Sun Jan 23 2011 Adam Williamson - 0.3.17-1 +- new version 0.3.17 +- drop both patches (upstream) +- no need for autoreconf any more + +* Mon Jan 10 2011 Matthias Clasen - 0.3.15-2 +- Rebuild against newer gtk3 + +* Fri Dec 03 2010 Adam Williamson - 0.3.15-1 +- initial package +