summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/grpn')
-rw-r--r--sci-calculators/grpn/ChangeLog43
-rw-r--r--sci-calculators/grpn/Manifest6
-rw-r--r--sci-calculators/grpn/files/grpn-1.1.2-implicit-declarations.patch89
-rw-r--r--sci-calculators/grpn/grpn-1.1.2-r1.ebuild38
-rw-r--r--sci-calculators/grpn/grpn-1.1.2.ebuild29
-rw-r--r--sci-calculators/grpn/metadata.xml8
6 files changed, 213 insertions, 0 deletions
diff --git a/sci-calculators/grpn/ChangeLog b/sci-calculators/grpn/ChangeLog
new file mode 100644
index 000000000000..9e6817cd691d
--- /dev/null
+++ b/sci-calculators/grpn/ChangeLog
@@ -0,0 +1,43 @@
+# ChangeLog for x11-misc/grpn
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/grpn/ChangeLog,v 1.1 2008/05/10 00:11:32 drac Exp $
+
+ 06 May 2008; Raúl Porcel <armin76@gentoo.org> grpn-1.1.2-r1.ebuild:
+ alpha/x86 stable wrt #220483
+
+ 05 May 2008; Samuli Suominen <drac@gentoo.org> grpn-1.1.2-r1.ebuild:
+ Keyword ~amd64 wrt #219985.
+
+*grpn-1.1.2-r1 (18 Aug 2007)
+
+ 18 Aug 2007; Samuli Suominen <drac@gentoo.org>
+ +files/grpn-1.1.2-implicit-declarations.patch, +grpn-1.1.2-r1.ebuild:
+ New ebuild for QA. Fix implicait declarations..
+
+ 21 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
+ Redigest for Manifest2
+
+ 22 Oct 2006; David Shakaryan <omp@gentoo.org> grpn-1.1.2.ebuild:
+ Remove src_compile.
+
+ 21 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org> grpn-1.1.2.ebuild:
+ Fixed DEPEND for modular X.
+
+ 04 Jul 2005; Jonathan Smith <smithj@gentoo.org> +metadata.xml:
+ added metadata
+
+ 28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 19 Jun 2004; <pyrania@gentoo.org> grpn-1.1.2.ebuild:
+ Removed default ${S}, added IUSE.
+
+ 12 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> grpn-1.1.2.ebuild:
+ Stable on alpha.
+
+*grpn-1.1.2 (18 Jun 2003)
+
+ 18 Jun 2003; Seemant Kulleen <seemant@gentoo.org> grpn-1.1.2.ebuild:
+ new package for reverse polish notation graphical calculator. ebuild submitted
+ by Anders Bo Rasmussen <gentoo@fuzz.dk> in bug #20429
+
diff --git a/sci-calculators/grpn/Manifest b/sci-calculators/grpn/Manifest
new file mode 100644
index 000000000000..02a174d54f73
--- /dev/null
+++ b/sci-calculators/grpn/Manifest
@@ -0,0 +1,6 @@
+AUX grpn-1.1.2-implicit-declarations.patch 2619 RMD160 9222bddc179ab1242d183c381354100efab10bc2 SHA1 0e67290c2a08a91c7d7bfc82b02bec49e21f6aa3 SHA256 57b0920afebbdd120a5083f78e63ad6f5675aaebb5c0f9f1d11da5b9c235a8df
+DIST grpn-1.1.2.tar.gz 46153 RMD160 28a432ec8e4d2095a59440c4e401f12f85d75249 SHA1 c7a6b89d9d9316f89d02b000b77e35a48ec3343b SHA256 396274b31588e9df26f28704e95456bd2c3b859e5aa1740e47143fc27884e560
+EBUILD grpn-1.1.2-r1.ebuild 941 RMD160 fdd30e4b223b76a084875b80249da17dfb903c5b SHA1 49eb1486da0b25ff45b3195493b09cf59c9a7746 SHA256 dd2b686b982beac855c23dbd0c1adee7a9d371ef5c655f7ebc42556090533f81
+EBUILD grpn-1.1.2.ebuild 766 RMD160 9b0341f9bcfa1e15ce131ba765a3753b056e9dea SHA1 63310f5d348bb6815c70504cc9a6018f8c2de12f SHA256 b152a88aca15198433c327c988677768d4bdad26da7cf2e29f7817bc068f1ab4
+MISC ChangeLog 1498 RMD160 5c2b013db3e6cc216598965aaa91f96bd0c1c44b SHA1 1605254e6b6dc59d329ce47ba18873fd78439ddf SHA256 bb103b11d1c437aa2751e2eee4ff44994eae45f08c5c41ec4279061a9c05471f
+MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
diff --git a/sci-calculators/grpn/files/grpn-1.1.2-implicit-declarations.patch b/sci-calculators/grpn/files/grpn-1.1.2-implicit-declarations.patch
new file mode 100644
index 000000000000..750d5b180301
--- /dev/null
+++ b/sci-calculators/grpn/files/grpn-1.1.2-implicit-declarations.patch
@@ -0,0 +1,89 @@
+diff -ur grpn-1.1.2.orig/callback_menu.c grpn-1.1.2/callback_menu.c
+--- grpn-1.1.2.orig/callback_menu.c 2002-04-04 06:46:10.000000000 +0300
++++ grpn-1.1.2/callback_menu.c 2007-08-18 19:07:41.000000000 +0300
+@@ -20,6 +20,7 @@
+ /* callback_menu.h by Paul Wilkins 3/15/97 */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <gtk/gtk.h>
+
+ #include "menu.h"
+diff -ur grpn-1.1.2.orig/complex.c grpn-1.1.2/complex.c
+--- grpn-1.1.2.orig/complex.c 2002-04-04 06:46:10.000000000 +0300
++++ grpn-1.1.2/complex.c 2007-08-18 19:14:56.000000000 +0300
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <math.h>
++#include <string.h>
+
+ #include "complex.h"
+ #include "real.h"
+diff -ur grpn-1.1.2.orig/help.c grpn-1.1.2/help.c
+--- grpn-1.1.2.orig/help.c 2002-04-04 06:46:11.000000000 +0300
++++ grpn-1.1.2/help.c 2007-08-18 19:08:02.000000000 +0300
+@@ -19,6 +19,7 @@
+ */
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <gtk/gtk.h>
+
+ #include "help.h"
+diff -ur grpn-1.1.2.orig/lcd.c grpn-1.1.2/lcd.c
+--- grpn-1.1.2.orig/lcd.c 2002-04-04 06:46:11.000000000 +0300
++++ grpn-1.1.2/lcd.c 2007-08-18 19:06:54.000000000 +0300
+@@ -20,6 +20,8 @@
+ /* lcd.c by Paul Wilkins 3/22/97 */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+
+diff -ur grpn-1.1.2.orig/main.c grpn-1.1.2/main.c
+--- grpn-1.1.2.orig/main.c 2002-04-04 06:46:11.000000000 +0300
++++ grpn-1.1.2/main.c 2007-08-18 19:06:20.000000000 +0300
+@@ -23,6 +23,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #ifdef USE_GNOME
+ #include <gnome.h>
+ #endif
+diff -ur grpn-1.1.2.orig/mode.c grpn-1.1.2/mode.c
+--- grpn-1.1.2.orig/mode.c 2002-04-04 06:46:11.000000000 +0300
++++ grpn-1.1.2/mode.c 2007-08-18 19:08:16.000000000 +0300
+@@ -20,6 +20,7 @@
+ /* setup mode.c by Paul Wilkins 2/8/98 */
+
+ #include <stdio.h>
++#include <string.h>
+ #include <gtk/gtk.h>
+
+ #include "mode.h"
+diff -ur grpn-1.1.2.orig/process_input.c grpn-1.1.2/process_input.c
+--- grpn-1.1.2.orig/process_input.c 2002-04-04 06:46:11.000000000 +0300
++++ grpn-1.1.2/process_input.c 2007-08-18 19:07:31.000000000 +0300
+@@ -20,6 +20,7 @@
+ /* process_input.c by Paul Wilkins 3/21/97 */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+
+diff -ur grpn-1.1.2.orig/run_cmd.c grpn-1.1.2/run_cmd.c
+--- grpn-1.1.2.orig/run_cmd.c 2002-04-04 06:46:11.000000000 +0300
++++ grpn-1.1.2/run_cmd.c 2007-08-18 19:15:11.000000000 +0300
+@@ -20,6 +20,7 @@
+ /* run_cmd.c by Paul Wilkins */
+
+ #include <stdio.h>
++#include <string.h>
+ #include <gtk/gtk.h>
+
+ #include "buttons.h"
diff --git a/sci-calculators/grpn/grpn-1.1.2-r1.ebuild b/sci-calculators/grpn/grpn-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..80bb31fbcb73
--- /dev/null
+++ b/sci-calculators/grpn/grpn-1.1.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/grpn/grpn-1.1.2-r1.ebuild,v 1.1 2008/05/10 00:11:32 drac Exp $
+
+EAPI=1
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a graphical reverse polish notatiton (RPN) calculator for GTK+-1.2"
+HOMEPAGE="http://lashwhip.com/grpn.html"
+SRC_URI="http://lashwhip.com/grpn/${P}.tar.gz"
+
+RDEPEND="x11-libs/gtk+:1"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ~ppc ~sparc x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-implicit-declarations.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+) -DGTK_VER_1_1" \
+ CC=$(tc-getCC) || die "emake failed."
+}
+
+src_install() {
+ dobin grpn || die "dobin failed."
+ doman grpn.1
+ dodoc CHANGES README
+ make_desktop_entry grpn "RPN calculatorc" calc
+}
diff --git a/sci-calculators/grpn/grpn-1.1.2.ebuild b/sci-calculators/grpn/grpn-1.1.2.ebuild
new file mode 100644
index 000000000000..ee3aefb1d944
--- /dev/null
+++ b/sci-calculators/grpn/grpn-1.1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/grpn/grpn-1.1.2.ebuild,v 1.1 2008/05/10 00:11:32 drac Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="GRPN is a Reverse Polish Notation calculator for X"
+HOMEPAGE="http://lashwhip.com/grpn.html"
+SRC_URI="http://lashwhip.com/grpn/${P}.tar.gz"
+
+RDEPEND="=x11-libs/gtk+-1.2*"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ppc ~sparc x86"
+IUSE=""
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+) -DGTK_VER_1_1" \
+ CC=$(tc-getCC) || die "emake failed."
+}
+
+src_install () {
+ dobin grpn || die "dobin failed."
+ doman grpn.1
+ dodoc CHANGES README
+}
diff --git a/sci-calculators/grpn/metadata.xml b/sci-calculators/grpn/metadata.xml
new file mode 100644
index 000000000000..9f3fdee2246b
--- /dev/null
+++ b/sci-calculators/grpn/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>