From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 916521395E2 for ; Wed, 9 Nov 2016 09:34:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22485E08BA; Wed, 9 Nov 2016 09:34:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E96DDE08BA for ; Wed, 9 Nov 2016 09:34:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F1C73415B6 for ; Wed, 9 Nov 2016 09:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 379E4308 for ; Wed, 9 Nov 2016 09:34:41 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1478683747.cc98401a13e645f645702265877fc8810a46c08f.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/geany-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/geany-plugins/geany-plugins-1.28-r1.ebuild X-VCS-Directories: dev-util/geany-plugins/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: cc98401a13e645f645702265877fc8810a46c08f X-VCS-Branch: master Date: Wed, 9 Nov 2016 09:34:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e99e7906-281d-49ca-8754-73229c52756d X-Archives-Hash: c94779e7bd046bb4394cfa35d9f8b72e commit: cc98401a13e645f645702265877fc8810a46c08f Author: Pacho Ramos gentoo org> AuthorDate: Wed Nov 9 09:29:07 2016 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Nov 9 09:29:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc98401a dev-util/geany-plugins: Disable optional webkit support, as it relies on obsolete and vulnerable versions (#584172) Package-Manager: portage-2.3.2 .../geany-plugins/geany-plugins-1.28-r1.ebuild | 157 +++++++++++++++++++++ 1 file changed, 157 insertions(+) diff --git a/dev-util/geany-plugins/geany-plugins-1.28-r1.ebuild b/dev-util/geany-plugins/geany-plugins-1.28-r1.ebuild new file mode 100644 index 00000000..6a97819 --- /dev/null +++ b/dev-util/geany-plugins/geany-plugins-1.28-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 vala + +DESCRIPTION="A collection of different plugins for Geany" +HOMEPAGE="https://plugins.geany.org" +SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="gtk3 +autoclose +automark +commander ctags debugger +defineformat enchant git gpg gtkspell lua multiterm nls +overview python scope soup" +REQUIRED_USE=" + gtk3? ( !debugger !multiterm !python !scope ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +GTK_COMMON_DEPEND=" + gtk3? ( x11-libs/gtk+:3 ) + !gtk3? ( x11-libs/gtk+:2 ) +" +COMMON_DEPEND=" + >=dev-util/geany-1.26[gtk3=] + dev-libs/glib:2 + dev-libs/libxml2:2 + autoclose? ( ${GTK_COMMON_DEPEND} ) + commander? ( ${GTK_COMMON_DEPEND} ) + ctags? ( dev-util/ctags ) + debugger? ( x11-libs/vte:0 ) + defineformat? ( ${GTK_COMMON_DEPEND} ) + enchant? ( app-text/enchant ) + git? ( dev-libs/libgit2:= ) + gpg? ( app-crypt/gpgme:1= ) + gtkspell? ( + gtk3? ( app-text/gtkspell:3= ) + !gtk3? ( app-text/gtkspell:2 ) + ) + lua? ( dev-lang/lua:0= ) + multiterm? ( + $(vala_depend) + x11-libs/gtk+:2 + >=x11-libs/vte-0.28:0 + ) + python? ( + dev-python/pygtk[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) + scope? ( x11-libs/vte:0 ) + soup? ( net-libs/libsoup:2.4 ) +" +RDEPEND="${COMMON_DEPEND} + scope? ( sys-devel/gdb ) +" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # bundled lib buster + rm markdown/peg-markdown/markdown_lib.c || die + # devhelp plugin bundles devhelp + + default + + use multiterm && vala_src_prepare + + # make fails if LINGUAS contains a language which is not translated + local po_linguas="" + for lang in $LINGUAS; do + if [[ -e "$S/po/$lang.po" ]]; then + po_linguas="${po_linguas} $lang" + fi + done + # only filter LINGUAS if defined + if [[ -n "${LINGUAS+x}" ]]; then + LINGUAS=$po_linguas + fi +} + +src_configure() { + local myeconfargs=( + --disable-cppcheck + --disable-extra-c-warnings + $(use_enable !gtk3 geanydoc) + # GeanyGenDoc requires ctpl which isn’t yet in portage + --disable-geanygendoc + # peg-markdown is bundled, use app-text/discount instead + --disable-peg-markdown + --enable-addons + --enable-codenav + --enable-geanyextrasel + --enable-geanyinsertnum + --enable-geanylatex + --enable-geanylipsum + --enable-geanymacro + --enable-geanynumberedbookmarks + --enable-geanyprj + --enable-geanyvc + --enable-lineoperations + --enable-pairtaghighlighter + --enable-pohelper + --enable-pretty-printer + --enable-projectorganizer + --enable-sendmail + --enable-shiftcolumn + --enable-tableconvert + --enable-treebrowser + --enable-xmlsnippets + $(use_enable autoclose) + $(use_enable automark) + $(use_enable commander) + $(use_enable ctags geanyctags) + $(use_enable debugger) + $(use_enable defineformat) + $(use_enable enchant spellcheck) + $(use_enable git gitchangebar) + $(use_enable gpg geanypg) + $(use_enable gtkspell) + $(use_enable multiterm) + $(use_enable lua geanylua) + $(use_enable nls) + $(use_enable overview) + $(use_enable python geanypy) + $(use_enable scope) + # Having updatechecker… when you’re using a package manager? + $(use_enable soup updatechecker) + $(use_enable soup geniuspaste) + # Relies on obsolete and vulnerable webkit-gtk versions + --disable-devhelp + --disable-markdown + --disable-webhelper + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + prune_libtool_files --modules + + # make installs all translations if LINGUAS is empty + if [[ -n "${LINGUAS+x}" && -z "$LINGUAS" ]]; then + rm -r "${D}/usr/share/locale/" || die + fi +}