~alpine/aports

testing/libgrapheme: new aport v4 APPLIED

Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Pedro Lucas Porcellis: 1
 testing/libgrapheme: new aport

 1 files changed, 25 insertions(+), 0 deletions(-)
Well, it's a deliberated choice, according to Laslo (the author):
> this is a deliberate choice, here's why: I take great care to keep the
> API stable and only add new functionality, which means that you can
> rely on a given function to exist in later versions.
> 
> (...)
> 
> This pretty much kills any advantage they
> have over static linking, and I very often encounter issues with binary
> packages not working on my system because they rely on
> libsomething.so.4 while I have libsomething.5. This might all have a
> certain purpose for large projects where the ABI changed a lot across a
> major version, but libgrapheme is not a major multi-million-dollar
> project and I'll approach it in a "Kelvin" way where the API cools down
> over time.
¯\_(ツ)_/¯

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30012#note_210277
sure, fair enough

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30012#note_210374
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3907/mbox | git am -3
Learn more about email & git

[PATCH v4] testing/libgrapheme: new aport Export this patch

Pedro Lucas Porcellis <porcellis@eletrotupi.com>
https://libs.suckless.org/libgrapheme

The libgrapheme library provides functions to properly handle Unicode
strings according to the Unicode specification.
---
v3 -> v4: Removed make from makedepends as is already present on it
(thanks psykose)

 testing/libgrapheme/APKBUILD | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 testing/libgrapheme/APKBUILD

diff --git a/testing/libgrapheme/APKBUILD b/testing/libgrapheme/APKBUILD
new file mode 100644
index 0000000000..90cb24e1cd
--- /dev/null
+++ b/testing/libgrapheme/APKBUILD
@@ -0,0 +1,25 @@
# Maintainer: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
pkgname=libgrapheme
pkgver=1
pkgrel=0
pkgdesc="unicode string library"
url="https://libs.suckless.org/libgrapheme"
arch="all"
license="ISC"
subpackages="$pkgname-doc $pkgname-dev"
source="https://dl.suckless.org/libgrapheme/libgrapheme-$pkgver.tar.gz"

build() {
	make all PREFIX=/usr
}

check() {
	make test PREFIX=/usr
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}
sha512sums="
c0f3300d30707266e44ee01f359204720ae1770788cec509b03be914f8581caae144fb72952d111f108ebef21fd96b5ca2cf69463ee569bce4bba8645942ee05  libgrapheme-1.tar.gz
"
-- 
2.34.1
this library seems to not provide a versioned .so- the -dev package contains only a .a, and the main package only a bare .so. i assume this is an upstream choice, but i'm not sure what their reasoning is

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30012#note_209495