Package Details: python2-sipsimple 3.1.1-5

Git Clone URL: https://aur.archlinux.org/python2-sipsimple.git (read-only)
Package Base: python2-sipsimple
Description: Python SDK for development of SIP end-points
Upstream URL: http://download.ag-projects.com/SipClient
Keywords: SIP
Licenses: LGPL, custom:MIT
Submitter: promike
Maintainer: None
Last Packager: Niklas
Votes: 7
Popularity: 0.772997
First Submitted: 2016-06-01 14:02
Last Updated: 2018-08-19 21:47

Latest Comments

1 2 3 4 5 Next › Last »

bsdice commented on 2019-06-18 09:00

Added: To make the base64 readable again just do

echo '...base64 data...' | tr -d ' ' | base64 -d | zcat | less

base64 utility doesn't like spaces, so tr to the rescue.

bsdice commented on 2019-06-18 08:56

Hey there!

I tested this package for the Blink SIP client and here are some changes for your consideration:

1) arch= drop i686

2) depends= openssl instead of openssl-1.0; also drop export of CFLAGS/LDFLAGS; newer package supports openssl 1.1 without problem

3) change_macro_name.patch can be dropped; instead I introduced snd_pcm_drop.patch to make Blink work again on Pulseaudio-emulated ALSA; credit and more info: Tom Briden https://lists.ag-projects.com/pipermail/blink/2019-June/003993.html

4) package update to 3.4.2

5) TODO left: the litany of depends= should be audited and split into makedepends= and depends=

I have attached base64 encoded diff and patch below.

$ diff -u PKGBUILD.orig PKGBUILD | gzip -c9 | base64

H4sIAAAAAAACA7VVWW/bRhB+rn7FVgmgBAqlvQ+jApzGqGHEBQy4fRb2lJhQJMElXaeG/3uH9KUk CFCgKB/I3W92rm9mh0VRoKuP57/+eXF5tmq6cvcTxcQUWBZEI4JPOD8RYoWfHrTEFOPZcrl81vpW QZxQtcKUE6wUF48Kp6eoUO8oQ8vpfXo6QzO0bT/vanuIm/ZLv2/qIpdtLg9tFWfoawk9EhUguond hq3Iiky7LlYbMVs+43xFp92Ik8lUiNlv5leTLXR99hGlpkMh3sSqaQ+x7lGT0PXFFYp1KNqmrPs8 n6Gq9LHOcfNm4YfcN4eT3y/+WKDF5fnV5eLtrLCd34OslFoCeqvlVnLAl4/4M4CGrtrM933fnqzX ofmrr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IAAkBCF0CA7VPwWrDMAw9118hekqXOrGT1qUpg47SsY4xxtKdjYmd1qNJjO0Udti/L2nXQ0+D sekgPSS99ySpyxLwc2sNmA+/b2rstHG6MgeFrToo4RROo0mURI3Vu1gq42Lz3u10uVJSi9jZ4oKx aKVupDrG4uAE70BU/CD7C0WEMf6nYwcJoXNMUpwwoDSjSZbSiFwCQkIJQWEY/v1T384M0xkkaUam 2ZREczpls3nKeuekc14uATPKxjMIz6VrOC+8LkDXHgrB/d4qIXnZ1gUEx0ZLuBF2N0KAYOC71cpE LZtAeAt1aUWl3AJBH58I98XVkpui4tIKXUPQwdEChdeTxlwGJ+b29W615kGwfdjk/H7ztB7D8PqQ DHLfGKPkcNSTzjSrfGtreHnk+dtqtc7zBfoC35NsEIsCAAA=

Popolon commented on 2018-10-03 20:57

they patched the source, but still new release

https://github.com/AGProjects/python-sipsimple/commit/640c37d9b71837c9074cee7f5e5c2c564a8c8c35

A simple patch in the PKGBUILD so it can be compiled, waiting for next release :

  chmod 755 "${srcdir}/${_pkgname}-release-${pkgver}/deps/pjsip/aconfigure"
  sed -i 's/FF_INPUT_BUFFER_PADDING_SIZE/AV_INPUT_BUFFER_PADDING_SIZE/g' "${srcdir}/${_pkgname}-release-${pkgver}/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c"

Popolon commented on 2018-09-14 08:02

  • Depend on libyuv (package libyuv-git) now.
  • ffmeg2.8 need to be replaced by ffmpeg.
  • There is an issue with ffmpeg changes:

../src/pjmedia-codec/ffmpeg_vid_codecs.c: In function 'ffmpeg_codec_decode_whole':
../src/pjmedia-codec/ffmpeg_vid_codecs.c:1692:43: error: 'FF_INPUT_BUFFER_PADDING_SIZE' undeclared (first use in this function); did you mean 'AV_INPUT_BUFFER_PADDING_SIZE'?
     pj_bzero(avpacket.data+avpacket.size, FF_INPUT_BUFFER_PADDING_SIZE);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           AV_INPUT_BUFFER_PADDING_SIZE

This is a known bug: https://github.com/AGProjects/python-sipsimple/pull/3

Niklas commented on 2018-08-30 15:46

I have recreated python2-otr - I don't know why it was deleted, but a -git package is unnecessary since the module hasn't been changed in two years, which is why I deleted it.

Popolon commented on 2018-08-30 08:57

python2-otr is no more available, there is python2-otr-git instead

ogarcia commented on 2018-06-19 13:12

@valik.vicious change done

valik.vicious commented on 2018-06-19 12:21

I think the 27th line in PKGBUILD should be

"patch -p1 < ../change_macro_name.patch" instead of "patch -p1 < ../../change_macro_name.patch"

Otherwise, I'm getting the following issue in prepare():

==> Starting prepare()... /Builds/python2-sipsimple/PKGBUILD: line 27: ../../change_macro_name.patch: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting...

ogarcia commented on 2018-06-15 10:34

@nocko done!

nocko commented on 2018-06-15 09:49

I automated patching suggested by @atopia in the following PKGBUILD:

https://bitbucket.org/snippets/nocko/geGKxM

It pulls the patch from another snippet (https://bitbucket.org/snippets/nocko/aeGrKX).

The best near-term solution is probably for @ogarcia to commit the patch to the repo and use the modified prepare() until something is sorted out upstream.