commit: 1fa7079df1542dc7526243453e3efa3aa1af73e1 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> AuthorDate: Sat May 9 13:53:06 2015 +0000 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> CommitDate: Sat May 9 15:18:14 2015 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=1fa7079d
dev-libs/libunistring: 0.9.3-r1 → 0.9.5 Needed for gnome-characters * Bump to EAPI=5 * Clean up *.la files * Make static library optional * Add subslot since it changed from 0 to 2, at least guile and rygel needs to := on it now. .../libunistring/files/libunistring-nodocs.patch | 12 ++++++++ dev-libs/libunistring/libunistring-0.9.5.ebuild | 36 ++++++++++++++++++++++ dev-libs/libunistring/metadata.xml | 16 ++++++++++ 3 files changed, 64 insertions(+) diff --git a/dev-libs/libunistring/files/libunistring-nodocs.patch b/dev-libs/libunistring/files/libunistring-nodocs.patch new file mode 100644 index 0000000..07b003c --- /dev/null +++ b/dev-libs/libunistring/files/libunistring-nodocs.patch @@ -0,0 +1,12 @@ +diff -Naur libunistring-0.9.3.orig/Makefile.in libunistring-0.9.3/Makefile.in +--- libunistring-0.9.3.orig/Makefile.in 2010-05-02 18:28:21.000000000 -0300 ++++ libunistring-0.9.3/Makefile.in 2010-09-24 12:45:40.000000000 -0300 +@@ -773,7 +773,7 @@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies + ACLOCAL_AMFLAGS = -I m4 -I gnulib-m4 +-SUBDIRS = doc gnulib-local lib tests ++SUBDIRS = gnulib-local lib tests + + # Allow users to use "gnulib-tool --update". + diff --git a/dev-libs/libunistring/libunistring-0.9.5.ebuild b/dev-libs/libunistring/libunistring-0.9.5.ebuild new file mode 100644 index 0000000..6b58134 --- /dev/null +++ b/dev-libs/libunistring/libunistring-0.9.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils + +DESCRIPTION="Library for manipulating Unicode strings and C strings according to the Unicode standard" +HOMEPAGE="http://www.gnu.org/software/libunistring/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3 GPL-3" +SLOT="0/2" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux" +IUSE="doc static-libs" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-nodocs.patch +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + dodoc AUTHORS README ChangeLog || die "dodoc failed" + if use doc; then + dohtml doc/*.html || die "dohtml failed" + doinfo doc/*.info || die "doinfo failed" + fi + + emake DESTDIR="${D}" install || die "Install failed" + + prune_libtool_files +} diff --git a/dev-libs/libunistring/metadata.xml b/dev-libs/libunistring/metadata.xml new file mode 100644 index 0000000..260b66c --- /dev/null +++ b/dev-libs/libunistring/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>scheme</herd> +<longdescription lang="en"> + Text files are nowadays usually encoded in Unicode, and may consist of very + different scripts – from Latin letters to Chinese Hanzi –, with many kinds + of special characters – accents, right-to-left writing marks, hyphens, Roman + numbers, and much more. But the POSIX platform APIs for text do not contain + adequate functions for dealing with particular properties of many Unicode + characters. In fact, the POSIX APIs for text have several assumptions at + their base which don't hold for Unicode text. + This library provides functions for manipulating Unicode strings and for + manipulating C strings according to the Unicode standard. +</longdescription> +</pkgmetadata>
