summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-12-01 09:21:01 +0000
committerChris White <chriswhite@gentoo.org>2005-12-01 09:21:01 +0000
commitbb82b61b653905f6e12e0d3b509363d4292163fe (patch)
treee55c316a6385b125fefcea36bf09f2c3ecdf7223 /sys-apps
parentgutter is a tool ! gutter is a tool ! (diff)
downloadhistorical-bb82b61b653905f6e12e0d3b509363d4292163fe.tar.gz
historical-bb82b61b653905f6e12e0d3b509363d4292163fe.tar.bz2
historical-bb82b61b653905f6e12e0d3b509363d4292163fe.zip
removing gmemusage.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/gmemusage/Manifest13
-rw-r--r--sys-apps/gmemusage/files/digest-gmemusage-0.21
-rw-r--r--sys-apps/gmemusage/files/gmemusage-0.2-gentoo.patch105
-rw-r--r--sys-apps/gmemusage/gmemusage-0.2.ebuild47
4 files changed, 0 insertions, 166 deletions
diff --git a/sys-apps/gmemusage/Manifest b/sys-apps/gmemusage/Manifest
deleted file mode 100644
index a8da03f96681..000000000000
--- a/sys-apps/gmemusage/Manifest
+++ /dev/null
@@ -1,13 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 22ec727a0ec4602874a94a0a15095858 files/digest-gmemusage-0.2 68
-MD5 37794dad03f7d6f57d8371956d248021 files/gmemusage-0.2-gentoo.patch 3064
-MD5 5e92c76676a496922732454985346ed3 gmemusage-0.2.ebuild 1205
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDjr7DgIKl8Uu19MoRAm9eAJ9N9Dgb+MjDVyoLI4a5dIgzAcUi9ACfbFwW
-iqZ2ukctV5NEv712jnTVOyk=
-=gEWI
------END PGP SIGNATURE-----
diff --git a/sys-apps/gmemusage/files/digest-gmemusage-0.2 b/sys-apps/gmemusage/files/digest-gmemusage-0.2
deleted file mode 100644
index a17e3208158e..000000000000
--- a/sys-apps/gmemusage/files/digest-gmemusage-0.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 98fccb8a1730830685e52e1f73ae1c34 gmemusage-0.2-082599.tgz 30129
diff --git a/sys-apps/gmemusage/files/gmemusage-0.2-gentoo.patch b/sys-apps/gmemusage/files/gmemusage-0.2-gentoo.patch
deleted file mode 100644
index 4fef1ffeaa17..000000000000
--- a/sys-apps/gmemusage/files/gmemusage-0.2-gentoo.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-diff -ur gmemusage-0.2/gmemusage.h gmemusage-0.2-patched/gmemusage.h
---- gmemusage-0.2/gmemusage.h 1999-08-25 21:23:52.000000000 -0600
-+++ gmemusage-0.2-patched/gmemusage.h 2005-09-16 02:43:19.000000000 -0600
-@@ -30,8 +30,8 @@
- void list (void);
- void drawstring (int x, int y, char *str);
- void drawstringfixed (int x, int y, char *str);
--void drawstringright (int x, int y, char *str, float width);
--void drawstringcenter (int x, int y, char *str, float width);
-+void drawstringright (int x, int y, const char *str, float width);
-+void drawstringcenter (int x, int y, const char *str, float width);
- void refresh (int );
- void display (void);
- void mouseClick (int button, int state, int x, int y);
-diff -ur gmemusage-0.2/util.c gmemusage-0.2-patched/util.c
---- gmemusage-0.2/util.c 1999-08-25 21:23:52.000000000 -0600
-+++ gmemusage-0.2-patched/util.c 2005-09-16 02:43:55.000000000 -0600
-@@ -26,11 +26,15 @@
- */
-
- #include <GL/glut.h>
-+#include <string.h>
-
- #include "TexFont.h"
-
- #include "enum.h"
- #include "extern.h"
-+#include <string.h>
-+#include <stdlib.h>
-+
-
- /*--------------------------------------------------------*/
- void drawstring (int x, int y, char *str)
-@@ -89,17 +93,18 @@
- }
-
- /*--------------------------------------------------------*/
--void drawstringright (int x, int y, char *str, float width)
-+void drawstringright (int x, int y, const char *str, float width)
- {
- int len, i;
-
-
- len = strlen(str);
-+ char *str_ = strdup(str);
-
- switch(g_drawText)
- {
- case BitmapText:
-- glRasterPos2f(x+(width-glutBitmapLength(GLUT_BITMAP_HELVETICA_12, str)), y);
-+ glRasterPos2f(x+(width-glutBitmapLength(GLUT_BITMAP_HELVETICA_12, (const unsigned char*)str)), y);
- for (i=0; i<len; i++)
- glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, str[i]);
- break;
-@@ -107,28 +112,31 @@
- glEnable(GL_TEXTURE_2D);
- glPushMatrix();
- glTranslatef((float)x, (float)y, 0);
-- txfRenderStringRightJustify(helv_txf, str, len, width);
-+ txfRenderStringRightJustify(helv_txf, str_, len, width);
- glPopMatrix();
- glDisable(GL_TEXTURE_2D);
- break;
- default:
- break;
- }
-+
-+ free(str_);
- }
-
-
- /*--------------------------------------------------------*/
--void drawstringcenter (int x, int y, char *str, float width)
-+void drawstringcenter (int x, int y, const char *str, float width)
- {
- int len, i;
-
-
- len = strlen(str);
-+ char *str_ = strdup(str);
-
- switch(g_drawText)
- {
- case BitmapText:
-- glRasterPos2f(x+(width-glutBitmapLength(GLUT_BITMAP_HELVETICA_12, str))/2, y);
-+ glRasterPos2f(x+(width-glutBitmapLength(GLUT_BITMAP_HELVETICA_12, (const unsigned char*)str))/2, y);
- for (i=0; i<len; i++)
- glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, str[i]);
- break;
-@@ -136,12 +144,14 @@
- glEnable(GL_TEXTURE_2D);
- glPushMatrix();
- glTranslatef(x, y, 0);
-- txfRenderStringCenterJustify(helv_txf, str, len, width);
-+ txfRenderStringCenterJustify(helv_txf, str_, len, width);
- glPopMatrix();
- glDisable(GL_TEXTURE_2D);
- break;
- default:
- break;
- }
-+
-+ free(str_);
- }
-
diff --git a/sys-apps/gmemusage/gmemusage-0.2.ebuild b/sys-apps/gmemusage/gmemusage-0.2.ebuild
deleted file mode 100644
index fb8a6550a582..000000000000
--- a/sys-apps/gmemusage/gmemusage-0.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gmemusage/gmemusage-0.2.ebuild,v 1.1.1.1 2005/11/30 09:56:01 chriswhite Exp $
-
-# I need to get md5s from the author.
-# I have personally audited this code for malicious crap and will
-# state that there is nothing obvious. RiverRat (small program)
-
-DESCRIPTION="gmemusage is based on the very useful SGI IRIX utility of the same name."
-HOMEPAGE="http://www.reptilelabour.com/software/gmemusage/index.htm"
-SRC_URI="http://www.reptilelabour.com/software/files/${PN}/${P}-082599.tgz"
-
-inherit eutils
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="${RDEPEND}"
-
-RDEPEND="media-libs/glut
- virtual/x11
- virtual/opengl"
-
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch ${FILESDIR}/${P}-gentoo.patch || die "patch failed"
-
- # custom cflags...
- # multi-lib fix...
- sed -i \
- -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS} -DLINUX:g" \
- -e "s:^LIBS = -L/usr/X11R6/lib:LIBS = -L/usr/X11R6/$(get_libdir):g" \
- Makefile || die "sed-ing failed"
-}
-
-src_compile() {
- emake || die "make failed"
-}
-
-src_install() {
- dobin gmemusage
- dodoc README
-}