Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 875

Summary: Updated ebuild for gkrellmms
Product: Gentoo Linux Reporter: Seemant Kulleen <seemantk>
Component: New packagesAssignee: Seemant Kulleen <seemantk>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: author's patch to make gkrellmms compile for the new gkrellm-1.2.9

Description Seemant Kulleen 2002-02-27 07:54:40 UTC
Hello to my Gentoo friends,

With the new gkrellm 1.2.9 in portage, it seems that gkrellmms is not compiling.
 This is a known bug in gkrellmms, but the author has a patch for it.  The
attachment to this message contains the author's patch to be placed in
${FILESDIR}, and below is the patch to make gkrellmms-0.5.5-r1.ebuild file:

Thanks,

Seemant


---Cut here



--- gkrellmms-0.5.5.ebuild      Wed Feb 27 05:48:54 2002
+++ gkrellmms-0.5.5-r1.ebuild   Wed Feb 27 05:40:31 2002
@@ -1,22 +1,28 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License, v2 or later
-# Author Ben Lutgens <blutgens@gentoo.org>
-# $Header: /home/cvsroot/gentoo-x86/media-sound/gkrellmms-0.5.5.ebuild
-# 26 Apr 2001 21:31 CST blutgens Exp $
-
-#P=
-A=${P}.tar.gz
-S=${WORKDIR}/${PN}
+# Author Ben Lutgens <blutgens@gentoo.org>, updated for new Gkrellm by Seemant
+# $Header$
+
+NP=gkrellmms
+S=${WORKDIR}/${NP}
 DESCRIPTION="A sweet plugin to controll xmms from gkrellm"
-SRC_URI="http://gkrellm.luon.net/files/${A}"
+SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
+#http://web.wt.net/~billw/gkrellm/Plugins/gkrellmms-patch-0.5.5"
 HOMEPAGE="http://gkrellm.luon.net/gkrellm/Plugins.html"
 
-DEPEND=">=app-admin/gkrellm-1.0.6
+DEPEND=">=app-admin/gkrellm-1.2.5
         >=media-sound/xmms-1.2.4"
 
-src_compile() {
 
-    try make
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       patch -p0 < ${FILESDIR}/${NP}-patch-0.5.5 || die
+}
+
+src_compile() {
+       
+       emake || die
 
 }
Comment 1 Seemant Kulleen 2002-02-27 07:55:37 UTC
Created attachment 248 [details, diff]
author's patch to make gkrellmms compile for the new gkrellm-1.2.9

This is the patch, as obtained from gkrellm.net for gkrellmms plugin