You are not logged in.

#1 2014-01-01 16:58:36

novica
Member
Registered: 2013-04-29
Posts: 20

Kopete crashes every time I click send message button

Running KDE  4.12.0 Kopete Version 1.6.0, latest arch linux.

Happens every time I try to send an IM (both on gtalk and xmpp).

Anyone else having the same issue?

Offline

#2 2014-01-01 20:04:06

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,093

Re: Kopete crashes every time I click send message button

Disable the OTR plugin
https://bugs.archlinux.org/task/38326

Offline

#3 2014-01-02 00:58:15

Hazey
Member
Registered: 2013-11-03
Posts: 7

Re: Kopete crashes every time I click send message button

Bug pending fix upstream, resolution found just not applied upstream until the 9th, see https://bugs.kde.org/show_bug.cgi?id=328999

I downloaded the kopete build files from Arch packages site, I downloaded kopete src the pkgbuild was using, extracted/applied the patch to the one file under the kopete archive, recompressed, redid the PKGBUILD to have it pull from the local kopete compressed file, updated the sha1sum, and makepkg'd, works perfect/OTR fixed and enabled without crashes.

- Download http://kde.mirrorcatalogs.com/stable/4. … 2.0.tar.xz
- Extract & Use http://bugsfiles.kde.org/attachment.cgi?id=84367 to go to that file & make the change in the code (or edit pkgbuild to apply patch file)
- Save the file, recompress the entire kopete folder back into the original archive.
- Use sha1sum <file> to get the sha1 hash of the kopete (now patched) source files, place that new sha1sum into the PKGBUILD
- Edit the pkgbuild to just use the kopete-4.12.0.tar.xz file (locally) instead of by downloading (unless you wrote the patch into the pkgbuild as above)
- Save the PKGBUILD, makepkg -s and then pacman -U <file it outputs>

The one I compiled I set the pkgrel to 2, that may or may not interfere depending if Arch releases a 4.12.0-2 upgrade for kopete, if so I'll just reinstall easy enough - if you have no idea how to do the above you can shoot me a message and I'll send you the kdenetwork-kopete-4.12.0-2-x86_64.pkg.tar.xz I compiled which has the fix (64bit only) HOWEVER no guarantees/use at your own risk/all that jazz - also note of the pkgrel being set to 2 as mentioned above, however I do not think that will be much an issue as the actual fix is going to be placed upstream in 4.12.1 (9th) so chances are that will be the next upgrade Arch pulls downstream with the fix.

Offline

#4 2014-01-02 07:25:32

novica
Member
Registered: 2013-04-29
Posts: 20

Re: Kopete crashes every time I click send message button

Thanks.

Offline

#5 2014-01-05 20:08:47

frederik
Member
Registered: 2014-01-05
Posts: 8

Re: Kopete crashes every time I click send message button

Working PKGBUILD:

# $Id$
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kdenetwork-kopete
pkgver=4.12.0
pkgrel=1
pkgdesc='Instant Messenger'
url='http://kde.org/applications/internet/kopete/'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn' 'libidn'
         'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
makedepends=('cmake' 'automoc4' 'boost')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgver}/src/kopete-${pkgver}.tar.xz"
        "http://bugsfiles.kde.org/attachment.cgi?id=84367")
sha1sums=('c1ef611b27079388e48e558a65e2de80db93d875'
          '4952158ddd83d5bc709718fd8cfe590b56c7eb1c')

prepare() {
  mkdir build
  cd kopete-4.12.0
  patch -p1 -i $srcdir/attachment.cgi?id=84367
}

build() {
  cd build
  cmake ../kopete-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_SKIP_RPATH=ON
  make
}

package() {
  cd build
  make DESTDIR=$pkgdir install
}

Offline

Board footer

Powered by FluxBB