diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-06-30 13:28:45 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-06-30 13:28:45 +0000 |
commit | 7caa496afca70d9eb976880260825623d49b41d9 (patch) | |
tree | ca1c70bfcff825238555d259ae42e0dc58cdd0e8 /sci-mathematics | |
parent | Remove media-plugins/audacious-crossfade as per bug #222883. (diff) | |
download | historical-7caa496afca70d9eb976880260825623d49b41d9.tar.gz historical-7caa496afca70d9eb976880260825623d49b41d9.tar.bz2 historical-7caa496afca70d9eb976880260825623d49b41d9.zip |
Version bump including patch to allow compilation with gcc-4.3 #229905).
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-SENTINEL-3 i686
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/pspp/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/pspp/Manifest | 5 | ||||
-rw-r--r-- | sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch | 109 | ||||
-rw-r--r-- | sci-mathematics/pspp/pspp-0.6.0.ebuild | 80 |
4 files changed, 201 insertions, 2 deletions
diff --git a/sci-mathematics/pspp/ChangeLog b/sci-mathematics/pspp/ChangeLog index ee21e5189d34..59df3e9ff2b3 100644 --- a/sci-mathematics/pspp/ChangeLog +++ b/sci-mathematics/pspp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-mathematics/pspp # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.5 2008/02/03 12:03:23 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.6 2008/06/30 13:28:44 markusle Exp $ + +*pspp-0.6.0 (30 Jun 2008) + + 30 Jun 2008; Markus Dittrich <markusle@gentoo.org> + +files/pspp-0.6.0-disable-inline.patch, +pspp-0.6.0.ebuild: + Version bump including patch to allow compilation with gcc-4.3 (see bug + #229905). 03 Feb 2008; Markus Dittrich <markusle@gentoo.org> pspp-0.4.0.ebuild: Added bindist USE flag to prevent linking against GPL-3d >=gsl-1.10 diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest index 9beea3eb8065..6497bf654a53 100644 --- a/sci-mathematics/pspp/Manifest +++ b/sci-mathematics/pspp/Manifest @@ -1,5 +1,8 @@ AUX 50pspp-gentoo.el 171 RMD160 99882e34577c8209dafcd422e210af596bde5057 SHA1 c611390e4c21388b70d29dbc2a9a6f5eba41d8c2 SHA256 92296e81ab389b4c639a67cd015e19d63cf8e40664a95fc568c2c6b6e7608940 +AUX pspp-0.6.0-disable-inline.patch 4390 RMD160 08daa6269532ed88ea50556f4e71050d50e94ec1 SHA1 80e643c71fee35deaf8881d76de3f5d307531bbd SHA256 3e8ff92284452805c3663677825b93e3c54970131f1a24a25f821a04e10de602 DIST pspp-0.4.0.tar.gz 1566807 RMD160 28c52e4ee530c80acf37d7cbea4e45aaefc11f7c SHA1 382c76ccbc62f881e439c38095b1f520b2627706 SHA256 b19403e15848ad0f0b393ed4e52beeb236fd4badfdfa63fe3e680f9cc683ca24 +DIST pspp-0.6.0.tar.gz 2872929 RMD160 889745e4b423845f0d87cdfb38004320475dff49 SHA1 b6a89d758a39c9c53803a8b44d73899e9219e33c SHA256 8c85ada08e2133846efc221d88b6b3abd9a525587b1630b246a1887120d0804e EBUILD pspp-0.4.0.ebuild 1561 RMD160 ae630b5c06d8a71298989324abcf9940a4198a30 SHA1 11e558cbcb64ca0177dd697ed6939fef0eb2a4f3 SHA256 ca99d27287852a124773006228fba4075bcb7214fb107e2fcfaa726554cd6f4a -MISC ChangeLog 1073 RMD160 661a326cc5fa43280ae0537d7c70409dc6402e55 SHA1 c3509f7c6b686aede744b97f9d89d9d82f71c12e SHA256 6e9085a24ac03c85b66d1f53b060a3b2789e69526b0136c7b8d26b02a6642079 +EBUILD pspp-0.6.0.ebuild 1832 RMD160 643ded0e29d5003f5b6df71658b57b4699457a6d SHA1 e6f51034977d3350a990afbdcf6489ebace6e500 SHA256 552ec8715bd6b47fd01b91f0e9d3eb8ff3afeb8494ba0879e7e48a8e1ab13be1 +MISC ChangeLog 1302 RMD160 ae331e4373251ac58cdc4542f9523cde8585b097 SHA1 402780004cd386ad4b3c8bc048f4ca667919c5f6 SHA256 fa4d1f52ff8785f78bdb0af1ddbef4f793c667960e61c605c332724a46a4e492 MISC metadata.xml 578 RMD160 3d9347a787f561f99489ea5be06c551cbd8f4b43 SHA1 0a5efc597a0325fbd138488e6848ade8c5b29338 SHA256 6b524ccbf204aeb826e21e271c676fc9ee7d36187cb862e80b544267a4451fcf diff --git a/sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch b/sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch new file mode 100644 index 000000000000..4d93545b4453 --- /dev/null +++ b/sci-mathematics/pspp/files/pspp-0.6.0-disable-inline.patch @@ -0,0 +1,109 @@ +diff -Naur pspp-0.6.0/Makefile.in pspp-0.6.0.new/Makefile.in +--- pspp-0.6.0/Makefile.in 2008-06-05 00:28:32.000000000 -0400 ++++ pspp-0.6.0.new/Makefile.in 2008-06-29 15:53:51.000000000 -0400 +@@ -126,7 +126,7 @@ + $(top_srcdir)/gl/m4/iconv_h.m4 \ + $(top_srcdir)/gl/m4/iconv_open.m4 \ + $(top_srcdir)/gl/m4/include_next.m4 \ +- $(top_srcdir)/gl/m4/inline.m4 $(top_srcdir)/gl/m4/intmax_t.m4 \ ++ $(top_srcdir)/gl/m4/intmax_t.m4 \ + $(top_srcdir)/gl/m4/inttostr.m4 \ + $(top_srcdir)/gl/m4/isfinite.m4 $(top_srcdir)/gl/m4/isnand.m4 \ + $(top_srcdir)/gl/m4/isnanf.m4 $(top_srcdir)/gl/m4/isnanl.m4 \ +diff -Naur pspp-0.6.0/aclocal.m4 pspp-0.6.0.new/aclocal.m4 +--- pspp-0.6.0/aclocal.m4 2008-06-05 00:28:16.000000000 -0400 ++++ pspp-0.6.0.new/aclocal.m4 2008-06-29 15:53:51.000000000 -0400 +@@ -7746,7 +7746,6 @@ + m4_include([gl/m4/iconv_h.m4]) + m4_include([gl/m4/iconv_open.m4]) + m4_include([gl/m4/include_next.m4]) +-m4_include([gl/m4/inline.m4]) + m4_include([gl/m4/intmax_t.m4]) + m4_include([gl/m4/inttostr.m4]) + m4_include([gl/m4/isfinite.m4]) +diff -Naur pspp-0.6.0/gl/Makefile.in pspp-0.6.0.new/gl/Makefile.in +--- pspp-0.6.0/gl/Makefile.in 2008-06-05 00:28:30.000000000 -0400 ++++ pspp-0.6.0.new/gl/Makefile.in 2008-06-29 15:53:51.000000000 -0400 +@@ -79,7 +79,7 @@ + $(top_srcdir)/gl/m4/iconv_h.m4 \ + $(top_srcdir)/gl/m4/iconv_open.m4 \ + $(top_srcdir)/gl/m4/include_next.m4 \ +- $(top_srcdir)/gl/m4/inline.m4 $(top_srcdir)/gl/m4/intmax_t.m4 \ ++ $(top_srcdir)/gl/m4/intmax_t.m4 \ + $(top_srcdir)/gl/m4/inttostr.m4 \ + $(top_srcdir)/gl/m4/isfinite.m4 $(top_srcdir)/gl/m4/isnand.m4 \ + $(top_srcdir)/gl/m4/isnanf.m4 $(top_srcdir)/gl/m4/isnanl.m4 \ +diff -Naur pspp-0.6.0/gl/m4/gnulib-comp.m4 pspp-0.6.0.new/gl/m4/gnulib-comp.m4 +--- pspp-0.6.0/gl/m4/gnulib-comp.m4 2008-06-05 00:24:02.000000000 -0400 ++++ pspp-0.6.0.new/gl/m4/gnulib-comp.m4 2008-06-29 16:01:31.000000000 -0400 +@@ -95,7 +95,6 @@ + AM_ICONV + gl_ICONV_H + gl_FUNC_ICONV_OPEN +- gl_INLINE + gl_INTTOSTR + gl_ISFINITE + gl_MATH_MODULE_INDICATOR([isfinite]) +@@ -625,7 +624,6 @@ + m4/iconv_h.m4 + m4/iconv_open.m4 + m4/include_next.m4 +- m4/inline.m4 + m4/intmax_t.m4 + m4/inttostr.m4 + m4/inttypes_h.m4 +diff -Naur pspp-0.6.0/gl/m4/inline.m4 pspp-0.6.0.new/gl/m4/inline.m4 +--- pspp-0.6.0/gl/m4/inline.m4 2008-05-13 12:20:04.000000000 -0400 ++++ pspp-0.6.0.new/gl/m4/inline.m4 1969-12-31 19:00:00.000000000 -0500 +@@ -1,40 +0,0 @@ +-# inline.m4 serial 3 +-dnl Copyright (C) 2006 Free Software Foundation, Inc. +-dnl This file is free software; the Free Software Foundation +-dnl gives unlimited permission to copy and/or distribute it, +-dnl with or without modifications, as long as this notice is preserved. +- +-dnl Test for the 'inline' keyword or equivalent. +-dnl Define 'inline' to a supported equivalent, or to nothing if not supported, +-dnl like AC_C_INLINE does. Also, define HAVE_INLINE if 'inline' or an +-dnl equivalent is effectively supported, i.e. if the compiler is likely to +-dnl drop unused 'static inline' functions. +-AC_DEFUN([gl_INLINE], +-[ +- AC_REQUIRE([AC_C_INLINE]) +- AC_CACHE_CHECK([whether the compiler generally respects inline], +- [gl_cv_c_inline_effective], +- [if test $ac_cv_c_inline = no; then +- gl_cv_c_inline_effective=no +- else +- dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is +- dnl specified. +- dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result +- dnl depends on optimization flags, which can be in CFLAGS. +- dnl (AC_EGREP_CPP looks only at the CPPFLAGS.) +- AC_COMPILE_IFELSE( +- [AC_LANG_PROGRAM([[]], +- [[#ifdef __NO_INLINE__ +- #error "inline is not effective" +- #endif]])], +- [gl_cv_c_inline_effective=yes], +- [gl_cv_c_inline_effective=no]) +- fi +- ]) +- if test $gl_cv_c_inline_effective = yes; then +- AC_DEFINE([HAVE_INLINE], 1, +- [Define to 1 if the compiler supports one of the keywords +- 'inline', '__inline__', '__inline' and effectively inlines +- functions marked as such.]) +- fi +-]) +diff -Naur pspp-0.6.0/gl/m4/xalloc.m4 pspp-0.6.0.new/gl/m4/xalloc.m4 +--- pspp-0.6.0/gl/m4/xalloc.m4 2008-05-13 12:20:04.000000000 -0400 ++++ pspp-0.6.0.new/gl/m4/xalloc.m4 2008-06-29 16:01:17.000000000 -0400 +@@ -14,7 +14,6 @@ + + # Prerequisites of lib/xalloc.h. + AC_DEFUN([gl_PREREQ_XALLOC], [ +- AC_REQUIRE([gl_INLINE]) + : + ]) + diff --git a/sci-mathematics/pspp/pspp-0.6.0.ebuild b/sci-mathematics/pspp/pspp-0.6.0.ebuild new file mode 100644 index 000000000000..4badf370f260 --- /dev/null +++ b/sci-mathematics/pspp/pspp-0.6.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.6.0.ebuild,v 1.1 2008/06/30 13:28:44 markusle Exp $ + +inherit elisp-common autotools + +DESCRIPTION="Program for statistical analysis of sampled data." +HOMEPAGE="http://www.gnu.org/software/pspp/pspp.html" +SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz" +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="doc ncurses emacs plotutils nls psppire" + +RDEPEND="sci-libs/gsl + sys-libs/readline + >=sys-devel/gettext-0.14.1 + >=dev-lang/perl-5.6 + virtual/libiconv + ncurses? ( >=sys-libs/ncurses-5.4 ) + plotutils? ( >=media-libs/plotutils-2.4.1 ) + emacs? ( virtual/emacs ) + psppire? ( >=x11-libs/gtk+-2.12 + >=gnome-base/libglade-2.6 )" + +DEPEND="${RDEPEND} + psppire? ( dev-util/pkgconfig )" + + +SITEFILE=50${PN}-gentoo.el + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-disable-inline.patch + eautoreconf +} + + +src_compile() { + econf \ + $(use_with plotutils libplot) \ + $(use_with ncurses libncurses) \ + $(use_enable nls) \ + $(use_with psppire gui) \ + || die "econf failed" + emake || die "emake failed" + if use doc; then + emake html || die "emake html failed" + fi + + use emacs && elisp-compile *.el + +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS ChangeLog \ + INSTALL NEWS ONEWS README THANKS TODO + docinto examples && dodoc examples/{ChangeLog,descript.stat} + + use doc && dohtml doc/pspp.html/* + if use emacs; then + elisp-install ${PN} *.el *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + if use psppire; then + make_desktop_entry psppire psppire src/ui/gui/${PN}icon.png + fi +} + +pkg_postinst () { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |