View previous topic :: View next topic |
Author |
Message |
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Sat Apr 07, 2007 6:54 pm Post subject: eMeSeNe |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Wed Jul 11, 2007 7:12 pm Post subject: |
|
|
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 |
|
|
chrisyu Apprentice
Joined: 10 Apr 2003 Posts: 207 Location: China
|
Posted: Thu Jul 12, 2007 12:07 am Post subject: |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Thu Jul 12, 2007 9:58 am Post subject: |
|
|
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 |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Fri Jul 13, 2007 5:26 pm Post subject: |
|
|
Hello,
I added a better ebuild on the "sabayon" overlay _________________ http://www.sabayon.org |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Fri Jul 13, 2007 5:34 pm Post subject: |
|
|
great my ebuild-writing skills are pretty primitive.. |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Sat Oct 27, 2007 9:29 pm Post subject: |
|
|
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 |
|
|
coolone Apprentice
Joined: 14 Nov 2006 Posts: 278
|
Posted: Thu Dec 13, 2007 7:42 am Post subject: |
|
|
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 |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Thu Dec 13, 2007 4:22 pm Post subject: |
|
|
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 |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Thu Dec 13, 2007 5:20 pm Post subject: |
|
|
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 |
|
|
xvision n00b
Joined: 17 Jun 2007 Posts: 33
|
Posted: Mon Dec 17, 2007 4:13 pm Post subject: |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Mon Dec 17, 2007 5:29 pm Post subject: |
|
|
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 |
|
|
xvision n00b
Joined: 17 Jun 2007 Posts: 33
|
Posted: Mon Dec 17, 2007 6:04 pm Post subject: |
|
|
I always read before posting, I guess I must have misunderstood. So should I use the ebuild in this thread? |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Mon Dec 17, 2007 6:32 pm Post subject: |
|
|
yes |
|
Back to top |
|
|
JoKo Tux's lil' helper
Joined: 16 May 2004 Posts: 141 Location: Xanthi, Greece
|
Posted: Fri Dec 28, 2007 4:27 pm Post subject: Plugins |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Fri Dec 28, 2007 4:37 pm Post subject: |
|
|
dunno, ebuild doesnt care about plugins..btw, you can edit by hand the plugin and setup properly paths (its a supposition) |
|
Back to top |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Sun Feb 24, 2008 3:43 pm Post subject: |
|
|
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 |
|
|
iElectric n00b
Joined: 25 Dec 2007 Posts: 19
|
Posted: Sun Apr 20, 2008 9:55 am Post subject: |
|
|
ebuild for 1.0 is already in sunrise, waiting for a dev to put it in portage. |
|
Back to top |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Sun Apr 20, 2008 5:51 pm Post subject: |
|
|
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 |
|
|
seqizz Tux's lil' helper
Joined: 14 Jan 2008 Posts: 103
|
Posted: Mon Apr 21, 2008 11:03 am Post subject: :\ |
|
|
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 |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Mon Apr 21, 2008 11:48 am Post subject: Re: :\ |
|
|
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 |
|
|
iElectric n00b
Joined: 25 Dec 2007 Posts: 19
|
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Tue Apr 29, 2008 6:01 pm Post subject: |
|
|
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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Wed Apr 30, 2008 7:47 am Post subject: |
|
|
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 |
|
|
|