You are not logged in.

#1 2005-03-14 01:38:27

yak8998
Member
Registered: 2004-03-01
Posts: 143

[req] fung-calc

http://fung-calc.sourceforge.net/

this would be a godsend, itd be much appreciated if someone could build for this. I dont have the time at the moment to even give it a quick shot. thanks


"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols

Offline

#2 2005-03-14 15:28:39

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

Re: [req] fung-calc

In spite of that this is in QT its a good program   wink

PKGBUILD

# Contributor: Krzysiek Wojszko <w dot krzysiek at gmail dot com>
pkgname=fung-calc
pkgver=1.3.2b
pkgrel=1
pkgdesc="Fung-Calc is a free, open source advanced, yet easy to use, graphing calculator for Linux using Qt"
url="http://fung-calc.sourceforge.net"
license="GPL"
depends=('qt' 'kdelibs' 'glut' 'x-server')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://ovh.dl.sourceforge.net/sourceforge/fung-calc/$pkgname-$pkgver.tar.gz 
fparser.cc.patch)


md5sums=()

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  patch src/libfungcalc/fparser/fparser.cc < ../fparser.cc.patch
  sed -i 's@LIBS =  -lm -lGLU -lglut@LIBS =  -lm -lGLU -lglut -lXi@g' Makefile
  sed -i 's@LIBS =  -lm -lGLU -lglut@LIBS =  -lm -lGLU -lglut -lXi@g' src/Makefile
  make || return 1
  make DESTDIR=$startdir/pkg install
}

fparser.cc.patch

--- src/fung-calc-1.3.2b/src/libfungcalc/fparser/fparser.cc    2003-07-04 01:22:01.000000000 +0200
+++ fparser.cc    2005-03-14 14:13:13.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:

Greetings
Krzysiek Wojszko

Offline

Board footer

Powered by FluxBB