Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gkrellm2 plugins compile...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Sun Aug 25, 2002 2:23 pm    Post subject: gkrellm2 plugins compile... Reply with quote

i emerged gkrellm2 earlier this morning, and its sweet =]

but when i tried emerging _any_ of the plugins for it, i got strange errors
i'll paste only one of the logs for length's sake:

root@Beast freezer # emerge gkrellmms
Calculating dependencies ...done!
>>> emerge x11-misc/gkrellmms-0.5.6 to /
>>> md5 ;-) gkrellmms-0.5.6.tar.gz
>>> Unpacking source...
>>> Unpacking gkrellmms-0.5.6.tar.gz
>>> Source unpacked.
gcc -march=pentium -O3 -pipe -fomit-frame-pointer -O2 -Wall -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` `xmms-config --cflags` -march=pentium -O3 -pipe -fomit-frame-pointer -c -o gkrellmms.o gkrellmms.c
gcc -march=pentium -O3 -pipe -fomit-frame-pointer -O2 -Wall -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` `xmms-config --cflags` -march=pentium -O3 -pipe -fomit-frame-pointer -c -o options.o options.c
/usr/bin/imlib-config: test: !=: unary operator expected
/usr/bin/imlib-config: test: !=: unary operator expected
In file included from gkrellmms.c:21:
gkrellmms.h:21: gkrellm/gkrellm.h: No such file or directory
In file included from options.c:21:
gkrellmms.h:21: gkrellm/gkrellm.h: No such file or directory
In file included from gkrellmms.c:21:
gkrellmms.h:104: parse error before `*'
gkrellmms.h:104: warning: type defaults to `int' in declaration of `running_factory'
gkrellmms.h:104: warning: data definition has no type or storage class
gkrellmms.h:105: parse error before `*'
gkrellmms.h:105: warning: type defaults to `int' in declaration of `not_running_factory'
gkrellmms.h:105: warning: data definition has no type or storage class
gkrellmms.h:106: parse error before `*'
gkrellmms.h:106: warning: type defaults to `int' in declaration of `pl_factory'
gkrellmms.h:106: warning: data definition has no type or storage class
gkrellmms.h:110: parse error before `*'
gkrellmms.h:110: warning: type defaults to `int' in declaration of `time_bar'
gkrellmms.h:110: warning: data definition has no type or storage class
gkrellmms.h:144: parse error before `*'
gkrellmms.h:144: warning: type defaults to `int' in declaration of `options_menu_factory'
gkrellmms.h:144: warning: data definition has no type or storage class
gkrellmms.h:145: parse error before `*'
gkrellmms.h:147: parse error before `*'
gkrellmms.h:149: parse error before `*'
gkrellmms.h:153: parse error before `*'
gkrellmms.h:156: parse error before `*'
gkrellmms.h:158: parse error before `*'
gkrellmms.h:158: warning: type defaults to `int' in declaration of `playlist_menu_factory'
gkrellmms.h:158: warning: data definition has no type or storage class
In file included from options.c:21:
gkrellmms.h:104: parse error before `*'
gkrellmms.h:104: warning: type defaults to `int' in declaration of `running_factory'
gkrellmms.h:104: warning: data definition has no type or storage class
gkrellmms.h:105: parse error before `*'

[...] about 15 pages of stuff like that [...]

gkrellmms.c:1053: warning: excess elements in scalar initializer
gkrellmms.c:1053: warning: (near initialization for `plugin_mon')
gkrellmms.c:1053: warning: data definition has no type or storage class
gkrellmms.c:1055: parse error before `*'
gkrellmms.c:1057: warning: return-type defaults to `int'
gkrellmms.c: In function `init_plugin':
gkrellmms.c:1078: warning: implicit declaration of function `homedir'
gkrellmms.c:1078: `GKRELLM_DATA_DIR' undeclared (first use in this function)
gkrellmms.c:1078: warning: format argument is not a pointer (arg 2)
gkrellmms.c: At top level:
gkrellmms.c:348: warning: `slider_motion' defined but not used
gkrellmms.c:378: warning: `panel_button_release' defined but not used
gkrellmms.c:443: warning: `panel_button_press' defined but not used
gkrellmms.c:492: warning: `scroll_bar_motion' defined but not used
make: *** [gkrellmms.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [options.o] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/x11-misc/gkrellmms/gkrellmms-0.5.6.ebuild .



anyone know what might be causing this? id really like to try those plugins out:\
Back to top
View user's profile Send private message
ViCToR:
n00b
n00b


Joined: 16 Aug 2002
Posts: 46
Location: Barcelona, ES

PostPosted: Sun Aug 25, 2002 4:15 pm    Post subject: Reply with quote

Looks like gkrellm's 1.x plugins are not compatible with gkrellm 2.0, these plugins look for gkrellm 1.x header files and won't find them, so that you can't emerge them succesfully.

There are already a few plugins updated for gkrellm 2.0:
http://web.wt.net/~billw/gkrellm/Plugins.html

Greets,
_________________
.:: ViCToR ::.
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Sun Aug 25, 2002 4:34 pm    Post subject: Reply with quote

I also had this problem so I just temporarily masked gkrellm greater than version 1.2.13 in /usr/portage/profiles/package.mask. The plugins only work with 1.X versions and they are more important to me than having the updated version of gkrellm. Just thought I would let people know how I got around this.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Lockup
Guru
Guru


Joined: 25 Jul 2002
Posts: 430

PostPosted: Sun Aug 25, 2002 4:49 pm    Post subject: Reply with quote

k i will unemerge it and emerge the older vers
thanks
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Sep 02, 2002 6:18 pm    Post subject: Reply with quote

This ebuild works for xmms plugin for Gkrelmm2

Quote:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/x11-plugins/gkrellmms/gkrellmms-2.1.ebuild

S=${WORKDIR}/${PN}
DESCRIPTION="A sweet plugin to controll xmms from gkrellm"
SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
HOMEPAGE="http://gkrellm.luon.net/gkrellm/Plugins.html"

DEPEND=">=app-admin/gkrellm-2.0*
=media-sound/xmms-1.2*"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"

src_compile() {
emake || die
}

src_install () {
exeinto /usr/lib/gkrellm2/plugins
doexe gkrellmms.so
dodoc README Changelog FAQ Themes
}
Back to top
View user's profile Send private message
ViCToR:
n00b
n00b


Joined: 16 Aug 2002
Posts: 46
Location: Barcelona, ES

PostPosted: Mon Sep 02, 2002 7:59 pm    Post subject: gkrellm-volume-2.0.1.ebuild Reply with quote

Here goes the ebuild for gkrellm-volume-2.0.1:

Code:
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/x11-plugins/gkrellmms/gkrellm-volume-2.0.1.ebuild

S=${WORKDIR}/gkrellm-volume2-2.0.1/
DESCRIPTION="A mixer control plugin for gkrellm"
SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
HOMEPAGE="http://gkrellm.luon.net/volume.phtml"

DEPEND=">=app-admin/gkrellm-2.0.0"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc sparc64"

src_compile() {
        emake || die
}

src_install () {
        insinto /usr/lib/gkrellm2/plugins
        doins volume.so
        dodoc README Changelog
}


Install instructions:

1) $ cd /usr/portage/x11-plugins/gkrellm-volume

2) Copy and paste this code in a file named: gkrellm-volume-2.0.1.ebuild

3) Generate digest: $ ebuild gkrellm-volume-2.0.1.ebuild digest

4) $ emerge -u gkrellm-volume

5) Enjoy!
_________________
.:: ViCToR ::.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Sep 02, 2002 8:29 pm    Post subject: Re: gkrellm-volume-2.0.1.ebuild Reply with quote

ViCToR: wrote:
Here goes the ebuild for gkrellm-volume-2.0.1:

5) Enjoy!


Hehe ViCToR, I just submitted an ebuild for the volume plugin myself about an hour ago :D
It's not efficient if people are so fast :D
https://bugs.gentoo.org/show_bug.cgi?id=7388
Back to top
View user's profile Send private message
ViCToR:
n00b
n00b


Joined: 16 Aug 2002
Posts: 46
Location: Barcelona, ES

PostPosted: Mon Sep 02, 2002 8:35 pm    Post subject: Reply with quote

Hehe you won it by two bugs

https://bugs.gentoo.org/show_bug.cgi?id=7390

At least I hope the "install instructions" are useful for someone :)
_________________
.:: ViCToR ::.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum