summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-24 14:53:02 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-24 14:53:02 +0000
commit870009c2d65b5181e211a92443cc0ec3aedb365c (patch)
treefdb01e6b6af97ca256c8c4e0c70fafda459d7ec9 /sci-calculators
parentMoving to sci-calculators/fung-calc (diff)
downloadgentoo-2-870009c2d65b5181e211a92443cc0ec3aedb365c.tar.gz
gentoo-2-870009c2d65b5181e211a92443cc0ec3aedb365c.tar.bz2
gentoo-2-870009c2d65b5181e211a92443cc0ec3aedb365c.zip
Moved from app-sci/fung-calc to sci-calculators/fung-calc.
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/fung-calc/ChangeLog43
-rw-r--r--sci-calculators/fung-calc/Manifest7
-rw-r--r--sci-calculators/fung-calc/files/digest-fung-calc-1.3.2b1
-rw-r--r--sci-calculators/fung-calc/files/fung-calc-1.3.2b-configure.patch141
-rw-r--r--sci-calculators/fung-calc/files/fung-calc-fPIC41
-rw-r--r--sci-calculators/fung-calc/files/fung-calc-gcc34-fix29
-rw-r--r--sci-calculators/fung-calc/fung-calc-1.3.2b.ebuild41
-rw-r--r--sci-calculators/fung-calc/metadata.xml6
8 files changed, 309 insertions, 0 deletions
diff --git a/sci-calculators/fung-calc/ChangeLog b/sci-calculators/fung-calc/ChangeLog
new file mode 100644
index 000000000000..2b473b1df13f
--- /dev/null
+++ b/sci-calculators/fung-calc/ChangeLog
@@ -0,0 +1,43 @@
+# ChangeLog for app-sci/fung-calc
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/fung-calc/ChangeLog,v 1.1 2004/12/24 14:53:02 ribosome Exp $
+
+*fung-calc-1.3.2b (24 Dec 2004)
+
+ 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/fung-calc-1.3.2b-configure.patch, +files/fung-calc-fPIC,
+ +files/fung-calc-gcc34-fix, +fung-calc-1.3.2b.ebuild:
+ Moved from app-sci/fung-calc to sci-calculators/fung-calc.
+
+ 27 Oct 2004; Simone Gotti <motaboy@gentoo.org>
+ +files/fung-calc-1.3.2b-configure.patch, fung-calc-1.3.2b.ebuild:
+ Changed the ebuild to use the 'kde' eclass; Added a patch to the configure
+ script to honor the 'arts' use flag, this fixes bug #69092.
+
+ 22 Sep 2004; Patrick Kursawe <phosphan@gentoo.org> fung-calc-1.3.2b.ebuild:
+ Applying fPIC patch always - makes testing easier, helps prelinking and
+ makes it compile again on all platforms != amd64, closing bug
+ #60888. ;-)
+
+ 31 Jul 2004; <malc@gentoo.org> fung-calc-1.3.2b.ebuild:
+ Add gcc34 and fPIC patches, keyword ~amd64, closes bug #57768
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ fung-calc-1.3.2b.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 11 May 2004; Patrick Kursawe <phosphan@gentoo.org> fung-calc-1.3.2b.ebuild:
+ Fixing sandbox violations (bug #49865)
+
+ 22 Apr 2004; Dominik Stadler <centic@gentoo.org> fung-calc-1.3.2b.ebuild:
+ Changed based on comments from squinky86, fung-calc requires kdebase, it's
+ not optional.
+
+ 19 Apr 2004; David Holm <dholm@gentoo.org> fung-calc-1.3.2b.ebuild:
+ Added to ~ppc.
+
+*fung-calc-1.3.2b (18 Apr 2004)
+
+ 18 Apr 2004; Dominik Stadler <centic@gentoo.org> +fung-calc-1.3.2b.ebuild:
+ Add new ebuild, see Bug 21378. Submitter were Jon Hood and Björn Lindström
+
diff --git a/sci-calculators/fung-calc/Manifest b/sci-calculators/fung-calc/Manifest
new file mode 100644
index 000000000000..9d9046243be6
--- /dev/null
+++ b/sci-calculators/fung-calc/Manifest
@@ -0,0 +1,7 @@
+MD5 a7fe53193422cf12acb7054a959dc415 fung-calc-1.3.2b.ebuild 987
+MD5 2fd8bd581f5d1d9eb8247910188711a3 ChangeLog 1506
+MD5 201497e376059503f8b7afd504d41023 metadata.xml 179
+MD5 7c91a4b480fa01a6b4bfa95814ad31bd files/fung-calc-gcc34-fix 679
+MD5 b0fb80ab9ac4825cc0a64bc59c7fcc3b files/digest-fung-calc-1.3.2b 69
+MD5 1f03bfb698d9118e85657502d1faf8c7 files/fung-calc-fPIC 1150
+MD5 93c4730063f2245c0e1608b2a2d8c731 files/fung-calc-1.3.2b-configure.patch 3567
diff --git a/sci-calculators/fung-calc/files/digest-fung-calc-1.3.2b b/sci-calculators/fung-calc/files/digest-fung-calc-1.3.2b
new file mode 100644
index 000000000000..0638483d3f52
--- /dev/null
+++ b/sci-calculators/fung-calc/files/digest-fung-calc-1.3.2b
@@ -0,0 +1 @@
+MD5 bae7a2d39fd6658d4aa181ddc73bd5d5 fung-calc-1.3.2b.tar.gz 1123189
diff --git a/sci-calculators/fung-calc/files/fung-calc-1.3.2b-configure.patch b/sci-calculators/fung-calc/files/fung-calc-1.3.2b-configure.patch
new file mode 100644
index 000000000000..ebb514f26753
--- /dev/null
+++ b/sci-calculators/fung-calc/files/fung-calc-1.3.2b-configure.patch
@@ -0,0 +1,141 @@
+--- configure.orig 2004-10-27 10:24:21.005162544 +0200
++++ configure 2004-10-27 10:24:58.224504344 +0200
+@@ -23722,138 +23722,6 @@
+ fi
+
+
+- echo "$as_me:$LINENO: checking for mcopidl" >&5
+-echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
+- if test -n "$MCOPIDL"; then
+- kde_cv_path="$MCOPIDL";
+- else
+- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
+-
+- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+- kde_cv_path="NONE"
+- dirs="$kde_default_bindirs"
+- kde_save_IFS=$IFS
+- IFS=':'
+- for dir in $PATH; do
+- dirs="$dirs $dir"
+- done
+- IFS=$kde_save_IFS
+-
+- for dir in $dirs; do
+- if test -x "$dir/mcopidl"; then
+- if test -n ""
+- then
+- evalstr="$dir/mcopidl 2>&1 "
+- if eval $evalstr; then
+- kde_cv_path="$dir/mcopidl"
+- break
+- fi
+- else
+- kde_cv_path="$dir/mcopidl"
+- break
+- fi
+- fi
+- done
+-
+- eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+- fi
+-
+- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+- echo "$as_me:$LINENO: result: not found" >&5
+-echo "${ECHO_T}not found" >&6
+-
+- { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
+-Please check whether you installed aRts correctly.
+-" >&5
+-echo "$as_me: error: The important program mcopidl was not found!
+-Please check whether you installed aRts correctly.
+-" >&2;}
+- { (exit 1); exit 1; }; }
+-
+- else
+- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+-echo "${ECHO_T}$kde_cv_path" >&6
+- MCOPIDL=$kde_cv_path
+-
+- fi
+-
+-
+- echo "$as_me:$LINENO: checking for artsc-config" >&5
+-echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
+- if test -n "$ARTSCCONFIG"; then
+- kde_cv_path="$ARTSCCONFIG";
+- else
+- kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
+-
+- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+- kde_cv_path="NONE"
+- dirs="$kde_default_bindirs"
+- kde_save_IFS=$IFS
+- IFS=':'
+- for dir in $PATH; do
+- dirs="$dirs $dir"
+- done
+- IFS=$kde_save_IFS
+-
+- for dir in $dirs; do
+- if test -x "$dir/artsc-config"; then
+- if test -n ""
+- then
+- evalstr="$dir/artsc-config 2>&1 "
+- if eval $evalstr; then
+- kde_cv_path="$dir/artsc-config"
+- break
+- fi
+- else
+- kde_cv_path="$dir/artsc-config"
+- break
+- fi
+- fi
+- done
+-
+- eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+- fi
+-
+- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+- echo "$as_me:$LINENO: result: not found" >&5
+-echo "${ECHO_T}not found" >&6
+-
+- { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
+-Please check whether you installed aRts correctly.
+-" >&5
+-echo "$as_me: error: The important program artsc-config was not found!
+-Please check whether you installed aRts correctly.
+-" >&2;}
+- { (exit 1); exit 1; }; }
+-
+- else
+- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+-echo "${ECHO_T}$kde_cv_path" >&6
+- ARTSCCONFIG=$kde_cv_path
+-
+- fi
+-
+-
+ echo "$as_me:$LINENO: checking for kde-config" >&5
+ echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
+ if test -n "$KDECONFIG"; then
diff --git a/sci-calculators/fung-calc/files/fung-calc-fPIC b/sci-calculators/fung-calc/files/fung-calc-fPIC
new file mode 100644
index 000000000000..a9c49c7a6a77
--- /dev/null
+++ b/sci-calculators/fung-calc/files/fung-calc-fPIC
@@ -0,0 +1,41 @@
+diff -Naur libfungcalcP/Makefile.in libfungcalc/Makefile.in
+--- src/libfungcalcP/Makefile.in 2004-07-31 21:42:00.546760608 +0100
++++ src/libfungcalc/Makefile.in 2003-07-19 06:04:22.000000000 +0100
+@@ -51,14 +51,14 @@
+ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ CONF_FILES = @CONF_FILES@
+ CPP = @CPP@
+-CPPFLAGS = @CPPFLAGS@
++CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXDEPMODE = @CXXDEPMODE@
+-CXXFLAGS = @CXXFLAGS@
++CXXFLAGS = @CXXFLAGS@ -fPIC
+ CYGPATH_W = @CYGPATH_W@
+ DCOPIDL = @DCOPIDL@
+ DCOPIDL2CPP = @DCOPIDL2CPP@
+diff -Naur libfungcalcuiP/Makefile.in libfungcalcui/Makefile.in
+--- src/libfungcalcuiP/Makefile.in 2004-07-31 21:42:09.651376496 +0100
++++ src/libfungcalcui/Makefile.in 2003-07-19 06:04:22.000000000 +0100
+@@ -51,14 +51,14 @@
+ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ CONF_FILES = @CONF_FILES@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXDEPMODE = @CXXDEPMODE@
+-CXXFLAGS = @CXXFLAGS@
++CXXFLAGS = @CXXFLAGS@ -fPIC
+ CYGPATH_W = @CYGPATH_W@
+ DCOPIDL = @DCOPIDL@
+ DCOPIDL2CPP = @DCOPIDL2CPP@
diff --git a/sci-calculators/fung-calc/files/fung-calc-gcc34-fix b/sci-calculators/fung-calc/files/fung-calc-gcc34-fix
new file mode 100644
index 000000000000..a0d58e1c4400
--- /dev/null
+++ b/sci-calculators/fung-calc/files/fung-calc-gcc34-fix
@@ -0,0 +1,29 @@
+--- orig/src/libfungcalc/fparser/fparser.cc 2003-07-04 00:22:01.000000000 +0100
+--- new/src/libfungcalc/fparser/fparser.cc 2003-07-04 00:22:01.000000000 +0100
+@@ -163,7 +163,7 @@
+ }
+ return 0;
+ }
+-};
++}
+
+ //---------------------------------------------------------------------------
+ // Constructors and destructors
+@@ -236,7 +236,7 @@
+ }
+ return true;
+ }
+-};
++}
+
+ bool FunctionParser::isValidName(const std::string& name)
+ {
+@@ -361,7 +361,7 @@
+ {
+ while(F[Ind] && F[Ind] == ' ') ++Ind;
+ }
+-};
++}
+
+ // Returns an iterator to the variable with the same name as 'F', or to
+ // Variables.end() if no such variable exists:
diff --git a/sci-calculators/fung-calc/fung-calc-1.3.2b.ebuild b/sci-calculators/fung-calc/fung-calc-1.3.2b.ebuild
new file mode 100644
index 000000000000..06cfbd93677b
--- /dev/null
+++ b/sci-calculators/fung-calc/fung-calc-1.3.2b.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/fung-calc/fung-calc-1.3.2b.ebuild,v 1.1 2004/12/24 14:53:02 ribosome Exp $
+
+inherit kde eutils flag-o-matic
+
+IUSE="opengl"
+
+DESCRIPTION="Scientific Graphing Calculator"
+HOMEPAGE="http://fung-calc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+DEPEND=">=sys-libs/zlib-1
+ >=media-libs/libpng-1.2
+ >=media-libs/jpeg-6
+ virtual/libc
+ opengl? ( virtual/opengl )
+ >=kde-base/kdebase-3.1"
+
+need-kde 3.1
+need-qt 3.1
+
+src_unpack() {
+ kde_src_unpack
+
+ epatch ${FILESDIR}/fung-calc-fPIC
+ epatch ${FILESDIR}/fung-calc-gcc34-fix
+ useq arts || epatch ${FILESDIR}/fung-calc-1.3.2b-configure.patch
+}
+
+src_compile() {
+ kde_src_compile myconf
+
+ use opengl || myconf="${myconf} --disable-glgraph"
+ # use kde || myconf="${myconf} --disable-kde-app"
+
+ kde_src_compile configure make
+}
diff --git a/sci-calculators/fung-calc/metadata.xml b/sci-calculators/fung-calc/metadata.xml
new file mode 100644
index 000000000000..c215d35366c4
--- /dev/null
+++ b/sci-calculators/fung-calc/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<herd>kde-other</herd>
+</pkgmetadata>