Permalink
Browse files

grip: Remove ebuild, mainline portage has the same fix now.

  • Loading branch information...
1 parent 62de6be commit d609462ccd6a4f752f83e1ea2f4af42fda80cb7c @bruceg committed Feb 4, 2012
@@ -1,4 +0,0 @@
-AUX grip-3.3.1-id3v2.patch 799 RMD160 87b7a145b96697843853a3bfb231ccbd1f7c6136 SHA1 693a4793893c2fff8a7f98d1dcee71c0ee6bfe90 SHA256 66e48c936beb2a9b8b6f41006b285fa4098a629487be12a23a60becc4b514c39
-AUX grip-3.3.1-implicit-declaration.patch 673 RMD160 564992357b66ad07dbe4dc483e44c0704d0ae4f1 SHA1 28c81cae8e1a9023f029cf340ca67cefa5710af9 SHA256 1ec5fdb74ccc75715befdc6415b5d180b540482b2d9c948d43af1adb5bc57509
-DIST grip-3.3.1.tar.gz 812562 RMD160 ec523457b06505e6ec98605badcacd5085599676 SHA1 58ef51fbddf981a189f8b5b39774e3bd6862127d SHA256 d46394a1062ed066f9c633b010fd1059e63d9ed791bbb7a85bc6567cf0fd66fd
-EBUILD grip-3.3.1-r3.ebuild 1339 RMD160 2ee55ddeb9e6f93548a07cdaf0b6ab1957a4b6cd SHA1 bb0e106ceabb4719279901414c295d8dc7b031d4 SHA256 0d9ee3df38a3f1227f9c6b048a3901af553e905e9120511b4455285bcd1ab608
@@ -1,29 +0,0 @@
-diff -ur grip-3.3.1.orig/src/id3.c grip-3.3.1/src/id3.c
---- grip-3.3.1.orig/src/id3.c 2010-04-24 10:17:23.000000000 +0200
-+++ grip-3.3.1/src/id3.c 2010-04-24 10:16:42.000000000 +0200
-@@ -252,8 +252,8 @@
-
- if ( frames[ i ] ) {
- char *c_data = NULL;
-- char gen[ 5 ] = "( )";
-- char trk[ 4 ] = " ";
-+ char gen[ 6 ] = "( )"; /* max unsigned char: 255 */
-+ char trk[ 3 ] = " "; /* max CDDA tracks: 99 */
-
- switch( frameids[ i ] ) {
- case ID3FID_TITLE:
-@@ -278,12 +278,12 @@
-
- case ID3FID_CONTENTTYPE:
- c_data = gen;
-- sprintf( gen, "(%d)", genre ); /* XXX */
-+ snprintf( gen, 6, "(%d)", genre );
- break;
-
- case ID3FID_TRACKNUM:
- c_data = trk;
-- sprintf( trk, "%d", tracknum ); /* XXX */
-+ snprintf( trk, 3, "%d", tracknum );
- break;
-
- default:
@@ -1,32 +0,0 @@
---- grip-3.3.1/src/status_window.c
-+++ grip-3.3.1/src/status_window.c
-@@ -23,6 +23,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <unistd.h>
-+#include <string.h>
- #include <fcntl.h>
- #include <vte/vte.h>
- #include "status_window.h"
---- grip-3.3.1/src/tray.c
-+++ grip-3.3.1/src/tray.c
-@@ -20,6 +20,9 @@
- * USA
- */
-
-+#include "cdplay.h"
-+#include "common.h"
-+#include "rip.h"
- #include "tray.h"
- #include "../pixmaps/rip1.xpm"
- #include "../pixmaps/menuplay.xpm"
---- grip-3.3.1/src/cdplay.c
-+++ grip-3.3.1/src/cdplay.c
-@@ -28,6 +28,7 @@
- #include "cddev.h"
- #include "discedit.h"
- #include "dialog.h"
-+#include "tray.h"
- #include "rip.h"
- #include "grip_id3.h"
-
@@ -1,51 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/grip/grip-3.3.1-r2.ebuild,v 1.8 2009/06/25 17:55:58 armin76 Exp $
-
-EAPI=2
-inherit eutils flag-o-matic toolchain-funcs libtool
-
-DESCRIPTION="GTK+ based Audio CD Player/Ripper."
-HOMEPAGE="http://www.nostatic.org/grip"
-SRC_URI="mirror://sourceforge/grip/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="nls vorbis"
-
-RDEPEND=">=x11-libs/gtk+-2.2:2
- x11-libs/vte
- media-sound/lame
- media-sound/cdparanoia
- >=media-libs/id3lib-3.8.3
- >=gnome-base/libgnomeui-2.2.0
- >=gnome-base/orbit-2
- net-misc/curl
- gnome-extra/yelp
- vorbis? ( media-sound/vorbis-tools )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-implicit-declaration.patch
- epatch "${FILESDIR}"/${P}-id3v2.patch
- elibtoolize
-}
-
-src_configure() {
- # Bug #69536
- [[ $(tc-arch) == "x86" ]] && append-flags "-mno-sse"
-
- strip-linguas be bg ca de en en_CA en_GB en_US es fi fr hu it ja nl pl_PL pt_BR ru zh_CN zh_HK zh_TW
-
- econf \
- --disable-dependency-tracking \
- $(use_enable nls)
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS CREDITS ChangeLog README TODO
-}

0 comments on commit d609462

Please sign in to comment.