From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/libindicate/Manifest | 5 ++ .../files/libindicate-0.6.1-no-mono.patch | 78 ++++++++++++++++++++++ dev-libs/libindicate/libindicate-12.10.1-r2.ebuild | 74 ++++++++++++++++++++ dev-libs/libindicate/libindicate-12.10.1-r3.ebuild | 75 +++++++++++++++++++++ dev-libs/libindicate/metadata.xml | 11 +++ 5 files changed, 243 insertions(+) create mode 100644 dev-libs/libindicate/Manifest create mode 100644 dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch create mode 100644 dev-libs/libindicate/libindicate-12.10.1-r2.ebuild create mode 100644 dev-libs/libindicate/libindicate-12.10.1-r3.ebuild create mode 100644 dev-libs/libindicate/metadata.xml (limited to 'dev-libs/libindicate') diff --git a/dev-libs/libindicate/Manifest b/dev-libs/libindicate/Manifest new file mode 100644 index 000000000000..72638aa52a24 --- /dev/null +++ b/dev-libs/libindicate/Manifest @@ -0,0 +1,5 @@ +AUX libindicate-0.6.1-no-mono.patch 1888 BLAKE2B 60cb0434e3974cf474fca729be08defcaa01d713e4039001f4994bcaae0a657fd04b0c2eafa447c25c2e56d92bddd39f2b17915fdb7d26b916eae3e3315588d7 SHA512 b2623349c139321403e285ce384191f2741b6216dd87ce5e05a439bd175a2846bca111ade729e87322a413bfc518fdfc2546274114fe5726de171b51d3be7cb1 +DIST libindicate-12.10.1.tar.gz 550378 BLAKE2B 9966c645c2538bf9246221e138771ce38e7f74629ae2365cd803a5e26372922cd5194ca1449f79a35f2bcd391e3ee2056183ab53b11fa8d92a8b2c258ead9c6d SHA512 4dcb5f292153210bc15a05f117101429da77a60b8b05b569baddf0e9043d852c2dccb0d5a6adbdf4d4a1b6f06b33c61e242bb4bcb376e3d96563bda591685c06 +EBUILD libindicate-12.10.1-r2.ebuild 1771 BLAKE2B f4ab052c5565cb706cc07823be9af74812fde2165df10ffc03fff584f491e69e2e075f4e4d0e3b59f3fc8857b360fa3fe12e01a4ec817473a3181a79469d99e2 SHA512 077028d8606670c8ebbf2ec8c49aeff9cfc4c14c20a332f50c3ea517d1bdd53469fe23fd85e621a1da156953463f622b9e04d698f1337b844560e8ea340fffb4 +EBUILD libindicate-12.10.1-r3.ebuild 1686 BLAKE2B 8243be1670a95a6a8a4416fa93921c98efbc2120aa37f756792e63f71172a309ba5b28d70c03113a1478953ec8735bdd38d76e9198d522b353a012e4f848fedd SHA512 cc0477aca3f4c2f53337fc08bd4d28bd1c1c39fa5b853b1cfa5eda6f6e0217b24174ce83614de4c3d8bee6ff641fb48dd4ad5c4a4ce51009cebe90d05269fc03 +MISC metadata.xml 328 BLAKE2B e528a6922cf244dd2e8e3387f539f9922378395dadf028852a3e17120186a4cdd82c89b29802ef5a0698a35737294733fbf9a717c3c31af90cb634ee5aa5cea9 SHA512 fc8169dee128e50da93fe6baec57989b4b2e0a59e36661328ae7bd5bf1db1ea5bcc08efb72e6ba2d0e0d9a18870144066a5c77a1f275801a4fc98953cf891a3b diff --git a/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch new file mode 100644 index 000000000000..1743f861f4ba --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.6.1-no-mono.patch @@ -0,0 +1,78 @@ +Temporary patch to disable mono until new gtk-sharp is in tree wrt bug #382491 + +--- a/bindings/Makefile.am ++++ b/bindings/Makefile.am +@@ -1,9 +1,5 @@ + SUBDIRS = + +-if HAS_MONO +-SUBDIRS += mono +-endif +- + if HAS_PYTHON + SUBDIRS += python + endif +--- a/configure.ac ++++ b/configure.ac +@@ -124,61 +124,6 @@ + AC_PATH_PROG([VALA_API_GEN], [vapigen]) + + ########################### +-# Check for Mono support +-########################### +- +-MONO_REQUIRED_VERSION=1.0 +-PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) +- +-AC_PATH_PROG(AL, al, no) +-if test "x$AL" = "xno" ; then +- AC_MSG_NOTICE([No al tool found. You need to install Mono.]) +-fi +- +-if test "x$has_mono" = "xtrue" ; then +- GENERATED_SOURCES=generated/*.cs +- AC_PATH_PROG(RUNTIME, mono, no) +- +- if test "x$RUNTIME" != "no" ; then +- RUNTIME=mono +- fi +- +- AC_PATH_PROG(CSC, gmcs, no) +- LIB_PREFIX=.so +- LIB_SUFFIX= +-fi +- +-if test "x$CSC" = "xno" ; then +- AC_MSG_NOTICE([No Mono compiler found.]) +-fi +- +-AC_PATH_PROG(GACUTIL, gacutil, no) +-if test "x$GACUTIL" = "xno" ; then +- AC_MSG_NOTICE([No gacutil tool found]) +-fi +- +-AC_SUBST(RUNTIME) +-AC_SUBST(CSC) +-AC_SUBST(GACUTIL) +-AC_SUBST(LIB_PREFIX) +-AC_SUBST(LIB_SUFFIX) +-AC_SUBST(GENERATED_SOURCES) +- +-GLIB_SHARP_REQ_VERSION=2.12.1 +-GTK_SHARP_REQ_VERSION=2.12 +-PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION, has_gtksharp=true, has_gtksharp=false) +-AC_SUBST(GTK_SHARP_LIBS) +-AC_SUBST(GTK_SHARP_CFLAGS) +- +-PKG_CHECK_MODULES(GAPI, gapi-2.0 >= $GLIB_SHARP_REQ_VERSION, has_gapi=true, has_gapi=false) +-AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no) +-AC_SUBST(GAPI_PARSER) +-AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no) +-AC_SUBST(GAPI_CODEGEN) +-AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) +-AC_SUBST(GAPI_FIXUP) +- +-########################### + # Check for Python support + ########################### + diff --git a/dev-libs/libindicate/libindicate-12.10.1-r2.ebuild b/dev-libs/libindicate/libindicate-12.10.1-r2.ebuild new file mode 100644 index 000000000000..0807794f848f --- /dev/null +++ b/dev-libs/libindicate/libindicate-12.10.1-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +VALA_MIN_API_VERSION="0.16" +VALA_USE_DEPEND="vapigen" + +inherit autotools eutils flag-o-matic vala xdg-utils + +DESCRIPTION="A library to raise flags on DBus for other components of the desktop" +HOMEPAGE="https://launchpad.net/libindicate" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ~ppc64 sparc x86" +IUSE="gtk +introspection" + +RESTRICT="test" # consequence of the -no-mono.patch + +RDEPEND=">=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.30 + >=dev-libs/libdbusmenu-0.6.2[introspection?] + dev-libs/libxml2 + gtk? ( + dev-libs/libdbusmenu[gtk3] + >=x11-libs/gtk+-3.2:3 + ) + introspection? ( >=dev-libs/gobject-introspection-1 ) + !<${CATEGORY}/${PN}-0.6.1-r201" +EAUTORECONF_DEPEND="dev-util/gtk-doc-am + gnome-base/gnome-common" +DEPEND="${RDEPEND} + ${EAUTORECONF_DEPEND} + $(vala_depend) + app-text/gnome-doc-utils + virtual/pkgconfig" + +src_prepare() { + xdg_environment_reset + vala_src_prepare + + epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch + + sed -i \ + -e "s:vapigen:vapigen-$(vala_best_api_version):" \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + configure.ac || die + + eautoreconf +} + +src_configure() { + append-flags -Wno-error + + # python bindings are only for GTK+-2.x + econf \ + --disable-silent-rules \ + --disable-static \ + $(use_enable gtk) \ + $(use_enable introspection) \ + --disable-python \ + --disable-scrollkeeper \ + --with-gtk=3 +} + +src_install() { + # work around failing parallel installation (-j1) + # until a better fix is available. (bug #469032) + emake -j1 DESTDIR="${D}" install + dodoc AUTHORS ChangeLog NEWS + + prune_libtool_files +} diff --git a/dev-libs/libindicate/libindicate-12.10.1-r3.ebuild b/dev-libs/libindicate/libindicate-12.10.1-r3.ebuild new file mode 100644 index 000000000000..73526a89128e --- /dev/null +++ b/dev-libs/libindicate/libindicate-12.10.1-r3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VALA_MIN_API_VERSION="0.16" +VALA_USE_DEPEND="vapigen" +inherit autotools flag-o-matic vala xdg-utils + +DESCRIPTION="Library to raise flags on DBus for other components of the desktop" +HOMEPAGE="https://launchpad.net/libindicate" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="gtk +introspection" + +RESTRICT="test" # consequence of the -no-mono.patch + +RDEPEND=" + dev-libs/dbus-glib + dev-libs/glib:2 + dev-libs/libdbusmenu[introspection?] + dev-libs/libxml2 + gtk? ( + dev-libs/libdbusmenu[gtk3] + x11-libs/gtk+:3 + ) + introspection? ( >=dev-libs/gobject-introspection-1 ) +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/gnome-doc-utils + dev-util/gtk-doc-am + gnome-base/gnome-common + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${PN}-0.6.1-no-mono.patch ) + +src_prepare() { + default + xdg_environment_reset + vala_src_prepare + + sed -i \ + -e "s:vapigen:vapigen-$(vala_best_api_version):" \ + -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + configure.ac || die + + eautoreconf +} + +src_configure() { + append-flags -Wno-error + + # python bindings are only for GTK+-2.x + econf \ + --disable-silent-rules \ + --disable-static \ + $(use_enable gtk) \ + $(use_enable introspection) \ + --disable-python \ + --disable-scrollkeeper \ + --with-gtk=3 +} + +src_install() { + # work around failing parallel installation (-j1) + # until a better fix is available. (bug #469032) + emake -j1 DESTDIR="${D}" install + einstalldocs + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libindicate/metadata.xml b/dev-libs/libindicate/metadata.xml new file mode 100644 index 000000000000..857e4ae6dcfe --- /dev/null +++ b/dev-libs/libindicate/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + libindicate + + -- cgit v1.2.3