diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-06-03 19:40:26 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-06-03 19:40:26 +0000 |
commit | e0f76404471f659ae360e5b2415ba34405e11cee (patch) | |
tree | 567edeae64b669e4820e9311bb555bde8f10f449 /sci-calculators/orpie | |
parent | Masked games-simulation/secondlife (diff) | |
download | historical-e0f76404471f659ae360e5b2415ba34405e11cee.tar.gz historical-e0f76404471f659ae360e5b2415ba34405e11cee.tar.bz2 historical-e0f76404471f659ae360e5b2415ba34405e11cee.zip |
Now build with system ocamlgsl. Added a fix for more recent ocaml, thanks Dylan Simon for his patch. Closing bug #297409 and bug #314651. Dropping ppc until we have ocamlgsl keyworded
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-calculators/orpie')
-rw-r--r-- | sci-calculators/orpie/ChangeLog | 13 | ||||
-rw-r--r-- | sci-calculators/orpie/Manifest | 14 | ||||
-rw-r--r-- | sci-calculators/orpie/files/orpie-1.5.1-nogsl.patch | 30 | ||||
-rw-r--r-- | sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch | 200 | ||||
-rw-r--r-- | sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch | 11 | ||||
-rw-r--r-- | sci-calculators/orpie/orpie-1.5.1-r1.ebuild | 35 |
6 files changed, 296 insertions, 7 deletions
diff --git a/sci-calculators/orpie/ChangeLog b/sci-calculators/orpie/ChangeLog index 668ef518e167..999405ab2f02 100644 --- a/sci-calculators/orpie/ChangeLog +++ b/sci-calculators/orpie/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-calculators/orpie -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/orpie/ChangeLog,v 1.15 2009/02/03 14:37:55 bicatali Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/orpie/ChangeLog,v 1.16 2010/06/03 19:40:26 bicatali Exp $ + +*orpie-1.5.1-r1 (03 Jun 2010) + + 03 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org> + +orpie-1.5.1-r1.ebuild, +files/orpie-1.5.1-nogsl.patch, + +files/orpie-1.5.1-ocaml311.patch, +files/orpie-1.5.1-orpierc.patch: + Now build with system ocamlgsl. Added a fix for more recent ocaml, thanks + Dylan Simon for his patch. Closing bug #297409 and bug #314651. Dropping + ppc until we have ocamlgsl keyworded 03 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> -files/orpie-1.4.3-quote-down-crash.patch, diff --git a/sci-calculators/orpie/Manifest b/sci-calculators/orpie/Manifest index c04c575ee901..e32605a8153d 100644 --- a/sci-calculators/orpie/Manifest +++ b/sci-calculators/orpie/Manifest @@ -1,14 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX orpie-1.5.1-nogsl.patch 1463 RMD160 03a668e0f6c27569655fec833fabeaab90a7c27b SHA1 892a9949dbc5ee8e0c2bd4a259a77a8610f120d4 SHA256 ffb6c542dfc9cb8adfdd6a5a3a8b689cab5d510f780d8d799aa3f9dc289ca7ba +AUX orpie-1.5.1-ocaml311.patch 5460 RMD160 f2f2eae08fbd82915c8d2bad62062519adbc6635 SHA1 d917a6e612b49edfbadeb7f1ce9194008817c98b SHA256 d01d72de12c65cbabfacb4e9cf296d91d9382072b0334e250b0b67f2ae117f78 +AUX orpie-1.5.1-orpierc.patch 357 RMD160 8adcdf73b2b941bd989f1a6636448b2024c07a78 SHA1 8352ecee61f5a2b20fc94375b4cf83684641ef69 SHA256 755643f6564f97742b9024985a1ad03b286b01350c0e0b3037c1ed9b57dec0ed DIST orpie-1.5.1.tar.gz 370851 RMD160 30d3da01dff09fea8fae5d568d7c0279a9a3b289 SHA1 4e4887d8abcf015a5b423a2d1164ace95ab2d5c1 SHA256 f68ee37a5351c1dd32a68edae253a22a913fc2124bace1f6cf19cc2d422100cd +EBUILD orpie-1.5.1-r1.ebuild 919 RMD160 c86606a7a6bd9324c774b427e7726f8d0ddf96b3 SHA1 cbccf281f98d8cfe645c59fe069c17b173a95c9b SHA256 362009b42c8eb1bd9485ed0504dd64333008c65e8c16a2298843998aea6b4ac1 EBUILD orpie-1.5.1.ebuild 789 RMD160 1940d102800a30b131131a90918585832c00c38d SHA1 a9561a4992789ab67c427fada6c4a59d0ce70e00 SHA256 0723ed58d423e5cde8cb931a8fbdf58503820e8f3f131b4aa54647add4ea11eb -MISC ChangeLog 2812 RMD160 9305fe821606de383a4bf47036b57748afa3b27d SHA1 3e72e068a814527526f6e3f2fbee95c50ec262c9 SHA256 46a4d5c6f0737a58b50ea39f9539647ace967dec35a9ea35cfcc688fbb24153e +MISC ChangeLog 3218 RMD160 8087aba0f9581981aed49707e37319eedccddf7b SHA1 9f6892e514d381a545f0a7763bac655136b1b92d SHA256 261e861a4c1c5fe75bbe7124732b418b466b51cc589cb9b56e876148a311165e MISC metadata.xml 389 RMD160 048aaaeffaea08c2d9cc2df71390fd515c8c0c91 SHA1 1d581ada53c642f99915953d86bbeec90404cec0 SHA256 c93dd184b845222506e29b9fd6e4d2bd99d1dcc31742469393076fba86851042 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkmIVssACgkQ1ycZbhPLE2By1wCdFjQsBe4o8eMxPWyfRPGapiza -64QAn2WA9QM1szFiKX81tC+aJjoe2KpI -=6XB7 +iEYEARECAAYFAkwIDbsACgkQ1ycZbhPLE2BowwCcDW2ydI/bm2ABECISdQ1gvQLx +PMQAnRcrz6waQJdjQYeuZP2WjXH7QnXS +=acfU -----END PGP SIGNATURE----- diff --git a/sci-calculators/orpie/files/orpie-1.5.1-nogsl.patch b/sci-calculators/orpie/files/orpie-1.5.1-nogsl.patch new file mode 100644 index 000000000000..45894f2039dc --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.1-nogsl.patch @@ -0,0 +1,30 @@ +--- Makefile.in.orig 2010-06-03 21:02:14.000000000 +0100 ++++ Makefile.in 2010-06-03 21:02:49.000000000 +0100 +@@ -38,7 +38,7 @@ + CURSES_LIB = @CURSES_LIB@ + GSL_LIB = @GSL_LIB@ + +-INCLUDES = -I ./curses -I ./gsl -I ./units ++INCLUDES = -I ./curses -I /usr/lib/ocaml/gsl -I ./units + BFLAGS = -pp camlp4o -g $(INCLUDES) -thread + OFLAGS = -pp camlp4o $(INCLUDES) -thread + BLFLAGS = -custom -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm' +@@ -72,16 +72,8 @@ + CURSES_BOBJS = $(CURSES_CMO) $(CURSES_COBJS) + CURSES_OOBJS = $(CURSES_CMX) $(CURSES_COBJS) + +-GSL_CMO = gsl/gsl_error.cmo gsl/gsl_blas.cmo gsl/gsl_complex.cmo gsl/gsl_matrix.cmo gsl/gsl_matrix_complex.cmo \ +- gsl/gsl_vector.cmo gsl/gsl_vector_complex.cmo gsl/gsl_vector_flat.cmo gsl/gsl_matrix_flat.cmo \ +- gsl/gsl_vector_complex_flat.cmo gsl/gsl_matrix_complex_flat.cmo gsl/gsl_vectmat.cmo \ +- gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo +-GSL_CMX = $(GSL_CMO:.cmo=.cmx) +-GSL_COBJS = gsl/mlgsl_error.o gsl/mlgsl_blas.o gsl/mlgsl_blas_complex.o gsl/mlgsl_complex.o \ +- gsl/mlgsl_matrix_complex.o gsl/mlgsl_matrix_double.o gsl/mlgsl_vector_double.o gsl/mlgsl_permut.o \ +- gsl/mlgsl_linalg.o gsl/mlgsl_linalg_complex.o gsl/mlgsl_fun.o gsl/mlgsl_math.o gsl/mlgsl_sf.o +-GSL_BOBJS = $(GSL_COBJS) $(GSL_CMO) +-GSL_OOBJS = $(GSL_COBJS) $(GSL_CMX) ++GSL_BOBJS = /usr/lib/ocaml/gsl/gsl.cma ++GSL_OOBJS = /usr/lib/ocaml/gsl/gsl.cmxa + + UNITS_CMO = units/units.cmo + UNITS_CMX = $(UNITS_CMO:.cmo=.cmx) diff --git a/sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch b/sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch new file mode 100644 index 000000000000..d1535f900958 --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch @@ -0,0 +1,200 @@ +diff -Naru orpie-1.5.1/Makefile.in orpie-1.5.1_1/Makefile.in +--- orpie-1.5.1/Makefile.in 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/Makefile.in 2010-05-12 11:44:33.000000000 -0400 +@@ -257,10 +257,7 @@ + units/%.cmo : units/%.ml + $(OCAMLC) -c $(UNITS_BFLAGS) $< + +-units/%.o : units/%.ml +- $(OCAMLOPT) -c $(UNITS_OFLAGS) $< +- +-units/%.cmx : units/%.ml ++units/%.o units/%.cmx : units/%.ml + $(OCAMLOPT) -c $(UNITS_OFLAGS) $< + + +@@ -271,22 +268,15 @@ + %.cmo : %.ml + $(OCAMLC) -c $(BFLAGS) $< + +-%.o : %.ml +- $(OCAMLOPT) -c $(OFLAGS) $< +- +-%.cmx : %.ml ++%.o %.cmx : %.ml + $(OCAMLOPT) -c $(OFLAGS) $< + + %.ml : %.mll + $(OCAMLLEX) $< + +-%.ml : %.mly ++%.ml %.mli : %.mly + $(OCAMLYACC) -v $< + +-%.mli : %.mly +- $(OCAMLYACC) -v $< +- +- + + # Emacs tags + ############ +diff -Naru orpie-1.5.1/gsl/gsl_blas.ml orpie-1.5.1_1/gsl/gsl_blas.ml +--- orpie-1.5.1/gsl/gsl_blas.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_blas.ml 2010-05-12 11:24:11.000000000 -0400 +@@ -118,6 +118,7 @@ + + (** {3 Single precision} *) + ++(* + open Gsl_vector.Single + open Gsl_matrix.Single + +@@ -187,6 +188,7 @@ + alpha:float -> a:matrix -> b:matrix -> unit + = "ml_gsl_blas_strsm_bc" "ml_gsl_blas_strsm" + end ++*) + + + (** {3 Complex} *) +@@ -274,6 +276,7 @@ + + (** {3 Complex single precision} *) + ++(* + open Gsl_vector_complex.Single + open Gsl_matrix_complex.Single + open Gsl_complex +@@ -354,3 +357,4 @@ + a:matrix -> b:matrix -> beta:float -> c:matrix -> unit + = "ml_gsl_blas_cher2k_bc" "ml_gsl_blas_cher2k" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_blas.mli orpie-1.5.1_1/gsl/gsl_blas.mli +--- orpie-1.5.1/gsl/gsl_blas.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_blas.mli 2010-05-12 11:23:36.000000000 -0400 +@@ -118,6 +118,7 @@ + + (** {3 Single precision} *) + ++(* + open Gsl_vector.Single + open Gsl_matrix.Single + +@@ -187,6 +188,7 @@ + alpha:float -> a:matrix -> b:matrix -> unit + = "ml_gsl_blas_strsm_bc" "ml_gsl_blas_strsm" + end ++*) + + + (** {3 Complex} *) +@@ -274,6 +276,7 @@ + + (** {3 Complex single precision} *) + ++(* + open Gsl_vector_complex.Single + open Gsl_matrix_complex.Single + open Gsl_complex +@@ -354,3 +357,4 @@ + a:matrix -> b:matrix -> beta:float -> c:matrix -> unit + = "ml_gsl_blas_cher2k_bc" "ml_gsl_blas_cher2k" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix.ml orpie-1.5.1_1/gsl/gsl_matrix.ml +--- orpie-1.5.1/gsl/gsl_matrix.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix.ml 2010-05-12 11:22:51.000000000 -0400 +@@ -86,6 +86,7 @@ + + + ++(* + module Single = + struct + type float_mat_bigarr = +@@ -164,3 +165,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix.mli orpie-1.5.1_1/gsl/gsl_matrix.mli +--- orpie-1.5.1/gsl/gsl_matrix.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix.mli 2010-05-12 11:22:42.000000000 -0400 +@@ -45,6 +45,7 @@ + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_transpose" + + ++(* + module Single : sig + + type float_mat_bigarr = +@@ -87,3 +88,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix_complex.ml orpie-1.5.1_1/gsl/gsl_matrix_complex.ml +--- orpie-1.5.1/gsl/gsl_matrix_complex.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix_complex.ml 2010-05-12 11:24:59.000000000 -0400 +@@ -108,6 +108,7 @@ + + + ++(* + module Single = + struct + type complex_float_mat_bigarr = +@@ -208,3 +209,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_complex_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix_complex.mli orpie-1.5.1_1/gsl/gsl_matrix_complex.mli +--- orpie-1.5.1/gsl/gsl_matrix_complex.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix_complex.mli 2010-05-12 11:25:00.000000000 -0400 +@@ -51,6 +51,7 @@ + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_transpose" + + ++(* + module Single : sig + + type complex_float_mat_bigarr = +@@ -96,3 +97,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_complex_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_vector.ml orpie-1.5.1_1/gsl/gsl_vector.ml +--- orpie-1.5.1/gsl/gsl_vector.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_vector.ml 2010-05-12 11:22:19.000000000 -0400 +@@ -95,6 +95,7 @@ + + + ++(* + module Single = + struct + type float_vector_bigarr = +@@ -178,3 +179,4 @@ + external minmax_index : vector -> int * int + = "ml_gsl_vector_float_minmaxindex" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_vector.mli orpie-1.5.1_1/gsl/gsl_vector.mli +--- orpie-1.5.1/gsl/gsl_vector.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_vector.mli 2010-05-12 11:22:19.000000000 -0400 +@@ -65,6 +65,7 @@ + + (** {3 Single precision} *) + ++(* + module Single : sig + type float_vector_bigarr = + (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t +@@ -121,3 +122,4 @@ + + val subvector : vector -> off:int -> len:int -> vector + end ++*) diff --git a/sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch b/sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch new file mode 100644 index 000000000000..a9ca1dd366f0 --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch @@ -0,0 +1,11 @@ +--- orpie-1.5.1.orig/orpierc ++++ orpie-1.5.1/orpierc +@@ -4,7 +4,7 @@ + # directory for storing Orpie data + set datadir="~/.orpie/" + # editor used for fullscreen viewing of stack elements +-set editor="vi" ++set editor="${EDITOR}" + # whether or not to hide the help panel + set hide_help="false" + # whether or not to conserve memory in favor of faster rendering diff --git a/sci-calculators/orpie/orpie-1.5.1-r1.ebuild b/sci-calculators/orpie/orpie-1.5.1-r1.ebuild new file mode 100644 index 000000000000..11cf750b9328 --- /dev/null +++ b/sci-calculators/orpie/orpie-1.5.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/orpie/orpie-1.5.1-r1.ebuild,v 1.1 2010/06/03 19:40:26 bicatali Exp $ + +EAPI=2 +inherit eutils autotools + +DESCRIPTION="A fullscreen RPN calculator for the console" +HOMEPAGE="http://pessimization.com/software/orpie/" +SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="dev-ocaml/ocamlgsl + sys-libs/ncurses" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ocaml311.patch + epatch "${FILESDIR}"/${P}-nogsl.patch + epatch "${FILESDIR}"/${P}-orpierc.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog doc/TODO + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/manual.pdf doc/manual.html + fi +} |