View previous topic :: View next topic |
Author |
Message |
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Thu May 25, 2006 7:43 pm Post subject: amsn_dev ebuild? |
|
|
I wanna try out the development version of amsn, so I got the tarball from their webpage, but I don't want to install it without an ebuild. Does anyone know if one exists? |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Thu May 25, 2006 10:02 pm Post subject: |
|
|
I can give you a diff of my own ebuild:
Code: | 3c3
< # $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.95-r2.ebuild,v 1.1 2006/01/03 02:14:40 tester Exp $
---
> # $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.96_beta.ebuild,v 1.1 2006/01/03 02:14:40 tester Exp $
7c7
< SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
---
> SRC_URI="http://amsn.sourceforge.net/amsn_cvs.tar.gz"
26c26,30
< src_compile() {
---
> src_unpack() {
> unpack ${A}
> mv ${WORKDIR}/msn ${WORKDIR}/amsn-0.96_beta
> cd ${WORKDIR}/amsn-0.96_beta
> }
27a32
> src_compile() { |
This is against the amsn-0.95.ebuild. You should now that it is possible that that snapshot could be outdated (from a development point of view ) since they now use SVN instead of CVS. Just checkout the SVN version and build your own amsn_cvs.tar.gz and put that in $DISTDIR _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Fri May 26, 2006 7:35 am Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Sun May 28, 2006 6:52 pm Post subject: |
|
|
Here is a SVN ebuild, not an amsn_dev ebuild !
Let me explain it a bit more :
As amsn 0.96 will soon be released (but don't ask me when ), and because some devs want to do deep changes in the code, our svn is splitted.
The directory "amsn" (used by that ebuild) has those deep changes so it's not what will be amsn0.96, but is more like an amsn post 0.96.
Here is the ebuild :
Code: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/amsn/trunk/amsn"
ESVN_PROJECT="amsn"
inherit subversion eutils
DESCRIPTION="Alvaro's Messenger client for MSN"
HOMEPAGE="http://amsn.sourceforge.net"
IUSE="debug nolibng gnome kde skins plugins"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86"
DEPEND=">=dev-lang/tcl-8.4
>=dev-lang/tk-8.4
>=dev-tcltk/tls-1.4.1"
RDEPEND="${DEPEND}"
pkg_setup() {
eerror "This is a LIVE SVN ebuild."
eerror "That means there are NO promises it will work."
}
src_compile() {
use debug && myconf="$myconf --enable-debug"
use nolibng && myconf="$myconf --disable-libng"
econf ${myconf} || die
emake || die
}
src_install() {
dodir /usr/share/amsn_dev/
cp -a ${S}/* ${D}/usr/share/amsn_dev
if use gnome
then
dodir /usr/share/applications
cp /usr/share/amsn_cvs/amsn.desktop /usr/share/applications
einfo "Installing GNOME/KDE Icons in /usr/share/pixmaps"
dodir /usr/share/pixmaps
cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
fi
if use kde
then
dodir /usr/share/applnk/Internet
cp /usr/share/amsn_cvs/amsn.desktop /usr/share/applnk/Internet/
einfo "Installing KDE Icons in default theme"
dodir /usr/share/pixmaps
cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
fi
dodir /usr/bin/
ln -s /usr/share/amsn_dev/amsn ${D}/usr/bin/amsn_dev
cd ${D}/usr/share/amsn_dev
dodoc TODO README FAQ CREDITS HELP
if use skins
then
einfo "Downloading and installing skins from SVN"
svn co https://svn.sourceforge.net/svnroot/amsn/trunk/amsn-extras/skins skins
cp -r skins/* /usr/share/amsn_dev/skins/
fi
if use plugins
then
einfo "Downloading and installing plugins from SVN"
svn co https://svn.sourceforge.net/svnroot/amsn/trunk/amsn-extras/plugins plugins
cp -r plugins/* /usr/share/amsn_dev/plugins/
fi
}
pkg_postinst() {
ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
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://amsn.sf.net/forums"
ewarn "or use our IRC channel at irc.freenode.net #amsn"
ewarn ""
ewarn "In order to use this cvs version, run amsn_dev instead of amsn."
} |
The USE are debug nolibng gnome kde skins plugins. skins and plugins are here to know if you also want to use skins and plugins from the svn.
kde and gnome are only for kde and gnome menus.
nolibng should never be enabled, except if one developer ask you to (in the amsn forums for example).
If you want to use the amsn_0_96 branch, replace the line
ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/amsn/trunk/amsn"
by
ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/amsn/branches/0_96/amsn"
If it works, or not, please send feedbacks.
(you need subversion to be installed) _________________ billiob |
|
Back to top |
|
|
Tom_ Guru
Joined: 20 May 2004 Posts: 444 Location: France
|
Posted: Sun May 28, 2006 7:36 pm Post subject: |
|
|
Thank you for this ebuild! I was looking for this kind of ebuild.
I would like to know why no amsn ebuild depends on tcl/tk-8.5 or newer (CVS ?)? As it's told here, we've to use at least tcl and tk 8.5 to have anti-aliased fonts.
Thank you in advance. |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Sun May 28, 2006 7:50 pm Post subject: |
|
|
Because, for the moment, we don't support it.
Then, if you want to use tcl/tk 8.5, there are ebuilds on the forums. (Those ebuilds are not well : replace 8.5a3 by 8.5a4 in those ebuilds; and they are not slotted because tcl/tk 8.5 is still unstable)
But if you have bugs, the tcl team (and us, if you want AA fonts) will ask you to use the cvs version, so ... _________________ billiob |
|
Back to top |
|
|
Tom_ Guru
Joined: 20 May 2004 Posts: 444 Location: France
|
Posted: Sun May 28, 2006 8:13 pm Post subject: |
|
|
Thank you for your reply. |
|
Back to top |
|
|
gim Guru
Joined: 29 Apr 2003 Posts: 418 Location: milky-way
|
Posted: Wed Jul 05, 2006 10:23 pm Post subject: |
|
|
Like most svn ebuilds, I would add a Code: | PROVIDE="net-im/amsn" | line to it.
Yet, i dunno if some package already depends on amsn
but it can't be bad. |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Wed Jul 05, 2006 11:49 pm Post subject: |
|
|
When I try to digest that ebuild from billiob, I get this error:
Code: | ebuild amsn-9999.ebuild digest
: command not foundnet-im/amsn/amsn-9999.ebuild: line 3:
!!! ERROR: net-im/amsn-9999 failed.
Call stack:
ebuild.sh, line 1447: Called source '/usr/local/portage/net-im/amsn/amsn-9999.ebuild'
' amsn-9999.ebuild, line 6: Called inherit 'subversion' 'eutils
ebuild.sh, line 1182: Called die
.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.
aux_get(): (0) Error in net-im/amsn-9999 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug) |
How can I fix this? _________________ Ep2.nl | Developers Community |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Thu Jul 06, 2006 3:56 pm Post subject: |
|
|
emerge subversion should fix that. _________________ billiob |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Thu Jul 06, 2006 6:10 pm Post subject: |
|
|
billiob wrote: | emerge subversion should fix that. |
No luck. I actually already had subversion, but reemerged it just in case.
Still the same error. _________________ Ep2.nl | Developers Community |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Thu Jul 06, 2006 7:08 pm Post subject: |
|
|
Okay I got it working. I think it was a copy problem because I deleted the ebuild file and created and pasted the source again and it worked. But amsn_dev kept crashing, so I emerged the 0.95 version again _________________ Ep2.nl | Developers Community |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Thu Jul 06, 2006 7:11 pm Post subject: |
|
|
try updating portage.
"equery belongs /usr/portage/eclass/subversion.eclass" returns me no package _________________ billiob |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Thu Jul 06, 2006 7:14 pm Post subject: |
|
|
Do you know why it is crashing ? _________________ billiob |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Thu Jul 06, 2006 8:10 pm Post subject: |
|
|
billiob wrote: | Do you know why it is crashing ? |
Nope. It just froze twice. I couldn't close it, it didn't show up in ps -A but the window was still active. Maybe it was the Music Plugin. _________________ Ep2.nl | Developers Community |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
Posted: Thu Jul 06, 2006 8:17 pm Post subject: |
|
|
Can i ask you try using amsn without the music plugin ? What is your music player ? _________________ billiob |
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Thu May 08, 2008 3:01 pm Post subject: |
|
|
Does anybody have a recent ebuild for the current development stage of amsn? |
|
Back to top |
|
|
billiob Guru
Joined: 30 Dec 2004 Posts: 425 Location: Paris, France
|
|
Back to top |
|
|
Hwoarang Retired Dev
Joined: 24 Feb 2007 Posts: 701 Location: Leeds, UK
|
Posted: Thu May 08, 2008 3:12 pm Post subject: |
|
|
Thank you
:edit:
Oh my... It has a banch of hard masked dependencies |
|
Back to top |
|
|
rada Apprentice
Joined: 21 Oct 2005 Posts: 202 Location: Ottawa, Canada
|
Posted: Wed Aug 06, 2008 5:16 pm Post subject: |
|
|
Updated ebuilds. Separated amsn and amsn-extras (plugins, skins) into 2 ebuilds.
Edit: add xft to your USE flags if you want anti-aliasing.
net-im/amsn/amsn-9999.ebuild
Code: | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
ESVN_REPO_URI="https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn"
ESVN_PROJECT="amsn"
inherit subversion eutils
DESCRIPTION="Alvaro's Messenger client for MSN"
HOMEPAGE="http://amsn.sourceforge.net"
IUSE="debug +nolibng static gnome kde skins plugins xft"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86"
DEPEND=">=dev-lang/tcl-8.4
>=dev-lang/tk-8.4
>=dev-tcltk/tls-1.4.1
xft? (
>=dev-lang/tcl-8.5
>=dev-lang/tk-8.5 )
skins? ( =net-im/amsn-extras-9999 )
plugins? ( =net-im/amsn-extras-9999 )"
RDEPEND="${DEPEND}"
pkg_setup() {
eerror "This is a LIVE SVN ebuild."
eerror "That means there are NO promises it will work."
}
src_compile() {
econf \
$(use_enable debug) \
$(use_enable nolibng) \
$(use_enable static) \
$(use_enable xft) \
|| die "configure failed"
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AGREEMENT TODO README FAQ CREDITS
domenu amsn.desktop
sed -i -e s:.png:: "${D}/usr/share/applications/amsn.desktop"
cd desktop-icons
for i in *; do
if [ -e ${i}/msn.png ]; then
insinto /usr/share/icons/hicolor/${i}/apps
doins ${i}/msn.png
fi
done
if use gnome
then
dodir /usr/share/applications
cp /usr/share/amsn_cvs/amsn.desktop /usr/share/applications
einfo "Installing GNOME/KDE Icons in /usr/share/pixmaps"
dodir /usr/share/pixmaps
cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
fi
if use kde
then
dodir /usr/share/applnk/Internet
cp /usr/share/amsn_cvs/amsn.desktop /usr/share/applnk/Internet/
einfo "Installing KDE Icons in default theme"
dodir /usr/share/pixmaps
cp -a ${S}/icons/32x32/* ${D}/usr/share/pixmaps/
fi
}
pkg_postinst() {
ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
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://amsn.sf.net/forums"
ewarn "or use our IRC channel at irc.freenode.net #amsn"
ewarn ""
}
|
net-im/amsn-extras/amsn-extras-9999.ebuild
Code: | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
ESVN_REPO_URI="https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn-extras"
ESVN_PROJECT="amsn"
inherit subversion eutils
DESCRIPTION="Alvaro's Messenger client for MSN"
HOMEPAGE="http://amsn.sourceforge.net"
IUSE="skins plugins"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86"
RDEPEND=">=net-im/amsn-0.97"
pkg_setup() {
eerror "This is a LIVE SVN ebuild."
eerror "That means there are NO promises it will work."
}
src_install() {
if use skins
then
einfo "Installing skins"
dodir /usr/share/amsn/skins
cp -r ${S}/skins/* ${D}/usr/share/amsn/skins/
fi
if use plugins
then
einfo "Installing plugins"
dodir /usr/share/amsn/plugins
cp -r ${S}/plugins/* ${D}/usr/share/amsn/plugins/
fi
}
pkg_postinst() {
ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up."
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://amsn.sf.net/forums"
ewarn "or use our IRC channel at irc.freenode.net #amsn"
ewarn ""
}
|
Last edited by rada on Fri Aug 08, 2008 4:32 pm; edited 2 times in total |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
Posted: Fri Aug 08, 2008 10:34 am Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
|