summaryrefslogtreecommitdiff
path: root/dev-util/wiggle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /dev-util/wiggle
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'dev-util/wiggle')
-rw-r--r--dev-util/wiggle/Manifest7
-rw-r--r--dev-util/wiggle/files/wiggle-1.2-cflags.patch37
-rw-r--r--dev-util/wiggle/wiggle-0.9-r1.ebuild22
-rw-r--r--dev-util/wiggle/wiggle-1.0.ebuild18
-rw-r--r--dev-util/wiggle/wiggle-1.2.ebuild71
5 files changed, 136 insertions, 19 deletions
diff --git a/dev-util/wiggle/Manifest b/dev-util/wiggle/Manifest
index 4f24ddffde4a..951cda216797 100644
--- a/dev-util/wiggle/Manifest
+++ b/dev-util/wiggle/Manifest
@@ -1,6 +1,9 @@
AUX wiggle-1.0-cflags.patch 576 BLAKE2B 25b065a28bb88f3163c063a90a9dc60ec9171e4ab43732faf0c493682b05ff37cbc1e99777bfb2fd03894c79bc30713067b3378c02556199fd847f0cf9d4d0bb SHA512 a6bbcbe8307212416ed66f17e5b5dfe2ef2c369f15351623ff1c47c8364da463aeb05241379de28b554a749ce8a66f6f3c0898c8607eabc44797fd2c36bf17d5
+AUX wiggle-1.2-cflags.patch 1104 BLAKE2B 6ce9fbf3a78516b0302dc19d281a8c295867954302c50d011def60568791c7507d35ad3502d8782a2e37fc4e1e99785f0f0c6e705f78699c862a414ad85457ce SHA512 a314dff5ce1610103366a5ad243df29a73f7a4efaaa1eba654ca6d6b2df7ec55d667350bca56c088efb24e5fc4d6bae35fced5d26dfcdf23dabbee72d6a4a0cb
DIST wiggle-0.9.tar.gz 809756 BLAKE2B 62fd35c721c4d54204984fd196686decff54c1613ceabf5c727b6383500158a04110c4fa2e63d6456452ac79fb811aac611876528fd2503c1acb7e0eb000e49f SHA512 2e3a4977704231f3bd6aa96ffaba8bc733acde425773b86a9649312676b44360c5b85cb48bf944cd383d8e4d0a541d88755f23be7d7a8884213f68a6320c62d9
DIST wiggle-1.0.tar.gz 868216 BLAKE2B 7241cbbde488b5cbf8970feb1cc258deb04c935347d793796f34993feba3e82870c9ac2aa7d5039f4739308cd0b20b4b104fb50c5ce64a5c66381ff3f6c545d4 SHA512 e9bd6e794ba0cff70db96a648c53aa21b427967758375b843fccf409dd17faf59468c11bafb1e0a7af8bfa657551da8bc1903b9ccf8def1ed9acc84f50c7e0b3
-EBUILD wiggle-0.9-r1.ebuild 1714 BLAKE2B e8c17c40f61dad213d8cfd43e3211fdcb5293eb46baee1f875f6b262382d6931b1e739d80ffcee7bec2930d6fba1878a1e8d4553dea17daa9be9b74851202f3f SHA512 8b976140f14ac386c2c483f3402097ac49b89bfc7742e8800c1053e3cb46fb75fc8b10ba6be49627aaaaf4261f6c8dff11a8834fdadc31f1029304f062eebe8a
-EBUILD wiggle-1.0.ebuild 1490 BLAKE2B 24e5ccd7bf02838a717d0229d8d4a95f37151ebefcbff72d1ae7d64e64bf8b2cf57367b23e8b46652e7ae8073007dcba0cf1e5903d6a61541acbe5aaa4fed056 SHA512 71fe38aff8390d637b414f8dd88134f5997330756daaceb9a55fe947b154829ecb50d681b8cfbacbd8b100a66309caadb14e2d7e4b24ec5de83dcd820395495d
+DIST wiggle-1.2.tar.gz 847391 BLAKE2B 5e2e3d76e8d5a0ee25cb0957fed1faf0f41bf14a7e7ced9a4547c300154a835df3ade2a94c1d28eb7878e608bf0f48fcd827387d87fe614a95bfea4261b3df01 SHA512 655525a05c0ebc08cb2e4dc33c0b40f893814976e493ea4bcf87cf703738310af2e71c43a15a6e56c948472bf0bd981a5b95f6d9a91a3a377d580928a86bcd58
+EBUILD wiggle-0.9-r1.ebuild 1733 BLAKE2B 5fdb519d69bac701f1f74786e67e9a76eea367a5090b47705ac612479af09482a61efe0cdd90fca0869371445a19f3cdc513288d64153a31a314ff798bde4b6a SHA512 80185097808b6e0454a089fd1b999f1ca3205112804a5d76cda389aa61ca0e7934e94360cf872e3c7cc38fd35405cb047f5f2f241bdff18a099cfaad9f15f632
+EBUILD wiggle-1.0.ebuild 1506 BLAKE2B 2143500527975dadbf3c6bf2fa15b22780b33821984209993a4b85dc7ed3549bae66e0aac5138267e67f272e0a1d9c3698e7c59c50245c8a517f889028008b94 SHA512 849f41b929156897bf13b66d6f0e934f4807b4c94f40c7914c05ef36b42cc6119c9c7110ca398736a9d85631da0be789ff4bb237c91f1a28b0d7da337ee9341f
+EBUILD wiggle-1.2.ebuild 1532 BLAKE2B 67564d2638a38934184b84db1329f991c1cad5104a437f29095452a7e24a114f13496efcb713bd85ca463a8b7e263d38466a681398916041a70189bc45ec47fd SHA512 92596100205857d5dba23759e82425393b2ac4904526bca874784dda0b777f1ca407691dea2ee97ab4e1612703e7e8512745db78e46a8d1cdaf0b5431f698f44
MISC metadata.xml 256 BLAKE2B 7380eb4443aa7d04fc02d228edb72f675580a9f36244c083c4bbdcbc492a4c5169fb3121158d4a613f25f7c0464042bba7951fb92cf9f11c5208a2d9699e195e SHA512 574345bb2730bbc2d0190a03b16703d10441ccd589623c5e8bdddf84d7ce86226da7e079d7b2135e4c724d0813973c551143cdd0f525a58efdd37716dd83edfd
diff --git a/dev-util/wiggle/files/wiggle-1.2-cflags.patch b/dev-util/wiggle/files/wiggle-1.2-cflags.patch
new file mode 100644
index 000000000000..a308436e1bbe
--- /dev/null
+++ b/dev-util/wiggle/files/wiggle-1.2-cflags.patch
@@ -0,0 +1,37 @@
+Respect CFLAGS, no -Werror, allow override of destinations for e.g. Prefix,
+and call pkg-config while respecting ${PKG_CONFIG} (to find ncurses libs for
+e.g. tinfo).
+--- a/Makefile
++++ b/Makefile
+@@ -2,21 +2,20 @@
+ # Note on my Mobile Pentium II, -march=pentium2 delivers twice the performance of i386
+ #OptDbg=-O3
+ #OptDbg=-O3 -march=pentium2
+-OptDbg=-ggdb
+ ifndef CWFLAGS
+-CWFLAGS=-Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
++CWFLAGS=-Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
+ endif
+-CFLAGS=$(OptDbg) -I. $(CWFLAGS)
++CFLAGS+= -I. $(CWFLAGS)
+
+-PREFIX = /usr
++PREFIX ?= /usr
+ # STRIP = -s
+-INSTALL = /usr/bin/install
+-DESTDIR =
+-BINDIR = $(PREFIX)/bin
+-MANDIR = $(PREFIX)/share/man
+-MAN1DIR = $(MANDIR)/man1
+-MAN5DIR = $(MANDIR)/man5
+-LDLIBS = -lncurses
++INSTALL ?= /usr/bin/install
++DESTDIR ?=
++BINDIR ?= $(PREFIX)/bin
++MANDIR ?= $(PREFIX)/share/man
++MAN1DIR ?= $(MANDIR)/man1
++MAN5DIR ?= $(MANDIR)/man5
++LDLIBS = $(shell $${PKG_CONFIG:-pkg-config} --libs ncurses)
+
+ all: wiggle wiggle.man test
+
diff --git a/dev-util/wiggle/wiggle-0.9-r1.ebuild b/dev-util/wiggle/wiggle-0.9-r1.ebuild
index d21acc98e25b..a4f8cb6cfd8b 100644
--- a/dev-util/wiggle/wiggle-0.9-r1.ebuild
+++ b/dev-util/wiggle/wiggle-0.9-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils fixheadtails flag-o-matic toolchain-funcs
+inherit fixheadtails flag-o-matic toolchain-funcs
-DESCRIPTION="tool for applying patches that patch cannot apply because of conflicting changes"
-HOMEPAGE="https://neil.brown.name/wiggle https://neil.brown.name/git?p=wiggle"
+DESCRIPTION="Tool for applying patches that patch cannot apply because of conflicting changes"
+HOMEPAGE="https://neil.brown.name/wiggle https://git.neil.brown.name/?p=wiggle.git"
SRC_URI="https://neil.brown.name/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
@@ -16,7 +16,7 @@ IUSE="test"
RESTRICT="!test? ( test )"
# The 'p' tool does support bitkeeper, but I'm against just dumping it in here
-# due to it's size. I've explictly listed every other dependancy here due to
+# due to it's size. I've explictly listed every other dependency here due to
# the nature of the shell program 'p'
RDEPEND="
dev-util/diffstat
@@ -30,12 +30,16 @@ RDEPEND="
sys-apps/coreutils
sys-devel/patch
sys-libs/ncurses:0=
- "
-DEPEND="${RDEPEND}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-apps/groff
- test? ( sys-process/time )"
+ test? ( sys-process/time )
+"
src_prepare() {
+ default
+
# Fix the reference to the help file so `p help' works
sed -i "s:\$0.help:${EPREFIX}/usr/share/wiggle/p.help:" p || die "sed failed on p"
diff --git a/dev-util/wiggle/wiggle-1.0.ebuild b/dev-util/wiggle/wiggle-1.0.ebuild
index 2ae059f746e4..670adede2e08 100644
--- a/dev-util/wiggle/wiggle-1.0.ebuild
+++ b/dev-util/wiggle/wiggle-1.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit fixheadtails toolchain-funcs
-DESCRIPTION="tool for applying patches that patch cannot apply because of conflicting changes"
-HOMEPAGE="https://neil.brown.name/wiggle https://neil.brown.name/git?p=wiggle"
+DESCRIPTION="Tool for applying patches that patch cannot apply because of conflicting changes"
+HOMEPAGE="https://neil.brown.name/wiggle https://git.neil.brown.name/?p=wiggle.git"
SRC_URI="https://neil.brown.name/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
@@ -16,7 +16,7 @@ IUSE="test"
RESTRICT="!test? ( test )"
# The 'p' tool does support bitkeeper, but I'm against just dumping it in here
-# due to it's size. I've explictly listed every other dependancy here due to
+# due to it's size. I've explictly listed every other dependency here due to
# the nature of the shell program 'p'
RDEPEND="
dev-util/diffstat
@@ -30,11 +30,13 @@ RDEPEND="
sys-apps/coreutils
sys-devel/patch
sys-libs/ncurses:0=
- "
-DEPEND="${RDEPEND}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-apps/groff
virtual/pkgconfig
- test? ( sys-process/time )"
+ test? ( sys-process/time )
+"
PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
diff --git a/dev-util/wiggle/wiggle-1.2.ebuild b/dev-util/wiggle/wiggle-1.2.ebuild
new file mode 100644
index 000000000000..b002ffebcbda
--- /dev/null
+++ b/dev-util/wiggle/wiggle-1.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fixheadtails toolchain-funcs
+
+DESCRIPTION="Tool for applying patches that patch cannot apply because of conflicting changes"
+HOMEPAGE="https://neil.brown.name/wiggle https://git.neil.brown.name/?p=wiggle.git"
+SRC_URI="https://neil.brown.name/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# The 'p' tool does support bitkeeper, but I'm against just dumping it in here
+# due to it's size. I've explictly listed every other dependency here due to
+# the nature of the shell program 'p'
+RDEPEND="
+ dev-util/diffstat
+ dev-util/patchutils
+ sys-apps/diffutils
+ sys-apps/findutils
+ virtual/awk
+ sys-apps/grep
+ sys-apps/less
+ sys-apps/sed
+ sys-apps/coreutils
+ sys-devel/patch
+ sys-libs/ncurses:0=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-apps/groff
+ virtual/pkgconfig
+ test? ( sys-process/time )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cflags.patch
+)
+
+src_prepare() {
+ default
+
+ # Fix the reference to the help file so `p help' works
+ sed -i "s:\$0.help:${EPREFIX}/usr/share/wiggle/p.help:" p || die "sed failed on p"
+
+ ht_fix_file p
+}
+
+src_compile() {
+ tc-export PKG_CONFIG
+
+ emake CC="$(tc-getCC)" ${PN}
+}
+
+src_test() {
+ # Use prefixed time binary
+ emake TIME_CMD="${EPREFIX}/usr/bin/time" test
+}
+
+src_install() {
+ dobin wiggle p
+ doman wiggle.1
+ dodoc ANNOUNCE INSTALL TODO DOC/Algorithm notes
+ insinto /usr/share/wiggle
+ doins p.help
+}