summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-10 00:11:32 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-10 00:11:32 +0000
commitb24508dba4226c9ef1264e0d78bd8a1fbb2b6f07 (patch)
treeaa65a6fa5150fee6fe95864c5c884222da6abbd6 /sci-calculators
parentmove grpn to sci-calculators (diff)
downloadgentoo-2-b24508dba4226c9ef1264e0d78bd8a1fbb2b6f07.tar.gz
gentoo-2-b24508dba4226c9ef1264e0d78bd8a1fbb2b6f07.tar.bz2
gentoo-2-b24508dba4226c9ef1264e0d78bd8a1fbb2b6f07.zip
commit grpn
(Portage version: 2.1.5_rc7, RepoMan options: --force)
Diffstat (limited to 'sci-calculators')
-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..d6a6e4932b42
--- /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 937 RMD160 fa021ff54f1827b33ac6f300805c1e7768ecc4f2 SHA1 50f9f569753f8f0fda9fb86e5684f5a5f3f8ca4b SHA256 443e3ee7673c5ee496ce15ec248d33f2f872ba3d9a350dd98c1a194ba3983f84
+EBUILD grpn-1.1.2.ebuild 765 RMD160 b55af5bcd6a4402628775aceb399cc738404a06a SHA1 af7958a510c8e30beba1488e6b55e57005089f72 SHA256 3ab70a7688c311e89b76895cc647fb88119436ee46603e39480ef86b2a226524
+MISC ChangeLog 1408 RMD160 8008dfb842274673ebc3daca029bcc2213d2e68f SHA1 f4bbe80468130b6f53a1e56d0a0e3b828c02da2d SHA256 65b713569ccc271f5c1dc396e2755ca2365805c67176b0068fc2768ead7971cb
+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>