From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1252493-garchives=archives.gentoo.org@lists.gentoo.org> 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 348691382C5 for <garchives@archives.gentoo.org>; Thu, 18 Feb 2021 14:07:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45B03E0839; Thu, 18 Feb 2021 14:07:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 196D1E0839 for <gentoo-commits@lists.gentoo.org>; Thu, 18 Feb 2021 14:07:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E476340A98 for <gentoo-commits@lists.gentoo.org>; Thu, 18 Feb 2021 14:07:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE84B4C6 for <gentoo-commits@lists.gentoo.org>; Thu, 18 Feb 2021 14:07:54 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1613657267.24a64bb88bc3a019d2c589ba2cc4773b44381a6c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/geany-plugins/, dev-util/geany-plugins/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/geany-plugins/files/geany-plugins-1.37_use-stdbool.patch dev-util/geany-plugins/geany-plugins-1.37-r101.ebuild X-VCS-Directories: dev-util/geany-plugins/files/ dev-util/geany-plugins/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 24a64bb88bc3a019d2c589ba2cc4773b44381a6c X-VCS-Branch: master Date: Thu, 18 Feb 2021 14:07:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 875fd2b2-284c-4b21-b0da-929997c9e0cb X-Archives-Hash: 7eb634d04d9cc75bee6016efcfc263e3 commit: 24a64bb88bc3a019d2c589ba2cc4773b44381a6c Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> AuthorDate: Fri Feb 12 19:09:35 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Feb 18 14:07:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a64bb8 dev-util/geany-plugins: drop GTK 2 support Bug: https://bugs.gentoo.org/769074 Closes: https://bugs.gentoo.org/770085 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19389 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../files/geany-plugins-1.37_use-stdbool.patch | 39 +++++++ .../geany-plugins/geany-plugins-1.37-r101.ebuild | 126 +++++++++++++++++++++ 2 files changed, 165 insertions(+) diff --git a/dev-util/geany-plugins/files/geany-plugins-1.37_use-stdbool.patch b/dev-util/geany-plugins/files/geany-plugins-1.37_use-stdbool.patch new file mode 100644 index 00000000000..e4f3990c001 --- /dev/null +++ b/dev-util/geany-plugins/files/geany-plugins-1.37_use-stdbool.patch @@ -0,0 +1,39 @@ +From ad50d3ed2ddfe11cd07954786b96725602fb4ddd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= <rodseth@gmail.com> +Date: Tue, 5 Jan 2021 12:57:27 +0100 +Subject: [PATCH] Use stdbool.h istead of redefining bool + +Redefining bool causes errors when used together with ie. GCC 10.2.0 +--- + pretty-printer/src/PrettyPrinter.h | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/pretty-printer/src/PrettyPrinter.h b/pretty-printer/src/PrettyPrinter.h +index 268986e95..4200db612 100644 +--- a/pretty-printer/src/PrettyPrinter.h ++++ b/pretty-printer/src/PrettyPrinter.h +@@ -29,6 +29,7 @@ + #include <stdlib.h> + #include <string.h> + #include <stdarg.h> ++#include <stdbool.h> + + #ifdef HAVE_GLIB + #include <glib.h> +@@ -52,15 +53,13 @@ + #define TRUE !(FALSE) + #endif + +-typedef unsigned int bool; +- + /*========================================== STRUCTURES =======================================================*/ + + /** + * The PrettyPrintingOptions struct allows the programmer to tell the + * PrettyPrinter how it must format the XML output. + */ +-typedef struct ++typedef struct + { + const char* newLineChars; /* char used to generate a new line (generally \r\n) */ + char indentChar; /* char used for indentation */ diff --git a/dev-util/geany-plugins/geany-plugins-1.37-r101.ebuild b/dev-util/geany-plugins/geany-plugins-1.37-r101.ebuild new file mode 100644 index 00000000000..f31220c70d9 --- /dev/null +++ b/dev-util/geany-plugins/geany-plugins-1.37-r101.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 ) + +inherit lua-single + +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="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" + +IUSE="ctags debugger enchant git gpg gtkspell lua markdown nls pretty-printer scope soup workbench" +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" + +DEPEND=" + dev-libs/glib:2 + >=dev-util/geany-1.37[-gtk2(-)] + x11-libs/gtk+:3 + ctags? ( dev-util/ctags ) + debugger? ( + x11-libs/vte:2.91 + ) + enchant? ( app-text/enchant:= ) + git? ( dev-libs/libgit2:= ) + gpg? ( app-crypt/gpgme:1= ) + gtkspell? ( app-text/gtkspell:3= ) + lua? ( ${LUA_DEPS} ) + markdown? ( + app-text/discount + net-libs/webkit-gtk:4 + ) + pretty-printer? ( dev-libs/libxml2:2 ) + scope? ( x11-libs/vte:2.91 ) + soup? ( net-libs/libsoup:2.4 ) + workbench? ( dev-libs/libgit2:= ) +" +RDEPEND="${DEPEND} + scope? ( sys-devel/gdb ) +" +BDEPEND="virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( "${FILESDIR}"/${P}_use-stdbool.patch ) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_configure() { + local myeconfargs=( + --disable-cppcheck + --disable-extra-c-warnings + $(use_enable nls) + --enable-utilslib + # Plugins + --enable-addons + --enable-autoclose + --enable-automark + --enable-codenav + --enable-commander + --enable-defineformat + --enable-geanyextrasel + --enable-geanyinsertnum + --enable-geanymacro + --enable-geanyminiscript + --enable-geanynumberedbookmarks + --enable-geanyprj + --enable-geanyvc $(use_enable gtkspell) + --enable-keyrecord + --enable-latex + --enable-lineoperations + --enable-lipsum + --enable-overview + --enable-pairtaghighlighter + --enable-pohelper + --enable-projectorganizer + --enable-sendmail + --enable-shiftcolumn + --enable-tableconvert + --enable-treebrowser + --enable-vimode + --enable-xmlsnippets + $(use_enable debugger) + $(use_enable ctags geanyctags) + $(use_enable lua geanylua) + $(use_enable gpg geanypg) + $(use_enable soup geniuspaste) + $(use_enable git gitchangebar) + $(use_enable markdown) --disable-peg-markdown # using app-text/discount instead + $(use_enable pretty-printer) + $(use_enable scope) + $(use_enable enchant spellcheck) + # Having updatechecker… when you’re using a package manager? + $(use_enable soup updatechecker) + $(use_enable workbench) + # GeanyGenDoc requires ctpl which isn’t yet in portage + --disable-geanygendoc + # Require obsolete and vulnerable webkit-gtk versions + --disable-devhelp + --disable-webhelper + # GTK 2 only + --disable-geanydoc + --disable-geanypy + --disable-multiterm + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die + + # make installs all translations if LINGUAS is empty + if [[ -z "${LINGUAS-x}" ]]; then + rm -r "${ED}/usr/share/locale/" || die + fi +}