diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/vrb | |
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/vrb')
-rw-r--r-- | dev-libs/vrb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/vrb/files/vrb-0.5.1-configure.patch | 98 | ||||
-rw-r--r-- | dev-libs/vrb/metadata.xml | 7 | ||||
-rw-r--r-- | dev-libs/vrb/vrb-0.3.0.ebuild | 51 | ||||
-rw-r--r-- | dev-libs/vrb/vrb-0.5.1.ebuild | 43 |
5 files changed, 201 insertions, 0 deletions
diff --git a/dev-libs/vrb/Manifest b/dev-libs/vrb/Manifest new file mode 100644 index 000000000000..51066fcf98d6 --- /dev/null +++ b/dev-libs/vrb/Manifest @@ -0,0 +1,2 @@ +DIST vrb-0.3.0.tar.gz 30228 SHA256 982a7b0c49db88b61a2ebd7fd442d691548a5ab7e3cacd90431a045c314ed99c SHA512 7a79497a1497afb72c02c404fe628042bfc39ded06ec92d6d835948aaa3d9ee7a595e3e0a379515d2ebb498422f9a9c493853a75831180892e8e9070d6bb2f95 WHIRLPOOL 62cdac11c824b93627061c23c20cc88e040a36a646c8e305ed7647f0584a1cc1d33ed660a9e9447ec6e3737a60ef579c2e0fe3fa1c120018f32524cbd9b2c0a5 +DIST vrb-0.5.1.tar.bz2 41106 SHA256 d579ed1998ef2d78e2ef8481a748d26e1fa12cdda806d2e31d8ec66ffb0e289f SHA512 0db418e659d4c7cfc38ed5774345d204a87ca72525ea1d86e15ee3a09ff66828df1c110e2c84336fc8789a94b3e05eda1a2c4881799e511a7f75b728e2bc0734 WHIRLPOOL 2033b40a2875dc374ba82188cb8ec98f1bfd26eaa2ed151f561537868f696bc7b509c8388f1ce6802b9a9ef4b689041a4d6391248363a1f7f672e6b9a3c25df4 diff --git a/dev-libs/vrb/files/vrb-0.5.1-configure.patch b/dev-libs/vrb/files/vrb-0.5.1-configure.patch new file mode 100644 index 000000000000..281efa6850e9 --- /dev/null +++ b/dev-libs/vrb/files/vrb-0.5.1-configure.patch @@ -0,0 +1,98 @@ +diff -NrU5 vrb-0.5.1.original/configure vrb-0.5.1/configure +--- vrb-0.5.1.original/configure 2009-08-05 19:22:47.000000000 -0600 ++++ vrb-0.5.1/configure 2009-08-05 19:57:15.000000000 -0600 +@@ -314,11 +314,11 @@ + #----------------------------------------------------------------------------- + unamem=$( uname -m | tr ' ' '_' ) + unames=$( uname -s | tr ' ' '_' ) + unamer=$( uname -r | tr ' ' '_' ) + +-gcc="gcc" ++gcc=${CC} + + lib_cp_cmd="${gcc}" + pgm_cp_cmd="${gcc}" + + lib_cc_cmd="${gcc}" +@@ -331,23 +331,23 @@ + pgm_ld_cmd="${gcc}" + + lib_def=( "${lib_def[@]}" "-DARCH_${unamem}" "-DARCH=${unamem}" ) + pgm_def=( "${pgm_def[@]}" "-DARCH_${unamem}" "-DARCH=${unamem}" ) + +-lib_warn=( -Werror -Wall -Wnested-externs -Wno-cast-qual -Wno-trigraphs -Wuninitialized -Wwrite-strings ) +-pgm_warn=( -Werror -Wall -Wnested-externs -Wno-cast-qual -Wno-trigraphs -Wuninitialized -Wwrite-strings ) ++lib_warn=( -Wall -Wnested-externs -Wno-cast-qual -Wno-trigraphs -Wuninitialized -Wwrite-strings ) ++pgm_warn=( -Wall -Wnested-externs -Wno-cast-qual -Wno-trigraphs -Wuninitialized -Wwrite-strings ) + + if [[ -n "${warninline}" ]]; then + lib_warn=( "${lib_warn[@]}" -Winline ) + pgm_warn=( "${pgm_warn[@]}" -Winline ) + fi + +-lib_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -fgnu-linker -frerun-loop-opt -finline -finline-functions -fmove-all-movables ) +-pgm_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -fgnu-linker -frerun-loop-opt -finline -finline-functions -fmove-all-movables ) ++lib_feat="${CFLAGS} ${LDFLAGS}" ++pgm_feat="${CFLAGS} ${LDFLAGS}" + +-lib_cp_opt=( -pipe ) +-pgm_cp_opt=( -pipe ) ++lib_cp_opt="${CFLAGS} ${LDFLAGS}" ++pgm_cp_opt="${CFLAGS} ${LDFLAGS}" + + if [[ -n "${std}" ]]; then + lib_cp_opt=( "${lib_cp_opt[@]}" "-std=${std}" ) + pgm_cp_opt=( "${pgm_cp_opt[@]}" "-std=${std}" ) + fi +@@ -375,11 +375,11 @@ + if [[ -n "${as_verbose}" ]]; then + lib_as_opt=( -v "${lib_as_opt[@]}" ) + pgm_as_opt=( -v "${pgm_as_opt[@]}" ) + fi + +-lib_ld_opt=( -pipe -shared -nostdlib -nostartfiles ) ++lib_ld_opt=("${CFLAGS} ${LDFLAGS}" -pipe -shared -nostdlib -nostartfiles) + pgm_ld_opt=( -pipe ) + if [[ -n "${ld_verbose}" ]]; then + lib_ld_opt=( -v "${lib_ld_opt[@]}" ) + pgm_ld_opt=( -v "${pgm_ld_opt[@]}" ) + fi +@@ -1266,11 +1266,11 @@ + # Generate Makefile specs to compile library sources. + #---------------------------------------------------- + class_product_src lib "${libname}" | while read srcname; do + vmsg 9 "Generating Makefile section: lib ${libname} ${srcname}" + srcdir=$( dirname "${srcname}" ) +- srcref="-I ${srcdir} -I ${source}/include -I- -I ./include ${srcname}" ++ srcref="-iquote ${srcdir} -iquote ${source}/include -I ./include ${srcname}" + objname=$( echo "${srcname}" | gawk -F/ '{print $NF;}' | gawk -F. 'BEGIN{OFS=".";}{$NF="o";print $0;}' ) + for lc in arlib solib; do + [[ "${lc}" = "arlib" ]] && libfeat=( -DARLIBRARY=1 ) + [[ "${lc}" = "solib" ]] && libfeat=( -DSOLIBRARY=1 -DfPIC=1 -fPIC ) + +@@ -1352,11 +1352,11 @@ + echo -n " obj/${pgmclass}/${pgmname}/${objname}" + done + echo "" + + # link, object files, libraries +- echo -n "${tab}\$(pgm_ld_cmd) \$(pgm_ld_opt) -o ${pgmclass}/${pgmname}" ++ echo -n "${tab}\$(pgm_ld_cmd) \$(CFLAGS) \$(LDFLAGS) \$(pgm_ld_opt) -o ${pgmclass}/${pgmname}" + class_product_obj "${pgmclass}" "${pgmname}" | while read objname; do + echo -n " obj/${pgmclass}/${pgmname}/${objname}" + done + if [[ -z "${nosolib}" && -n "${execdynamic}" ]]; then + echo -n " -L./lib" +@@ -1396,11 +1396,11 @@ + + # compile each source file for each object needed by this executable + class_product_src "${pgmclass}" "${pgmname}" | while read srcname; do + vmsg 9 "Generating Makefile section: ${pgmclass} ${pgmname} ${srcname}" + srcdir=$( dirname "${srcname}" ) +- srcref="-I ${srcdir} -I ${source}/include -I- -I ./include ${srcname}" ++ srcref="-iquote ${srcdir} -iquote ${source}/include -I ./include ${srcname}" + objname=$( echo "${srcname}" | gawk -F/ '{print $NF;}' | gawk -F. 'BEGIN{OFS=".";}{$NF="o";print $0;}' ) + echo "obj/${pgmclass}/${pgmname}/${objname}: ${srcname}" + if [[ -n "${asm}" ]]; then + if [[ -n "${cpp}" ]]; then + cppname=$( echo "${objname}" | gawk -F. 'BEGIN{OFS=".";}{$NF="i";print $0;}' ) diff --git a/dev-libs/vrb/metadata.xml b/dev-libs/vrb/metadata.xml new file mode 100644 index 000000000000..d9cd2cad66c2 --- /dev/null +++ b/dev-libs/vrb/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> diff --git a/dev-libs/vrb/vrb-0.3.0.ebuild b/dev-libs/vrb/vrb-0.3.0.ebuild new file mode 100644 index 000000000000..8144ba00d007 --- /dev/null +++ b/dev-libs/vrb/vrb-0.3.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit multilib toolchain-funcs + +DESCRIPTION="library for a virtual ring buffer" +HOMEPAGE="http://phil.ipal.org/freeware/vrb/" +SRC_URI="http://phil.ipal.org/freeware/vrb/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 sparc" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +MAKEOPTS="${MAKEOPTS} -j1" + +src_compile() { + #respecting CFLAGS and LDFLAGS + sed -i "s/copts=\"-pipe -O2\"/copts=\"${CFLAGS} ${LDFLAGS}\"/g" Configure + sed -i "s/gcc -v/\${CC} \${COPTS}/g" Configure + + #respecting CC + sed -i "s/gcc/\${CC}/g" Configure + + #omiting -Werror + sed -i "s/-Werror//g" Configure + + CC="$(tc-getCC)" ./Configure \ + --prefix=/usr || die "./Configure failed" + + emake || die "emake failed" +} + +src_install() { + insinto /usr/include/libvrb/ + doins include/vrb.h + + dolib.so lib/libvrb.so.0.3.0 + + dosym libvrb.so.0.3.0 /usr/$(get_libdir)/libvrb.so.0.3 + dosym libvrb.so.0.3.0 /usr/$(get_libdir)/libvrb.so.0 + dosym libvrb.so.0.3.0 /usr/$(get_libdir)/libvrb.so + + dobin bin/iobuffer + + dodoc README +} diff --git a/dev-libs/vrb/vrb-0.5.1.ebuild b/dev-libs/vrb/vrb-0.5.1.ebuild new file mode 100644 index 000000000000..26e7d4fa1a62 --- /dev/null +++ b/dev-libs/vrb/vrb-0.5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="Library for a virtual ring buffer" +HOMEPAGE="http://vrb.slashusr.org/" +SRC_URI="http://vrb.slashusr.org/download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~sparc ~x86" +IUSE="static" +RESTRICT="strip" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_compile() { + epatch "${FILESDIR}"/${P}-configure.patch + + CC="$(tc-getCC)" ./configure --prefix=/usr || die "Configure failed!" + make || die "Make failed!" +} + +src_install() { + insinto /usr/include + doins build/include/vrb.h + + mkdir "${D}"usr/lib + + if use static ; then + cp build/lib/libvrb.a* "${D}"usr/lib/ + fi + + cp build/lib/libvrb.so* "${D}"usr/lib/ + + dobin build/bin/vbuf + + dodoc README + doman vrb/man/man3/*.3 +} |