Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ebuild] Plugin Gaim per supportare Avant-Windows-Navigator
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Mar 23, 2007 4:04 pm    Post subject: [ebuild] Plugin Gaim per supportare Avant-Windows-Navigator Reply with quote

Uso gaim e sono felice,
Uso awn e sono felice (overlay xeffects).

Integrare gaim con awn mi ha reso ancora più felice.

Ecco l'ebuild (nominate il file come gaim-awn-12.ebuild) (graze a Drizzt Do` Urden)

Code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /usr/portage/local/comio/x11-plugins/gaim-awn/gaim-awn-12.ebuild,v 1.1 2007/03/23 17:03:00 comio Exp $

inherit multilib

MY_P="gaim_awn-rev${PV}"

DESCRIPTION="Gaim plugin for avant-window-navigator"
HOMEPAGE="http://code.google.com/p/awn-plugins/"
SRC_URI="http://awn-plugins.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S=${WORKDIR}

DEPEND=">=net-im/gaim-1.0.0
       gnome-extra/avant-window-navigator"
RDEPEND=${DEPEND}

src_install() {
        exeinto /usr/$(get_libdir)/gaim
        doexe gaim_awn.so || die "cannot install gaim_awn.so"
}


quello vecchio:

Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /usr/portage/local/comio/x11-plugins/gaim-awn/gaim-awn-12.ebuild,v 1.1 2007/03/23 17:03:00 comio Exp $

MY_P="gaim_awn-rev${PV}"


DESCRIPTION="Gaim plugin for avant-window-navigator"
HOMEPAGE="http://code.google.com/p/awn-plugins/"
SRC_URI="http://awn-plugins.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"

DEPEND=">=net-im/gaim-1.0.0
       gnome-extra/avant-window-navigator"

src_compile() {
        cd ${WORKDIR}
        make || die "Unable to make!"
}

src_install() {
        cd ${WORKDIR}
        insinto /usr/lib/gaim
        doins gaim_awn.so
}


Ovviamente dovete avere installato awn (io uso quello dell'overlay xeffects).

ciao

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)


Last edited by comio on Mon Mar 26, 2007 5:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
drizztbsd
Retired Dev
Retired Dev


Joined: 21 Nov 2004
Posts: 278
Location: Cesano Maderno

PostPosted: Fri Mar 23, 2007 5:17 pm    Post subject: Reply with quote

Non è per fare il solito pignolo ma bisogna mettere S=${WORKDIR}, usare emake, doexe per i so e deve essere multilib compatibile (dato che è ~amd64) sennò fallisce con multilib-strict.

Per il resto appena arrivo a casa lo provo, grazie :P

Code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /usr/portage/local/comio/x11-plugins/gaim-awn/gaim-awn-12.ebuild,v 1.1 2007/03/23 17:03:00 comio Exp $

MY_P="gaim_awn-rev${PV}"

DESCRIPTION="Gaim plugin for avant-window-navigator"
HOMEPAGE="http://code.google.com/p/awn-plugins/"
SRC_URI="http://awn-plugins.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S=${WORKDIR}

DEPEND=">=net-im/gaim-1.0.0
       gnome-extra/avant-window-navigator"
RDEPEND=${DEPEND}

src_install() {
        exeinto /usr/$(get_libdir)/gaim
        doexe gaim_awn.so || die "cannot install gaim_awn.so"
}

_________________
Gentoo/Alt lead
Gentoo/*BSD and Gentoo/FreeBSD deputy lead
Paludis contributor
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Fri Mar 23, 2007 8:46 pm    Post subject: Reply with quote

Scusate :°
Gaim bene o male lo sappiamo tutti che cosa e', ma awn che sarebbe? Cercando un poco ho trovato che forse e' un "avant window navigator" e l'ho trovato hostato sotto google code (ma lo ha prodotto google?) http://code.google.com/p/avant-window-navigator/ ma non ho capito che ha di speciale, oltre ad essere una barra carina, e che cosa ha da spartire gaim in una barra...

GraSSie per le future delucidazioni!
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Mar 23, 2007 8:49 pm    Post subject: Reply with quote

federico wrote:
Scusate :°
Gaim bene o male lo sappiamo tutti che cosa e', ma awn che sarebbe? Cercando un poco ho trovato che forse e' un "avant window navigator" e l'ho trovato hostato sotto google code (ma lo ha prodotto google?) http://code.google.com/p/avant-window-navigator/ ma non ho capito che ha di speciale, oltre ad essere una barra carina, e che cosa ha da spartire gaim in una barra...

GraSSie per le future delucidazioni!


awn è una barra stile "OsX". Però lo sviluppatore è molto attivo e talentuoso :) Permette, tramite dbus, di poter modificare icone e messaggi. Con il plugin gaim manda alcuni eventi facendo cambiare l'icona della barra. Lo so che in se è una sciocchezza... ma è carina :)

ciao

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Fri Mar 23, 2007 9:38 pm    Post subject: Reply with quote

Sara' talentuoso ma a me la barra "slampeggia" di brutto e di fatti e' inutilizzabile ...
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Fri Mar 23, 2007 11:12 pm    Post subject: Reply with quote

devi avere o beryl o compiz attivo.
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Sat Mar 24, 2007 9:21 am    Post subject: Reply with quote

La barra è bellissima, ogni tanto la scarico da svn e la provo. Purtroppo però io la voglio usare con l'autohide, e capita a volte che sparisca e non si ripresenti più. Quindi devo aspettare ancora, purtroppo, senza autohide occupa troppo spazio.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Mar 24, 2007 12:15 pm    Post subject: Reply with quote

Moved from Forum di discussione italiano to Forum italiano (Italian).
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Mon Mar 26, 2007 2:17 pm    Post subject: Reply with quote

Ehi drizzt io ottengo questo errore con il tuo ebuild
Code:
>>> Install gaim-awn-12 into /var/tmp/portage/x11-plugins/gaim-awn-12/image/ category x11-plugins
/usr/local/portage/x11-plugins/gaim-awn/gaim-awn-12.ebuild: line 23: get_libdir: command not found
e viene creata la cartella /usr/gaim anziché installare in /usr/lib/gaim.
Ora ne servirebbero di equivalenti per gli script di amarok, di listen, di firefox... :)
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Mon Mar 26, 2007 5:44 pm    Post subject: Reply with quote

riverdragon wrote:
Ehi drizzt io ottengo questo errore con il tuo ebuild
Code:
>>> Install gaim-awn-12 into /var/tmp/portage/x11-plugins/gaim-awn-12/image/ category x11-plugins
/usr/local/portage/x11-plugins/gaim-awn/gaim-awn-12.ebuild: line 23: get_libdir: command not found
e viene creata la cartella /usr/gaim anziché installare in /usr/lib/gaim.
Ora ne servirebbero di equivalenti per gli script di amarok, di listen, di firefox... :)


Forse serve ereditare l'eclass multilib, aggiungi:

Code:
inherit multilib

_________________
Running Fast!
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Tue Mar 27, 2007 7:21 pm    Post subject: Reply with quote

Comunque il plugin non sembra funzionare. Comio, da te che fa? Sostituisce l'immagine del contatto con l'icona di awn o sbaglio? Qui vedo solo la normale icona di gaim, ma sfuocata (immagino sia ingrandita da un'immagine piccola).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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