diff options
Diffstat (limited to 'dev-libs/libvterm')
-rw-r--r-- | dev-libs/libvterm/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libvterm/files/libvterm-0.3.3-slibtool.patch | 102 | ||||
-rw-r--r-- | dev-libs/libvterm/libvterm-0.3.3.ebuild | 43 |
3 files changed, 148 insertions, 0 deletions
diff --git a/dev-libs/libvterm/Manifest b/dev-libs/libvterm/Manifest index ee6bfda97498..5489cd7f55d0 100644 --- a/dev-libs/libvterm/Manifest +++ b/dev-libs/libvterm/Manifest @@ -1,13 +1,16 @@ AUX libvterm-0.1.4-slibtool.patch 2251 BLAKE2B d8484447c8a7e352514b298634d3e39bf606a5669cda67ef906f29b4a411737d81277e060fdd01cb14d1d04d329af1207dbeee475baff5cabc7afe9b5573ac78 SHA512 dd8d3b8c192bd6f6b357f7c5849a0b2a94661410e7f3cf5f6301a3cd34884362a54dc3ac593895f186ce3ce3628c2a8804f555107fb57d9a82a91ddd8cdca39e AUX libvterm-0.3.2-slibtool.patch 2198 BLAKE2B 3b25b576101c36a140b8c5aa74f7467b55cb7fda6a0da732667bce2b233018cebe84b73607a2993cb809b8df5e8ad225f0e72e93559b6588a02074a0520c3d82 SHA512 f417fd477f5c71cd62c78284c60def7d31d37a195d33dead0026081b1af3a182aaf407aed9a19bf2d3cb61ecdf3d2ba02d14fed726644c0b81f2f605742a27df +AUX libvterm-0.3.3-slibtool.patch 2312 BLAKE2B 7ac232c9bde9ac775f68eadf54a9ab9bc4dbe301372204e4b4b2cfdee3ed3716871877eb93e6dcd4d89ba14849bcee26f897e13f9579ce26cc3628d3addc2b7f SHA512 4d037b7f6538ab3a994d6e4398b9aa89f7ec689ff646899bd25af609d712cb5c2eab75ced1dae5a9cfdd9a2668d418951df681d0f81c872964beaeda32f447da DIST libvterm-0.1.4.tar.gz 69122 BLAKE2B 4f0acc9ec6755c4a840e5df6c32c44e12c5316b5c5918d0e8eada19d819736c3e5b9090b468e32b3141a7fbb5ba226e365be27d6d1d9ca22f9f5e365fc3971c2 SHA512 90b5d47417e3f469df5c6574a27d12bd6bd1571d17cab7c4ac0ee61b1dbcb6361987f6fdfd11e314ea32f8958ec165c319a34d0f77288947c7cbc11de697d524 DIST libvterm-0.3.1.tar.gz 79344 BLAKE2B 2732bc477fb339945c1a9242a8265d182891d507c0dec71371a9e7010434dad0d35152fdeaa32bbf50fdd4bd138bb42e8d95a9771c704d693032e32d37a87452 SHA512 1f4bbee8847a9c8cfab3831a3512b866eb0f90f7d3600c4583d2e1eac18458f21bf5ca4fe4b067b27920a04aa7eac5dd2d4a62f6b7ebd56a417fed60d421853d DIST libvterm-0.3.2.tar.gz 79471 BLAKE2B c7347257c6cf6bd7b5203a43004eb9fd2c00660f113788fc15f4b29f9224e30017bb24cfe2bc35a7890ca0131ffad37dcfa88104404e8fdce8bbe8cfb8296222 SHA512 aaff71a1c43eff1842cfc1bfd47936ea2c51e75a41506bb0e36860f8f497d198539c10f86c7febc86b3dea8c0de54b03580d59b170176a4207dc411ae59cb035 +DIST libvterm-0.3.3.tar.gz 80024 BLAKE2B 5778533079a467ab3073e150b24a0c7d9fd2249969ed2666df897d6e4a9688bc386a5696fd3a5ce144f196587ad7c86f7980981e81da83e5f68c572da70423f4 SHA512 0117f71988d2c3c1b5e46d0778ce491a8ab9033f3afc9a9905b6d52d0e2adb59ee101667826281470e4c9de5178cbe966f4ecb2c7673e9644c7ca3508491bb49 DIST libvterm-0.3.tar.gz 83861 BLAKE2B a2e8e9d80698880d87f9d26977a4e3dec7b520c3096d0ca6f7823254eeebe51666380ed2a5c05c923dd8b138f15c87e671fdfb03e5511c01711e112cdda9867a SHA512 2a7b6831476465d6a9f7c792406f4e3c4eca0c3dbce4b7031f2646c87e33692128a3d3ce27e1541403772cc0b5eface7bd41325e1e5300c3915bfc0bac97a896 EBUILD libvterm-0.1.4-r1.ebuild 728 BLAKE2B 463cd2bf20ef1c8eba98789969bb2dab24599a2923c13e204d73ddbe407cd957ed37938f388603b4a542b71b369eed2aab249f3061c0c7b417f1e365b4fd5085 SHA512 45bdbde642172c252b94375f44207a1a011cdc5fd36a2330ced3434c9059dcb27277f076ba5d82542b7851f4699f3f673da3c85295c0e4c2ef1cfd77050f3f05 EBUILD libvterm-0.1.4.ebuild 882 BLAKE2B e4f2e22e191ce35883e9fa2700222e55b8c5d482251aa5dd9f35d982fa18d20371ff3781a5962a07aeade487ee0c0e4df474023894c035154aa79425e477dc81 SHA512 70201223cdcad83064d87b949525040294d925002e4b12faf318353a211171a596d3992413731c8d71b377bc866095d9811a4bb110d03b414022b1bcf64b33e3 EBUILD libvterm-0.3.1.ebuild 784 BLAKE2B 6386264c52295290847282f278913f16d28e997086b4f3b71aeff79fe0119e45abf1ba18ebf484ad36d2feb7de5002eeff470b5c5109b3f3b8e4a0e2b1895916 SHA512 7280f10d4d6639ddb83479c405aa752dbd0d9c3a875f77c2615d6f5142bda1ce4688f1032ac1124c9131500994959deac3b34e3395dc2c6855ea1e4fb04560ae EBUILD libvterm-0.3.2-r1.ebuild 822 BLAKE2B 257df6631d85b96e24a8a7cb276a6ff2f2837eb50c29f5fef6f91ef55363a2b9a2fedf7399c58434fad91673414de081e5cca791c3567e7376b564795311186b SHA512 0166e90505ed0219afa55ee84b79704dc3cd3fcc0af9395f4bc7baa13a0c2c5f47d6afbb250b59b5510555f71a8c4d9aa8ef8133bc0ccbbaae61f963995f4ff0 EBUILD libvterm-0.3.2.ebuild 866 BLAKE2B 9c216afedbb9dad27f40278cebbbb2bdfd426313e768ed597ffa5ce9e0366e84499df5fb1cb0f78418c2bc54ce8cc99303989b51f63ed6247f28bdc288faba3b SHA512 34272cc92aef5759be40bcf45b95e3cca5fe329f90f9a8f6fed99c711a88945b98372177f81828f2fa87f88c1eede134a3974a7f0d7e40d13dda670bd9a36f33 +EBUILD libvterm-0.3.3.ebuild 836 BLAKE2B 5acd877c93b366e612d8be6bbf1e963abe9ffe5efd73b065e777e096b16b76dc19a5f54e649e0bd3488c22520554f645f57b4623a7ddf28424bcc8ae9e81150c SHA512 5fae099ee9b5c5bf749013342a6c6f35f5a673b99b8d556e1df872ba092c7ea5b28d12796dfe5d75ec258f62bc24241e1905c90473ec96b5d1b207a883504289 EBUILD libvterm-0.3.ebuild 781 BLAKE2B e682022ece50942097978bc495d829f08f4ab90f7db260a248e5d66320793d9c518baceeb7cd25bb8aaf09c472c6a045788ca5151c9e4f34afe55a74f452ecd8 SHA512 5e4fe08cc4a84591aaf4c417de03f270ab727e5955e36b80f5aa85cb3bc3e29c76cfda6ecd9dccd85f886e153ab9efc24dcd3340630d3b37b0c009108c0bd75b MISC metadata.xml 326 BLAKE2B 1ede96c6ed5288e9f8603f2c1fd2daad8bf48384c09b01de355628fd970e3f252b6d064cff58d70fb5838cdf0edaa71c6d83e65f240e0ce48559ef74cbff43b3 SHA512 951e8795d8482cd230a256c4084f5d0e28d9cfb7fdae75f239f72b7d67d900c9545b47bdafc8260eec393c302eed4fdd70912e965521312705fcb4ddb281d814 diff --git a/dev-libs/libvterm/files/libvterm-0.3.3-slibtool.patch b/dev-libs/libvterm/files/libvterm-0.3.3-slibtool.patch new file mode 100644 index 000000000000..f439a1febc89 --- /dev/null +++ b/dev-libs/libvterm/files/libvterm-0.3.3-slibtool.patch @@ -0,0 +1,102 @@ +Author: orbea <orbea@riseup.net> +Date: Tue Aug 29 16:56:23 2023 -0700 +Subject: [PATCH] build: Add a minimal configures script + +When building libvterm with slibtool using the rlibtool symlink the +build will fail when the generated libtool is not found. This file is +required with rlibtool so that the build can determine if the build +should be shared, static or both. + +This can be solved by adding a minimal configure script. + +The build steps are now: + +autoreconf -fi +./configure +make +make install + +Gentoo Bug: https://bugs.gentoo.org/779034 +diff --git a/Makefile b/Makefile.in +similarity index 88% +rename from Makefile +rename to Makefile.in +index 41b08ed..763c8c4 100644 +--- a/Makefile ++++ b/Makefile.in +@@ -1,13 +1,13 @@ +-ifeq ($(shell uname),Darwin) +- LIBTOOL ?= glibtool +-else +- LIBTOOL ?= libtool +-endif ++top_builddir = @top_builddir@ ++ ++LIBTOOL = @LIBTOOL@ + + ifneq ($(VERBOSE),1) + LIBTOOL +=--quiet + endif + ++CC = @CC@ ++ + override CFLAGS +=-Wall -Iinclude -std=c99 -Wpedantic + + ifeq ($(shell uname),SunOS) +@@ -36,17 +36,21 @@ INCFILES=$(TBLFILES:.tbl=.inc) + + HFILES_INT=$(sort $(wildcard src/*.h)) $(HFILES) + ++VERSION_MAJOR=@VERSION_MAJOR@ ++VERSION_MINOR=@VERSION_MINOR@ ++ + VERSION_CURRENT=0 + VERSION_REVISION=0 + VERSION_AGE=0 + +-VERSION=0.3.3 ++VERSION=@PACKAGE_VERSION@ + +-PREFIX=/usr/local +-BINDIR=$(PREFIX)/bin +-LIBDIR=$(PREFIX)/lib +-INCDIR=$(PREFIX)/include +-MANDIR=$(PREFIX)/share/man ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++BINDIR=@bindir@ ++LIBDIR=@libdir@ ++INCDIR=@includedir@ ++MANDIR=@mandir@ + MAN3DIR=$(MANDIR)/man3 + + all: $(LIBRARY) $(BINFILES) +@@ -70,7 +74,7 @@ src/encoding.lo: $(INCFILES) + + bin/%: bin/%.c $(LIBRARY) + @echo CC $< +- @$(LIBTOOL) --mode=link --tag=CC $(CC) $(CFLAGS) -o $@ $< -lvterm $(LDFLAGS) ++ @$(LIBTOOL) --mode=link --tag=CC $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + + t/harness.lo: t/harness.c $(HFILES) + @echo CC $< +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..34292fd +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,14 @@ ++m4_define([version_major], [0]) ++m4_define([version_minor], [3]) ++ ++AC_INIT([libvterm], [version_major.version_minor]) ++AC_CONFIG_FILES([Makefile]) ++ ++LT_INIT ++ ++AC_SUBST([top_builddir], [$abs_builddir]) ++ ++AC_SUBST([VERSION_MAJOR], [version_major]) ++AC_SUBST([VERSION_MINOR], [version_minor]) ++ ++AC_OUTPUT diff --git a/dev-libs/libvterm/libvterm-0.3.3.ebuild b/dev-libs/libvterm/libvterm-0.3.3.ebuild new file mode 100644 index 000000000000..c368ca342d20 --- /dev/null +++ b/dev-libs/libvterm/libvterm-0.3.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator" +HOMEPAGE="https://www.leonerd.org.uk/code/libvterm/" +SRC_URI="https://launchpad.net/libvterm/trunk/v0.3/+download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos" + +BDEPEND=" + dev-lang/perl + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.3-slibtool.patch # 779034 +) + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake VERBOSE=1 +} + +src_test() { + emake VERBOSE=1 test +} + +src_install() { + emake VERBOSE=1 DESTDIR="${D}" install + + find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files" + find "${ED}" -name '*.a' -delete || die +} |