From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-util/indent/Manifest | 9 ++++ .../files/indent-2.2.11-ac_config_headers.patch | 11 ++++ dev-util/indent/files/indent-2.2.11-linguas.patch | 5 ++ dev-util/indent/files/indent-2.2.11-segfault.patch | 16 ++++++ .../indent/files/indent-2.2.11-texi2html-5.patch | 40 ++++++++++++++ dev-util/indent/indent-2.2.11-r1.ebuild | 52 ++++++++++++++++++ dev-util/indent/indent-2.2.11_p5.ebuild | 61 ++++++++++++++++++++++ dev-util/indent/metadata.xml | 12 +++++ 8 files changed, 206 insertions(+) create mode 100644 dev-util/indent/Manifest create mode 100644 dev-util/indent/files/indent-2.2.11-ac_config_headers.patch create mode 100644 dev-util/indent/files/indent-2.2.11-linguas.patch create mode 100644 dev-util/indent/files/indent-2.2.11-segfault.patch create mode 100644 dev-util/indent/files/indent-2.2.11-texi2html-5.patch create mode 100644 dev-util/indent/indent-2.2.11-r1.ebuild create mode 100644 dev-util/indent/indent-2.2.11_p5.ebuild create mode 100644 dev-util/indent/metadata.xml (limited to 'dev-util/indent') diff --git a/dev-util/indent/Manifest b/dev-util/indent/Manifest new file mode 100644 index 000000000000..1e52cb5d94c7 --- /dev/null +++ b/dev-util/indent/Manifest @@ -0,0 +1,9 @@ +AUX indent-2.2.11-ac_config_headers.patch 228 BLAKE2B 2a55287753ba50c9ad48a3a1b7ccb2cd95f309a5a861cb9a2492a30c5c400f0e73d062497b570f1d1093623847d1258727ffd9119d8e325221eac4211324a3e6 SHA512 9efd632d596e7b768f56c757fcb15ee49f287542d00e75c2a2f2a5c915b76cb8fd4e07836a85e0b1fefd8658e147454ace3d73dd6555b5a42d1399baf4a2c542 +AUX indent-2.2.11-linguas.patch 185 BLAKE2B cb63a2846640ad4b5801481ceef537024135607f729b6bfff49c2e7013f91db0378b59d278e69ab9cb04a3b68da25a52669f2f1cba9cc0ff85f3da97baa89f35 SHA512 66a29effc9ec5a3a4ade4a5b6a527ac1fe48624d1e92170ee930867ea106ce9397b5aa82822e734949b79609b6255a656af0e491a07df5db769c974d9d096f91 +AUX indent-2.2.11-segfault.patch 369 BLAKE2B 210e2b5b1b46aa15418d6a30ae79ab423a68d8a6e7c528905afe48b2bd72fb013ce6dcade1d9580e7a38b2df2da2f6932b380bc96d0913ecbd7fced3db5686a5 SHA512 342600d476849d936d022e54ea0b6b244a956b11b99cc94dc9084f224d42ea2829640cde7a98e43efd0ee1fd88eb7147ba960af8075d290cd14a9d549abec022 +AUX indent-2.2.11-texi2html-5.patch 2666 BLAKE2B a92ecd54bead00609c45f3193b3c0228ccd6b37c6c6682325a1445296a6d5593a357ed51050fe2cb2d04a76b1665ed199b0ffd6d07c45b0774805452078c83cd SHA512 0356443bf7f9fd066113ddb7f59b8126f4b32f7dd8be9fa661ecfd4436ed0652d9229ac867365486f04bc7cb3623e3e8792549de4678f03e4f2bd582e4ee2d67 +DIST indent-2.2.11.tar.gz 778563 BLAKE2B 8fe0f245fb852613587da8355a4aa8962e09e1614faf61cf7cea62d6922054547d0739cd1373298af08e4e0cca8d5f4bfc654e03d859c0fe560d0ddb0f63a298 SHA512 f5670e5edc76b9d599ef9e8cc498e13ac15e10eb6a8d674e1612918c4b67ffb15c94d73b9590434e0cdea6ead4b8d1f5bcda1c2f3838acbdeb4d732a0bea89be +DIST indent_2.2.11-5.debian.tar.xz 6540 BLAKE2B c4d0805f39e1af503bcfcc49a8e9e679fb0df1021de9952af5a80c81f0c36c70e8dd6609b7e7ec5e36596f974d9c9ac31a7cad831a431cd9401758981d46a7ec SHA512 f89f04bb3b9772c5428ef6df939b5cbe92761f3a39869020dad4f98a5e48c57c34de526803141258c9d55ba6edaedf05127009530aa09b1a54cfa15c8a421a31 +EBUILD indent-2.2.11-r1.ebuild 1218 BLAKE2B 7127d515b0f633c6b071a2fbff01d78fff8fa8af5c501511b4e8e74c6b0dba57a2416ed5c7846d4c5d95037ed0f029d25ab9cdc31b70614302f1aef0c3fdd49e SHA512 5e229883fe09c8168f88834f98d92caa1d4460c8be8f91541d3824973b45d1723c989bc81bb66832d996916b414db488ecce814315ab471cc8f8778cec8a38d1 +EBUILD indent-2.2.11_p5.ebuild 1382 BLAKE2B 47c045271db8ee765f5516b8b333c81d6bfbe1847c06904244759aaadd730f3bd94c6101df1d8607a3f8f2ab309be4a143a1478700f5d558df921d9524de35ea SHA512 a2db1fd8937a8608d588304731244824d437d3bf90053897c02dec1defdf7f913dfd9c34600b124d7d93b3b3009c7649065726b1f0c1450a339b9baba8e8208d +MISC metadata.xml 371 BLAKE2B f331934c0c8063b13ae4e4290894da6faa7e6f135d1684b7a621b4199b13304496866e7eea31a158a2a0f36ae29da184bca16020425799a6542dd6d213e1b36c SHA512 c3859c430b4d976869789476e59c66bd2967802748abc9a3f53395d170114c21ca11e81c6046fa160ad31d422188dc92f63c9df947ac75ef31bcb1965a7f5dd8 diff --git a/dev-util/indent/files/indent-2.2.11-ac_config_headers.patch b/dev-util/indent/files/indent-2.2.11-ac_config_headers.patch new file mode 100644 index 000000000000..8728a26a8254 --- /dev/null +++ b/dev-util/indent/files/indent-2.2.11-ac_config_headers.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + AC_CONFIG_SRCDIR(src/indent.c) + AC_CONFIG_AUX_DIR(config) + AM_INIT_AUTOMAKE(indent, 2.2.11) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + AM_MAINTAINER_MODE + diff --git a/dev-util/indent/files/indent-2.2.11-linguas.patch b/dev-util/indent/files/indent-2.2.11-linguas.patch new file mode 100644 index 000000000000..d540219b7cd2 --- /dev/null +++ b/dev-util/indent/files/indent-2.2.11-linguas.patch @@ -0,0 +1,5 @@ +--- a/po/LINGUAS ++++ b/po/LINGUAS +@@ -1 +1 @@ +-ca da de eo et fi fr gl hu it ja ko nl pl pt_BR ru sk sv tr zh_TW.Big5 ++ca da de eo et fi fr gl hu it ja ko nl pl pt_BR ru sk sv tr zh_TW diff --git a/dev-util/indent/files/indent-2.2.11-segfault.patch b/dev-util/indent/files/indent-2.2.11-segfault.patch new file mode 100644 index 000000000000..e91922480951 --- /dev/null +++ b/dev-util/indent/files/indent-2.2.11-segfault.patch @@ -0,0 +1,16 @@ +--- a/man/texinfo2man.c ++++ b/man/texinfo2man.c +@@ -287,6 +287,13 @@ + char buf[1024]; + int line_no = 0; + ++ if (argc != 3) ++ { ++ fprintf(stderr, "Usage: %s \n", argv[0]); ++ fprintf(stderr, " The man page will be written to stdout.\n"); ++ return -1; ++ } ++ + texinfoname = argv[2]; + + in = fopen (argv[2], "r"); diff --git a/dev-util/indent/files/indent-2.2.11-texi2html-5.patch b/dev-util/indent/files/indent-2.2.11-texi2html-5.patch new file mode 100644 index 000000000000..5bad3da2867b --- /dev/null +++ b/dev-util/indent/files/indent-2.2.11-texi2html-5.patch @@ -0,0 +1,40 @@ +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -34,14 +34,14 @@ + html-split: @PACKAGE@_toc.html + + @PACKAGE@.html: version.texi $(@PACKAGE@_TEXINFOS) +- $(TEXI2HTML) -expandinfo -number -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ++ $(TEXI2HTML) -expandinfo -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` + + @PACKAGE@_toc.html: version.texi $(@PACKAGE@_TEXINFOS) + case "$(TEXI2HTML)" in \ + *"/missing texi2html") \ +- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \ ++ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \ + *) $(RM) @PACKAGE@_*.html ; \ +- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \ ++ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \ + esac + + install-html-monolithic: @PACKAGE@.html +--- a/doc/Makefile.in ++++ b/doc/Makefile.in +@@ -663,14 +663,14 @@ + html-split: @PACKAGE@_toc.html + + @PACKAGE@.html: version.texi $(@PACKAGE@_TEXINFOS) +- $(TEXI2HTML) -expandinfo -number -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ++ $(TEXI2HTML) -expandinfo -monolithic `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` + + @PACKAGE@_toc.html: version.texi $(@PACKAGE@_TEXINFOS) + case "$(TEXI2HTML)" in \ + *"/missing texi2html") \ +- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \ ++ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` || exit 0 ;; \ + *) $(RM) @PACKAGE@_*.html ; \ +- $(TEXI2HTML) -expand info -number -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \ ++ $(TEXI2HTML) -expand info -nomenu -split section `if test -f @PACKAGE@.texinfo; then echo @PACKAGE@.texinfo; else echo $(srcdir)/@PACKAGE@.texinfo; fi` ;; \ + esac + + install-html-monolithic: @PACKAGE@.html diff --git a/dev-util/indent/indent-2.2.11-r1.ebuild b/dev-util/indent/indent-2.2.11-r1.ebuild new file mode 100644 index 000000000000..864253061b4a --- /dev/null +++ b/dev-util/indent/indent-2.2.11-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Indent program source files" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND=" + nls? ( sys-devel/gettext ) + app-text/texi2html +" +RDEPEND=" + nls? ( virtual/libintl ) +" + +src_prepare() { + # Fix bug #94837 + local pofile + for pofile in po/zh_TW*; do + mv ${pofile} ${pofile/.Big5} || die + done + sed -i po/LINGUAS -e 's|zh_TW\.Big5|zh_TW|g' || die + + epatch \ + "${FILESDIR}"/${P}-segfault.patch \ + "${FILESDIR}"/${P}-texi2html-5.patch + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_test() { + emake -C regression/ +} + +src_install() { + # htmldir as set in configure is ignored in doc/Makefile* + emake DESTDIR="${D}" htmldir="${EPREFIX}/usr/share/doc/${PF}/html" install + dodoc AUTHORS NEWS README ChangeLog ChangeLog-1990 ChangeLog-1998 ChangeLog-2001 +} diff --git a/dev-util/indent/indent-2.2.11_p5.ebuild b/dev-util/indent/indent-2.2.11_p5.ebuild new file mode 100644 index 000000000000..3a8feffd428d --- /dev/null +++ b/dev-util/indent/indent-2.2.11_p5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="Indent program source files" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI=" + https://dev.gentoo.org/~jer/${P/_p*/}.tar.gz + http://http.debian.net/debian/pool/main/i/${PN}/${PN}_${PV/_p*/}-${PV/*_p/}.debian.tar.xz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND=" + nls? ( sys-devel/gettext ) + app-text/texi2html +" +RDEPEND=" + nls? ( virtual/libintl ) +" +PATCHES=( + "${FILESDIR}"/${P/_p*/}-segfault.patch + "${FILESDIR}"/${P/_p*/}-texi2html-5.patch + "${FILESDIR}"/${P/_p*/}-ac_config_headers.patch + "${FILESDIR}"/${P/_p*/}-linguas.patch +) +S=${WORKDIR}/${P/_p*/} + +src_prepare() { + default + + eapply "${WORKDIR}"/debian/patches/*.patch + + local pofile + for pofile in po/zh_TW*; do + mv ${pofile} ${pofile/.Big5} || die + done + + eautoreconf +} + +src_configure() { + strip-linguas -i po/ + + econf $(use_enable nls) +} + +src_test() { + emake -C regression/ +} + +src_install() { + # htmldir as set in configure is ignored in doc/Makefile* + emake DESTDIR="${D}" htmldir="${EPREFIX}/usr/share/doc/${PF}/html" install + dodoc AUTHORS NEWS README ChangeLog ChangeLog-1990 ChangeLog-1998 ChangeLog-2001 +} diff --git a/dev-util/indent/metadata.xml b/dev-util/indent/metadata.xml new file mode 100644 index 000000000000..88f8d1f6a593 --- /dev/null +++ b/dev-util/indent/metadata.xml @@ -0,0 +1,12 @@ + + + + + jer@gentoo.org + Jeroen Roovers + + +Indent is the GNU indenting program. It is used to beautify C program source +files. + + -- cgit v1.2.3