public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-misc/lttoolbox/files/, sci-misc/lttoolbox/
@ 2016-09-24 13:31 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2016-09-24 13:31 UTC (permalink / raw
  To: gentoo-commits

commit:     83ed7449da72c63a32289f646583ba8fe7ff914d
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Thu Sep 22 15:09:19 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 13:30:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ed7449

sci-misc/lttoolbox: Removing EAPI 4 ebuilds

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2387

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-misc/lttoolbox/Manifest                |  2 --
 sci-misc/lttoolbox/files/3.2.0-flags.patch | 43 ------------------------------
 sci-misc/lttoolbox/lttoolbox-3.1.0.ebuild  | 20 --------------
 sci-misc/lttoolbox/lttoolbox-3.2.0.ebuild  | 28 -------------------
 4 files changed, 93 deletions(-)

diff --git a/sci-misc/lttoolbox/Manifest b/sci-misc/lttoolbox/Manifest
index e7eca38..9484838 100644
--- a/sci-misc/lttoolbox/Manifest
+++ b/sci-misc/lttoolbox/Manifest
@@ -1,3 +1 @@
-DIST lttoolbox-3.1.0.tar.gz 375031 SHA256 17ceeac6a2a2c0afdeded8f79594145b9964e78bc2ab8eb49bf2a35f63c80fb4 SHA512 156a404e83ed264e7f003eba3584b1db9de71c1403cc3bc824f0e295c50d84e7f1e2aa6b5af02c847723c0924bc4aa55eb394b94db3d8a61e62c29f266f97667 WHIRLPOOL 453513beb9f17a041f602435102bb06813f6f917a9f90a6ee2e52a53b371396f9bb39ee1b797a3a59df9e42aaee9a75394bf47f8641ee7b7c654f3b30e50f2a3
-DIST lttoolbox-3.2.0.tar.gz 372484 SHA256 1359291173ae4af6cbaa625f5ab63ad288b91f72ed0555b2a676e3dfe9b4c1fc SHA512 b33fb99f81ec4dc1bbcc802a23de6b58259efd12e471fcc7f934563f8cadd2f52407b88b8100966f6ca814c56fa9408498fd79f7c6863c178cefa5918572b827 WHIRLPOOL 9f106cece87f18beaa6a47f40f1c0a7348e0bb5de8f298e7ba94021d898421d1e04314c416cf1c0d4a71450d06acbe3f69e7039a6815ae06e6d0854f321ce810
 DIST lttoolbox-3.3.3.tar.gz 454916 SHA256 5ccfc98bd71e1c9cbb952f3b01a6f615cf580f39ce74cdcb7221fc9b48f40617 SHA512 2e6338d39d2f16641c408076bd1d3b29fcd11e2d83e622b93fb7b91bae8eb92f58eacf978c72647d2872119be28b76093fc4afbfe22d7e9a62e1a87d818f9a3c WHIRLPOOL 164b8cc010692bbb5ecfdee80c25204f73bfef9aae7945987267ac230b9f3b070ba900ea8bb04c6347428611a3f48ee47cf4ba126e1b7735c7b9d45e5fe69880

diff --git a/sci-misc/lttoolbox/files/3.2.0-flags.patch b/sci-misc/lttoolbox/files/3.2.0-flags.patch
deleted file mode 100644
index a6a56bf..00000000
--- a/sci-misc/lttoolbox/files/3.2.0-flags.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -Nur lttoolbox-3.2.0.orig/configure.ac lttoolbox-3.2.0/configure.ac
---- lttoolbox-3.2.0.orig/configure.ac	2011-07-29 06:36:44.000000000 +0100
-+++ lttoolbox-3.2.0/configure.ac	2011-07-29 06:38:04.000000000 +0100
-@@ -51,39 +51,6 @@
- 
- # Checks for programs.
- 
--AC_MSG_CHECKING([Compilation architecture: PPC, i686, x86_64, Other])
--if test x$(which arch) = x
--then ARCH=$($(which uname) -m)
--else ARCH=$($(which arch))
--fi
--
--if test x$ARCH = xppc
--then
--  AC_MSG_RESULT([PowerPC])
--  CFLAGS="-Wall -fomit-frame-pointer $CFLAGS"
--  CXXFLAGS="-Wall -fomit-frame-pointer $CXXFLAGS"
--else
--  if test x$ARCH = xi686
--  then
--    AC_MSG_RESULT([i686])
--    CFLAGS="-Wall -march=i686 -O3 -fomit-frame-pointer -funroll-loops $CFLAGS"
--    CXXFLAGS="-Wall -march=i686 -O3 \
--              -fomit-frame-pointer -funroll-loops $CXXFLAGS"
--  
--  else
--    if test x$ARCH = xx86_64
--    then
--      AC_MSG_RESULT([x86_64])
--      CFLAGS="-Wall -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
--      CXXFLAGS="-Wall -O3 -mtune=nocona \
--              -fomit-frame-pointer -funroll-loops $CXXFLAGS"
--    else
--      AC_MSG_RESULT([Other])
--      CFLAGS="-Wall -O3 $CFLAGS"
--      CXXFLAGS="-Wall -O3 $CXXFLAGS"
--    fi
--  fi
--fi
- 
- AC_CANONICAL_HOST
- 

diff --git a/sci-misc/lttoolbox/lttoolbox-3.1.0.ebuild b/sci-misc/lttoolbox/lttoolbox-3.1.0.ebuild
deleted file mode 100644
index 70b1ccc..00000000
--- a/sci-misc/lttoolbox/lttoolbox-3.1.0.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-DESCRIPTION="Toolbox for lexical processing, morphological analysis and generation of words"
-HOMEPAGE="http://apertium.sourceforge.net"
-SRC_URI="mirror://sourceforge/apertium/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libxml2:2
-	dev-libs/libxslt
-	dev-libs/libpcre
-	sys-libs/libunwind"
-RDEPEND="${DEPEND}"

diff --git a/sci-misc/lttoolbox/lttoolbox-3.2.0.ebuild b/sci-misc/lttoolbox/lttoolbox-3.2.0.ebuild
deleted file mode 100644
index 23dc575..00000000
--- a/sci-misc/lttoolbox/lttoolbox-3.2.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit eutils autotools
-
-DESCRIPTION="Toolbox for lexical processing, morphological analysis and generation of words"
-HOMEPAGE="http://apertium.sourceforge.net"
-SRC_URI="mirror://sourceforge/apertium/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="static-libs"
-
-RDEPEND="dev-libs/libxml2:2"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PV}-flags.patch
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_enable static-libs static)
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-misc/lttoolbox/files/, sci-misc/lttoolbox/
@ 2025-07-13  4:35 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-07-13  4:35 UTC (permalink / raw
  To: gentoo-commits

commit:     6cff15c21383f3c63b19aa45c26a5dcb9e3affac
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sat Jul 12 18:00:14 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 13 04:29:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cff15c2

sci-misc/lttoolbox: handle libxml2-2.14 breakage

Bug: https://bugs.gentoo.org/955673
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42975
Closes: https://github.com/gentoo/gentoo/pull/42975
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/lttoolbox-3.7.1-libxml2-2.14.patch       | 21 ++++++++++
 sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild       | 45 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch b/sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch
new file mode 100644
index 000000000000..ef3c8d71d3cf
--- /dev/null
+++ b/sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/955673
+https://github.com/apertium/lttoolbox/issues/199
+https://github.com/apertium/lttoolbox/commit/92c2d2948a5396034dca7465a51dbb2fb1528fe4
+
+From 92c2d2948a5396034dca7465a51dbb2fb1528fe4 Mon Sep 17 00:00:00 2001
+From: Tino Didriksen <mail@tinodidriksen.com>
+Date: Thu, 12 Jun 2025 12:59:10 +0200
+Subject: [PATCH] initGenericErrorDefaultFunc -> xmlSetGenericErrorFunc (fixes
+ #199)
+
+--- a/lttoolbox/lt_comp.cc
++++ b/lttoolbox/lt_comp.cc
+@@ -119,7 +119,7 @@ int main(int argc, char *argv[])
+     std::cerr << "Error: Cannot not open file '" << infile << "'." << std::endl << std::endl;
+     exit(EXIT_FAILURE);
+   }
+-  initGenericErrorDefaultFunc(NULL);
++  xmlSetGenericErrorFunc(nullptr, nullptr);
+ 
+ 
+   if(opc == "lr")

diff --git a/sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild b/sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild
new file mode 100644
index 000000000000..5b183fb349f2
--- /dev/null
+++ b/sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Toolbox for lexical processing, morphological analysis and generation of words"
+HOMEPAGE="https://www.apertium.org"
+SRC_URI="https://github.com/apertium/lttoolbox/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+# PKG_VERSION_ABI in configure.ac
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-libs/icu:=
+	dev-libs/libxml2:2=
+	dev-libs/utfcpp
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.7.1-bashism.patch
+	"${FILESDIR}"/${PN}-3.7.1-cstdint-include.patch
+	"${FILESDIR}"/${PN}-3.7.1-libxml2-2.14.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	econf --disable-python-bindings
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-13  4:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-13  4:35 [gentoo-commits] repo/gentoo:master commit in: sci-misc/lttoolbox/files/, sci-misc/lttoolbox/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2016-09-24 13:31 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox