Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eMeSeNe
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Sat Apr 07, 2007 6:54 pm    Post subject: eMeSeNe Reply with quote

I have just seen this http://en.wikipedia.org/wiki/EMeSeNe and I thought it could help a lot.

I do not have the expertise to write an ebuild, and that's why I'm recurring to the forum. Here are the source files http://sourceforge.net/project/showfiles.php?group_id=168206

one final question.

Before, when I used Slackware i used checkinstall and the manual installation to install things from source, but here in gentoo how can i install things and then uninstall them, if i am using a source package and not an ebuild?
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Wed Jul 11, 2007 7:12 pm    Post subject: Reply with quote

I've created the svn (trunk) ebuild:
Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

ESVN_REPO_URI="https://emesene.svn.sourceforge.net/svnroot/emesene/trunk/emesene"
ESVN_PROJECT="emesene"
inherit subversion eutils

DESCRIPTION="Platform independent MSN Messenger client written in Python+GTK"
HOMEPAGE="http://www.emesene.org"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"


DEPEND=">=dev-lang/python-2.4.3
   >=x11-libs/gtk+-2.8.20
   >=dev-python/pygtk-2.8.6"

RDEPEND="${DEPEND}"


pkg_setup() {
   eerror "This is a LIVE SVN ebuild."
   eerror "That means there are NO promises it will work."
}


src_install() {

   dodir /usr/share/emesene/
   cp -a ${S}/* ${D}/usr/share/emesene/

   dodir /usr/bin/
   ln -sn /usr/share/emesene/emesene ${D}/usr/bin/emesene

}

pkg_postinst() {
   ewarn "Remember, this stuff is SVN only code so dont cry when"
   ewarn "I break you :)."
   ewarn "If you want to report bugs, go to our forum at http://emesene.org/forums"
   ewarn ""
}

I stuck to svn because emesene is under hard&active development ;)


Last edited by Dottout on Thu Jul 12, 2007 7:41 am; edited 1 time in total
Back to top
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Thu Jul 12, 2007 12:07 am    Post subject: Reply with quote

Hey, thanks for the ebuild~~
It looks nice!

Only one thing, i need to edit /usr/bin/emesene like this
Code:

#!/bin/sh

python /usr/share/emesene/Controller.py
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Jul 12, 2007 9:58 am    Post subject: Reply with quote

fixed with a dirty hack..if anyone know a better solution..
net-im/emesene-999
Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

ESVN_REPO_URI="https://emesene.svn.sourceforge.net/svnroot/emesene/trunk/emesene"
ESVN_PROJECT="emesene"
inherit subversion eutils

DESCRIPTION="Platform independent MSN Messenger client written in Python+GTK"
HOMEPAGE="http://www.emesene.org"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"


DEPEND=">=dev-lang/python-2.4.3
   >=x11-libs/gtk+-2.8.20
   >=dev-python/pygtk-2.8.6"

RDEPEND="${DEPEND}"


pkg_setup() {
   eerror "This is a LIVE SVN ebuild."
   eerror "That means there are NO promises it will work."
}


src_install() {

   dodir /usr/share/emesene/
   cp -a ${S}/* ${D}/usr/share/emesene/
   dodir /usr/bin/
   echo -e '#!/bin/sh \n python /usr/share/emesene/Controller.py'>>/usr/bin/emesene
   chmod +x /usr/bin/emesene
}

pkg_postinst() {
   ewarn "Remember, this stuff is SVN only code so dont cry when"
   ewarn "I break you :)."
   ewarn "If you want to report bugs, go to our forum at http://emesene.org/forums"
   ewarn ""
}
Back to top
View user's profile Send private message
lxnay
Retired Dev
Retired Dev


Joined: 09 Apr 2004
Posts: 661
Location: Italy

PostPosted: Fri Jul 13, 2007 5:26 pm    Post subject: Reply with quote

Hello,
I added a better ebuild on the "sabayon" overlay ;)
_________________
http://www.sabayon.org
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Fri Jul 13, 2007 5:34 pm    Post subject: Reply with quote

great :) my ebuild-writing skills are pretty primitive..
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sat Oct 27, 2007 9:29 pm    Post subject: Reply with quote

current echoing way doesnt work anymore. I filed a small patch against the ebuild to sabayon bugzilla. so, the new ebuild is:
Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

ESVN_REPO_URI="https://emesene.svn.sourceforge.net/svnroot/emesene/trunk/emesene"
ESVN_PROJECT="emesene"
inherit subversion eutils

DESCRIPTION="Platform independent MSN Messenger client written in Python+GTK"
HOMEPAGE="http://www.emesene.org"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"


DEPEND="
        >=dev-lang/python-2.4.3        >=x11-libs/gtk+-2.8.20
        >=dev-python/pygtk-2.8.6
        "

RDEPEND="${DEPEND}"


pkg_setup() {

        ewarn "This is a LIVE SVN ebuild."
        ewarn "That means there are NO promises it will work."

}

src_install() {

        cd ${S}
        dodir /usr/share/emesene
        insinto /usr/share/emesene
        doins -r ./*
        dodir /usr/bin
        dosym /usr/share/emesene/emesene /usr/bin
        exeinto /usr/share/emesene
        doexe emesene

        newicon ${S}/themes/default/icon96.png ${PN}.png
        make_desktop_entry emesene "EmeSeNe" ${PN}.png

}

pkg_postinst() {
        ewarn "Remember, this stuff is SVN only code so dont cry when"
        ewarn "I break you :)."
        ewarn "If you want to report bugs, go to our forum at http://emesene.org/f$
}
[/code]
Back to top
View user's profile Send private message
coolone
Apprentice
Apprentice


Joined: 14 Nov 2006
Posts: 278

PostPosted: Thu Dec 13, 2007 7:42 am    Post subject: Reply with quote

Thank you a lot , it works
_________________
No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Thu Dec 13, 2007 1:48 pm    Post subject: Reply with quote

Should i add it into arcon overlay?
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Thu Dec 13, 2007 4:22 pm    Post subject: Reply with quote

you are welcome;) note that also sabayon overlay has it, even if I dont know if they updated it with my patch
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Thu Dec 13, 2007 5:20 pm    Post subject: Reply with quote

Dottout wrote:
you are welcome;) note that also sabayon overlay has it, even if I dont know if they updated it with my patch



already added....
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
xvision
n00b
n00b


Joined: 17 Jun 2007
Posts: 33

PostPosted: Mon Dec 17, 2007 4:13 pm    Post subject: Reply with quote

Code:
  File "/usr/bin/emesene", line 27
    python /usr/share/emesene/Controller.py
    ^
SyntaxError: invalid syntax


Having some trouble running emesene.. I compiled the SVN ebuild from the sabayon overlay.
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Mon Dec 17, 2007 5:29 pm    Post subject: Reply with quote

xvision wrote:
Code:
  File "/usr/bin/emesene", line 27
    python /usr/share/emesene/Controller.py
    ^
SyntaxError: invalid syntax


Having some trouble running emesene.. I compiled the SVN ebuild from the sabayon overlay.

read before posting something.. they haven't fixed the ebuild yet, even if they had my patch on bugzilla from months now
Back to top
View user's profile Send private message
xvision
n00b
n00b


Joined: 17 Jun 2007
Posts: 33

PostPosted: Mon Dec 17, 2007 6:04 pm    Post subject: Reply with quote

I always read before posting, I guess I must have misunderstood. So should I use the ebuild in this thread?
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Mon Dec 17, 2007 6:32 pm    Post subject: Reply with quote

yes ;)
Back to top
View user's profile Send private message
JoKo
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 141
Location: Xanthi, Greece

PostPosted: Fri Dec 28, 2007 4:27 pm    Post subject: Plugins Reply with quote

Hi,

Are the plugins working? I've tried using the Spell plugin, but it complains for the lack of gtkspell, which is already installed.
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Fri Dec 28, 2007 4:37 pm    Post subject: Reply with quote

dunno, ebuild doesnt care about plugins..btw, you can edit by hand the plugin and setup properly paths (its a supposition)
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Sun Feb 24, 2008 3:43 pm    Post subject: Reply with quote

I made an ebuild for the last stable version : r999 .
You can get it there : https://bugs.gentoo.org/show_bug.cgi?id=211174 .
A better ebuild will be available on sunrise overlay (I just committed it, so it needs to be reviewed).
Back to top
View user's profile Send private message
iElectric
n00b
n00b


Joined: 25 Dec 2007
Posts: 19

PostPosted: Sun Apr 20, 2008 9:55 am    Post subject: Reply with quote

ebuild for 1.0 is already in sunrise, waiting for a dev to put it in portage.
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Sun Apr 20, 2008 5:51 pm    Post subject: Reply with quote

iElectric wrote:
ebuild for 1.0 is already in sunrise, waiting for a dev to put it in portage.

yes I modified the r999 build for 1.0 and I commited it to sunrise some days ago.
Back to top
View user's profile Send private message
seqizz
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2008
Posts: 103

PostPosted: Mon Apr 21, 2008 11:03 am    Post subject: :\ Reply with quote

9999 not includes the compile. Only c/p. Maybe cause of the ebuilds; i've the libmimic but emesene doesn't see it. i know it's the prealpha version of webcam support but. Can't try..
Is there a problem with library paths? Or if it's maybe a source problem, sorry :)
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Apr 21, 2008 11:48 am    Post subject: Re: :\ Reply with quote

seqizz wrote:
9999 not includes the compile. Only c/p. Maybe cause of the ebuilds; i've the libmimic but emesene doesn't see it. i know it's the prealpha version of webcam support but. Can't try..
Is there a problem with library paths? Or if it's maybe a source problem, sorry :)

I really don't know, I only made those ebuild starting from the live ebuild on bugs.gentoo.org ....
Sorry but I can't help you. :(
Back to top
View user's profile Send private message
iElectric
n00b
n00b


Joined: 25 Dec 2007
Posts: 19

PostPosted: Thu Apr 24, 2008 7:57 pm    Post subject: Reply with quote

Read this: http://emesene.org/smf/index.php/topic,1002.0.html
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Tue Apr 29, 2008 6:01 pm    Post subject: Reply with quote

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

ESVN_REPO_URI="https://emesene.svn.sourceforge.net/svnroot/emesene/trunk/emesene"
ESVN_PROJECT="emesene"

inherit subversion eutils

DESCRIPTION="Platform independent MSN Messenger client written in Python+GTK"
HOMEPAGE="http://www.emesene.org"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"


DEPEND=">=dev-lang/python-2.4.3
   >=x11-libs/gtk+-2.8.20
   >=dev-python/pygtk-2.8.6
   media-libs/libmimic"

RDEPEND="${DEPEND}"

pkg_setup() {
   ewarn "This is a LIVE SVN ebuild."
   ewarn "That means there are NO promises it will work."
}

src_compile() {

python setup.py build

}

src_install() {
python setup.py install
   dodir /usr/share/emesene
   insinto /usr/share/emesene
   doins -r ./*
   dodir /usr/bin
   dosym /usr/share/emesene/emesene /usr/bin
   exeinto /usr/share/emesene
   doexe emesene
   newicon ${S}/themes/default/icon96.png ${PN}.png
   make_desktop_entry emesene "EmeSeNe" ${PN}.png
}

pkg_postinst() {
   ewarn "Remember, this stuff is SVN only code so dont cry when"
   ewarn "I break you :)."
   ewarn "If you want to report bugs, go to our forum at http://emesene.org/forums"
}

this is a new version of the ebuild, with the needed dep for partial webcam support. well, I dont know how to handle ebuilds for python apps, so please, PLEASE, help me :p as you can see its VERY dirty - especially src_install.. (btw, it works ;) )
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Apr 30, 2008 7:47 am    Post subject: Reply with quote

You could use distutils.eclass which would allow you to eliminate src_compile() from the ebuild, though src_install would apparently not be likewise entirely removable.

If you are interested in following, in general, the coding practices which are supposed to be used in officially supported ebuilds, bearing in mind that it is entirely optional here, try running repoman full on your overlay, it can report many different issues some of which are quite trivial.
Dottout wrote:
(btw, it works ;) )
Which is the important part, especially outside of the tree and reviewed overlays.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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