Code: Select all
# 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 ""
}
Code: Select all
#!/bin/sh
python /usr/share/emesene/Controller.py
Code: Select all
# 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 ""
}
Code: Select all
# 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: Select all
File "/usr/bin/emesene", line 27
python /usr/share/emesene/Controller.py
^
SyntaxError: invalid syntaxread before posting something.. they haven't fixed the ebuild yet, even if they had my patch on bugzilla from months nowxvision wrote:Having some trouble running emesene.. I compiled the SVN ebuild from the sabayon overlay.Code: Select all
File "/usr/bin/emesene", line 27 python /usr/share/emesene/Controller.py ^ SyntaxError: invalid syntax
I really don't know, I only made those ebuild starting from the live ebuild on bugs.gentoo.org ....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
Code: Select all
# 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"
}
Which is the important part, especially outside of the tree and reviewed overlays.Dottout wrote:(btw, it works)