diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-libs/libindicator | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-libs/libindicator')
6 files changed, 281 insertions, 32 deletions
diff --git a/dev-libs/libindicator/Manifest b/dev-libs/libindicator/Manifest index c4dfa545888a..cddd8b4db9ca 100644 --- a/dev-libs/libindicator/Manifest +++ b/dev-libs/libindicator/Manifest @@ -1,5 +1,7 @@ -AUX libindicator-ldflags-spacing.patch 298 BLAKE2B 2d0fb361e2980d429beee418d9bf8d2f786de0d2b337b6775f9457158aa30d02b4dcbccdc488fa79236f04bf766aad49df732d25f48f1ecba923c46a4e239280 SHA512 fa283a8d6b88da0e2b6f5d0711ebe8a5cc0d4ab87cb07c3cecae9974dd68be751169b89503ae66751bca6cd73df2b2a262ac55a667c5c8e00e129d51f4452c67 +AUX libindicator-12.10.1-no-werror.patch 5307 BLAKE2B 8c4c9a4277968c1598b0d5f2084727b5236afa729568f767e561225cf7e532d65a9cd3a8f916a47b401ee0e6b76560adc79d138310568ef02e46355c32948a7c SHA512 dce99a58fec589633ccd86b94558a89a5d42145d514ded782828fd8545660ce659d0c3eb469b32a67220ec20ef8b1a60b1074bc50282cced18960a948fac9424 +AUX libindicator-12.10.1-nonbash.patch 573 BLAKE2B ae6b2806c99d99c83b36056b0ece7335ab673339e8ba275366efed3bc68413563ef4baffed64a0e3113473e8ae6dc0a143ae388e5280abdd7b84be97ee9f2afa SHA512 8a436dc62fb70d857b2bf3489e576e72fe9e06639a6563cf528686b6646adf2dbd5418c0904d986e44f5a3f9bf41e3687ce7cb2ff7895680a0d2bac792c2bb74 +AUX libindicator-ldflags-spacing.patch 351 BLAKE2B fe395bb718f1393bdfad20fb572afebe531623b299c5dcd6e69f8bc87dad5545aef8bbd6fc4c28788984b334f97a0642c9802983aa6aa0b41fda83a46491479e SHA512 0762b32efce30e680116a3ab451a0b036c9d6e9d45f6894b745e211746ad13a2854e0ac58ecf32e7011b0269a50581070c9107a6140b15d10d537c37f6f3bf9b DIST libindicator-12.10.1.tar.gz 427764 BLAKE2B 93cc774df0b55b7ee447c24a0ce49047080ab867c20403724b855153cfc5b93ed0da278532a2fc67bd69e4a9484a31286c2c585cd14d156028f338b5ed2b306a SHA512 d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af -EBUILD libindicator-12.10.1-r201.ebuild 1197 BLAKE2B 5082a2b7963e66380a13b43323f9fca4492749fbebd89fcfb4f1a092292d8555f40398a1fc120e2bb771c784af12149dc13d95092c0b27146feb728c22f4e787 SHA512 01fa3c26a4a13d4db640e491cc12f19fbe3cdb86eaac3a2d81cdc9a007853ad338e3e0f65cadf6ab800d74bea41292399bdfe2a78b0365cf552370d962761713 -EBUILD libindicator-12.10.1-r301.ebuild 1178 BLAKE2B 8c4a9b86a23fe1cf355abe943fd69accff0baf2a8f38436c3bb15c2f3b99f01ad17187a5f62acaf2a3f752814092062eb71639f34b473ed19ef6ca849992609f SHA512 7a9df8a784836f37d45928e614af2228c303e30d4a5a5a9450468966f6a947b7d153190ab83ffc6afba8c672724fabe26e50507f6e207396e638435198d474f9 +EBUILD libindicator-12.10.1-r201.ebuild 1362 BLAKE2B af1856a0dcff13426d85530e178a7b8aa200342107d6dd14cb169664306b656b1fafa7fabda7f3237a78ed04abd2fca6551958bd4c5ed133af96179edd90b089 SHA512 2560bb73a841f80b401d0607e0843eabf2765f0f1e44483ea47dcd93a5dc98baf971b1aaa08e68308591fa0313787712e9d1d77d437880ba6e1730bd87540a78 +EBUILD libindicator-12.10.1-r301.ebuild 1275 BLAKE2B aa7aa82ff71d8ea1bd6c4fdc0a4d97aa86899dbfec020c132b40513f2492f85f60dd79ac145f1c339f4cd5441f0b1a9449cf038423a780eee81666f03e540fb4 SHA512 ef897424dde3a53e0966137e70d3a04a64ffb01d953290aa9353ea5964d376b2eb0e8ad5efe5370d8e077ed47f47feb617be65b6caea7c6822bd61986ff9e052 MISC metadata.xml 247 BLAKE2B 216107f32a44b828d5bd65432dbdf2f3b71d81e96ee3580fc551392310b9ee554715698dfcba215fa2181a90f361564b6d04546c61848c3a2d176f3590602f69 SHA512 f24203e0188dd8311689fc59007368585764703b92f6fde9b4ea01666d37304193fc728a9f99b7f6c936f5a5a51a58a8402a101dc4eddc0bf2bf09f221bb0054 diff --git a/dev-libs/libindicator/files/libindicator-12.10.1-no-werror.patch b/dev-libs/libindicator/files/libindicator-12.10.1-no-werror.patch new file mode 100644 index 000000000000..dcbf50b43151 --- /dev/null +++ b/dev-libs/libindicator/files/libindicator-12.10.1-no-werror.patch @@ -0,0 +1,196 @@ +https://bugs.gentoo.org/698774 +--- a/libindicator/Makefile.am ++++ b/libindicator/Makefile.am +@@ -57,7 +57,7 @@ libindicator_la_CFLAGS = \ + $(LIBINDICATOR_CFLAGS) \ + $(COVERAGE_CFLAGS) \ + -DG_LOG_DOMAIN=\"libindicator\" \ +- -Wall -Werror ++ -Wall + + libindicator_la_LIBADD = \ + $(LIBINDICATOR_LIBS) +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -38,7 +38,7 @@ test_loader_SOURCES = \ + test-loader.c + + test_loader_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \ + -DBUILD_DIR="\"$(builddir)\"" + +@@ -57,7 +57,7 @@ test_desktop_shortcuts_SOURCES = \ + test-desktop-shortcuts.c + + test_desktop_shortcuts_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + -DSRCDIR="\"$(srcdir)\"" \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \ + -DBUILD_DIR="\"$(abs_builddir)\"" +@@ -91,7 +91,7 @@ libdummy_indicator_blank_la_SOURCES = \ + dummy-indicator-blank.c + + libdummy_indicator_blank_la_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + libdummy_indicator_blank_la_LIBADD = \ +@@ -111,7 +111,7 @@ libdummy_indicator_null_la_SOURCES = \ + dummy-indicator-null.c + + libdummy_indicator_null_la_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + libdummy_indicator_null_la_LIBADD = \ +@@ -131,7 +131,7 @@ libdummy_indicator_signaler_la_SOURCES = \ + dummy-indicator-signaler.c + + libdummy_indicator_signaler_la_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + libdummy_indicator_signaler_la_LIBADD = \ +@@ -151,7 +151,7 @@ libdummy_indicator_simple_la_SOURCES = \ + dummy-indicator-simple.c + + libdummy_indicator_simple_la_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + libdummy_indicator_simple_la_LIBADD = \ +@@ -172,7 +172,7 @@ libdummy_indicator_entry_func_la_SOURCES = \ + dummy-indicator-entry-func.h + + libdummy_indicator_entry_func_la_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + libdummy_indicator_entry_func_la_LIBADD = \ +@@ -192,7 +192,7 @@ libdummy_indicator_visible_la_SOURCES = \ + dummy-indicator-visible.c + + libdummy_indicator_visible_la_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + libdummy_indicator_visible_la_LIBADD = \ +@@ -214,7 +214,7 @@ service_shutdown_timeout_SOURCES = \ + service-shutdown-timeout.c + + service_shutdown_timeout_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_shutdown_timeout_LDADD = \ +@@ -240,7 +240,7 @@ service_manager_no_connect_SOURCES = \ + service-manager-no-connect.c + + service_manager_no_connect_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_manager_no_connect_LDADD = \ +@@ -272,7 +272,7 @@ service_manager_connect_SOURCES = \ + service-manager-connect.c + + service_manager_connect_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_manager_connect_LDADD = \ +@@ -286,7 +286,7 @@ service_manager_connect_service_SOURCES = \ + service-manager-connect-service.c + + service_manager_connect_service_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_manager_connect_service_LDADD = \ +@@ -319,7 +319,7 @@ service_version_manager_SOURCES = \ + service-version-manager.c + + service_version_manager_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_version_manager_LDADD = \ +@@ -334,7 +334,7 @@ service_version_bad_service_SOURCES = \ + service-version-bad-service.c + + service_version_bad_service_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_version_bad_service_LDADD = \ +@@ -349,7 +349,7 @@ service_version_good_service_SOURCES = \ + service-version-good-service.c + + service_version_good_service_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_version_good_service_LDADD = \ +@@ -376,7 +376,7 @@ service_version_multiwatch_manager_SOURCES = \ + service-version-multiwatch-manager.c + + service_version_multiwatch_manager_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_version_multiwatch_manager_LDADD = \ +@@ -391,7 +391,7 @@ service_version_multiwatch_manager_impolite_SOURCES = \ + service-version-multiwatch-manager-impolite.c + + service_version_multiwatch_manager_impolite_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_version_multiwatch_manager_impolite_LDADD = \ +@@ -406,7 +406,7 @@ service_version_multiwatch_service_SOURCES = \ + service-version-multiwatch-service.c + + service_version_multiwatch_service_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_version_multiwatch_service_LDADD = \ +@@ -432,7 +432,7 @@ service_manager_nostart_connect_SOURCES = \ + service-manager-nostart-connect.c + + service_manager_nostart_connect_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) + + service_manager_nostart_connect_LDADD = \ +--- a/tools/Makefile.am ++++ b/tools/Makefile.am +@@ -17,7 +17,7 @@ indicator_loader_SOURCES = \ + indicator-loader.c + + indicator_loader_CFLAGS = \ +- -Wall -Werror \ ++ -Wall \ + $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \ + -DBUILD_DIR="\"$(builddir)\"" + diff --git a/dev-libs/libindicator/files/libindicator-12.10.1-nonbash.patch b/dev-libs/libindicator/files/libindicator-12.10.1-nonbash.patch new file mode 100644 index 000000000000..eac1e73aa288 --- /dev/null +++ b/dev-libs/libindicator/files/libindicator-12.10.1-nonbash.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/777087 +https://bugs.launchpad.net/libindicator/+bug/1502925 +Thanks-to: orbea <orbea@riseup.net> +--- a/configure.ac ++++ b/configure.ac +@@ -15,7 +15,7 @@ AM_INIT_AUTOMAKE([1.11 -Wall tar-pax]) + + AM_MAINTAINER_MODE([enable]) + +-AM_SILENT_RULES([yes])] ++AM_SILENT_RULES([yes]) + + # Check for programs + AC_PROG_CC +@@ -66,7 +66,7 @@ AS_IF([test "x$with_gtk" = x3], + AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3]) + + LT_LIB_M +-LIBINDICATOR_LIBS+="$LIBM" ++LIBINDICATOR_LIBS="${LIBINDICATOR_LIBS} $LIBM" + + ############################## + # Custom Junk diff --git a/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch b/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch index 8c4a55faec08..5bd2cf89d5a8 100644 --- a/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch +++ b/dev-libs/libindicator/files/libindicator-ldflags-spacing.patch @@ -1,3 +1,4 @@ +https://bugs.launchpad.net/libindicator/+bug/1502925 --- a/configure.ac 2012-07-11 14:07:33.167169453 -0400 +++ b/configure.ac 2015-10-04 09:59:31.023669616 -0400 @@ -66,7 +66,7 @@ diff --git a/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild index 24ca42f49f2e..e5cd461a3d61 100644 --- a/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild +++ b/dev-libs/libindicator/libindicator-12.10.1-r201.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit autotools eutils flag-o-matic ltprune virtualx multilib-minimal +EAPI=7 + +inherit autotools flag-o-matic virtualx multilib-minimal DESCRIPTION="A set of symbols and convience functions that all indicators would like to use" HOMEPAGE="https://launchpad.net/libindicator" @@ -14,31 +15,43 @@ KEYWORDS="amd64 ~arm x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}] - >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} +RDEPEND=" + >=dev-libs/glib-2.22[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/glib-utils virtual/pkgconfig - test? ( dev-util/dbus-test-runner )" + test? ( dev-util/dbus-test-runner ) +" + +PATCHES=( + # Fixed version of https://bugs.launchpad.net/libindicator/+bug/1502925 + "${FILESDIR}"/${PN}-12.10.1-nonbash.patch + "${FILESDIR}"/${PN}-12.10.1-no-werror.patch +) src_prepare() { - epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch + default + eautoreconf } multilib_src_configure() { append-flags -Wno-error - myconf=( + local myconf=( --disable-static --with-gtk=2 ) - local ECONF_SOURCE=${S} - econf "${myconf[@]}" + + ECONF_SOURCE="${S}" econf "${myconf[@]}" } multilib_src_test() { - Xemake check #391179 + # bug #391179 + virtx emake } multilib_src_install() { @@ -46,10 +59,12 @@ multilib_src_install() { } multilib_src_install_all() { - einstalldocs - prune_libtool_files --all + default + + find "${ED}" -name '*.la' -delete || die rm -vf \ "${ED}"/usr/lib*/libdummy-indicator-* \ - "${ED}"/usr/share/${PN}/*indicator-debugging + "${ED}"/usr/share/${PN}/*indicator-debugging \ + || die } diff --git a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild index 068768b22c0f..a56e52859f3f 100644 --- a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild +++ b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit autotools eutils flag-o-matic ltprune virtualx multilib-minimal +EAPI=7 + +inherit autotools flag-o-matic virtualx multilib-minimal DESCRIPTION="A set of symbols and convience functions that all indicators would like to use" HOMEPAGE="https://launchpad.net/libindicator" @@ -14,32 +15,42 @@ KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc64 x86" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND=">=dev-libs/glib-2.22[${MULTILIB_USEDEP}] - >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} +RDEPEND=" + >=dev-libs/glib-2.22[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/glib-utils virtual/pkgconfig test? ( dev-util/dbus-test-runner )" +PATCHES=( + # Fixed version of https://bugs.launchpad.net/libindicator/+bug/1502925 + "${FILESDIR}"/${PN}-12.10.1-nonbash.patch + "${FILESDIR}"/${PN}-12.10.1-no-werror.patch +) + src_prepare() { - # https://bugs.launchpad.net/libindicator/+bug/1502925 - epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch + default + eautoreconf } multilib_src_configure() { append-flags -Wno-error - myconf=( + local myconf=( --disable-static --with-gtk=3 ) - local ECONF_SOURCE=${S} - econf "${myconf[@]}" + + ECONF_SOURCE="${S}" econf "${myconf[@]}" } multilib_src_test() { - Xemake check #391179 + # bug #391179 + virtx emake } multilib_src_install() { @@ -47,6 +58,7 @@ multilib_src_install() { } multilib_src_install_all() { - einstalldocs - prune_libtool_files --all + default + + find "${ED}" -name '*.la' -delete || die } |