public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/texinfo/
Date: Wed,  5 Jun 2019 02:30:36 +0000 (UTC)	[thread overview]
Message-ID: <1559701817.d6e0516deec8d5aeedd03a92d47c044d37ea062e.dilfridge@gentoo> (raw)

commit:     d6e0516deec8d5aeedd03a92d47c044d37ea062e
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 02:29:37 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 02:30:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e0516d

sys-apps/texinfo: Add useflag xs (default off) toggling C in Perl

When pure Perl is used, texinfo will be slower, however, there is no need for
rebuilds on Perl upgrade. Since this is our most frequent road bump at the
moment, see portage bug 638914, we take the slowdown by default and hope that
things improve. Not sure how well this will work out, however, since texinfo
again depends on other Perl modules, which are installed in version dependent
paths.

Bug: https://bugs.gentoo.org/638914
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-apps/texinfo/metadata.xml          |  7 +++++
 sys-apps/texinfo/texinfo-6.6-r2.ebuild | 47 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/sys-apps/texinfo/metadata.xml b/sys-apps/texinfo/metadata.xml
index 56c12441305..e73fd846ffa 100644
--- a/sys-apps/texinfo/metadata.xml
+++ b/sys-apps/texinfo/metadata.xml
@@ -5,4 +5,11 @@
 	<email>base-system@gentoo.org</email>
 	<name>Gentoo Base System</name>
 </maintainer>
+<maintainer type="project">
+	<email>perl@gentoo.org</email>
+	<name>Gentoo Perl Project</name>
+</maintainer>
+<use>
+	<flag name="xs">Build Perl modules with embedded C code for speed; requires rebuilds on Perl update</flag>
+</use>
 </pkgmetadata>

diff --git a/sys-apps/texinfo/texinfo-6.6-r2.ebuild b/sys-apps/texinfo/texinfo-6.6-r2.ebuild
new file mode 100644
index 00000000000..d142edb1221
--- /dev/null
+++ b/sys-apps/texinfo/texinfo-6.6-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Note: if your package uses the texi2dvi utility, it must depend on the
+# virtual/texi2dvi package to pull in all the right deps.  The tool is not
+# usable out-of-the-box because it requires the large tex packages.
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU info program and utilities"
+HOMEPAGE="https://www.gnu.org/software/texinfo/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="nls static xs"
+
+RDEPEND="
+	!=app-text/tetex-2*
+	>=sys-libs/ncurses-5.2-r2:0=
+	xs?  ( dev-lang/perl:= )
+	!xs? ( dev-lang/perl )
+	dev-perl/libintl-perl
+	dev-perl/Unicode-EastAsianWidth
+	dev-perl/Text-Unidecode
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils
+	nls? ( >=sys-devel/gettext-0.19.6 )"
+
+src_configure() {
+	# Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions. #622576
+	local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}"
+
+	use static && append-ldflags -static
+	local myeconfargs=(
+		--with-external-libintl-perl
+		--with-external-Unicode-EastAsianWidth
+		--with-external-Text-Unidecode
+		$(use_enable nls)
+		$(use_enable xs perl-xs)
+	)
+	econf "${myeconfargs[@]}"
+}


             reply	other threads:[~2019-06-05  2:30 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-05  2:30 Andreas K. Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-08  9:24 [gentoo-commits] repo/gentoo:master commit in: sys-apps/texinfo/ Sam James
2024-09-02  7:53 Sam James
2024-06-08 15:32 Sam James
2024-03-04 11:09 Sam James
2023-12-28 14:58 Sam James
2023-12-28 14:58 Sam James
2023-12-23 19:56 Arthur Zamarin
2023-12-22  5:14 Ionen Wolkens
2023-12-15 10:19 Arthur Zamarin
2023-12-15 10:17 Arthur Zamarin
2023-12-15  8:31 Sam James
2023-12-15  7:16 Sam James
2023-12-15  7:06 Sam James
2023-12-15  7:06 Sam James
2023-10-18 14:29 Sam James
2023-10-18 14:29 Sam James
2023-10-15  9:14 Sam James
2023-10-15  9:14 Sam James
2023-10-01  3:24 Sam James
2023-09-14  2:39 Sam James
2023-09-14  2:39 Sam James
2023-09-12  2:05 Sam James
2023-08-16 19:53 Sam James
2023-04-12 13:23 Sam James
2023-04-12 10:35 Arthur Zamarin
2023-04-12  9:51 Arthur Zamarin
2023-04-12  9:50 Arthur Zamarin
2023-04-12  9:48 Sam James
2023-04-12  9:47 Sam James
2023-04-12  9:47 Sam James
2023-04-12  9:47 Sam James
2023-03-26 18:14 Sam James
2023-03-24 14:18 Arthur Zamarin
2023-03-24 13:44 Arthur Zamarin
2023-03-22 10:17 Sam James
2023-03-19 22:07 Sam James
2023-01-26 22:19 Sam James
2023-01-26 22:19 Sam James
2023-01-22 19:04 Sam James
2023-01-16 20:55 Sam James
2023-01-03  3:50 Sam James
2022-12-31 16:14 Andreas K. Hüttel
2022-11-30 23:53 Sam James
2022-11-30 23:26 Sam James
2022-11-08  2:40 Sam James
2022-10-29 10:09 Sam James
2022-10-25  6:41 Sam James
2022-10-20 21:07 Sam James
2022-10-20  3:50 Sam James
2022-05-30  2:49 Sam James
2022-04-17 17:12 Sam James
2022-04-09  2:44 Sam James
2021-12-18 15:36 Andreas K. Hüttel
2021-10-08  5:02 Sam James
2021-09-18 12:30 Agostino Sarubbo
2021-09-18  8:14 Sam James
2021-09-16 18:56 Sam James
2021-09-16  8:05 Agostino Sarubbo
2021-09-16  8:03 Agostino Sarubbo
2021-09-16  6:29 Sam James
2021-07-03 12:48 Lars Wendler
2021-05-14 22:14 David Seifert
2021-01-06 15:26 Fabian Groffen
2020-11-27 23:49 Sam James
2020-06-12  7:53 Agostino Sarubbo
2020-06-11 22:08 Mart Raudsepp
2020-06-11 18:01 Sergei Trofimovich
2020-06-11  8:34 Agostino Sarubbo
2020-06-11  8:31 Agostino Sarubbo
2020-06-11  8:27 Agostino Sarubbo
2020-06-11  8:25 Agostino Sarubbo
2020-06-10 13:01 Agostino Sarubbo
2020-06-10 13:00 Agostino Sarubbo
2020-06-09 18:47 Mike Gilbert
2020-05-04 17:36 Thomas Deutschmann
2020-01-22  0:49 Andreas K. Hüttel
2020-01-20 23:12 Sergei Trofimovich
2019-09-24 10:53 Thomas Deutschmann
2019-08-28  7:22 Sergei Trofimovich
2019-08-28  6:54 Sergei Trofimovich
2019-06-05 12:18 Andreas K. Hüttel
2019-06-05  5:03 Andreas K. Hüttel
2019-05-04 15:10 Mikle Kolyada
2019-04-14 22:15 Aaron Bauman
2019-04-02 12:18 Mikle Kolyada
2019-03-31 20:30 Sergei Trofimovich
2019-03-24 13:08 Sergei Trofimovich
2019-03-05 18:18 Mikle Kolyada
2019-03-05 18:18 Mikle Kolyada
2019-03-05 18:18 Mikle Kolyada
2019-03-05 18:18 Mikle Kolyada
2019-03-02 20:49 Thomas Deutschmann
2019-03-02 16:20 Mikle Kolyada
2019-02-23 15:42 Lars Wendler
2019-02-17 12:53 Lars Wendler
2019-02-17 12:53 Lars Wendler
2018-01-14 20:58 Mike Frysinger
2017-09-13 15:12 Lars Wendler
2017-07-11  4:44 Markus Meier
2017-06-30 11:10 Agostino Sarubbo
2017-06-26 20:18 Tobias Klausmann
2017-06-25 16:32 Agostino Sarubbo
2017-06-25  7:50 Sergei Trofimovich
2017-06-23 22:23 Lars Wendler
2017-06-23 22:23 Lars Wendler
2016-09-11 13:46 Lars Wendler
2016-09-11 10:34 Lars Wendler
2016-06-15 14:14 Mike Frysinger
2016-06-02 19:34 Tobias Klausmann
2016-06-02 18:22 Markus Meier
2016-05-27 12:46 Lars Wendler
2016-05-26 20:37 Lars Wendler
2016-05-24 12:19 Jeroen Roovers
2016-05-20  8:17 Lars Wendler
2016-02-07 14:45 Lars Wendler
2015-09-05  0:20 Mike Frysinger
2015-08-16 14:20 Justin Lecher
2015-08-12 15:17 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1559701817.d6e0516deec8d5aeedd03a92d47c044d37ea062e.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox