summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2012-09-20 16:09:24 +0000
committerAndrey Grozin <grozin@gentoo.org>2012-09-20 16:09:24 +0000
commit3b5c6563628845b118e250d7c712ff2fca82a394 (patch)
tree0b20e01c83578bfee40ae6d8dc6b10f48b5e57b7 /sci-mathematics/gsl-shell
parentRedo patches to work around behaviour change in patch-2.7, bug #435492 (diff)
downloadgentoo-2-3b5c6563628845b118e250d7c712ff2fca82a394.tar.gz
gentoo-2-3b5c6563628845b118e250d7c712ff2fca82a394.tar.bz2
gentoo-2-3b5c6563628845b118e250d7c712ff2fca82a394.zip
Initial import
(Portage version: 2.2.0_alpha129/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics/gsl-shell')
-rw-r--r--sci-mathematics/gsl-shell/ChangeLog10
-rw-r--r--sci-mathematics/gsl-shell/Manifest5
-rw-r--r--sci-mathematics/gsl-shell/files/gsl-shell.patch39
-rw-r--r--sci-mathematics/gsl-shell/gsl-shell-2.2.0_beta1.ebuild33
-rw-r--r--sci-mathematics/gsl-shell/metadata.xml21
5 files changed, 108 insertions, 0 deletions
diff --git a/sci-mathematics/gsl-shell/ChangeLog b/sci-mathematics/gsl-shell/ChangeLog
new file mode 100644
index 000000000000..3fb72430bf7e
--- /dev/null
+++ b/sci-mathematics/gsl-shell/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-mathematics/gsl-shell
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gsl-shell/ChangeLog,v 1.1 2012/09/20 16:09:24 grozin Exp $
+
+*gsl-shell-2.2.0_beta1 (20 Sep 2012)
+
+ 20 Sep 2012; Andrey Grozin <grozin@gentoo.org> +gsl-shell-2.2.0_beta1.ebuild,
+ +files/gsl-shell.patch, +metadata.xml:
+ Initial import
+
diff --git a/sci-mathematics/gsl-shell/Manifest b/sci-mathematics/gsl-shell/Manifest
new file mode 100644
index 000000000000..cbdc6d40e473
--- /dev/null
+++ b/sci-mathematics/gsl-shell/Manifest
@@ -0,0 +1,5 @@
+AUX gsl-shell.patch 1800 SHA256 e69d11e6ae947c10ebc0b575163c3f4896f877321165beae88949d35d54b18be SHA512 f1efb6fb6368d8f67b5c11da24ecc87aa94d015f5d3aa59788e45d1c9f111c3ae3533e1ac54b3da17d58ba4d2807c0d66b8422d23ad5e7dc3cd7899b69c0e729 WHIRLPOOL d92e38fba0ad7eb85fc6d8f6bd3a6f5b88cd21a254b2a3b0396c4de9951bc8d5472f3fc0511e532d7cbbc054f32192e4a2ee29efcbacbe8ec2b16f2492333b53
+DIST gsl-shell-2.2.0-beta1.tar.gz 3118614 SHA256 abd28a452db9185334891093eff8a0cfe7daa6f8a5f5cf5a6f85e5bb8b209712 SHA512 3f97731ac96eaa283be34a38e5895a453226e0e3d7521bc764814e8cba89ddaecbbbff6b9c8363383f445a34e675b82a5cb8a71caded24ddc44c1036bfdf1722 WHIRLPOOL 428e3f789e0aa9b41d368acb7c1834bbbe1d87aa141effaca169f3413566e739b23e400c06a7a7dc2436f902336ea7dddcdf10cf53913115849582a999d380df
+EBUILD gsl-shell-2.2.0_beta1.ebuild 775 SHA256 14145b825cb0bdea141cca9df355ddbd9945603000e14cfbc6b07f2ce3207978 SHA512 cb33e595880cee76e1f62b6400e4c1d82d078b7f19a8564371759f7b345ec1493992243fdbf8e8dec0fb9fa230105249adcd5b6f01efb67ee3703baa3a6fe14a WHIRLPOOL 370671e4674f89bc5c9e5553f52bea45f27df24ec0d90c15434c3ef565ac8e63e3538487b0c7653bcf71536322684e2c9cba6f881b55f106f5281cc4aa21512a
+MISC ChangeLog 303 SHA256 734017d19dc2bda07922e67fc087eee64d51658db9e788efef9c35d27ec65de7 SHA512 1dd01f57cbc664e74f7ff90e1f6a3946994ee5bc57264a94b1ddbfddf1adf5e4ae0aeefb49ec9a52ff1326055cd09ea71163e6df0dd3cf8160d443528285df38 WHIRLPOOL e2ea92296c0b2ffe4b10dbf4b1d40a49480682c8c6bddc16a918407d6bda3f9a995995098aa673fff9e88165289721950fa47c3b7570de8c3bb9de37d787eb26
+MISC metadata.xml 827 SHA256 d2543b251374761d9c167a544656ad1164bf09e67c0774686c4ce47834739441 SHA512 0bb6d572f8def7438bacc3f883dac17b24382c7a3e10ca2a4843bd03db600399f40090cb1f6631d4759a6cc7d2709029d581bcc29f8373e713e95b86c3ff6e75 WHIRLPOOL cbc5d970895409148686055e3ee5b4ee879c0ad7e33ce166d375c76a6546dd23f9515144421398e4e88f99714190e30a2327286c79158a1d7831576bb864095c
diff --git a/sci-mathematics/gsl-shell/files/gsl-shell.patch b/sci-mathematics/gsl-shell/files/gsl-shell.patch
new file mode 100644
index 000000000000..13d2fa171e39
--- /dev/null
+++ b/sci-mathematics/gsl-shell/files/gsl-shell.patch
@@ -0,0 +1,39 @@
+diff -r -U1 gsl-shell.orig/Makefile gsl-shell/Makefile
+--- gsl-shell.orig/Makefile 2012-09-12 01:13:31.000000000 +0700
++++ gsl-shell/Makefile 2012-09-20 21:53:31.000000000 +0700
+@@ -109,4 +109,2 @@
+ cp fox-gui/$(GSL_SHELL_GUI) $(INSTALL_BIN_DIR)
+- strip $(INSTALL_BIN_DIR)/$(GSL_SHELL)
+- strip $(INSTALL_BIN_DIR)/$(GSL_SHELL_GUI)
+ mkdir -p $(INSTALL_LIB_DIR)
+diff -r -U1 gsl-shell.orig/agg-plot/support_x11.cpp gsl-shell/agg-plot/support_x11.cpp
+--- gsl-shell.orig/agg-plot/support_x11.cpp 2012-09-12 01:13:31.000000000 +0700
++++ gsl-shell/agg-plot/support_x11.cpp 2012-09-20 22:16:30.000000000 +0700
+@@ -4,3 +4,3 @@
+
+-const char *ttf_names[] = {"ubuntu-font-family/Ubuntu-R.ttf", "freefont/FreeSans.ttf", "ttf-dejavu/DejaVuSans.ttf", 0};
++const char *ttf_names[] = {"ubuntu-font-family/Ubuntu-R.ttf", "freefont-ttf/FreeSans.ttf", "dejavu/DejaVuSans.ttf", 0};
+
+@@ -8,3 +8,3 @@
+ {
+- const char* ttf_dir = "/usr/share/fonts/truetype/";
++ const char* ttf_dir = "/usr/share/fonts/";
+ unsigned len = strlen(ttf_dir);
+diff -r -U1 gsl-shell.orig/makeconfig gsl-shell/makeconfig
+--- gsl-shell.orig/makeconfig 2012-09-12 01:13:31.000000000 +0700
++++ gsl-shell/makeconfig 2012-09-20 19:56:02.000000000 +0700
+@@ -21,3 +21,3 @@
+
+-PREFIX= /usr/local
++PREFIX= /usr
+ DESTDIR=
+diff -r -U1 gsl-shell.orig/makepackages gsl-shell/makepackages
+--- gsl-shell.orig/makepackages 2012-09-12 01:13:31.000000000 +0700
++++ gsl-shell/makepackages 2012-09-20 21:27:01.000000000 +0700
+@@ -36,4 +36,4 @@
+
+- FOX_INCLUDES := $(shell pkg-config fox --cflags)
+- FOX_LIBS = $(shell pkg-config fox --libs)
++ FOX_INCLUDES := -I/usr/include/fox-1.6
++ FOX_LIBS = -lFOX-1.6 -lX11 -lXext -lfreetype -lXft -lXcursor -lXrender -lXrandr -lXfixes -lXi -lGL -lGLU -ldl -lpthread -lrt -ljpeg -lpng -ltiff -lz -lbz2 -lGLU -lGL
+
diff --git a/sci-mathematics/gsl-shell/gsl-shell-2.2.0_beta1.ebuild b/sci-mathematics/gsl-shell/gsl-shell-2.2.0_beta1.ebuild
new file mode 100644
index 000000000000..330339890dea
--- /dev/null
+++ b/sci-mathematics/gsl-shell/gsl-shell-2.2.0_beta1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gsl-shell/gsl-shell-2.2.0_beta1.ebuild,v 1.1 2012/09/20 16:09:24 grozin Exp $
+
+EAPI=4
+inherit eutils versionator
+
+DESCRIPTION="Lua interactive shell for sci-libs/gsl"
+HOMEPAGE="http://www.nongnu.org/gsl-shell/"
+MY_P=$(version_format_string '${PN}-$1.$2.$3-$4')
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="fox"
+
+DEPEND=">=sci-libs/gsl-1.14
+ >=x11-libs/agg-2.5
+ >=media-libs/freetype-2.4.10
+ sys-libs/readline
+ || ( media-fonts/ubuntu-font-family media-fonts/freefont-ttf media-fonts/dejavu )
+ fox? ( x11-libs/fox:1.6 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}.patch"
+}
+
+src_compile() {
+ emake -j1 CFLAGS="${CFLAGS}"
+}
diff --git a/sci-mathematics/gsl-shell/metadata.xml b/sci-mathematics/gsl-shell/metadata.xml
new file mode 100644
index 000000000000..0c1147a33683
--- /dev/null
+++ b/sci-mathematics/gsl-shell/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+<herd>sci-mathematics</herd>
+<longdescription lang="en">
+GSL shell offers an interactive command-line interface
+that gives access to GSL collection of mathematical functions.
+GSL shell is based on the powerful and elegant scripting language Lua.
+GSL shell is not just a wrapper over the C API of GSL
+but does offer much more simple and expressive way to use GSL.
+The objective of GSL shell is to give the user the power
+of easily access GSL functions without having to write a complete C application.
+</longdescription>
+<use>
+ <flag name='fox'>Build a <pkg>x11-libs/fox</pkg> GUI</flag>
+</use>
+</pkgmetadata>