You are not logged in.

#1 2016-02-23 10:03:54

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

[REQUEST] pidgin-sipe-git

Hello Archlinux community! smile

I would like to request a pidgin-sipe-git package which can use the following github repo as source:
https://github.com/tieto/sipe

The reason for asking this is because Pidgin 3 and libpurple 3 are not yet released and they seem to implement some very important features for the SIP protocol.
For example:
* Lync/Skype for Business Desktop share & Presentation
* Better call experience
* more

Currently, there's only the stable package in our official repos, pidgin-sipe 1.20.1-1.
I tried building the package myself with git-build.sh, but I seem to fail with the following:

purple-user.c: In function ‘sipe_backend_user_ask_choice’:
purple-user.c:118:3: error: too many arguments to function ‘purple_request_field_choice_add’
   purple_request_field_choice_add(field,
   ^
In file included from purple-user.c:28:0:
/usr/include/libpurple/request.h:864:6: note: declared here
 void purple_request_field_choice_add(PurpleRequestField *field,
      ^
Makefile:1038: recipe for target 'libsipe_backend_la-purple-user.lo' failed
make[3]: *** [libsipe_backend_la-purple-user.lo] Error 1
make[3]: Leaving directory '/home/smirky/sipe/src/purple'
Makefile:428: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/smirky/sipe/src'
Makefile:502: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/smirky/sipe'
Makefile:434: recipe for target 'all' failed
make: *** [all] Error 2
------ FAILED ------

It's probably a pending commit or something which will be soon fixed, but then again, a PKGBUILD would be very nice to have!


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#2 2016-02-23 11:29:02

michis
Member
Registered: 2015-12-12
Posts: 77

Re: [REQUEST] pidgin-sipe-git

smirky wrote:

It's probably a pending commit or something which will be soon fixed, but then again, a PKGBUILD would be very nice to have!

Based on the pidgin-sipe PKGBUILD from ABS, building fails with same error you get with git-build.sh.

# $Id: PKGBUILD 145137 2015-10-27 18:31:40Z jsteel $
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Gicu Gorodenco <cyclopsihus@gmail.com>
# Contributor: MaLiK <malik_cjm@o2.pl>
# Contributor: dpevp <daniel.plaza.espi@gmail.com>
# Contributor: Magnus Therning <magnus@therning.org>
# Contributor: Anthony <anthony@littlegno.me>

pkgname=pidgin-sipe-git
pkgver=1.20.1.r191.g15f6e32
pkgrel=1
pkgdesc="Third-party Pidgin plugin for Microsoft Office 365/Lync/LCS/OCS"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://sipe.sourceforge.net/"
depends=('gmime' 'libpurple')
makedepends=('intltool')
optdepends=('krb5: Kerberos support')
conflicts=('pidgin-sipe')
options=('!buildflags')
source=(git+https://github.com/tieto/sipe.git)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/sipe"
  git describe --long | sed 's/^v//;s/-/.r/;s/-/./'
}

build() {
  cd "$srcdir/sipe"

  ./autogen.sh
  ./configure --prefix=/usr --disable-telepathy

  make
}

package() {
  cd "$srcdir/sipe"

  make DESTDIR="$pkgdir" install
}

edit: added conflicts=('pidgin-sipe')

edit: Maybe provides=('pidgin-sipe') could also be added, but since no other packages depend on pidgin-sipe it's not necessary, I think.

Last edited by michis (2016-02-23 11:51:59)

Offline

#3 2016-02-25 07:29:13

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: [REQUEST] pidgin-sipe-git

I think this is related to libpurple. Pidgin-sipe requires libpurple to build and use so it probably uses the new code and fails.
For example this function:

purple-user.c: In function ‘sipe_backend_user_ask_choice’:
purple-user.c:118:3: error: too many arguments to function ‘purple_request_field_choice_add’
   purple_request_field_choice_add(field,
   ^

had less arguments and in libpurple 3 (from git) it has more arguments. This is a stab in the dark, I would have to go through the source code to prove it.


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

Board footer

Powered by FluxBB