From a978c074e4272bb901fbe4a10de0a7b2af574f17 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 May 2021 22:28:33 +0100 Subject: gentoo resync : 04.05.2021 --- app-editors/xmlcopyeditor/Manifest | 3 ++ ...mlcopyeditor-1.3.0.0-no-automagic-enchant.patch | 21 ++++++++++ .../xmlcopyeditor/xmlcopyeditor-1.3.0.0.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch create mode 100644 app-editors/xmlcopyeditor/xmlcopyeditor-1.3.0.0.ebuild (limited to 'app-editors/xmlcopyeditor') diff --git a/app-editors/xmlcopyeditor/Manifest b/app-editors/xmlcopyeditor/Manifest index 230374da7cc7..6a3a7ef37613 100644 --- a/app-editors/xmlcopyeditor/Manifest +++ b/app-editors/xmlcopyeditor/Manifest @@ -1,4 +1,7 @@ AUX xmlcopyeditor-1.2.1.3-no-automagic-enchant.patch 597 BLAKE2B fe33a2ca16954fbfad90b19edb6c9e161fda4fc26650a4cccbe717bc23143dc54fe5689b83e135f16d1e3fc57c8794eb01e2760db927917fd1f858140d712d5b SHA512 e859277afe276a2e358a011a7c1a9d61e554463ebbe79985bcc159b49495eec076f24595b3b43ae3a3210797f59a92b9944f1a59754556a8322a9ec1d0d5d7d3 +AUX xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch 666 BLAKE2B 2c146a953110abfbf9a8b356ce90f1147d596962f6abff4ac8620a7ed80cade68e08abe75fa092cd57c19132d85efaf888cec318b83a516d42a6dbd130111e9f SHA512 7dbc87957f380c79e411e24f2676091bfc213725e0f1ac8fc12ad36777373e614020c8658d4f17ed7d79505d886776764648b6a0b068b161d37363dcc736e1de DIST xmlcopyeditor-1.2.1.3.tar.gz 4266907 BLAKE2B 52e8c27a37edbcc0da46b52443f5b6754252a62f1abb7746e724270dd5cd9a2db4de60e68d495008ef55a18e9c25149825c9b26c5fd6e20d8e3937931de64e74 SHA512 1adda58bc262cd22898ba22eed3cad9f4a51f199e779172af2d51c5d7bf6dac072b9015b90906236de83d7acebe29d0aae6ae73998ec9d9b3c58b02f081e0b4d +DIST xmlcopyeditor-1.3.0.0.tar.gz 4981894 BLAKE2B decaf8d08bcf6392624160f512e02c0e1b8924df1147d2fb19b744357077f9b23a99781c0f47c5800feffa600aea7b1fadb65282b5da438521be079aeb917de4 SHA512 5feebc56124601c1a8b7a3079b8f766c6282c256e39a2e34cdf64156ba910195a1b64fecea41d0a4022f00dcd3cd4f46f433fff3766acb6239ca70d7675b14c0 EBUILD xmlcopyeditor-1.2.1.3-r1.ebuild 929 BLAKE2B e7cf454f41a7d9b4b8817b041356b9d8d6a99859fa8be27e7169bc64c13e25943fb982ebfca3888b6e7ff140dd0ec051db99f63469040ca81fc10e50453d22e9 SHA512 a0e4a5ea8048f4c8ab20764167ff36516135e01ab1c3faf4660acf98a36cf98e4dfb16f3c570cca613bff7474822558368dc9fae7634ce6d13952bbd2483d94c +EBUILD xmlcopyeditor-1.3.0.0.ebuild 1042 BLAKE2B bc8a3f6b3b607cf19607b228cfbbd17c5dc17e1abbf268aafd78b2fd76686aebfb11ef5753de3760f98c6443e13c0d964070ca880ac71d51ab722425b07b154c SHA512 86fe5ab80d06b3739db39cfb5539f402831e07f9514567b4ed6b91d8c870ed92fa4742d8f2feb84f47bed48711c139c4c5b7f2f2beebe8ea5e0e5c79eb0aea65 MISC metadata.xml 250 BLAKE2B 113a0d77e4ddd91ae5487bc89371d2973202f242a3c9a8899725295e62b51c0a64437ab158b40ba410c671f92fe3efb896b1446f7301e1f1e923baece1cb7e04 SHA512 20703a39d4150e2a8984fdaeb997da464e98e6abc363e5e07fee46954d5af19c861e40648fb238b763420349e3ebeaa4bf61a621ccff3ff77d6e629c61095bb0 diff --git a/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch b/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch new file mode 100644 index 000000000000..e07b90c5eafe --- /dev/null +++ b/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.3.0.0-no-automagic-enchant.patch @@ -0,0 +1,21 @@ +diff --git a/configure.ac b/configure.ac +index 30bdf60..034bb26 100755 +--- a/configure.ac ++++ b/configure.ac +@@ -105,13 +105,9 @@ AC_LANG(C++) + AC_CHECK_HEADER(expat.h, , + AC_MSG_ERROR([Expat headers not found])) + +-# Check enchant is available +-PKG_CHECK_MODULES(ENCHANT, [enchant], [CXXFLAGS="$CXXFLAGS -DUSE_ENCHANT"], +- # otherwise Check ASPELL is available +- [AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"], +- AC_MSG_ERROR([Aspell headers not found]))] +-) +- ++# Check Aspell is available ++AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"], ++ AC_MSG_ERROR([Aspell headers not found])) + AC_SUBST(ASPELL_LIBS) + + AC_MSG_CHECKING([the GTK version to use]) diff --git a/app-editors/xmlcopyeditor/xmlcopyeditor-1.3.0.0.ebuild b/app-editors/xmlcopyeditor/xmlcopyeditor-1.3.0.0.ebuild new file mode 100644 index 000000000000..a4f5153d85c8 --- /dev/null +++ b/app-editors/xmlcopyeditor/xmlcopyeditor-1.3.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" +inherit autotools wxwidgets xdg + +DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor" +HOMEPAGE="http://xml-copy-editor.sourceforge.net/" +SRC_URI="mirror://sourceforge/xml-copy-editor/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 -ppc ~x86 ~amd64-linux ~x86-linux" # -ppc due SSE2 requirement +IUSE="aqua nls" + +RDEPEND=" + app-text/aspell + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/xerces-c[cpu_flags_x86_sse2,icu] + dev-libs/libpcre + x11-libs/wxGTK:${WX_GTK_VER}[X]" +DEPEND="${RDEPEND} + dev-libs/boost" +BDEPEND="dev-util/intltool + virtual/pkgconfig" + +S="${WORKDIR}"/${PN} + +PATCHES=( "${FILESDIR}"/${P}-no-automagic-enchant.patch ) + +src_prepare() { + default + + # bug #440744 + sed -i -e 's/ -Wall -g -fexceptions//g' configure.ac || die + eautoreconf +} + +src_configure() { + setup-wxwidgets unicode + econf \ + --with-gtk=3.0 \ + --with-wx-config="${WX_CONFIG}" \ + $(use_enable nls) +} -- cgit v1.2.3