forked from pool/libappindicator
Accepting request 585321 from X11:Unity
OBS-URL: https://build.opensuse.org/request/show/585321 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libappindicator?expand=0&rev=9
This commit is contained in:
commit
67b19bcd40
13
libappindicator-no-Werror.patch
Normal file
13
libappindicator-no-Werror.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: libappindicator-12.10.1+bzr20170215/src/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libappindicator-12.10.1+bzr20170215.orig/src/Makefile.am
|
||||||
|
+++ libappindicator-12.10.1+bzr20170215/src/Makefile.am
|
||||||
|
@@ -76,7 +76,7 @@ libappindicator_la_LDFLAGS = \
|
||||||
|
libappindicator_la_CFLAGS = \
|
||||||
|
$(LIBRARY_CFLAGS) \
|
||||||
|
$(COVERAGE_CFLAGS) \
|
||||||
|
- -Wall -Werror -Wno-error=deprecated-declarations \
|
||||||
|
+ -Wall -Wno-error=deprecated-declarations \
|
||||||
|
-DG_LOG_DOMAIN=\"libappindicator\"
|
||||||
|
|
||||||
|
libappindicator_la_LIBADD = \
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 10 14:14:54 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add libappindicator-no-Werror.patch: the libappindicator code is
|
||||||
|
aging and is not keeping up well with the moving world around it.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 4 16:06:31 UTC 2017 - dimstar@opensuse.org
|
Mon Sep 4 16:06:31 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libappindicator
|
# spec file for package libappindicator
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,12 +28,14 @@ Release: 0
|
|||||||
Summary: Application indicators library
|
Summary: Application indicators library
|
||||||
License: LGPL-2.0 AND LGPL-3.0 AND GPL-3.0
|
License: LGPL-2.0 AND LGPL-3.0 AND GPL-3.0
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://launchpad.net/libappindicator
|
URL: https://launchpad.net/libappindicator
|
||||||
Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz
|
Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM 0001_Fix_mono_dir.patch hrvoje.senjan@gmail.com -- Fix location of .pc files.
|
# PATCH-FIX-UPSTREAM 0001_Fix_mono_dir.patch hrvoje.senjan@gmail.com -- Fix location of .pc files.
|
||||||
Patch0: 0001_Fix_mono_dir.patch
|
Patch0: 0001_Fix_mono_dir.patch
|
||||||
# PATCH-FIX-OPENSUSE libappindicator-activate-support.patch sor.alexei@meowr.ru -- Open menu on the left-click action.
|
# PATCH-FIX-OPENSUSE libappindicator-activate-support.patch sor.alexei@meowr.ru -- Open menu on the left-click action.
|
||||||
Patch1: libappindicator-activate-support.patch
|
Patch1: libappindicator-activate-support.patch
|
||||||
|
# PATCH-FIX=UPSTREAM libappindicator-no-Werror.patch dimstar@opensuse.org -- Don't add -Werror on build: the code is aging and does not keep up
|
||||||
|
Patch2: libappindicator-no-Werror.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -156,6 +158,7 @@ This package contains the development files for the appindicator-sharp library.
|
|||||||
%setup -q -c
|
%setup -q -c
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
@ -192,7 +195,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
|
|
||||||
%files -n python2-appindicator
|
%files -n python2-appindicator
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%dir %{python_sitearch}/appindicator/
|
%dir %{python_sitearch}/appindicator/
|
||||||
%{python_sitearch}/appindicator/__init__.py*
|
%{python_sitearch}/appindicator/__init__.py*
|
||||||
%{python_sitearch}/appindicator/_appindicator.so
|
%{python_sitearch}/appindicator/_appindicator.so
|
||||||
@ -203,17 +207,20 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
|
|
||||||
%files -n libappindicator%{sover}
|
%files -n libappindicator%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%{_libdir}/libappindicator.so.%{sover}*
|
%{_libdir}/libappindicator.so.%{sover}*
|
||||||
|
|
||||||
%files -n typelib-1_0-AppIndicator-0_1
|
%files -n typelib-1_0-AppIndicator-0_1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%{_libdir}/girepository-1.0/AppIndicator-0.1.typelib
|
%{_libdir}/girepository-1.0/AppIndicator-0.1.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%dir %{_includedir}/libappindicator-0.1/
|
%dir %{_includedir}/libappindicator-0.1/
|
||||||
%dir %{_includedir}/libappindicator-0.1/libappindicator/
|
%dir %{_includedir}/libappindicator-0.1/libappindicator/
|
||||||
%{_includedir}/libappindicator-0.1/libappindicator/*.h
|
%{_includedir}/libappindicator-0.1/libappindicator/*.h
|
||||||
@ -225,17 +232,20 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
|
|
||||||
%files -n libappindicator3-%{sover}
|
%files -n libappindicator3-%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%{_libdir}/libappindicator3.so.%{sover}*
|
%{_libdir}/libappindicator3.so.%{sover}*
|
||||||
|
|
||||||
%files -n typelib-1_0-AppIndicator3-0_1
|
%files -n typelib-1_0-AppIndicator3-0_1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
|
%{_libdir}/girepository-1.0/AppIndicator3-0.1.typelib
|
||||||
|
|
||||||
%files -n libappindicator3-devel
|
%files -n libappindicator3-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%dir %{_includedir}/libappindicator3-0.1/
|
%dir %{_includedir}/libappindicator3-0.1/
|
||||||
%dir %{_includedir}/libappindicator3-0.1/libappindicator/
|
%dir %{_includedir}/libappindicator3-0.1/libappindicator/
|
||||||
%{_includedir}/libappindicator3-0.1/libappindicator/*.h
|
%{_includedir}/libappindicator3-0.1/libappindicator/*.h
|
||||||
@ -248,7 +258,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%if %{with mono}
|
%if %{with mono}
|
||||||
%files -n appindicator-sharp
|
%files -n appindicator-sharp
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%dir %{_libdir}/appindicator-sharp-0.1/
|
%dir %{_libdir}/appindicator-sharp-0.1/
|
||||||
%{_libdir}/appindicator-sharp-0.1/appindicator-sharp.dll
|
%{_libdir}/appindicator-sharp-0.1/appindicator-sharp.dll
|
||||||
%{_libdir}/appindicator-sharp-0.1/appindicator-sharp.dll.config
|
%{_libdir}/appindicator-sharp-0.1/appindicator-sharp.dll.config
|
||||||
@ -270,7 +281,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
|
|
||||||
%files -n appindicator-sharp-devel
|
%files -n appindicator-sharp-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.LGPL.2.1 README
|
%license COPYING COPYING.LGPL.2.1
|
||||||
|
%doc README
|
||||||
%{_libdir}/pkgconfig/appindicator-sharp-0.1.pc
|
%{_libdir}/pkgconfig/appindicator-sharp-0.1.pc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user