From d787f94b3d246dc29e7fdfed50662ed7dd7721ac Mon Sep 17 00:00:00 2001 From: Holger Hoffstätte Date: Mon, 20 Jun 2022 13:12:53 +0200 Subject: dev-util/regexxer: add patch to prevent UI exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/853067 Signed-off-by: Holger Hoffstätte Closes: https://github.com/gentoo/gentoo/pull/26002 Signed-off-by: Florian Schmaus --- .../files/regexxer-0.10-exception-prefdialog.patch | 26 ++++++++++++++++ dev-util/regexxer/regexxer-0.10-r1.ebuild | 34 --------------------- dev-util/regexxer/regexxer-0.10-r2.ebuild | 35 ++++++++++++++++++++++ 3 files changed, 61 insertions(+), 34 deletions(-) create mode 100644 dev-util/regexxer/files/regexxer-0.10-exception-prefdialog.patch delete mode 100644 dev-util/regexxer/regexxer-0.10-r1.ebuild create mode 100644 dev-util/regexxer/regexxer-0.10-r2.ebuild (limited to 'dev-util/regexxer') diff --git a/dev-util/regexxer/files/regexxer-0.10-exception-prefdialog.patch b/dev-util/regexxer/files/regexxer-0.10-exception-prefdialog.patch new file mode 100644 index 000000000000..e7680ef23e41 --- /dev/null +++ b/dev-util/regexxer/files/regexxer-0.10-exception-prefdialog.patch @@ -0,0 +1,26 @@ + +Downloaded from https://sources.debian.org/patches/regexxer/0.10-5/50_exception-prefdialog.patch/ +for bug 853067. + +Description: Fix unhandled exception when opening the preferences dialog. + (regexxer:22047): glibmm-CRITICAL **: 19:10:28.070: + unhandled exception (type Glib::Error) in signal handler: + domain: gtk-builder-error-quark + code : 11 + what : /usr/share/regexxer/prefdialog.ui:28:37 Invalid property: + gtkmm__GtkDialog.has_separator +Author: Yavor Doganov +Forwarded: not-needed +Last-Update: 2018-10-13 +--- + +--- regexxer-0.10.orig/ui/prefdialog.ui ++++ regexxer-0.10/ui/prefdialog.ui +@@ -25,7 +25,6 @@ + + Preferences + dialog +- False + + + True diff --git a/dev-util/regexxer/regexxer-0.10-r1.ebuild b/dev-util/regexxer/regexxer-0.10-r1.ebuild deleted file mode 100644 index c4f07a75c43e..000000000000 --- a/dev-util/regexxer/regexxer-0.10-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools gnome2 - -DESCRIPTION="An interactive tool for performing search and replace operations" -HOMEPAGE="http://regexxer.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" - -RDEPEND=" - dev-cpp/glibmm:2 - dev-cpp/gtkmm:3.0 - dev-cpp/gtksourceviewmm:3.0" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-util/intltool - virtual/pkgconfig - sys-devel/gettext" - -PATCHES=( - "${FILESDIR}"/${P}-glib-2.32.patch - "${FILESDIR}"/${P}-sandbox.patch -) - -src_prepare() { - default - eautoreconf -} diff --git a/dev-util/regexxer/regexxer-0.10-r2.ebuild b/dev-util/regexxer/regexxer-0.10-r2.ebuild new file mode 100644 index 000000000000..6d9cd50b654f --- /dev/null +++ b/dev-util/regexxer/regexxer-0.10-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools gnome2 + +DESCRIPTION="An interactive tool for performing search and replace operations" +HOMEPAGE="http://regexxer.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +RDEPEND=" + dev-cpp/glibmm:2 + dev-cpp/gtkmm:3.0 + dev-cpp/gtksourceviewmm:3.0" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +PATCHES=( + "${FILESDIR}"/${P}-glib-2.32.patch + "${FILESDIR}"/${P}-sandbox.patch + "${FILESDIR}"/${P}-exception-prefdialog.patch +) + +src_prepare() { + default + eautoreconf +} -- cgit v1.2.3-65-gdbad