diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/fribidi |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/fribidi')
-rw-r--r-- | dev-libs/fribidi/Manifest | 12 | ||||
-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 | 49 | ||||
-rw-r--r-- | dev-libs/fribidi/fribidi-0.19.6.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/fribidi/fribidi-0.19.7.ebuild | 40 | ||||
-rw-r--r-- | dev-libs/fribidi/metadata.xml | 7 |
8 files changed, 209 insertions, 0 deletions
diff --git a/dev-libs/fribidi/Manifest b/dev-libs/fribidi/Manifest new file mode 100644 index 000000000000..51a55970a7e4 --- /dev/null +++ b/dev-libs/fribidi/Manifest @@ -0,0 +1,12 @@ +AUX fribidi-0.19.2-nodoc.patch 326 SHA256 e72ede72adab960ed4b1f436a77511c52ce9c9529cef5880527c6c7f4adf6a65 SHA512 cebfda88ee8a073ea270f18c43e00aa3c15e4646511b161930d9afbafd67a6535423a78025e415031d7a5582243c326940cc8ce418f74a60424505a43614b674 WHIRLPOOL 6e0e35a0541991133c722f377a57ba06fdbf5a6856d5f56b9be4c263a9b024feb91701de9c4901fe41488af216f9df5bbb14075b425598ddca5e9c6b83574908 +AUX fribidi-0.19.5-signedwarning.patch 617 SHA256 920f334e80b6831bfce797b0b95b7a9bc4861ea66997756293412f70447a257d SHA512 3fa29f77adb19d2da52ff46d39d3da7662edf80d4cde98d87d3827a8b844c2e272408a611d7ef1364f72b78e801ce585a5ff89fe2a85729fa95982c3aecaedd5 WHIRLPOOL 95023548003833e46c4fe02a65900c9a175edd6acf7ffd642b6e87d32c7937b5acb017c85380024b4f253fa1c9d24074790ec2d425a0eb67a7e6c90b8a86911a +AUX fribidi-0.19.6-page-size-header.patch 852 SHA256 ea023043f13c4cfc40126f234444c39df9d3c23c7b9a0e4cc438f8e2c5385f48 SHA512 3d8fb438832b9de217c8468ecdd61101d9fa8f5e8ee5c9e4af9b4e01e6b04e6ba35351c586767ab794dfbb8d2e05e30c2f947bf97163839f4d46aff98e9be74c WHIRLPOOL 07829e2e23fd175eaf0c487f46fa0fabadf0da1bda9889e041ec126214433a52d2eea00b4deea323002f5416ea08598ab6456b3a0ec7604a4f6f744dd52c3c8f +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 +DIST fribidi-0.19.7.tar.bz2 648299 SHA256 08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e SHA512 4bfdda43d961030a8a2ae2c98d2ca5d43c1b59633fa0987920c5537ec69f3f624204ceacc4c474d878cbb417ee2d9e708dfe169cfce6ad584d2f2d5122678b63 WHIRLPOOL 3f101ad3b2ebe6299a61e849a0f46f3393e12a6ade6239db7428772d1389222b76b2d1ad9c1d7c0bb75fc100e7f83859c3ef8b98be6f3e5178555be1920fcf52 +EBUILD fribidi-0.19.5-r1.ebuild 1230 SHA256 e405ffec7c4f56c00b26b8f64f7976ab90fe876c92c650e845624b4a13b05160 SHA512 15eca6f872310d9696b0e0cb8e79db49a8da5cc85bba9e091e2f9df177a46b3426097f5b4053fe350a9ebd76061cb1050dc159787ef6ea29f29e59ecdf619b6f WHIRLPOOL 8d8a95c439d6dce82f66c00918ef53bc96c66393b7a20070a2c80b60d9a82e44bf448691a8391d52e480c4b483de821747d41d18e5f44fc0775e5fc62856d176 +EBUILD fribidi-0.19.6.ebuild 1423 SHA256 57cdc63a3cc22afb10b17e2e3e2aa35e9419779f8b9792dcec5fa50e1fc24de5 SHA512 840b726ab6ae5eb7bc0bd018318871e0a4e59ad3429e699173e2552b43f59299ea47cb3035f92597d7b1ed2c3c7fde6baddd78c96f8829fc41e74286d7415399 WHIRLPOOL 57f8048ef59af3971f495e134c2cc8d2be39860de84a8dcf96000a04fbc34e3ab8b351b54e26877d65615bbeb7b9a9f836ebef463b4d76e8217fa33460d52ad7 +EBUILD fribidi-0.19.7.ebuild 1172 SHA256 6f5dc3f809a5e931f423be0687b35a54b344f26853e1c093b3a9b356430f6275 SHA512 52397ce3078775a13fdf8571995de383c88495468c32ce82ee28ba242f0acea9e6cc3d76c324d058e4fd9faff5a695feea874f2a5b22fddbe926c4928d26f9b7 WHIRLPOOL 8375569d1d3e796b3cf093fb426732003a3a38c634e87744b9533e5d0f7174406b1472b35e004cf23b8e2dd0b95aad44ed6946c0b158329c5e688ca332eb64ea +MISC ChangeLog 2929 SHA256 216ea0ac9fd32603fde4847cc45c259771de9bb85307cd1d425089a36207aa89 SHA512 2fbf0b460a93e9aefea18229f19d4452cbb66dc50bdec488af39f9752d076ca591fbeafa1eda882a70b5ab0edacad417a4cf4c05ee82d3568b69c7f48ac2972a WHIRLPOOL 42c474f6412908ae5f2c1a1ba5eccb0e276067c10f22760b4161bd77dac2fcae018a52351395271fdee5b4f00fa9867f75cec7cfcd32aca769a0e3478711e3d0 +MISC ChangeLog-2015 12190 SHA256 e32c65a0e5b05fae6cab12cb69c61e81adc2cfdc668b7f7c5c75ed1c7ac6dd18 SHA512 b289a600f0c3e72efb6547b97107ce87ab50d8741de5690da7b93bec75c4667b018a6f6995b622987c9680f831a81130f8b9def1d38177f32e04af72b769096c WHIRLPOOL 7d0b864df4ec9b645637149416b21cacbc46fea01cb7ab7fb1a5c11caae7b5105b44c24daf43cfb078e0863ed922658d16eb4e1614045f3fe9094a3ec8f34ab4 +MISC metadata.xml 213 SHA256 92283c921a4a568843a86acdc11c0c7747dba81dc07a8d1f5b5cec050f70005d SHA512 3071eec004199ae5b87fea47cba66f64e043f414a005b3f00645381c3a00452ce2216ff694d46626105868de8ca93ef72841ac852fa23bba0c56d724cb666eba WHIRLPOOL f0b9123f6e0c5f238bec2f40cef270cee18bdc7f48adb1dbe04e59ff0e6f85ccc305a5c6f5f4b653bb3c5893acbbe0986ae845f1c2b5257f8d37f56008b9781f 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..5566b38636bd --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.5-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="https://fribidi.org/" +SRC_URI="https://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..f84e757e93f3 --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools eutils autotools-multilib + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="https://fribidi.org/" +SRC_URI="https://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/fribidi-0.19.7.ebuild b/dev-libs/fribidi/fribidi-0.19.7.ebuild new file mode 100644 index 000000000000..d412461bead8 --- /dev/null +++ b/dev-libs/fribidi/fribidi-0.19.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools autotools-multilib + +DESCRIPTION="A free implementation of the unicode bidirectional algorithm" +HOMEPAGE="https://fribidi.org/" +SRC_URI="https://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" + +RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO ) + +src_prepare() { + # 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..a2028936e2f7 --- /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 type="person"> +<email>amynka@gentoo.org</email> +</maintainer> +</pkgmetadata> |