diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/fribidi | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/fribidi')
-rw-r--r-- | dev-libs/fribidi/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch | 11 | ||||
-rw-r--r-- | dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch | 22 | ||||
-rw-r--r-- | dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch | 20 | ||||
-rw-r--r-- | dev-libs/fribidi/fribidi-0.19.5-r1.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/fribidi/fribidi-0.19.6.ebuild | 49 | ||||
-rw-r--r-- | dev-libs/fribidi/metadata.xml | 7 |
7 files changed, 161 insertions, 0 deletions
diff --git a/dev-libs/fribidi/Manifest b/dev-libs/fribidi/Manifest new file mode 100644 index 000000000000..71f161d1a110 --- /dev/null +++ b/dev-libs/fribidi/Manifest @@ -0,0 +1,2 @@ +DIST fribidi-0.19.5.tar.bz2 625034 SHA256 501231e4260f83fccedae1cafe983a7de87082e3f5387e0b283d016f7f4cb428 SHA512 0a1216d3ff23f76dd90a1fa5b1eadd1276cfedc07bd636e345df23911d2e23bc3780a5ba2e32f2025b517f7137135fb3de6d337f872932466efe480ece364e43 WHIRLPOOL 5241696a5477f9cd1931213b14a27a21647ccabbaaaa0d2f8112a51efeeb7557b3b614bbb30500cd1ebf17fd4332007c22c42c1667e738dc2a2e94e1c182211a +DIST fribidi-0.19.6.tar.bz2 639022 SHA256 cba8b7423c817e5adf50d28ec9079d14eafcec9127b9e8c8f1960c5ad585e17d SHA512 0661cf8e0985edfd5bf02c8de32432bf2faacadcaf35aef4e039a28f802a0468288e76b60231ebe7b54f909bd4d3ecc31a1fc94e83d434ae16dd21de6089629e WHIRLPOOL 71a1d1b44a4d58e6e4567f21a7e9f72a925f648a817d1c59d3815c8070e48656889c91afe2c842ca56e2bd8f33c783a4bbf16864514106614a12b8394c03e674 diff --git a/dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch b/dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch new file mode 100644 index 000000000000..8649db285528 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.2-nodoc.patch @@ -0,0 +1,11 @@ +--- Makefile.am ++++ Makefile.am +@@ -9,7 +9,7 @@ + ############################################################################## + + ## The order of subdirs is important, don't change without a reason. +-SUBDIRS = gen.tab charset lib bin doc test ++SUBDIRS = gen.tab charset lib bin test + + EXTRA_DIST = bootstrap ChangeLog.old + diff --git a/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch b/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch new file mode 100644 index 000000000000..2619bf375510 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.5-signedwarning.patch @@ -0,0 +1,22 @@ +From 78dc3af68ed0e1aafe54c176b28dadee66eb306c Mon Sep 17 00:00:00 2001 +From: Behdad Esfahbod <behdad@behdad.org> +Date: Thu, 06 Dec 2012 17:17:53 +0000 +Subject: Fix theoretically possible overflow + +https://bugzilla.redhat.com/show_bug.cgi?id=884000 +--- +diff --git a/bin/fribidi-main.c b/bin/fribidi-main.c +index ac9e2ff..dd27f0d 100644 +--- a/bin/fribidi-main.c ++++ b/bin/fribidi-main.c +@@ -519,7 +519,7 @@ main ( + idx++; + } + #endif /* !FRIBIDI_MAIN_USE_ICONV_H */ +- if (wid < 0 && idx > st + 1) ++ if (wid < 0 && idx - st > 1) + idx--; + inlen = idx - st; + +-- +cgit v0.9.0.2-2-gbebe diff --git a/dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch b/dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch new file mode 100644 index 000000000000..c2b39155eea2 --- /dev/null +++ b/dev-libs/fribidi/files/fribidi-0.19.6-page-size-header.patch @@ -0,0 +1,20 @@ +diff -ur fribidi-0.19.6.old/lib/common.h fribidi-0.19.6/lib/common.h +--- fribidi-0.19.6.old/lib/common.h 2012-12-30 00:12:59.000000000 +0000 ++++ fribidi-0.19.6/lib/common.h 2014-05-03 11:04:19.969727962 +0100 +@@ -130,14 +130,8 @@ + /* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being + * allocated for data structure pools. */ + #ifndef FRIBIDI_CHUNK_SIZE +-# if HAVE_ASM_PAGE_H +-# ifndef __FRIBIDI_DOC +-# include <asm/page.h> +-# endif /* __FRIBIDI_DOC */ +-# define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16) +-# else /* !HAVE_ASM_PAGE_H */ +-# define FRIBIDI_CHUNK_SIZE (4096 - 16) +-# endif /* !HAVE_ASM_PAGE_H */ ++# include <unistd.h> ++# define FRIBIDI_CHUNK_SIZE (sysconf(_SC_PAGESIZE) - 16) + #else /* FRIBIDI_CHUNK_SIZE */ + # if FRIBIDI_CHUNK_SIZE < 256 + # error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes. diff --git a/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild b/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild new file mode 100644 index 000000000000..a8ed5808ef98 --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="http://fribidi.org/" +SRC_URI="http://fribidi.org/download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RESTRICT="test" #397347 + +RDEPEND=">=dev-libs/glib-2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS NEWS README ChangeLog THANKS TODO" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.19.2-nodoc.patch \ + "${FILESDIR}"/${P}-signedwarning.patch + + # Fix compability with dev-libs/glib >= 2.31 + sed -i \ + -e '/include/s:<glib/gstrfuncs.h>:<glib.h>:' \ + -e '/include/s:<glib/gmem.h>:<glib.h>:' \ + charset/fribidi-char-sets.c lib/mem.h || die + + eautoreconf +} + +src_configure() { + # --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is + # present in /usr/lib/pkgconfig/fribidi.pc + econf \ + $(use_enable static-libs static) \ + --with-glib=yes +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/fribidi/fribidi-0.19.6.ebuild b/dev-libs/fribidi/fribidi-0.19.6.ebuild new file mode 100644 index 000000000000..08e9f689ede6 --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools eutils autotools-multilib + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="http://fribidi.org/" +SRC_URI="http://fribidi.org/download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RESTRICT="test" #397347 + +RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO ) + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.19.2-nodoc.patch \ + "${FILESDIR}"/${P}-page-size-header.patch + + # Fix compability with dev-libs/glib >= 2.31 + sed -i \ + -e '/include/s:<glib/gstrfuncs.h>:<glib.h>:' \ + -e '/include/s:<glib/gmem.h>:<glib.h>:' \ + charset/fribidi-char-sets.c lib/mem.h || die + + autotools-multilib_src_prepare +} + +src_configure() { + # --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is + # present in /usr/lib/pkgconfig/fribidi.pc + local myeconfargs=( --with-glib=yes ) + autotools-multilib_src_configure +} diff --git a/dev-libs/fribidi/metadata.xml b/dev-libs/fribidi/metadata.xml new file mode 100644 index 000000000000..d9cd2cad66c2 --- /dev/null +++ b/dev-libs/fribidi/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> |