Import EdenMath, the GNUstep port of the scientific calculator, originally written for Mac OS X.

OK landry@, jasper@
This commit is contained in:
sebastia 2011-05-24 14:01:48 +00:00
parent a97f833c81
commit 67b60fccb5
6 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/24 14:01:48 sebastia Exp $
COMMENT = GNUstep based scientific calcualtor
DISTNAME = EdenMath_GNUstep-1.1.1
HOMEPAGE = http://www.eskimo.com/~pburns/EdenMath/
MASTER_SITES = ${HOMEPAGE}/files/
MODULES = x11/gnustep
WANTLIB += c m pthread
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnustep/EdenMath_GNUstep-1.1.1.tar.gz) = lMqxjsqrEOuZJOtgtVb4bg==
RMD160 (gnustep/EdenMath_GNUstep-1.1.1.tar.gz) = x9c6vZ40PNEW3JwVGXA1Psdj0Ms=
SHA1 (gnustep/EdenMath_GNUstep-1.1.1.tar.gz) = jLMG8M+yOa+EuBSkDaaLac3zBp8=
SHA256 (gnustep/EdenMath_GNUstep-1.1.1.tar.gz) = +xSaiYuuDwjLhu+jiPKEfB3f5qZzj07m3n7qosnMRE8=
SIZE (gnustep/EdenMath_GNUstep-1.1.1.tar.gz) = 39807

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-EMController_m,v 1.1.1.1 2011/05/24 14:01:48 sebastia Exp $
fix for gcc-2.95
--- EMController.m.orig Tue May 24 09:37:53 2011
+++ EMController.m Tue May 24 09:41:24 2011
@@ -38,10 +38,13 @@
// -------------------------------------------------------
- (void)awakeFromNib
{
+#ifdef GNUSTEP
+ id tempView;
+#endif
[[displayField window] makeKeyAndOrderFront:self];
#ifdef GNUSTEP
- id tempView = [[[displayField window] contentView] viewWithTag: 42];
+ tempView = [[[displayField window] contentView] viewWithTag: 42];
[[tempView cellWithTag: 12] setTarget: self];
[[tempView cellWithTag: 12] setAction: @selector(setDegree:)];
[[tempView cellWithTag: 13] setTarget: self];

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-EMResponder_h,v 1.1.1.1 2011/05/24 14:01:48 sebastia Exp $
true may alredy be defined (warning seen on sparc)
--- EMResponder.h.orig Tue May 24 11:14:30 2011
+++ EMResponder.h Tue May 24 11:14:45 2011
@@ -9,7 +9,7 @@
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
-#ifdef GNUSTEP
+#ifndef true
#define true 1
#endif

View File

@ -0,0 +1,2 @@
This is the GNUstep port of EdenMath, a scentific calculator originally
written for Mac OS X.

View File

@ -0,0 +1,26 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/24 14:01:48 sebastia Exp $
bin/EdenMath
libexec/GNUstep/
libexec/GNUstep/EdenMath.app/
@bin libexec/GNUstep/EdenMath.app/EdenMath
libexec/GNUstep/EdenMath.app/Resources/
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/10x.tiff
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/data.classes
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/data.info
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/ex.tiff
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/objects.gorm
libexec/GNUstep/EdenMath.app/Resources/Bulgarian.lproj/MainMenu.gorm/xy.tiff
libexec/GNUstep/EdenMath.app/Resources/EdenMath.desktop
libexec/GNUstep/EdenMath.app/Resources/EdenMath.tiff
libexec/GNUstep/EdenMath.app/Resources/English.lproj/
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/10x.tiff
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/data.classes
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/data.info
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/ex.tiff
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/objects.gorm
libexec/GNUstep/EdenMath.app/Resources/English.lproj/MainMenu.gorm/xy.tiff
libexec/GNUstep/EdenMath.app/Resources/Info-gnustep.plist
libexec/GNUstep/EdenMath.app/stamp.make