* [gentoo-commits] repo/gentoo:master commit in: dev-libs/unibilium/files/, dev-libs/unibilium/
@ 2020-09-30 0:15 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2020-09-30 0:15 UTC (permalink / raw
To: gentoo-commits
commit: 2189f8e3d634e6e69365489c5f62e3c6685ec26e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 00:15:10 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 00:15:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2189f8e3
dev-libs/unibilium: bump to 4.1.0 (neovim fork)
* Switch to neovim upstream (for now?)
* Fix QA issue with manpages
Closes: https://bugs.gentoo.org/711060
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/unibilium/Manifest | 1 +
.../files/unibilium-2.1.0-no-compress-man.patch | 22 ++++++++++++++
dev-libs/unibilium/unibilium-2.1.0.ebuild | 35 ++++++++++++++++++++++
3 files changed, 58 insertions(+)
diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest
index 9775b36fbf3..f511cd7c8ab 100644
--- a/dev-libs/unibilium/Manifest
+++ b/dev-libs/unibilium/Manifest
@@ -1 +1,2 @@
DIST unibilium-2.0.0.tar.gz 112570 BLAKE2B 95c24c53e11590faabf3d4b8484c344be0b2a0988f05bde785d03dac338d9f18fc65324f5ccc402723c9fabe2990083ce260d8fa57129591a1b2a1f8405eff9d SHA512 e93f319b7a85a4441c7f4e30d12d906805f066b14bff03331e48b6257da893f6447e257c8ba731077ad4b54d82d3ebf1ccf1fcf2d864273e0d4321a26ef7c172
+DIST unibilium-2.1.0.tar.gz 121971 BLAKE2B e035eab4343ee779218c302b3cae3ff5d443fc9bd723cade53a3d38dde3d66ee3d7374f7c69b85508a59d44d936601b24f33b01d923e55677d2bac71bd520fea SHA512 c0074ff8431f82c92072b8c0c9d3cf38d759b4de996b168c6ab00e475b0a6204d9c29b0a6e48e62dd4fa4898f82246150ef7cd5e246893d2c225c50ec4d4ac68
diff --git a/dev-libs/unibilium/files/unibilium-2.1.0-no-compress-man.patch b/dev-libs/unibilium/files/unibilium-2.1.0-no-compress-man.patch
new file mode 100644
index 00000000000..d4c1944554b
--- /dev/null
+++ b/dev-libs/unibilium/files/unibilium-2.1.0-no-compress-man.patch
@@ -0,0 +1,22 @@
+--- a/Makefile
++++ b/Makefile
+@@ -56,7 +56,7 @@ OBJECTS=unibilium.lo uninames.lo uniutil.lo
+ LIBRARY=libunibilium.la
+
+ PODS=$(wildcard doc/*.pod)
+-MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3.gz)))
++MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3)))
+
+ TOOLS=$(wildcard tools/*.c)
+
+@@ -121,8 +121,8 @@ install-man: build-man
+ .PHONY: build-man
+ build-man: $(MANPAGES)
+
+-man/%.3.gz: doc/%.pod
+- $(POD2MAN) $(POD2MAN_OPTS) $< | gzip > $@
++man/%.3: doc/%.pod
++ $(POD2MAN) $(POD2MAN_OPTS) $< > $@
+
+
+ # Regenerate static test files, based on existing terminfo entries.
diff --git a/dev-libs/unibilium/unibilium-2.1.0.ebuild b/dev-libs/unibilium/unibilium-2.1.0.ebuild
new file mode 100644
index 00000000000..54bebfe17a3
--- /dev/null
+++ b/dev-libs/unibilium/unibilium-2.1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="A very basic terminfo library"
+HOMEPAGE="https://github.com/neovim/unibilium/"
+SRC_URI="https://github.com/neovim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+ MIT"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="static-libs"
+
+BDEPEND="
+ dev-lang/perl
+ sys-devel/libtool"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.1.0-no-compress-man.patch"
+)
+
+src_compile() {
+ append-flags -fPIC
+ tc-export CC
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" install
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/lib${PN}.a || die
+ rm "${ED}"/usr/$(get_libdir)/lib${PN}.la || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/unibilium/files/, dev-libs/unibilium/
@ 2022-06-20 23:35 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-06-20 23:35 UTC (permalink / raw
To: gentoo-commits
commit: 6998f8427dcad31762bd62c669f4efa2fb280aa4
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Jun 20 22:00:15 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 23:32:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6998f842
dev-libs/unibilium: Fix the build with rlibtool
Closes: https://bugs.gentoo.org/828492
Upstream-PR: https://github.com/neovim/unibilium/pull/21
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/26010
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../unibilium/files/unibilium-2.1.1-libtool.patch | 101 +++++++++++++++++++++
dev-libs/unibilium/unibilium-2.1.1-r1.ebuild | 31 +++++++
2 files changed, 132 insertions(+)
diff --git a/dev-libs/unibilium/files/unibilium-2.1.1-libtool.patch b/dev-libs/unibilium/files/unibilium-2.1.1-libtool.patch
new file mode 100644
index 000000000000..b9715edfb449
--- /dev/null
+++ b/dev-libs/unibilium/files/unibilium-2.1.1-libtool.patch
@@ -0,0 +1,101 @@
+Upstream-PR: https://github.com/neovim/unibilium/pull/21
+
+From 8447cc364ac9f42745fdabba54fa8e628451f33b Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Mon, 20 Jun 2022 14:52:04 -0700
+Subject: [PATCH] build: Add a minimal configure.ac
+
+When building with slibtool using the rlibtool symlink the build will
+fail when it fails to find the generated libtool. This is required so
+rlibtool can determine if it should build shared or static libraries.
+
+This can be fixed by adding a minimal configure.ac that can generate the
+required files with autoreconf.
+
+Gentoo Bug: https://bugs.gentoo.org/828492
+---
+ Makefile => Makefile.in | 31 +++++++++++++++++--------------
+ configure.ac | 16 ++++++++++++++++
+ 2 files changed, 33 insertions(+), 14 deletions(-)
+ rename Makefile => Makefile.in (92%)
+ create mode 100644 configure.ac
+
+diff --git a/Makefile b/Makefile.in
+similarity index 92%
+rename from Makefile
+rename to Makefile.in
+index 6060ee6..d97e222 100644
+--- a/Makefile
++++ b/Makefile.in
+@@ -2,21 +2,19 @@ ifneq ($(wildcard .maint),)
+ include maint.mk
+ endif
+
+-ifeq ($(shell uname),Darwin)
+- LIBTOOL?=glibtool
+-else
+- LIBTOOL?=libtool
+-endif
++CC=@CC@
++LIBTOOL=@LIBTOOL@
+
+-CFLAGS?=-O2
++CFLAGS=@CFLAGS@
++LDFLAGS=@LDFLAGS@
+
+ CFLAGS_DEBUG=
+
+-PACKAGE=unibilium
++PACKAGE=@PACKAGE_NAME@
+
+-PKG_MAJOR=2
+-PKG_MINOR=1
+-PKG_REVISION=1
++PKG_MAJOR=@MAJOR@
++PKG_MINOR=@MINOR@
++PKG_REVISION=@PATCH@
+
+ PKG_VERSION=$(PKG_MAJOR).$(PKG_MINOR).$(PKG_REVISION)
+
+@@ -26,10 +24,15 @@ LT_REVISION=1
+ LT_CURRENT=4
+ LT_AGE=0
+
+-PREFIX=/usr/local
+-LIBDIR=$(PREFIX)/lib
+-INCDIR=$(PREFIX)/include
+-MANDIR=$(PREFIX)/share/man
++top_builddir=@top_builddir@
++
++prefix=@prefix@
++exec_prefix=@prefix@
++datarootdir=@datarootdir@
++
++LIBDIR=@libdir@
++INCDIR=@includedir@
++MANDIR=@mandir@
+ MAN3DIR=$(MANDIR)/man3
+
+ ifneq ($(OS),Windows_NT)
+diff --git a/configure.ac b/configure.ac
+new file mode 100644
+index 0000000..13cb888
+--- /dev/null
++++ b/configure.ac
+@@ -0,0 +1,16 @@
++m4_define([MAJOR], [2])
++m4_define([MINOR], [1])
++m4_define([PATCH], [1])
++
++AC_INIT([unibilium], [MAJOR.MINOR.PATCH])
++AC_CONFIG_FILES([Makefile])
++
++LT_INIT
++
++AC_SUBST([top_builddir], [$abs_builddir])
++
++AC_SUBST([MAJOR], [MAJOR])
++AC_SUBST([MINOR], [MINOR])
++AC_SUBST([PATCH], [PATCH])
++
++AC_OUTPUT
diff --git a/dev-libs/unibilium/unibilium-2.1.1-r1.ebuild b/dev-libs/unibilium/unibilium-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..361950435198
--- /dev/null
+++ b/dev-libs/unibilium/unibilium-2.1.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A very basic terminfo library"
+HOMEPAGE="https://github.com/neovim/unibilium/"
+SRC_URI="https://github.com/neovim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+ MIT"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
+
+BDEPEND="dev-lang/perl"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.1.0-no-compress-man.patch"
+ "${FILESDIR}/${P}-libtool.patch" # 828492
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/unibilium/files/, dev-libs/unibilium/
@ 2024-10-24 17:11 Arthur Zamarin
0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2024-10-24 17:11 UTC (permalink / raw
To: gentoo-commits
commit: f7e87e6b6461055962d8d5fbdc552ec6401d9ff4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 17:10:57 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 17:11:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e87e6b
dev-libs/unibilium: add 2.1.2
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-libs/unibilium/Manifest | 1 +
.../files/unibilium-2.1.2-no-compress-man.patch | 22 ++++++++++++++++
dev-libs/unibilium/unibilium-2.1.2.ebuild | 30 ++++++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest
index 765f7180a8a9..5aafd19bde25 100644
--- a/dev-libs/unibilium/Manifest
+++ b/dev-libs/unibilium/Manifest
@@ -1 +1,2 @@
DIST unibilium-2.1.1.tar.gz 121998 BLAKE2B 0bd032d0cc32011fa66604b39412116824b79aeb3cebb394efcad7591d5bd18031d465f7736ff1e65914f2fcf7beca1cbee4c7ad07426cdbf45e1c82e1894d94 SHA512 ebcdcddc6c3a540d086b113bb83470c1c17cf59056b28308a484b20dc3df71de0f5d6e5bf105f9e4a8347c78500c65ae46c2b53ec87692a898c321a047664ee2
+DIST unibilium-2.1.2.tar.gz 122525 BLAKE2B 4f61b1259fed11c94280499ea1f965c7a53b70072c66adbf42cd0adafb99f03e56f204b46235677a75c09f923b141897ba2942eb273e5b053beec9e8eb5bc3a6 SHA512 8bc50b3662fcb1b52055fed028926d8c296169b6b1cfefef9bb37a435321ee6e005c4166c1e68c2959e5f6d4ffe8f44d8ea87d6dcc967176d473ae918ff3018f
diff --git a/dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch b/dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch
new file mode 100644
index 000000000000..a185c36c1059
--- /dev/null
+++ b/dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch
@@ -0,0 +1,22 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -56,7 +56,7 @@ OBJECTS=unibilium.lo uninames.lo uniutil.lo
+ LIBRARY=libunibilium.la
+
+ PODS=$(wildcard doc/*.pod)
+-MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3.gz)))
++MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3)))
+
+ TOOLS=$(wildcard tools/*.c)
+
+@@ -121,8 +121,8 @@ install-man: build-man
+ .PHONY: build-man
+ build-man: $(MANPAGES)
+
+-man/%.3.gz: doc/%.pod
+- $(POD2MAN) $(POD2MAN_OPTS) $< | gzip > $@
++man/%.3: doc/%.pod
++ $(POD2MAN) $(POD2MAN_OPTS) $< > $@
+
+
+ # Regenerate static test files, based on existing terminfo entries.
diff --git a/dev-libs/unibilium/unibilium-2.1.2.ebuild b/dev-libs/unibilium/unibilium-2.1.2.ebuild
new file mode 100644
index 000000000000..193b0caf33dc
--- /dev/null
+++ b/dev-libs/unibilium/unibilium-2.1.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A very basic terminfo library"
+HOMEPAGE="https://github.com/neovim/unibilium/"
+SRC_URI="https://github.com/neovim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+ MIT"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
+
+BDEPEND="dev-lang/perl"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.1.2-no-compress-man.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -type f -delete || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-24 17:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 17:11 [gentoo-commits] repo/gentoo:master commit in: dev-libs/unibilium/files/, dev-libs/unibilium/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2022-06-20 23:35 Sam James
2020-09-30 0:15 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox