You are not logged in.

#1 2004-06-09 22:42:59

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

ayttm - dunno if this package exists....

here is a PKGBUILD for the IM client Ayttm which i more stable than GAIM. i had to disable aycryption because it throws errors during the build and i wasn't sure exactly what was needed to be done for patching the source.

pkgname=ayttm
pkgver=0.4.6
pkgrel=1
pkgdesc="A better IM client than GAIM"
url="http://ayttm.sourceforge.net/"
license=""
depends=(gpgme glib esd gdk-pixbuf audiofile)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d270c8c9528fda9717da814d1ac35891')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --disable-aycryption
  make || return 1
  make prefix=$startdir/pkg/usr install
}

AKA uknowme

I am not your friend

Offline

#2 2004-06-11 23:22:46

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: ayttm - dunno if this package exists....

Thanks. I was going to check this IM some time ago. I completly forgot about it. I tried to improve your PKGBUILD a little to support more protocols, webcams, xft (for font antialiasing), arts detection and encryption. I must say it's not an easy task to build a fullfeatured ayttm package :-( In fact I spent a lot of time but experienced many many failures. I do have some good results though which I provide below.

First I built a package for jasper which is needed to support webcams (jpeg 2000 codec) - especially if you plan to talk to someone with Yahoo's IM. There are some reports about serious memory leak bugs in this library. The patches on ayttm's homepage were useful but they were also designed for the older jasper version. I tried to update and convert them to sed commands which seems to work (but I'm not able to fully test it right now).
Jasper PKGBUILD

pkgname=jasper
pkgver=1.701.0
pkgrel=1
pkgdesc="An implementation of the codec specified in the JPEG-2000 standard"
url="http://www.ece.uvic.ca/~mdadams/jasper/"
depends=('libjpeg' 'glut' 'xfree86')
source=(http://www.ece.uvic.ca/~mdadams/jasper/software/$pkgname-$pkgver.zip)
md5sums=('22a9f74fc880e38dd125c60aa4e4ce97')

build() {
  cd $startdir/src/$pkgname-$pkgver/src/libjasper/base
  sed -i "364s/obj->pathname[0] = '\'/strncpy(obj->pathname, "jasXXXXXX", sizeof(obj->pathname))/g" ./jas_stream.c
  sed -i "368s/tmpnam(obj->pathname)/mkstemp(obj->pathname)/g" ./jas_stream.c
  cd $startdir/src/$pkgname-$pkgver/src/libjasper/jpg
  sed -i "333s/fclose(output_file);/&n        jas_matrix_destroy(src_mgr->data);n/g" ./jpg_enc.c
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-shared
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Then I tried to build the ayttm PKGBUILD with arts and xft detection. I couldn't build it until I tried gen script which normally should be used for the cvs version. The problem is that after installation the program just don't want to start :-) It generated lots of problems connected with .gtkrc and other config files missing (or wrong paths). I tried to solve the problems one by one using strace but after an hour I just gave up. Here is the PKGBUILD for this (broken) version. Please note that the following PKGBUILD does not work on my system and I provide it here only as documentation - maybe someone will be able to make it really work with the 0.4.6 release:

pkgname=ayttm
pkgver=0.4.6
pkgrel=1
pkgdesc="All-in-one instant messaging client"
url="http://ayttm.sourceforge.net/"
depends=('jasper' 'gpgme03' 'gdk-pixbuf' 'aspell' 'arts' 'libjpeg' 'esd' 'audiofile' 'libtool')
makedepends=('gettext' 'autoconf' 'automake')
source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d270c8c9528fda9717da814d1ac35891')

build() {
  cd $startdir/src/$pkgname-$pkgver
  export PATH=$PATH:/opt/kde/bin
  ./gen
  ./configure --prefix=/usr --sysconfdir=/etc --enable-arts --with-arts-prefix=/opt/kde --enable-xft --enable-oscar --enable-smtp --enable-lj --enable-jasper-filter
  make || return 1
  cd $startdir/src/$pkgname-$pkgver/modules/smileys/console_smileys
  sed -i "s/smileydir = ${pkgdatadir}/smileys/${THEME_NAME}/smileydir = ${pkgdatadir}/smileys/console_smileys/g" ./Makefile
  cd $startdir/src/$pkgname-$pkgver/modules/smileys/giles_smiles
  sed -i "s/smileydir = ${pkgdatadir}/smileys/${THEME_NAME}/smileydir = ${pkgdatadir}/smileys/giles_smiles/g" ./Makefile
  cd $startdir/src/$pkgname-$pkgver
  make DESTDIR=$startdir/pkg install
}

Since I already spent so much time on this package I also tried to simplify the PKGBUILD to work with as many features enabled as possible but only the ones that do not break the application. A working PKGBUILD for 0.4.6 relase version with some options disabled (mainly arts and xft) is here

pkgname=ayttm
pkgver=0.4.6
pkgrel=1
pkgdesc="All-in-one instant messaging client"
url="http://ayttm.sourceforge.net/"
depends=('jasper' 'gpgme03' 'gdk-pixbuf' 'aspell' 'esd' 'libtool')
source=(http://dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d270c8c9528fda9717da814d1ac35891')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --disable-arts --enable-oscar --enable-smtp --enable-lj --enable-jasper-filter
  make || return 1
  make DESTDIR=$startdir/pkg install
}

This one finally runs fine :-) I still have some problems with setting up my jabber account in ayttm but I'm to tired to reseach it now. Please if anybody will build this package from any of the pkgbuilds here post some info what works and what doesn't work.

To complete things it would be nice to have a cvs version too :-) There were at least 14 cvs releases since the release of 0.4.6 version. The best place for finding support and information is IMO ayttm users mailing list on sf.net - you can find the link on ayttm's homepage.
PKGBUILD for the cvs version of ayttm:

pkgname=ayttm-cvs
pkgver=0.4.6
pkgrel=1
pkgdesc="All-in-one instant messaging client (CVS version)"
url="http://ayttm.sourceforge.net/"
depends=('jasper' 'gpgme03' 'gdk-pixbuf' 'aspell' 'arts' 'libjpeg' 'esd' 'audiofile' 'libtool')
makedepends=('cvs' 'gettext' 'autoconf' 'automake')
conflicts=('ayttm')
provides=('ayttm')
cvsroot=":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/ayttm"
cvsmod="ayttm"

build() {
  cd $startdir/src
  msg "Fetching sources from CVS..."
  cvs -Q -d$cvsroot login
  cvs -Q -z3 -d$cvsroot co $cvsmod
  cd $cvsmod
  export PATH=$PATH:/opt/kde/bin
  ./gen
  ./configure --prefix=/usr --sysconfdir=/etc --enable-arts --with-arts-prefix=/opt/kde --enable-xft --enable-oscar --enable-smtp --enable-lj --enable-jasper-filter
  make || return 1
  make DESTDIR=$startdir/pkg install
}

This one is very similar to the first (broken) version. It compiles ok but (how else :?) there is something broken in the install script. I tried to fix it but it generated only more and more errors so I gave up for the moment. The pkgbuild itself is probably ok - it's just something messed with gen and configure scripts or automake/autoconf versions. There are other people having similar problems on the ayttm's users mailing list but there is no good solution. I think I'll just wait for the devs to fix it or maybe someone else has some time to extend the pkgbuild with manual installation procedure. Have fun :-)

All the pkgbuilds need some additional explanation but it took me a lot of time to make them and I didn't make the notes (I should be) so here are some of the most important notes:
1. Jasper is needed for webcam support. Jpeg 2000 compression works but files can be quite large so for non yahoo IMs (like other ayttm users) you can use standard jpeg compression - read about it more on ayttm's mailinglists and homepage.
2. The present version of ayttm's encryption works only with gpgme03. The newest versions of gpgme will not work with ayttm. The problem is that ayttm's configure script do not check for the right gpgme version itself (complain to the devs if you want to...).
3. Some dependencies (like libjpeg and audiofile) in the broken and cvs pkgbuilds are not really needed because they can be already covered by other dependencies (like arts or esd). I left them in the PKGBUILD to make it easier for the others to change the pkgbuilds if they want to.
4. Extending path with /opt/kde/bin ensures that configure script will automatically find arts (manual override seems to not work).
5. Ayttm's general rc file is configured to be placed in /etc instead of /usr/etc according to the latest arch standards.
6. Lj is livejournal.com service - you can feed your blogs directly from ayttm (one of the ayttm's devs has his own page there).
7. I didn't include workwizu module because it only generated some more errors I couldn't fix (possibly gcc 3.4 related). Anyway I don't even know what workwizu really is....

Ok. That's it for today. The conclusion is that ayttm needs a lot more work to really be stable and nice app but it's already an interesting alternative. Give it a try.

PS. ayttm means: "are you talking to me?" ;-)

Offline

#3 2004-06-11 23:41:54

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: ayttm - dunno if this package exists....

lanrat wrote:

Ok. That's it for today. The conclusion is that ayttm needs a lot more work to really be stable and nice app but it's already an interesting alternative. Give it a try.

personally i don't require alot of services that is why i built it fairly generic. i especially don't need arts myself nor would i want my IM to force me to swallow it.

i forgot about gmgme03 and /usr/etc it has been awhile since i used arch. all i know is that i don't want to use gaim because it is horribly unstable from release to release. ayttm hasn't been a problem for me for months using it in crux and since i fired it up the other day.


AKA uknowme

I am not your friend

Offline

#4 2004-06-15 17:28:48

yowwww
Member
Registered: 2003-09-04
Posts: 112

Re: ayttm - dunno if this package exists....

I built this package months and months ago and it has been working flawlessly ever since.

quick search of the forum turns up this thread:

http://bbs.archlinux.org/viewtopic.php? … ight=ayttm

Offline

#5 2004-06-15 20:38:20

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: ayttm - dunno if this package exists....

pfft that would have required the energy to search but no harm done.


AKA uknowme

I am not your friend

Offline

#6 2004-06-15 20:53:59

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: ayttm - dunno if this package exists....

search.png


arch + gentoo + initng + python = enlisy

Offline

#7 2004-06-16 07:43:20

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: ayttm - dunno if this package exists....

Nice pic xerxes2.  big_smile

Offline

Board footer

Powered by FluxBB