You are not logged in.

#1 2006-06-13 13:30:08

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Upgrade kopete

HI AF!
>I just build the kopete in AUR, but have the old one installed. But when I want to install, I can't install it caurse of the old one.

How should I do this?? I tried to find the package to uninstall it, so hopefully someone could help me with this ????


Thanks


Just getting better .... All the time

Offline

#2 2006-06-13 14:02:09

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: Upgrade kopete

pacman -Qo `which kopete` should tell you which package to remove kopete.

Offline

#3 2006-06-13 15:09:29

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Upgrade kopete

most likely you have kdenetwork installed (which includes kopete) ?
the kopete aur package should conflict with it (but it obviously doesn't wink)

Offline

#4 2006-06-13 18:51:29

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Upgrade kopete

I do conflict under the installation - But it was just for trying the new one - saw and description of it, and would try to use it - but won't uninstall kdenetwork just for that.

Thanks for the answers


Just getting better .... All the time

Offline

#5 2006-06-13 19:18:11

archy
Member
Registered: 2006-01-17
Posts: 13

Re: Upgrade kopete

peque wrote:

I do conflict under the installation - But it was just for trying the new one - saw and description of it, and would try to use it - but won't uninstall kdenetwork just for that.

Thanks for the answers

You need to recompile kdenetwork without kopete using abs to install the latest version of the standalone kopete client.  The following is the (slightly) modified PKGBUILD for kdenetwork.

# $Id: PKGBUILD,v 1.31 2006/03/28 12:46:14 tpowa Exp $
# Maintainer: Tobias Powalowski <tpowa>

pkgname=kdenetwork
pkgver=3.5.2
kdever=3.5.2 # if minor 0, then without .0
pkgrel=1
pkgdesc="KDE Networking Programs."
url="http://www.kde.org"
groups=('kde')
makedepends=('xmms')
depends=('kdebase>=3.5.2' 'wireless_tools' 'ppp' 'openslp' 'rdesktop' 'kdelibs>=3.5.2' 'gnutls>=1.2.4' 'qca-tls' 'perl-io-socket-ssl')

# for easier build, just uncomment the mirror you want to use
  mirror="ftp.solnet.ch/mirror/KDE"         # updated every 2 hours, very fast for Europe
# mirror="ftp.kde.org/pub/kde/"             # main server
# mirror="ibiblio.org/pub/mirrors/kde/"     # ibiblio mirror

source=(ftp://$mirror/stable/$kdever/src/$pkgname-$pkgver.tar.bz2 lisa)


build() {
  # Source the QT and KDE profile
  [ "$QTDIR" = "" ] && source /etc/profile.d/qt.sh 
  [ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh
  # make sure kopete is not compiled
  export DO_NOT_COMPILE="kopete"
  # start building
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/kde --disable-debug --disable-dependency-tracking --enable-gcc-hidden-visibility 
  --enable-final
  #        --enable-final # remove this if you build with < 512mb ram.
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  # Install lisa network daemon
  install -D -m 755 $startdir/src/lisa $startdir/pkg/etc/rc.d/lisa
}
md5sums=('dddc6bb65ffb9e46d118781ca0f26da4' 'cb621ff9a11c2c5f5672d9c895cea1a9')

I simply added this code

  # make sure kopete is not compiled
  export DO_NOT_COMPILE="kopete"

and it stops it from compiling kopete in the kdenetwork package as far as I can tell.  Then I used the kopete 0.12.0 PKGBUILD in the AUR (http://aur.archlinux.org/packages.php?d … s=0&SeB=nd) to compile the latest kopete.  Installing the modified kdenetwork package followed by kopete worked out just fine.

Offline

#6 2006-06-13 21:27:40

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Upgrade kopete

you should really change the name of kdenetwork when doing such a thing as you'll have problems when kdenetwork gets upgraded. Or you can add it to IgnorePkg of course.

On the other hand, I don't quite understand why one would build kopete seperately from kdenetwork. If you want that hard to be on the bleeding edge, why not use testing ?

Offline

#7 2006-06-13 22:58:30

archy
Member
Registered: 2006-01-17
Posts: 13

Re: Upgrade kopete

It's easy enough to rebuild kdenetwork again when the 3.5.3 gets into current, if necessary, so I'm hardly worried about that.

As for building kopete separately, KDE works fine for me, I've no desire to take chances with testing at present.  Building kopete separately was clean and simple, so I had little reason to delve into the unknown of testing over one small part of one package.

Offline

#8 2006-06-15 11:46:45

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Upgrade kopete

I got it by rebuilding kdenetwork without kopete.

It was just for trying the new kopete - and also knowing how to do this at another time when you'll run into the problem again.

Thanks guys.


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB