~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-aports] [PATCH] testing/libmbfl: new aport

Details
Message ID
<1452610023-5526-1-git-send-email-valery.kartel@gmail.com>
Sender timestamp
1452610023
DKIM signature
missing
Download raw message
Patch: +67 -0
This is Libmbfl, a streamable multibyte character code filter and
converter library.
---
 testing/libmbfl/APKBUILD               | 47 ++++++++++++++++++++++++++++++++++
 testing/libmbfl/filters_makefile.patch | 20 +++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 testing/libmbfl/APKBUILD
 create mode 100644 testing/libmbfl/filters_makefile.patch

diff --git a/testing/libmbfl/APKBUILD b/testing/libmbfl/APKBUILD
new file mode 100644
index 0000000..95cd673
--- /dev/null
+++ b/testing/libmbfl/APKBUILD
@@ -0,0 +1,47 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=libmbfl
pkgver=1.3.2
pkgrel=0
pkgdesc="A streamable multibyte character code filter and converter library"
url="https://github.com/moriyoshi/libmbfl"
arch="all"
license="LGPLv2.1"
depends=
makedepends="gawk cmake libtool autoconf automake"
install=
subpackages="$pkgname-dev"
source="https://github.com/moriyoshi/libmbfl/archive/$pkgname-$pkgver.tar.gz
	filters_makefile.patch"

_builddir="$srcdir"/$pkgname-$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build(){
	cd "$_builddir"
	cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr || return 1
	make || return 1
	./buildconf || return 1
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="22a1fb428c9fb8a6cefbe6c44e60a67a  libmbfl-1.3.2.tar.gz
fa059f370036988652491a7e5ba0cc88  filters_makefile.patch"
sha256sums="b20abb2712d5d8e51d8e3e38bd96b68e3a3c3e85e53f353801ab71a819e39d4d  libmbfl-1.3.2.tar.gz
12a14d533f539604c19e926e6527e653bddafce8f2153653d180051015b947cb  filters_makefile.patch"
sha512sums="266b50a87f1e9114d84c349dd78d765a48ce6d604a011510bf8a82badb54736a44fb5642e3607fed4006ddb0b5f7394935d2a6eff13140b382620832b9e9f3fe  libmbfl-1.3.2.tar.gz
7964e0fc8e8825136cca30f81f5929746a326119b238f1c72c16fd7ea51787ef0cdc05180290d28d71ce07cf86e6c0aba7a57ec922f3c5bfa16f85aac5245a57  filters_makefile.patch"
diff --git a/testing/libmbfl/filters_makefile.patch b/testing/libmbfl/filters_makefile.patch
new file mode 100644
index 0000000..1863b18
--- /dev/null
+++ b/testing/libmbfl/filters_makefile.patch
@@ -0,0 +1,20 @@
--- old/filters/Makefile.am
+++ new/filters/Makefile.am
@@ -55,7 +55,7 @@
 	mbfilter_euc_kr.c \
 	mbfilter_uhc.c \
 	mbfilter_iso2022_jp_ms.c \
-	mbfilter_iso2022_jp_2004.c \
+	mbfilter_iso2022jp_2004.c \
 	mbfilter_gb18030.c \
 	mbfilter_iso2022_kr.c \
 	mbfilter_cp866.c \
@@ -90,7 +90,7 @@
 	mbfilter_htmlent.h \
 	mbfilter_hz.h \
 	mbfilter_iso2022_jp_ms.h \
-	mbfilter_iso2022_jp_2004.h \
+	mbfilter_iso2022jp_2004.h \
 	mbfilter_iso2022_kr.h \
 	mbfilter_iso8859_1.h \
 	mbfilter_iso8859_10.h \
-- 
2.6.4



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Timo Teras <timo.teras@iki.fi>
Details
Message ID
<20160119144436.212a9da7@vostro>
In-Reply-To
<1452610023-5526-1-git-send-email-valery.kartel@gmail.com> (view parent)
Sender timestamp
1453207476
DKIM signature
missing
Download raw message
On Tue, 12 Jan 2016 16:47:03 +0200
Valery Kartel <valery.kartel@gmail.com> wrote:

> This is Libmbfl, a streamable multibyte character code filter and
> converter library.

Most this looks good.

However, the cmake configure phase downloads stuff:

-- Looking for strchr
-- Looking for strchr - found
-- Downloading 8859-1.TXT
-- Downloading 8859-2.TXT
-- Downloading 8859-3.TXT
-- Downloading 8859-4.TXT
-- Downloading 8859-5.TXT
-- Downloading 8859-6.TXT
-- Downloading 8859-7.TXT
-- Downloading 8859-8.TXT
-- Downloading 8859-9.TXT
-- Downloading 8859-10.TXT
-- Downloading 8859-11.TXT
-- Downloading 8859-13.TXT
-- Downloading 8859-14.TXT
-- Downloading 8859-15.TXT
-- Downloading 8859-16.TXT
-- Downloading EastAsianWidth.txt
-- Configuring done
-- Generating done

Could you look at the cmake, and ship the required files in aports, or
at least provide versioned download links for abuild to fetch these
files.

We generally prefer the configure/build stage to not download anything.
The download links should be static so we can do reproducable builds.

Thanks,
Timo


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)