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: 6
Popularity: 0.000003
First Submitted: 2016-06-01 14:02
Last Updated: 2018-08-19 21:47

Latest Comments

1 2 3 4 5 Next › Last »

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.

atopia commented on 2018-06-07 17:18

@matus: I have opened a pull request upstream but it might not be as simple if they wanted to support older ffmpeg, but haven't heard feedback yet. The right way to fix it temporarily would making a patch of these changes and adding it to the PKGBUILD, I was just too lazy ;)

matus commented on 2018-05-29 08:26

@julesm I was having the same problem as you.

I realized that the error message didn't change after editing the file that @atopia suggested. That was puzzling. Looking closely at the build project, I realized that the python-sipsimple-3.1.1.tar.gz was being uncompress on every build. So, the changes that I made on src where overwritten when the new build process was started.

To fix this, I had to uncompress the file in an alternative location, make the suggested chagnes, re-compress python-sipsimple-3.1.1.tar.gz with the altered file, move the new .tar.gz to the root foler of python2-sipsimple, and build the package with '--skipchecksums' to avoid the error message related to the checksum of python-sipsimple-3.1.1.tar.gz not being the one declared in PKGBUILD.

With this changes, I was able to build the package o/

In case anyone wants to use my modified python-sipsimple-3.1.1-fix.tar.gz, it can be downloaded from https://github.com/m4tu5/python-sipsimple/archive/release-3.1.1-fix.tar.gz ... you will need to rename the file to drop the '-fix' at the end and then build with '--skipchecksums'.

And, just in case you are looking for a simpler solution, I made a modified version of PKGBUILD that uses my modified python-sipsimple and has the updated sha256 ... you can find that at https://limbo.enmotoneta.com/index.php/s/Asyi7DKJEgNHEQ3

I don't intend to maintain the python-sipsimple package, so this is a temporary fix until this gets resolved upstream