You are not logged in.

#1 2004-02-25 09:04:03

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

sim and flex

Hi folks,

I am just uploading sim to the incoming-folder. If you want to compile it on your own, you have to update flex to .31 (The existing version in arch is .27).

The PKGBUILD for flex .31:

# $Id: PKGBUILD,v 1.11 2003/11/06 08:26:13 dorphell Exp $
# Maintainer: judd <jvinet@zeroflux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=flex
pkgver=2.5.31
pkgrel=1
pkgdesc="A tool for generating text-scanning programs"
url="http://lex.sourceforge.net"
depends=('glibc' 'bash')
source=(http://telia.dl.sourceforge.net/sourceforge/lex/flex-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
  cat > $startdir/pkg/usr/bin/lex << "EOF"
#!/bin/sh
# Begin /usr/bin/lex

exec /usr/bin/flex -l "$@"
# End /usr/bin/lex
EOF
  chmod 755 $startdir/pkg/usr/bin/lex
}

Here is the PKGBUILD for sim:

# Contributor: Stefan Langeland <teffikater@arcor.de>
pkgname=sim
pkgver=0.9.3
pkgrel=1
pkgdesc="SIM - Multi-Chat-Client"
url="http://sim-icq.sourceforge.net/"
depends=('libart-lgpl' 'libxslt' 'qt' 'openssl')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://sim-icq.sourceforge.net/snapshot/sim_daily_snapshot.tar.bz2)
md5sums=()

build() {
  cd $startdir/src/$pkgname/
  make -f admin/Makefile.common
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

It is the daily_snapshot from cvs because the official .92-version of sim has far to many bugs than this cvs-version. I am using this version for about a week now and haven't seen any problems yet.

edit1: updated the dependencies in sim

Offline

#2 2004-02-25 18:45:26

tale
Member
From: Karlsruhe, Germany
Registered: 2004-02-16
Posts: 12

Re: sim and flex

Thanks for the PKGBUILD! I just wanted to note that Sim (and the PKGBUILD wink ) works really great and better than kopete (at least for me).

Offline

#3 2004-03-03 12:04:06

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: sim and flex

Just want to note that flex is updated now to .31, no more need to build an own one.

Offline

#4 2004-03-04 22:53:36

andreasw
Member
Registered: 2004-02-26
Posts: 12

Re: sim and flex

hi,

I have a problem building your package I get the following errors:

html.ll: In member function `void SIM::HTMLParser::parse()':
html.ll:262: error: `yy_current_buffer' undeclared (first use this function)
html.ll:262: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [html.lo] Fehler 1
make[3]: Leaving directory `/var/abs/local/sim/src/sim/sim/api'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/abs/local/sim/src/sim/sim'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/abs/local/sim/src/sim'
make: *** [all] Fehler 2
==> ERROR: Build Failed.  Aborting...

I would use the stable version but it also doesn't work and the binary package has a bug:

when I receive a message and I double click on the icq icon I can't replay to it, it displays the "send" button but it doesn't has any effect.

I hope you can help

Andy

Offline

#5 2004-03-05 09:11:42

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: sim and flex

when I receive a message and I double click on the icq icon I can't replay to it, it displays the "send" button but it doesn't has any effect.

I know this bug too, but you can just close the message window and open it again ==> you can send.

Since this is the cvs-version, you can submit a bug report or a forum post to http://sim-icq.sourceforge.net Perhaps they already know what to do in your case...

html.ll: In member function `void SIM::HTMLParser::parse()':
html.ll:262: error: `yy_current_buffer' undeclared (first use this function)
html.ll:262: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [html.lo] Fehler 1
make[3]: Leaving directory `/var/abs/local/sim/src/sim/sim/api'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/abs/local/sim/src/sim/sim'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/abs/local/sim/src/sim'
make: *** [all] Fehler 2
==> ERROR: Build Failed.  Aborting...

This is a bug too. Go to their forum and ask them what to do. smile

Offline

#6 2004-03-17 19:13:25

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: sim and flex

I have a problem building your package I get the following errors: *snipped*

I just used my above mentioned PKGBUILD for compiling the actual cvs-Version and everything compiled smoothly.

The bug you mentioned above is also repaired.

Offline

#7 2005-08-26 12:16:08

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: sim and flex

since the last version came out in 2003 i made a "stable" (TM) cvs version PKGBUILD

# Contributor: Mathias Hartner <matzeh@web.de>
pkgname=sim
pkgver=0.9.4
pkgrel=1
pkgdesc="SIM - Multi-Chat-Client"
url="http://sim-icq.sourceforge.net/"
depends=('libart-lgpl' 'libxslt' 'qt' 'openssl')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
md5sums=()

_cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/sim-icq"
_cvsmod="sim"

build() {
  cd $startdir/src
  msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
  cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
  cd $_cvsmod
  ./autogen.sh

  msg "CVS checkout done or server timeout"
  msg "Starting make..."

  cp -r ../$_cvsmod ../$_cvsmod-build
  cd ../$_cvsmod-build

  ./configure --prefix=/usr
  make -f admin/Makefile.common
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

THX!!
cu matsche

Offline

Board footer

Powered by FluxBB