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 /sci-libs/gaul-devel | |
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 'sci-libs/gaul-devel')
-rw-r--r-- | sci-libs/gaul-devel/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch | 26 | ||||
-rw-r--r-- | sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch | 30 | ||||
-rw-r--r-- | sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild | 44 | ||||
-rw-r--r-- | sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild | 46 | ||||
-rw-r--r-- | sci-libs/gaul-devel/metadata.xml | 18 |
6 files changed, 165 insertions, 0 deletions
diff --git a/sci-libs/gaul-devel/Manifest b/sci-libs/gaul-devel/Manifest new file mode 100644 index 000000000000..a37d63050731 --- /dev/null +++ b/sci-libs/gaul-devel/Manifest @@ -0,0 +1 @@ +DIST gaul-devel-0.1849-0.tar.bz2 416827 SHA256 b29a3e7ba210701f1ee5cd1fb603cd0d474d26d0a8ae215ddc249612d72b72fc SHA512 c9da2b983073c99b9f785b665b17c7c63b61a5d879c99c167c2014cc1dfd8ad689f89ec788d69a05e0ed391c97dbe1671d039d9122e58a354e8304785082c93d WHIRLPOOL 7920d0f7d314736f8e581c7bf7617b4d71f36693580782718646dd083400d703435deed6d5b877aa8b1ed9be888d55dc715cbd28de9d308e1a66075cb8652186 diff --git a/sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch b/sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch new file mode 100644 index 000000000000..aadea97e6929 --- /dev/null +++ b/sci-libs/gaul-devel/files/gaul-devel-0.1849-as-needed.patch @@ -0,0 +1,26 @@ +--- gaul-devel-0.1849-0.orig/src/Makefile.am 2005-04-20 16:25:27.000000000 +0200 ++++ gaul-devel-0.1849-0/src/Makefile.am 2010-02-13 16:57:55.051370268 +0100 +@@ -83,7 +83,7 @@ + gaul/ga_tabu.h \ + gaul.h + +-libgaul_la_LIBFLAGS = -lm ++libgaul_la_LIBADD = $(top_srcdir)/util/libgaul_util.la -lm + libgaul_la_LDFLAGS = -version-info ${GA_MAJOR_VERSION}:${GA_LT_MINOR_VERSION}:0 + + +--- gaul-devel-0.1849-0.orig/util/Makefile.am 2005-04-20 16:25:53.000000000 +0200 ++++ gaul-devel-0.1849-0/util/Makefile.am 2010-02-13 17:00:00.128370192 +0100 +@@ -64,10 +64,10 @@ + gaul/table_util.h \ + gaul/timer_util.h + +-libgaul_util_a_LIBFLAGS = ++libgaul_util_la_LIBADD = -lm + libgaul_util_la_LDFLAGS = -version-info ${GA_MAJOR_VERSION}:${GA_LT_MINOR_VERSION}:0 + +-libnn_util_a_LIBFLAGS = ++libnn_util_la_LIBADD = -lm + libnn_util_la_LDFLAGS = -version-info ${GA_MAJOR_VERSION}:${GA_LT_MINOR_VERSION}:0 + + # Regenerate gaul_config.h with config.status whenever gaul_config.h.in changes. diff --git a/sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch b/sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch new file mode 100644 index 000000000000..64b3c59a28bb --- /dev/null +++ b/sci-libs/gaul-devel/files/gaul-devel-0.1849-slang2-error.patch @@ -0,0 +1,30 @@ +diff -Naur gaul-devel-0.1849-0/tests/test_slang.c gaul-devel-0.1849-0.new/tests/test_slang.c +--- gaul-devel-0.1849-0/tests/test_slang.c 2003-08-19 17:41:20.000000000 -0400 ++++ gaul-devel-0.1849-0.new/tests/test_slang.c 2008-02-09 10:42:43.000000000 -0500 +@@ -287,10 +287,11 @@ + */ + if (-1 == SLang_load_file(script_fname)) + { ++ int error = SLang_get_error(); + dief("Error %d interpreting the S-Lang script \"%s\".", +- SLang_Error, script_fname); ++ error, script_fname); + SLang_restart(1); /* reset interpreter. */ +- SLang_Error = 0; ++ SLang_set_error(0); + return FALSE; + } + +@@ -315,9 +316,10 @@ + */ + if (-1 == SLang_load_file(NULL)) + { +- dief("Error %d interpreting the SLang script from stdin.", SLang_Error); ++ int error = SLang_get_error(); ++ dief("Error %d interpreting the SLang script from stdin.", error); + SLang_restart(1); +- SLang_Error = 0; ++ SLang_set_error(0); + return FALSE; + } + diff --git a/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild b/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild new file mode 100644 index 000000000000..13b0dea70668 --- /dev/null +++ b/sci-libs/gaul-devel/gaul-devel-0.1849-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Genetic Algorithm Utility Library" +HOMEPAGE="http://GAUL.sourceforge.net/" +SRC_URI="mirror://sourceforge/gaul/${P}-0.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="debug slang" + +DEPEND=" + sys-apps/sed + slang? ( sys-libs/slang )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P}-0 + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-slang2-error.patch +} + +src_compile() { + local myconf + use slang || myconf="--enable-slang=no" + if use debug ; then + myconf="${myconf} --enable-debug=yes --enable-memory-debug=yes" + else + myconf="${myconf} --enable-g=no" + fi + econf ${myconf} + emake || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "Install failed" + dodoc README || die +} diff --git a/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild b/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild new file mode 100644 index 000000000000..b62af63400b0 --- /dev/null +++ b/sci-libs/gaul-devel/gaul-devel-0.1849-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="Genetic Algorithm Utility Library" +HOMEPAGE="http://GAUL.sourceforge.net/" +SRC_URI="mirror://sourceforge/gaul/${P}-0.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug slang static-libs" + +DEPEND=" + sys-apps/sed + slang? ( sys-libs/slang )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P}-0 + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-slang2-error.patch \ + "${FILESDIR}"/${P}-as-needed.patch + eautoreconf +} + +src_configure() { + local myconf + use slang || myconf="--enable-slang=no" + if use debug ; then + myconf="${myconf} --enable-debug=yes --enable-memory-debug=yes" + else + myconf="${myconf} --enable-g=no" + fi + econf $(use_enable static-libs static) ${myconf} +} + +src_install() { + MAKEOPTS+=" -j1" + default +} diff --git a/sci-libs/gaul-devel/metadata.xml b/sci-libs/gaul-devel/metadata.xml new file mode 100644 index 000000000000..cce2626de2b1 --- /dev/null +++ b/sci-libs/gaul-devel/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription lang="en"> + The Genetic Algorithm Utility Library is a + flexible programming library designed to aid in the development of + applications that use genetic, or evolutionary, algorithms. It + provides data structures and functions for handling and manipulation + of the data required for serial and parallel evolutionary + algorithms. Additional stochastic algorithms are provided for + comparison to the genetic algorithms. Much of the functionality is + also available through a simple S-Lang interface. +</longdescription> + <upstream> + <remote-id type="sourceforge">gaul</remote-id> + </upstream> +</pkgmetadata> |