HEADS UP - libcue soname bump in Fedora 20/21.

2013-08-31 Thread Peter Lemenkov
Hello All!
I'm going to update libcue up to 1.4.0 from current 1.3.0, with soname
bump. The following packages are affected by this upgrade:

* audacious-plugins-0:3.4-0.6.beta1.fc19.x86_64
* cmus-0:2.5.0-2.fc19.x86_64
* tracker-0:0.16.1-3.fc19.x86_64

I'll rebuild them as soon as libcue-1.4.0 will be available.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Compiling couchdb on a armhf machine.

2013-08-07 Thread Peter Lemenkov
2013/8/7 Pieter van der Eems p.van.der.e...@interactiveblueprints.nl:
 Hello.

 I'm trying to compile couchdb on a arm machine with hardfloat (cpu:
 RK3066, ARMv7).
 OS: Debian jessie/sid.

 Anyone any idea what I did wrong or how I can compile couchdb on armhf?

Proper way is to reuse system-wide prebuilt  libraries from your
distribution, as we do in Fedora:

* http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=1125

Here are all necessary patches (and few Fedora-specific which you
probably won't need):

* http://pkgs.fedoraproject.org/cgit/couchdb.git/tree/

-- 
With best regards, Peter Lemenkov.


Re: Attention F19 users! DO NOT upgrade to Erlang R16B01 if prompted.

2013-08-06 Thread Peter Lemenkov
Hello All!

2013/6/21 Peter Lemenkov lemen...@gmail.com:
 Hello All.

 Recent Erlang bugfix release fixed a few issues but added another
 nasty one - actually almost all Erlang application will fail to start.
 I'm working on it. Meanwhile please stay with R16B or downgrade to it.

Ok, it took me more than I expected but I succeeded at last. Final
missing piece is Riak 1.3.2

* 
https://admin.fedoraproject.org/updates/riak-1.3.2-1.fc19,erlang-R16B-01.1.fc19,erlang-riak_search-1.3.2-1.fc19,erlang-riak_kv-1.3.2-1.fc19,erlang-riaknostic-1.1.0-1.fc19,erlang-sidejob-0.2.0-2.fc19,erlang-riak_control-1.3.2-3.fc19,erlang-riak_api-1.3.2-2.fc19,erlang-bitcask-1.6.3-1.fc19,erlang-riak_pipe-1.3.2-1.fc19,erlang-riak_core-1.3.2-1.fc19,erlang-eleveldb-1.3.2-1.fc19

Now you may upgrade to Erlang R16B01. Please file a new ticket in case
of any issue.

There is only one known issue with R16B01 so far - erlang-ranch
refuses to start if ssl is enabled. I don't think this is a blocker
since there aren't applications dependent on ranch in Fedora. Anyway
I'm going to fix it during this week:

* https://bugzilla.redhat.com/976735

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: [Owner-change] Fedora packages ownership change

2013-08-05 Thread Peter Lemenkov
 gflags [devel,f17,f18,f19] was orphaned by rakesh
  Library for commandline flag processing
  https://admin.fedoraproject.org/pkgdb/acls/name/gflags

I'm using it for one of my projects so I'm going to take it. Also I
plan to add EL5 and EL6 branches.


-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Reducing dependencies of couchdb-*.rpm

2013-08-02 Thread Peter Lemenkov
2013/8/2 Dave Cottlehuber d...@jsonified.com:

 Is it possible to get rpm not to depend on a full GUI erlang install?

Sure it's possible. You just need to rebuild Erlang rpms without GUI.

-- 
With best regards, Peter Lemenkov.


Re: Reducing dependencies of couchdb-*.rpm

2013-08-01 Thread Peter Lemenkov
2013/8/1 Stock, Ingemar ingemar.st...@philotech.de:
 Hi all,

 I want to reduce package dependencies of couchdb. Is there any way to
 get rid of some rpm packages? When I install couchdb on a fresh minimal
 CentOS installation yum installs about 70 packages. Has anybody
 experience with stripping down erlang to the required parts?

You shouldn't do that. That's the point of packaging - automatic
dependency tracking, functional consistency, and system
reproducibility. Do you have any technical reasoning behind your
intention? I mean maybe you concerned about additional few megabytes
of HDD size, insecure packages within the dependency chain, or
anything else.

-- 
With best regards, Peter Lemenkov.


Re: Reducing dependencies of couchdb-*.rpm

2013-08-01 Thread Peter Lemenkov
2013/8/1 Stock, Ingemar ingemar.st...@philotech.de:
 Hi Peter,

 there is no technical reason to do

Ok, got that. Then just leave everything as is.


-- 
With best regards, Peter Lemenkov.


Two packages for swapping reviews.

2013-08-01 Thread Peter Lemenkov
Hello All!

I'm desperately searching a reviewer for two Erlang-related packages:

* https://bugzilla.redhat.com/990932 - erlang-riaknostic - A
diagnostic tool for Riak installations
* https://bugzilla.redhat.com/990691 - erlang-sidejob - An Erlang
library that implements a parallel, capacity-limited request pool

In exchange I'm willing to review your packages. Don't miss your chance!

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: [SDL/f19] (2 commits) ...Add NAS support

2013-07-26 Thread Peter Lemenkov
2013/7/26 Nicolas Chauvet kwiz...@gmail.com:



 2013/7/26 Petr Pisar ppi...@fedoraproject.org

 Summary of changes:

   63275df... Add esound and arts BRs (*)
   43ee9b2... Add NAS support (*)


 Do we really need to re-enable thoses deprecated sound server ?
 I guess no


Freedom. Friends. Features. Floppy disk support.


-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Porting some packages from Russian Fedora

2013-07-24 Thread Peter Lemenkov
2013/7/24 Luya Tshimbalanga l...@fedoraproject.org:
 On 22/07/13 05:04 AM, Ankur Sinha wrote:


 I'm more curious why there are packages at a Fedora downstream that
 aren't on the main Fedora repositories. Are these non free?

 If Russian Fedora is a remix that uses packages that are not in Fedora,
 especially non free ones, it should be following the trademark
 guidelines, and not use the Fedora logo etc.[1,2].

 [1]

 https://fedoraproject.org/wiki/Legal:Secondary_trademark_usage_guidelines?rd=Legal/Secondary_trademark_usage_guidelines
 [2]
 http://fedoraproject.org/wiki/Legal:Trademark_guidelines#Secondary_Mark

 It will be better to address to legal team.

-- 
With best regards, Peter Lemenkov.

Already done.

https://lists.fedoraproject.org/pipermail/advisory-board/2009-July/006829.html
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Porting some packages from Russian Fedora

2013-07-22 Thread Peter Lemenkov
Hello A;;.

2013/7/22 Luya Tshimbalanga l...@fedoraproject.org:
 Looking at Koji from Russian Fedora, I noticed some plugins for Gimp missing
 in the current Fedora repository.
 I am interested to port them which bring some questions, do I keep the
 original changelog and notify ported from Russian Fedoraor
 do I start the new spec with the statement based from Russian Fedora?

Feel free to do whatever you want with %changelog. However I'd rather
to preserve older entries - that's just my personal preference,
nothing more.


--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

I'm going to retire opengl-games-utils

2013-07-10 Thread Peter Lemenkov
Hello All!

I've no idea how did I become an opengl-games-utils maintainer in the
first place (perhaps I applied as a co-maintainer years ago). Also I
think that the package isn't needed anymore, so I'm going to remove
myself as a maintainer. If anyone wants to take care of this package,
then don't hesitate to grab it.

* https://admin.fedoraproject.org/pkgdb/acls/name/opengl-games-utils

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[HEADS UP] levedb update from 1.9.0 to 1.12.0 for Fedora 19

2013-07-10 Thread Peter Lemenkov
Hello All!
I'm updating leveldb from 1.9.0 to 1.12.o for Fedora 19. Actually
that's mostly a change of the number in spec-file (NOT a soname bump)
and a few compatible enhancements, however I also backported one
essential patch from Basho's fork of leveldb, which is required for
the next version of erlang-eleveldb (which in turn is necessary for
the Riak). This patch *could* cause issues, so please test it and add
karma:

* https://admin.fedoraproject.org/updates/leveldb-1.12.0-3.fc19

For the reference I set up a repository where I'm tracking all current
Fedora leveldb branches:

* https://git.fedorahosted.org/git/leveldb.git

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [Owner-change] Fedora packages ownership change

2013-07-08 Thread Peter Lemenkov
Hello All.

2013/7/8  nob...@fedoraproject.org:
 Change in ownership over the last 168 hours
 ===

 19 packages were orphaned
 -
 msmtp [EL-5,devel,f17,f18,f19] was orphaned by turki
  SMTP client
  https://admin.fedoraproject.org/pkgdb/acls/name/msmtp

I'm using it, so I'm taking this.

 libgsasl [EL-5,EL-6,devel,f17,f18,f19] was orphaned by turki
  GNU SASL library
  https://admin.fedoraproject.org/pkgdb/acls/name/libgsasl

erlang-esasl depends on this so I'll take it.

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

How to remove package and all dependent packages from EL branch?

2013-06-27 Thread Peter Lemenkov
Hello.
I've got bugreport that Erlang doesn't work on EL6 PPC64 achitecture.

https://bugzilla.redhat.com/show_bug.cgi?id=958953

I don't have resources to fix this issue, and nobody volunteered to
fix it so far, so I'd like to limit Erlang, and Erlang applications
and libraries on EL6 to x86/x86_64, where they works for sure. It's
not the only issue with Erlang and PPC64 - it also has limited support
for Java which prevented Erlang-Java bridge from being built
successfully. Reducing Erlang on EL6 to architectures where it works
even allows me to drop one patch and remove a couple of ifdefs from
spec so this will simplify things a bit.

Is there any documentation which describes the process of package
removal from a particular EL hardware branch?
--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Attention F19 users! DO NOT upgrade to Erlang R16B01 if prompted.

2013-06-25 Thread Peter Lemenkov
2013/6/21 Peter Lemenkov lemen...@gmail.com:
 Hello All.

 Recent Erlang bugfix release fixed a few issues but added another
 nasty one - actually almost all Erlang application will fail to start.
 I'm working on it. Meanwhile please stay with R16B or downgrade to it.

Fixed rabbitmq-server:

* https://admin.fedoraproject.org/updates/rabbitmq-server-3.1.2-1.fc19

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Attention F19 users! DO NOT upgrade to Erlang R16B01 if prompted.

2013-06-21 Thread Peter Lemenkov
Hello All.

Recent Erlang bugfix release fixed a few issues but added another
nasty one - actually almost all Erlang application will fail to start.
I'm working on it. Meanwhile please stay with R16B or downgrade to it.

Here are few links for those who's curious:

* http://thread.gmane.org/gmane.comp.lang.erlang.general/68995/focus=69001
* https://issues.apache.org/jira/browse/COUCHDB-1833
* http://thread.gmane.org/gmane.comp.networking.rabbitmq.general/23889
* http://thread.gmane.org/gmane.comp.lang.erlang.general/69019

Sorry for that. I hope to fix everything before next monday.
--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Attention F19 users! DO NOT upgrade to Erlang R16B01 if prompted.

2013-06-21 Thread Peter Lemenkov
2013/6/21 Peter Lemenkov lemen...@gmail.com:
 Hello All.

 Recent Erlang bugfix release fixed a few issues but added another
 nasty one - actually almost all Erlang application will fail to start.
 I'm working on it. Meanwhile please stay with R16B or downgrade to it.

Fixed couchdb:

* https://admin.fedoraproject.org/updates/couchdb-1.2.2-3.fc19

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Attention F19 users! DO NOT upgrade to Erlang R16B01 if prompted.

2013-06-21 Thread Peter Lemenkov
2013/6/21 Peter Lemenkov lemen...@gmail.com:
 Hello All.

 Recent Erlang bugfix release fixed a few issues but added another
 nasty one - actually almost all Erlang application will fail to start.
 I'm working on it. Meanwhile please stay with R16B or downgrade to it.

Fixed erlang-mochiweb:

* https://admin.fedoraproject.org/updates/erlang-mochiweb-2.4.2-2.fc19

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Couch not running on Fedora 19?

2013-05-31 Thread Peter Lemenkov
2013/5/31 Kristian Rink kawazu...@gmail.com:
 Am Fri, 31 May 2013 11:49:59 +0100
 schrieb Robert Newson rnew...@apache.org:

 Is Fedora 19 running erlang R16B? That would explain why mochiweb
 failed to start (it's not compatible).

 Yes. :( Trying to manually downgrade this by now. After all, this would
 explain things.

Wait a few hours - I'm building fixed couchdb right now.

--
With best regards, Peter Lemenkov.


Re: Couch not running on Fedora 19?

2013-05-31 Thread Peter Lemenkov
Hello Kristian,

2013/5/31 Kristian Rink kawazu...@gmail.com:

 Oh, ok, thanks. So I'll keep quiet and see what will come.

Please, try this build:

* https://admin.fedoraproject.org/updates/couchdb-1.2.2-2.fc19

--
With best regards, Peter Lemenkov.


Re: Couch not running on Fedora 19?

2013-05-31 Thread Peter Lemenkov
2013/5/31 Kristian Rink kawazu...@gmail.com:
 Am Fri, 31 May 2013 17:37:07 +0400
 schrieb Peter Lemenkov lemen...@gmail.com:

 Hello Kristian,

 2013/5/31 Kristian Rink kawazu...@gmail.com:

  Oh, ok, thanks. So I'll keep quiet and see what will come.

 Please, try this build:

 * https://admin.fedoraproject.org/updates/couchdb-1.2.2-2.fc19

 Additional note to that: Starting CouchDB with this build works by
 invoking the couchdb command from a terminal. However, using the
 systemd startup doesn't keep the couchdb running:

Sounds like an issue somewhere between systemd scripts and couchdb
script.  I'll take a look - thanks for the report.

--
With best regards, Peter Lemenkov.


Re: What does this means?

2013-05-27 Thread Peter Lemenkov
2013/5/27 Eugene Pivnev ti.eug...@gmail.com:
 https://apps.fedoraproject.org/packages/s/leechcaft
 https://admin.fedoraproject.org/updates/search/leechcraft

This package was abandoned by its maintainer. Do you want to take it over?

--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [Test-Announce] Fedora 19 Virt Test Day is Tuesday May 28!

2013-05-27 Thread Peter Lemenkov
Hello All!

2013/5/27 Cole Robinson crobi...@redhat.com:
 Hey all,

 The Fedora 19 Virt Test Day is tomorrow, Tuesday May 28th. Check out the
 test day landing page:

 https://fedoraproject.org/wiki/Test_Day:2013-05-28_Virtualization

Is it still possible to add a few more testcases? I suppose that
OpenVZ fellows would like to test a recently added crtools and vzctl.


--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Self Introduction

2013-05-12 Thread Peter Lemenkov
Hello All!

2013/5/12  kpra...@gmx.com:

 Review Request : Please review my Mplayer2 package bug :
 https://bugzilla.rpmfusion.org/show_bug.cgi?id=2775 .

Regarding mplayer2 - I wonder if it's better to switch to mpv instead
which is a fork of mplayer2. What do you think?

* http://mpv.io/
* https://github.com/mpv-player/mpv/blob/master/DOCS/man/en/changes.rst
* https://github.com/mpv-player/mpv


--
With best regards, Peter Lemenkov.


Re: [SR-Users] [sr-dev] rfc: restructuring source code tree

2013-05-07 Thread Peter Lemenkov
2013/5/7 Daniel-Constantin Mierla mico...@gmail.com:
 Hello,

 among the topics discussed just before the last major release series (4.0.x)
 was one about restructuring the source code tree. It started mainly as a
 proposal to move source code belonging to core in a dedicated folder, but
 there could be more variants. It's time start discussing if we do it, and if
 yes, how.

 Here is what I could collect so far.

 a) no change, keep like it is

 b) move source code of core in a dedicated folder named 'core'

 c) move all source code in a folder named src, with following sub-structure

+1 for c.


--
With best regards, Peter Lemenkov.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [sr-dev] rfc: restructuring source code tree

2013-05-07 Thread Peter Lemenkov
2013/5/7 Daniel-Constantin Mierla mico...@gmail.com:
 Hello,

 among the topics discussed just before the last major release series (4.0.x)
 was one about restructuring the source code tree. It started mainly as a
 proposal to move source code belonging to core in a dedicated folder, but
 there could be more variants. It's time start discussing if we do it, and if
 yes, how.

 Here is what I could collect so far.

 a) no change, keep like it is

 b) move source code of core in a dedicated folder named 'core'

 c) move all source code in a folder named src, with following sub-structure

+1 for c.


--
With best regards, Peter Lemenkov.

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [OpenSIPS-Users] [OpenSIPS-Devel] Migrating OpenSIPS to GitHub

2013-04-30 Thread Peter Lemenkov
Hello All!

2013/4/30 Răzvan Crainea raz...@opensips.org:
 Hi all!

 Following the community desires[1] to migrate OpenSIPS repository and
 tracker to Github, we have compiled a schedule[2] for the upcoming weeks.

That's a really great news!

--
With best regards, Peter Lemenkov.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Devel] Migrating OpenSIPS to GitHub

2013-04-30 Thread Peter Lemenkov
Hello All!

2013/4/30 Răzvan Crainea raz...@opensips.org:
 Hi all!

 Following the community desires[1] to migrate OpenSIPS repository and
 tracker to Github, we have compiled a schedule[2] for the upcoming weeks.

That's a really great news!

--
With best regards, Peter Lemenkov.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: New dependent packages

2013-04-27 Thread Peter Lemenkov
Hello All!

2013/4/27 Eugene Pivnev ti.eug...@gmail.com:
 As I started new package (qtermwidget; in bodhi testing now) - when I can
 start review request for package that depend on it (qterminal)?

You may open new review request whenever you want - just add necessary
Blocks/Depends in bugzilla.


--
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Packages requires /sbin/service.

2013-03-17 Thread Peter Lemenkov
2013/3/15 Lukáš Nykrýn lnyk...@redhat.com:
 After usr move packages should not install files to /sbin. Unfortunately
 there is a lot of packages requiring /sbin/service, which was recently moved
 to /usr/sbin/, and these packages were uninstallable. As a workaround I have
 put Provides: /sbin/service in the initscript spec, but I think that we
 should do a proper fix.

 So if your package is in following list, please change your Reguires to
 /usr/sbin/service.
...
 rtpproxy

Fixed.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: twinkle: Intent to retire

2013-03-13 Thread Peter Lemenkov
2013/3/12 Richard W.M. Jones rjo...@redhat.com:
 On Sun, Mar 10, 2013 at 11:53:00AM -0500, Ian Pilcher wrote:
 On 03/09/2013 12:08 PM, Kevin Fenzi wrote:
  So, I am going to retire this package in rawhide soon unless there's
  folks with a very strong C++ background wishing to fix issues and
  basically become the new upstream.

 Does Fedora currently have a functional soft-phone?

 Has Fedora *ever* had a functional soft-phone?

Short answer is no. Fedora never has a fully functional SIP softphone.

I personally hope we'll see Jitsi included in Fedora someday. Also one
can try Empathy but last time I tried it has awful
registration/authorization issues with Avahi, TCP, and IPv6 in
different combinations.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[systemd-devel] How to properly start user session from DM?

2013-03-06 Thread Peter Lemenkov
Hello All!
I'm trying to properly start a user's session from systemd. Actually I
already did that and I just want to improve my experience further.
Here is my story.

I'm using XDM which is cool and simple DM. When someone submits proper
login and password it loads /etc/X11/xdm/xdm-config file, searches
for DisplayManager*session key and runs whatever is written here
(/etc/X11/xdm/Xsession by default, /usr/bin/systemd --user in my
case). So far everything works perfectly.  Important note - it runs
this as a user which has just logged in.

I'm trying to replace /usr/bin/systemd --user  with something which
looks more proper - with /usr/bin/systemctl --user start user@`id -n
-u`.service but it logs out almost immediately. I tried it with and
w/o --user switch but nothing really changed - I see some login
attempts in journalctl logs and xdm is just restarted (looks like
someone pressed ctrl+alt+bksp). I suspect it's due to the act that
/usr/bin/systemctl --user stays forever while systemctl returns
almost immediately.

So I've got a two questions:

* What did I do wrong and how to fix that?
* Could someone please explain what's the purpose of this
/usr/lib/systemd/system/user@.service file and how to use it?

-- 
With best regards, Peter Lemenkov.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Review swaps!

2013-03-04 Thread Peter Lemenkov
Hello All!
I've got few review requests which got stuck for a while, and I'd love
to trading reviews with anyone.

* https://bugzilla.redhat.com/906473 - erlang-ranch - Socket acceptor
pool for TCP protocols
* https://bugzilla.redhat.com/906481 - erlang-cowboy - Small, fast,
modular HTTP server written in Erlang
* https://bugzilla.redhat.com/906482 - erlang-mimetypes - Erlang MIME
types library
* https://bugzilla.redhat.com/906486 - erlang-parsexml - Simple DOM
XML parser with convenient and very simple API

Please help me to add them to Fedora, and I'll help you in return!

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [ANN] Riak 1.3 Released

2013-02-21 Thread Peter Lemenkov
2013/2/21 Tom Santero tsant...@basho.com:
 Here Ye! Here Ye!

 The Basho Engineering team is thrilled to announced that Riak 1.3 is
 official and ready for your production systems. Without further adieu:

Great news!
-- 
With best regards, Peter Lemenkov.

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: [OpenSIPS-Users] [RFC] migration to GIT

2013-02-18 Thread Peter Lemenkov
2013/2/18 Saúl Ibarra Corretgé s...@ag-projects.com:

 What things need to be sorted out when moving to GIT:


 First question: would it be a self-hosted Git repository or the GitHub 
 service?

Why can't we have both?

I personally don't see any issues here - It's possible to setup a
primary repo at SF and secondary at GitHub. To be honest I'd
prefer GitHub.

Also I'd like to propose a switch to a new issue tracker at SF.net.
Just compare that one we have to use now with the newest one:

* http://sourceforge.net/p/sipp/bugs/
* http://sourceforge.net/p/curl/bugs/

-- 
With best regards, Peter Lemenkov.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] [OpenSIPS-Devel] [RFC] migration to GIT

2013-02-18 Thread Peter Lemenkov
2013/2/18 Saúl Ibarra Corretgé s...@ag-projects.com:
 Also I'd like to propose a switch to a new issue tracker at SF.net.
 Just compare that one we have to use now with the newest one:

 * http://sourceforge.net/p/sipp/bugs/
 * http://sourceforge.net/p/curl/bugs/


 Does the new tracker have anything like the pull requests mechanism?

No, it doesn't. But it's still much better than the current one.

-- 
With best regards, Peter Lemenkov.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Devel] [OpenSIPS-Users] [RFC] migration to GIT

2013-02-18 Thread Peter Lemenkov
2013/2/18 Bogdan-Andrei Iancu bog...@opensips.org:
 Hi all,

 I would like to get some suggestions and help on the matter of migrating the
 code repository from SVN to GIT - the fact that such migration will bring
 value is for sure :)

YES! YES! YES!


-- 
With best regards, Peter Lemenkov.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [OpenSIPS-Users] [RFC] migration to GIT

2013-02-18 Thread Peter Lemenkov
2013/2/18 Saúl Ibarra Corretgé s...@ag-projects.com:

 What things need to be sorted out when moving to GIT:


 First question: would it be a self-hosted Git repository or the GitHub 
 service?

Why can't we have both?

I personally don't see any issues here - It's possible to setup a
primary repo at SF and secondary at GitHub. To be honest I'd
prefer GitHub.

Also I'd like to propose a switch to a new issue tracker at SF.net.
Just compare that one we have to use now with the newest one:

* http://sourceforge.net/p/sipp/bugs/
* http://sourceforge.net/p/curl/bugs/

-- 
With best regards, Peter Lemenkov.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[Fedora-legal-list] Another Aladdin License

2013-02-15 Thread Peter Lemenkov
Hello All!
I'm dealing with the code which is licensed under the following terms:

=

/*
  Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved.

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
 claim that you wrote the original software. If you use this software
 in a product, an acknowledgment in the product documentation would be
 appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
 misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

  L. Peter Deutsch
  gh...@aladdin.com

 */

=

I've got two questions:

* Is this license OK for Fedora?
* If yes, can it be used in GPLv2+ licensed application?

-- 
With best regards, Peter Lemenkov.
___
legal mailing list
legal@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/legal

[HEADS UP] I've just built Erlang R16A in Rawhide.

2013-02-04 Thread Peter Lemenkov
Hello All!

As a part of the planned Erlang upgrade to R16 I updated it to the
recently released R16A (Release Candidate). I'm expecting a lot of
breakage. Unfortunately all incompatibilities are hidden from end
users, and some applications will install fine but refuse to start.
Instead they will throw up unexpected (by end user, I'm aware of this
issue) message to the console - Driver compiled with incorrect
version of erl_driver.h. I'm working on tracking them down and
rebuilding them. Also I plan to add another one constraint to these
packages - a dependency on a Port protocol version (additional
Requires:), so a major update will pull affected packages into
Broken Dependencies list thus preventing from disruptive updates.

Note - I won't plan to upgrade Fedora 17/18 to R16 to not to hurt our
current users. Instead I encourage everyone who's interested in trying
a very latest Erlang to upgrade to Rawhide/F19 asap.
-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [HEADS UP] I've just built Erlang R16A in Rawhide.

2013-02-04 Thread Peter Lemenkov
2013/2/4 Richard W.M. Jones rjo...@redhat.com:

 Are any changes required to C erl_interface / ei.h users?  I mean
 at the source level, not just recompiling.

Nope, no changes are necessary.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: wayland and broadway support in gtk

2013-01-24 Thread Peter Lemenkov
2013/1/24 Matthias Clasen mcla...@redhat.com:
 Hi,

 I'm tentatively planning to enable the Wayland and Broadway backends in GTK+ 
 for f19.

Great!
Yes, please - we're all waiting for this.
Could you please briefly explain which GTK appls will gain Wayland
support after this? I bet we won't be able to run LO or Gimp on
Wayland yet but maybe something smaller, like image viewer, or
terminal emulator.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Proposed F19 Feature: Erlyvideo - add Erlyvideo video streaming server to the Fedora repositories

2013-01-16 Thread Peter Lemenkov
Hello All.

2013/1/16 Bill Nottingham nott...@redhat.com:

 Also, the scope bits about the issues with codecs are not encouraging. Do we
 know that streaming to any of the above targets will work with
 patent-unencumbered codecs?

Actually that's not a really big issue. Erlyvide can work as a proxy
for other streams (say you generate bitstream somewhere else and
erlyvideo just retranslates it to the clients).

Although I'm going to disable all MP4/AAC-transcoding features and
support for patented streaming protocols, it still will be useful. It
can capture live streams from DVB-cards, other media-streaming
applications, read from filesystem, from the clouds. It can be used as
a RTP source for SIP, WebRTC, and XMPP applications as well as for
HTTP streaming, and raw RTP streaming.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Proposed F19 Feature: Erlyvideo - add Erlyvideo video streaming server to the Fedora repositories

2013-01-16 Thread Peter Lemenkov
Hello All.

2013/1/16 Josh Boyer jwbo...@gmail.com:

 I'm kind of concerned about this one.  The Feature page seems to be more
 of an announcement that the application is packaged than anything else.
 It was last updated back in August, and it is still at 0%.  While we
 might debate the usefulness of percentages, it's hard to misinterpret 0.

I'll update it. I've got a working RPM right now but there are 3
bundled libraries:

* parsexml (not used by anyone else)
* ranch (quite popular Erlang TCP connection pool library, should be
splitted off)
* cowboy (small, fast, modular HTTP server written in Erlang)
* mimetypes (Erlang MIME types library).

Regarding problematic stuff - it contains an Erlang binding to ffmpeg
(which should be removed and used as a transcoding solution if
transcoding is requested by user) and an Erlang mmap library with lost
attribution (I'm working on replacing it with erlang-emmap).

It fully supports RTSP ( https://tools.ietf.org/html/rfc2326 ) and
RTMP (proprietary,
https://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol )
protocols.

 There isn't even a package review ticket for the package, nor either of
 the two packages it depends on.  To be honest, I'm not sure how this was
 considered ready for review.

I'll update it in a couple of days. So far I've got this (somewhat
outdated) package for those who is interested:

* http://peter.fedorapeople.org/erlyvideo/erlyvideo-2.5.3-1.fc19.src.rpm


-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Proposed F19 Feature: Erlyvideo - add Erlyvideo video streaming server to the Fedora repositories

2013-01-16 Thread Peter Lemenkov
Hello All

2013/1/16 Jaroslav Reznik jrez...@redhat.com:
 Although I'm going to disable all MP4/AAC-transcoding features and
 support for patented streaming protocols, it still will be useful.

 Will it be possible to split it out to standalone package distributed
 by different means? Same as we do for example for GStreamer?

Actually I'm not that interested in a proprietary mp4 part although I
must admit that it's possible. My original plan was to

1. Add Erlyvideo to Fedora
2. Ensure it works with WebM
3. Consider bringing back missing functionality (with the aid of
gstreamer instead of a direct ffmpeg invocation maybe).

In fact I doubt a live Video transcoding from/to proprietary evil
patented stuff will be incredibly popular feature so maybe #3 won't
worth our efforts.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [OpenSIPS-Devel] Please stop retagging versions and releasing new tarballs under the same version number.

2013-01-16 Thread Peter Lemenkov
2013/1/15 Bogdan-Andrei Iancu bog...@opensips.org:
 Makes sense to me, if fine with Peter too.

Yes, that's absolutely fine.
-- 
With best regards, Peter Lemenkov.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] Please stop retagging versions and releasing new tarballs under the same version number.

2013-01-14 Thread Peter Lemenkov
Hello All.

I've just found that there are several different tarballs with what is
called OpenSIPS 1.8.2. Latest one was released in January and contains
all bugfixes (as far as I can see) from a 1.8 branch. This isn't a
good release strategy and really drives maintainers mad. Could you
please stop doing so.

If you need to release some critical bugfixes in a 1.8.x branch then
don't be shy - tag it 1.8.3, 1.8.4, and so on.

-- 
With best regards, Peter Lemenkov.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] Is it possible to return 0 from an exported function?

2013-01-10 Thread Peter Lemenkov
Hello.
I'm writing a function (extending sipmsgops actually) which returns
Payload ID. Obviously it should return 0 in case of PCMU/8000/1 which
seems to be impossible.

As a temporary solution I'm thinking of returing PayloadID+1 but this
looks really strange. Maybe there are some other ways to return actual
0 from a module's exported function?

-- 
With best regards, Peter Lemenkov.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [sr-dev] erlrtpproxy (was: Re: ice support in media/rtp proxy)

2013-01-05 Thread Peter Lemenkov
Hello All!

2013/1/2 Klaus Darilion klaus.mailingli...@pernau.at:

 I just heard of erlrtpproxy for the first time. There is pretty no
 documentation in github. Is it comatible with rtpproxy. Are there any
 advantages over rtpproxy?

 I would be cool of you can shortly present erlrtpproxy to the Kamailio
 users.

I recently picked up my old attempt (which was in a quite good state
already) to rewrite a venerable RTPproxy in Erlang. Right now it still
in a w.i.p. although I'm using it personally in a two installations.

* https://github.com/lemenkov/erlrtpproxy

What I've done so far is:

* Basic offer/answer works.
* Call recording works
* Music-on-hold works.
* Transcoding from/to G.711 / G.721 / G.722 / G.723 / G.726 / G.729
(annex A only, annex B VAD frames currently skipped) / GSM / iLBC /
Opus / SPEEX. I made the first version to be compatible with a very
old Erlang so it works sub-optimally on a more recent Erlang versions
(speaking more positively this means I have a room for improvements).
* OpenSER-style timeout notifications via IPv4/IPv6 UDP/TCP (configurable)
* RADIUS notifications (start / interim update / stop, configurable)
* Control socket (2 by default) using IPv4/IPv6 UDP/TCP (configurable)
* Events logging (start, stop, interim update, timeout, codec/parser
error) to syslog (with full RTCP pretty printing)
* WebRTC-style RTP/RTCP muxing/demuxing from/to two independent
channels (automatically)
* Setting some internal parameters via HTTP-JSON interface.
* IPv4/IPv6 bridging for RTP/RTCP
* JSON stats retrieval via HTTP (currently supporting queries like
http://localhost:8442/json/?callid=0003e30c-c50c0134-763a6f53-359481cc@192.168.0.100payload=0
- available parameters are - payload, callid, mediaid, tag, remote IP)

{http_query:{callid:0003e30c-c50c0134-763a6f53-359481cc@192.168.0.100,payload:0},result:{media:{callid:0003e30c-c50c0134-763a6f53-359481cc@192.168.0.100,mediaid:1,tag:0003e30cc50c5d43416d30b4-7b2f969c,payload:0,rxbytes:108008800,rxpackets:62,txbytes:108262240,txpackets:676639,local:{ip:192.168.1.233,rtp:50486,rtcp:50487},remote:{ip:192.168.5.1,rtp:5038,rtcp:5039}},media:{callid:0003e30c-c50c0134-763a6f53-359481cc@192.168.0.100,mediaid:1,tag:2e268de3,payload:0,rxbytes:108262240,rxpackets:676639,txbytes:108008800,txpackets:62,local:{ip:192.168.1.233,rtp:34732,rtcp:34733},remote:{ip:192.168.5.10,rtp:20912,rtcp:null

In progress

* A completely new JSON-based command protocol.
* Multiple networks bridging (more than just three - internal, external, ipv6).
* STUN/TURN/ICE.
* More stats and more query options (for example, select all calls
from/to a given country, using GeoIP)
* SRTP / ZRTP (almost there - I put them on hold for now) and a
gateway SRTP-RTP
* Video with transcoding.
* Full WebRTC media support.
* CEE logging.
* Stream copying to a given IP:Port (actually I'm not sure that I'm
going to implement this feature).

I won't plan to add:

* Transcoding offloading using dedicated hardware. I just don't have
any hardware available.
* In-kernel routing (like iptrtpproxy, mediaproxy did).

Since I'm using Erlang I've got for free a lot of good stuff -
clustering, fault tolerance, restarts in case of failures, almost
linear scalability, etc. It has few disadvantages as well. Most
notable one - Erlang isn't a very friendly thing especially when it
comes to the installation. I'm working on improving this.

Regarding performance - ~1000 concurrent calls with G.711 codec and
without transcoding costs ~500% utilization of a 8-core 32-bit x86
2GHz CPU which isn't a very good but I'm working on the improvement.

-- 
With best regards, Peter Lemenkov.

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


The karma value of your comment has been changed to zero, because you submitted the update.

2012-12-25 Thread Peter Lemenkov
Hello.
I've just been hit by this while trying to add -1 to karma, and I
think that's a regression. Could somebody please fix this? Or at least
could somebody explain why it's no longer possible to downvote your
own builds?

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: The karma value of your comment has been changed to zero, because you submitted the update.

2012-12-25 Thread Peter Lemenkov
2012/12/25 drago01 drag...@gmail.com:
 On Tue, Dec 25, 2012 at 10:23 AM, Peter Lemenkov lemen...@gmail.com wrote:
 Hello.
 I've just been hit by this while trying to add -1 to karma, and I
 think that's a regression. Could somebody please fix this? Or at least
 could somebody explain why it's no longer possible to downvote your
 own builds?

 What's the point? You can/should just unpush the update ...

It's not always practical. Especially in case of a minor glitch in a
big package. I still want to mention about an issue but don't want to
unpush it right now.


-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [coreboot] ASRock E350M1: Only costs 66,10 € in Germany

2012-12-12 Thread Peter Lemenkov
Hello All!

2012/12/12 Paul Menzel paulepan...@users.sourceforge.net:
 Dear coreboot folks,


 just a notice, that the ASRock E350M1 had a price drop in September and
 currently costs only 66,10 € [1] in Germany.

Available in Russia as well. (~61€).

http://www.nix.ru/autocatalog/motherboards_asrock/ASRock_E350M1_AMD_E350_CPU_onboard_AMD_A50_PCIE_DVI_HDMI_SATA_MiniITX_2DDRIII_113683.html


I think I'm going to buy this one.

-- 
With best regards, Peter Lemenkov.

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: Where are we going? (Not a rant)

2012-12-09 Thread Peter Lemenkov
2012/12/7 Tomas Radej tra...@redhat.com:
 Hi everybody.

 Disclaimer: This mail is written from the position of a Fedora
 community member. Red Hat has nothing to do with this.

For those who doesn't bother reading this - stability vs. innovation rant.

Tomas, why don't you just use/recomment stable distro?
-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Peter Lemenkov

2012-12-09 Thread Peter Lemenkov
2012/12/9 Eric H. Christensen spa...@fedoraproject.org:

 Peter,
 Please contact me at spa...@fedoraproject.org.

Done.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: F-18 Branched report: 20121203 changes

2012-12-03 Thread Peter Lemenkov
2012/12/3 Fedora Branched Report rawh...@fedoraproject.org:
 Compose started at Mon Dec  3 09:15:26 UTC 2012

 Broken deps for x86_64
 --
 [ugene]
 ugene-1.11.3-1.fc18.x86_64 requires qtwebkit = 0:4.7.0



 Broken deps for i386
 --
 [ugene]
 ugene-1.11.3-1.fc18.i686 requires qtwebkit = 0:4.7.0

That was my fault. Fortunately Rex Dieter had fixed that and I
submitted a new builds to updates-testing.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[Semsdev] git:peterlemenkov/bcg729: Cosmetic

2012-11-23 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/bcg729
Commit: adf0794a698b6bf0ceb0c4e434ff83402bad9843
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=adf0794a698b6bf0ceb0c4e434ff83402bad9843

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Nov 23 17:48:16 2012 +0400

Cosmetic

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/g729/g729.c |   35 ++-
 1 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/core/plug-in/g729/g729.c b/core/plug-in/g729/g729.c
index 65a4708..9ab267c 100644
--- a/core/plug-in/g729/g729.c
+++ b/core/plug-in/g729/g729.c
@@ -54,6 +54,7 @@ static unsigned int g729_samples2bytes(long, unsigned int);
 #define G729_PAYLOAD_ID  18
 #define G729_BYTES_PER_FRAME 10
 #define G729_SAMPLES_PER_FRAME   10
+#define PCM_BYTES_PER_FRAME  160
 
 BEGIN_EXPORTS( g729, AMCI_NO_MODULEINIT, AMCI_NO_MODULEDESTROY)
 
@@ -111,25 +112,25 @@ static int pcm16_2_g729(unsigned char* out_buf, unsigned 
char* in_buf, unsigned
unsigned int channels, unsigned int rate, long h_codec )
 {
 struct G729_codec *codec = (struct G729_codec *) h_codec;
-int out_size = 0;
+unsigned int out_size = 0;
 
 if (!h_codec)
   return -1;
 
-if (size % 160 != 0){
-   ERROR(pcm16_2_g729: number of blocks should be integral (block size = 
160)\n);
+if (size % PCM_BYTES_PER_FRAME != 0){
+   ERROR(pcm16_2_g729: number of blocks should be integral (block size = 
%u)\n, PCM_BYTES_PER_FRAME);
return -1;
 }
 
-while(size = 160){
+while(size = PCM_BYTES_PER_FRAME){
 /* Encode a frame  */
 bcg729Encoder(codec-enc, in_buf, out_buf);
 
-   size -= 160;
-   in_buf += 160;
+   size -= PCM_BYTES_PER_FRAME;
+   in_buf += PCM_BYTES_PER_FRAME;
 
-   out_buf += 10;
-   out_size += 10;
+   out_buf += G729_BYTES_PER_FRAME;
+   out_size += G729_BYTES_PER_FRAME;
 }
 
 return out_size;
@@ -138,26 +139,26 @@ static int pcm16_2_g729(unsigned char* out_buf, unsigned 
char* in_buf, unsigned
 static int g729_2_pcm16(unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
   unsigned int channels, unsigned int rate, long h_codec )
 {
-unsigned int out_size = 0;
 struct G729_codec *codec = (struct G729_codec *) h_codec;
+unsigned int out_size = 0;
 
 if (!h_codec)
   return -1;
 
-if (size % 10 != 0){
-   ERROR(g729_2_pcm16: number of blocks should be integral (block size = 
10)\n);
+if (size % G729_BYTES_PER_FRAME != 0){
+   ERROR(g729_2_pcm16: number of blocks should be integral (block size = 
%u)\n, G729_BYTES_PER_FRAME);
return -1;
 }
 
-while(size = 10){
-/* Encode a frame  */
+while(size = G729_BYTES_PER_FRAME){
+/* Decode a frame  */
 bcg729Decoder(codec-dec, in_buf, 0, out_buf);
 
-   in_buf += 10;
-   size -= 10;
+   size -= G729_BYTES_PER_FRAME;
+   in_buf += G729_BYTES_PER_FRAME;
 
-   out_buf += 160;
-   out_size += 160;
+   out_buf += PCM_BYTES_PER_FRAME;
+   out_size += PCM_BYTES_PER_FRAME;
   }
 
 return out_size;

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.4: Allow build against external iLBC

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.4
Commit: 2b8f04bde72a50a2910bc0af6ed0a13f850f9d86
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2b8f04bde72a50a2910bc0af6ed0a13f850f9d86

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:18:37 2012 +0400

Allow build against external iLBC

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt   |   11 ---
 cmake/FindIlbc.cmake |   17 +
 core/plug-in/ilbc/CMakeLists.txt |8 ++--
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6bc8c3..a1aac1f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ OPTION(SEMS_USE_SPANDSP   Build with spandsp OFF)
 OPTION(SEMS_USE_LIBSAMPLERATE Build with libsamplerate OFF)
 OPTION(SEMS_USE_ZRTP  Build with ZRTP OFF)
 OPTION(SEMS_USE_MP3   Build with Lame MP3 OFF)
-OPTION(SEMS_USE_ILBC  Build with bundled iLBC library ON)
+OPTION(SEMS_USE_ILBC  Build with iLBC library (fallback to bundled) 
ON)
 OPTION(SEMS_USE_TTS   Build with Text-to-speech support (requires 
Flite) OFF)
 OPTION(SEMS_USE_OPENSSL   Build with OpenSSL OFF)
 OPTION(SEMS_USE_MONITORINGBuild with monitoring support OFF)
@@ -124,9 +124,14 @@ ELSE(SEMS_USE_MP3)
 ENDIF(SEMS_USE_MP3)
 
 IF(SEMS_USE_ILBC)
-   MESSAGE(STATUS Using bundled iLBC library: YES (default))
+   FIND_PACKAGE(Ilbc)
+   IF(ILBC_FOUND)
+   MESSAGE(STATUS Using iLBC library: YES (external))
+   ELSE(ILBC_FOUND)
+   MESSAGE(STATUS Using iLBC library: YES (bundled, default))
+   ENDIF(ILBC_FOUND)
 ELSE(SEMS_USE_ILBC)
-   MESSAGE(STATUS Using bundled iLBC library: NO)
+   MESSAGE(STATUS Uusing iLBC library: NO)
 ENDIF(SEMS_USE_ILBC)
 
 # build in support for monitoring?
diff --git a/cmake/FindIlbc.cmake b/cmake/FindIlbc.cmake
new file mode 100644
index 000..c5fa5c1
--- /dev/null
+++ b/cmake/FindIlbc.cmake
@@ -0,0 +1,17 @@
+FIND_PATH(ILBC_INCLUDE_DIR ilbc.h)
+FIND_LIBRARY(ILBC_LIBRARIES NAMES ilbc)
+
+IF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
+   SET(ILBC_FOUND TRUE)
+ENDIF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
+
+IF(ILBC_FOUND)
+   IF (NOT Ilbc_FIND_QUIETLY)
+   MESSAGE(STATUS Found ilbc includes:
${ILBC_INCLUDE_DIR}/ilbc.h)
+   MESSAGE(STATUS Found ilbc library: ${ILBC_LIBRARIES})
+   ENDIF (NOT Ilbc_FIND_QUIETLY)
+ELSE(ILBC_FOUND)
+   IF (Ilbc_FIND_REQUIRED)
+   MESSAGE(FATAL_ERROR Could NOT find ilbc development files)
+   ENDIF (Ilbc_FIND_REQUIRED)
+ENDIF(ILBC_FOUND)
diff --git a/core/plug-in/ilbc/CMakeLists.txt b/core/plug-in/ilbc/CMakeLists.txt
index 1f4dcfb..bf77875 100644
--- a/core/plug-in/ilbc/CMakeLists.txt
+++ b/core/plug-in/ilbc/CMakeLists.txt
@@ -2,10 +2,14 @@ set (ilbc_SRCS
  ilbc.c
 )
 
+SET(sems_module_name ilbc)
+IF(ILBC_FOUND)
+SET(sems_module_libs ilbc)
+ELSE(ILBC_FOUND)
 ADD_SUBDIRECTORY (iLBC_rfc3951)
 INCLUDE_DIRECTORIES (iLBC_rfc3951)
-
-SET(sems_module_name ilbc)
 SET(sems_module_libs libilbc)
+ENDIF(ILBC_FOUND)
+
 INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.5: Search for possibly missing res_search

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: d5b3f315eaf2cb28db044099083a7737e0d9c700
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d5b3f315eaf2cb28db044099083a7737e0d9c700

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Sat Oct  2 17:54:11 2010 +0400

Search for possibly missing res_search

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt|6 +++
 cmake/CheckSymbolExists.cmake |   83 +
 2 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c69c4f7..0c4bd85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,6 +229,12 @@ ELSE(RTMP_FOUND)
MESSAGE(STATUS Using librtmp: NO)
 ENDIF(RTMP_FOUND)
 
+# Check for res_search in -lresolv
+include(${CMAKE_SOURCE_DIR}/cmake/CheckSymbolExists.cmake)
+SET(CMAKE_REQUIRED_LIBRARIES resolv)
+CHECK_SYMBOL_EXISTS(res_search resolv.h HAVE_RES_SEARCH)
+MESSAGE(STATUS Have res_search: ${HAVE_RES_SEARCH} )
+
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core/ampi)
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core/amci)
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core)
diff --git a/cmake/CheckSymbolExists.cmake b/cmake/CheckSymbolExists.cmake
new file mode 100644
index 000..d48b65f
--- /dev/null
+++ b/cmake/CheckSymbolExists.cmake
@@ -0,0 +1,83 @@
+# - Check if the symbol exists in include files
+# CHECK_SYMBOL_EXISTS(SYMBOL FILES VARIABLE)
+#
+#  SYMBOL   - symbol
+#  FILES- include files to check
+#  VARIABLE - variable to return result
+#
+# The following variables may be set before calling this macro to
+# modify the way the check is run:
+#
+#  CMAKE_REQUIRED_FLAGS = string of compile command line flags
+#  CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+#  CMAKE_REQUIRED_INCLUDES = list of include directories
+#  CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+
+#=
+# Copyright 2003-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the License);
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
+MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
+  IF(${VARIABLE} MATCHES ^${VARIABLE}$)
+SET(CMAKE_CONFIGURABLE_FILE_CONTENT /* */\n)
+SET(MACRO_CHECK_SYMBOL_EXISTS_FLAGS ${CMAKE_REQUIRED_FLAGS})
+IF(CMAKE_REQUIRED_LIBRARIES)
+  SET(CHECK_SYMBOL_EXISTS_LIBS 
+-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES})
+ELSE(CMAKE_REQUIRED_LIBRARIES)
+  SET(CHECK_SYMBOL_EXISTS_LIBS)
+ENDIF(CMAKE_REQUIRED_LIBRARIES)
+IF(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_SYMBOL_EXISTS_INCLUDES
+-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES})
+ELSE(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_SYMBOL_EXISTS_INCLUDES)
+ENDIF(CMAKE_REQUIRED_INCLUDES)
+FOREACH(FILE ${FILES})
+  SET(CMAKE_CONFIGURABLE_FILE_CONTENT
+${CMAKE_CONFIGURABLE_FILE_CONTENT}#include ${FILE}\n)
+ENDFOREACH(FILE)
+SET(CMAKE_CONFIGURABLE_FILE_CONTENT
+  ${CMAKE_CONFIGURABLE_FILE_CONTENT}\nvoid cmakeRequireSymbol(int 
dummy,...){(void)dummy;}\nint main()\n{\n#ifndef ${SYMBOL}\n  
cmakeRequireSymbol(0,${SYMBOL});\n#endif\n  return 0;\n}\n)
+
+CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in
+  
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c 
@ONLY)
+
+MESSAGE(STATUS Looking for ${SYMBOL})
+TRY_COMPILE(${VARIABLE}
+  ${CMAKE_BINARY_DIR}
+  ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c
+  COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
+  CMAKE_FLAGS 
+  -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_SYMBOL_EXISTS_FLAGS}
+  ${CHECK_SYMBOL_EXISTS_LIBS}
+  ${CMAKE_SYMBOL_EXISTS_INCLUDES}
+  OUTPUT_VARIABLE OUTPUT)
+IF(${VARIABLE})
+  MESSAGE(STATUS Looking for ${SYMBOL} - found)
+  SET(${VARIABLE} 1 CACHE INTERNAL Have symbol ${SYMBOL})
+  FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log 
+Determining if the ${SYMBOL} 
+exist passed with the following output:\n
+${OUTPUT}\nFile 
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c:\n
+${CMAKE_CONFIGURABLE_FILE_CONTENT}\n)
+ELSE(${VARIABLE})
+  MESSAGE(STATUS Looking for ${SYMBOL} - not found.)
+  SET(${VARIABLE}  CACHE INTERNAL Have symbol ${SYMBOL})
+  FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log 
+Determining if the ${SYMBOL} 
+exist failed

[Semsdev] git:1.5: Allow build against external iLBC

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: fd40288b2e59498fdc8a0a5e83df4eef89e83fc7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=fd40288b2e59498fdc8a0a5e83df4eef89e83fc7

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:18:37 2012 +0400

Allow build against external iLBC

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt   |   11 ---
 cmake/FindIlbc.cmake |   17 +
 core/plug-in/ilbc/CMakeLists.txt |8 ++--
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c4bd85..f57d01d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ OPTION(SEMS_USE_SPANDSP   Build with spandsp OFF)
 OPTION(SEMS_USE_LIBSAMPLERATE Build with libsamplerate OFF)
 OPTION(SEMS_USE_ZRTP  Build with ZRTP OFF)
 OPTION(SEMS_USE_MP3   Build with Lame MP3 OFF)
-OPTION(SEMS_USE_ILBC  Build with bundled iLBC library ON)
+OPTION(SEMS_USE_ILBC  Build with iLBC library (fallback to bundled) 
ON)
 OPTION(SEMS_USE_TTS   Build with Text-to-speech support (requires 
Flite) OFF)
 OPTION(SEMS_USE_OPENSSL   Build with OpenSSL OFF)
 OPTION(SEMS_USE_MONITORINGBuild with monitoring support OFF)
@@ -124,9 +124,14 @@ ELSE(SEMS_USE_MP3)
 ENDIF(SEMS_USE_MP3)
 
 IF(SEMS_USE_ILBC)
-   MESSAGE(STATUS Using bundled iLBC library: YES (default))
+   FIND_PACKAGE(Ilbc)
+   IF(ILBC_FOUND)
+   MESSAGE(STATUS Using iLBC library: YES (external))
+   ELSE(ILBC_FOUND)
+   MESSAGE(STATUS Using iLBC library: YES (bundled, default))
+   ENDIF(ILBC_FOUND)
 ELSE(SEMS_USE_ILBC)
-   MESSAGE(STATUS Using bundled iLBC library: NO)
+   MESSAGE(STATUS Uusing iLBC library: NO)
 ENDIF(SEMS_USE_ILBC)
 
 # build in support for monitoring?
diff --git a/cmake/FindIlbc.cmake b/cmake/FindIlbc.cmake
new file mode 100644
index 000..c5fa5c1
--- /dev/null
+++ b/cmake/FindIlbc.cmake
@@ -0,0 +1,17 @@
+FIND_PATH(ILBC_INCLUDE_DIR ilbc.h)
+FIND_LIBRARY(ILBC_LIBRARIES NAMES ilbc)
+
+IF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
+   SET(ILBC_FOUND TRUE)
+ENDIF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
+
+IF(ILBC_FOUND)
+   IF (NOT Ilbc_FIND_QUIETLY)
+   MESSAGE(STATUS Found ilbc includes:
${ILBC_INCLUDE_DIR}/ilbc.h)
+   MESSAGE(STATUS Found ilbc library: ${ILBC_LIBRARIES})
+   ENDIF (NOT Ilbc_FIND_QUIETLY)
+ELSE(ILBC_FOUND)
+   IF (Ilbc_FIND_REQUIRED)
+   MESSAGE(FATAL_ERROR Could NOT find ilbc development files)
+   ENDIF (Ilbc_FIND_REQUIRED)
+ENDIF(ILBC_FOUND)
diff --git a/core/plug-in/ilbc/CMakeLists.txt b/core/plug-in/ilbc/CMakeLists.txt
index 1f4dcfb..bf77875 100644
--- a/core/plug-in/ilbc/CMakeLists.txt
+++ b/core/plug-in/ilbc/CMakeLists.txt
@@ -2,10 +2,14 @@ set (ilbc_SRCS
  ilbc.c
 )
 
+SET(sems_module_name ilbc)
+IF(ILBC_FOUND)
+SET(sems_module_libs ilbc)
+ELSE(ILBC_FOUND)
 ADD_SUBDIRECTORY (iLBC_rfc3951)
 INCLUDE_DIRECTORIES (iLBC_rfc3951)
-
-SET(sems_module_name ilbc)
 SET(sems_module_libs libilbc)
+ENDIF(ILBC_FOUND)
+
 INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.4: Add check for mysql_version.h header

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.4
Commit: d04f93c5c9318ba2f9acd4b1d216db454ea69991
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d04f93c5c9318ba2f9acd4b1d216db454ea69991

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:56:23 2012 +0400

Add check for mysql_version.h header

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 cmake/FindMySQLpp.cmake |9 +
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/cmake/FindMySQLpp.cmake b/cmake/FindMySQLpp.cmake
index 94050c9..248624c 100644
--- a/cmake/FindMySQLpp.cmake
+++ b/cmake/FindMySQLpp.cmake
@@ -15,3 +15,12 @@ ELSE(MYSQLPP_FOUND)
MESSAGE(FATAL_ERROR Could NOT find mysql++ development files)
ENDIF (MySQLpp_FIND_REQUIRED)
 ENDIF(MYSQLPP_FOUND)
+
+# Check for buried mysql_version.h
+FIND_PATH(MYSQL_INCLUDE_MYSQL_VERSION_H mysql_version.h)
+IF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)
+   FIND_PATH(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H mysql/mysql_version.h)
+   IF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+   ADD_DEFINITIONS(-DMYSQLPP_MYSQL_HEADERS_BURIED)
+   ENDIF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+ENDIF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.4: Search for possibly missing res_search

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.4
Commit: 1694a7a1394089f59c744e0ad066440f3f2550e8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=1694a7a1394089f59c744e0ad066440f3f2550e8

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Sat Oct  2 17:54:11 2010 +0400

Search for possibly missing res_search

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt|6 +++
 cmake/CheckSymbolExists.cmake |   83 +
 2 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f83c5d..b6bc8c3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -222,6 +222,12 @@ ELSE(LIBEV_FOUND)
 ENDIF(LIBEV_FOUND)
 
 
+# Check for res_search in -lresolv
+include(${CMAKE_SOURCE_DIR}/cmake/CheckSymbolExists.cmake)
+SET(CMAKE_REQUIRED_LIBRARIES resolv)
+CHECK_SYMBOL_EXISTS(res_search resolv.h HAVE_RES_SEARCH)
+MESSAGE(STATUS Have res_search: ${HAVE_RES_SEARCH} )
+
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core/ampi)
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core/amci)
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core)
diff --git a/cmake/CheckSymbolExists.cmake b/cmake/CheckSymbolExists.cmake
new file mode 100644
index 000..d48b65f
--- /dev/null
+++ b/cmake/CheckSymbolExists.cmake
@@ -0,0 +1,83 @@
+# - Check if the symbol exists in include files
+# CHECK_SYMBOL_EXISTS(SYMBOL FILES VARIABLE)
+#
+#  SYMBOL   - symbol
+#  FILES- include files to check
+#  VARIABLE - variable to return result
+#
+# The following variables may be set before calling this macro to
+# modify the way the check is run:
+#
+#  CMAKE_REQUIRED_FLAGS = string of compile command line flags
+#  CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+#  CMAKE_REQUIRED_INCLUDES = list of include directories
+#  CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+
+#=
+# Copyright 2003-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the License);
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
+MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
+  IF(${VARIABLE} MATCHES ^${VARIABLE}$)
+SET(CMAKE_CONFIGURABLE_FILE_CONTENT /* */\n)
+SET(MACRO_CHECK_SYMBOL_EXISTS_FLAGS ${CMAKE_REQUIRED_FLAGS})
+IF(CMAKE_REQUIRED_LIBRARIES)
+  SET(CHECK_SYMBOL_EXISTS_LIBS 
+-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES})
+ELSE(CMAKE_REQUIRED_LIBRARIES)
+  SET(CHECK_SYMBOL_EXISTS_LIBS)
+ENDIF(CMAKE_REQUIRED_LIBRARIES)
+IF(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_SYMBOL_EXISTS_INCLUDES
+-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES})
+ELSE(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_SYMBOL_EXISTS_INCLUDES)
+ENDIF(CMAKE_REQUIRED_INCLUDES)
+FOREACH(FILE ${FILES})
+  SET(CMAKE_CONFIGURABLE_FILE_CONTENT
+${CMAKE_CONFIGURABLE_FILE_CONTENT}#include ${FILE}\n)
+ENDFOREACH(FILE)
+SET(CMAKE_CONFIGURABLE_FILE_CONTENT
+  ${CMAKE_CONFIGURABLE_FILE_CONTENT}\nvoid cmakeRequireSymbol(int 
dummy,...){(void)dummy;}\nint main()\n{\n#ifndef ${SYMBOL}\n  
cmakeRequireSymbol(0,${SYMBOL});\n#endif\n  return 0;\n}\n)
+
+CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in
+  
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c 
@ONLY)
+
+MESSAGE(STATUS Looking for ${SYMBOL})
+TRY_COMPILE(${VARIABLE}
+  ${CMAKE_BINARY_DIR}
+  ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c
+  COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
+  CMAKE_FLAGS 
+  -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_SYMBOL_EXISTS_FLAGS}
+  ${CHECK_SYMBOL_EXISTS_LIBS}
+  ${CMAKE_SYMBOL_EXISTS_INCLUDES}
+  OUTPUT_VARIABLE OUTPUT)
+IF(${VARIABLE})
+  MESSAGE(STATUS Looking for ${SYMBOL} - found)
+  SET(${VARIABLE} 1 CACHE INTERNAL Have symbol ${SYMBOL})
+  FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log 
+Determining if the ${SYMBOL} 
+exist passed with the following output:\n
+${OUTPUT}\nFile 
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c:\n
+${CMAKE_CONFIGURABLE_FILE_CONTENT}\n)
+ELSE(${VARIABLE})
+  MESSAGE(STATUS Looking for ${SYMBOL} - not found.)
+  SET(${VARIABLE}  CACHE INTERNAL Have symbol ${SYMBOL})
+  FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log 
+Determining if the ${SYMBOL} 
+exist failed with the following output:\n
+${OUTPUT

[Semsdev] git:master: Search for possibly missing res_search

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: master
Commit: 277ff2e105a3197ad674f6418a73448208023ec5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=277ff2e105a3197ad674f6418a73448208023ec5

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Sat Oct  2 17:54:11 2010 +0400

Search for possibly missing res_search

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt|6 +++
 cmake/CheckSymbolExists.cmake |   83 +
 2 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 15107f6..90290ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,6 +229,12 @@ ELSE(RTMP_FOUND)
MESSAGE(STATUS Using librtmp: NO)
 ENDIF(RTMP_FOUND)
 
+# Check for res_search in -lresolv
+include(${CMAKE_SOURCE_DIR}/cmake/CheckSymbolExists.cmake)
+SET(CMAKE_REQUIRED_LIBRARIES resolv)
+CHECK_SYMBOL_EXISTS(res_search resolv.h HAVE_RES_SEARCH)
+MESSAGE(STATUS Have res_search: ${HAVE_RES_SEARCH} )
+
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core/ampi)
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core/amci)
 INCLUDE_DIRECTORIES (${SEMS_SOURCE_DIR}/core)
diff --git a/cmake/CheckSymbolExists.cmake b/cmake/CheckSymbolExists.cmake
new file mode 100644
index 000..d48b65f
--- /dev/null
+++ b/cmake/CheckSymbolExists.cmake
@@ -0,0 +1,83 @@
+# - Check if the symbol exists in include files
+# CHECK_SYMBOL_EXISTS(SYMBOL FILES VARIABLE)
+#
+#  SYMBOL   - symbol
+#  FILES- include files to check
+#  VARIABLE - variable to return result
+#
+# The following variables may be set before calling this macro to
+# modify the way the check is run:
+#
+#  CMAKE_REQUIRED_FLAGS = string of compile command line flags
+#  CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+#  CMAKE_REQUIRED_INCLUDES = list of include directories
+#  CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+
+#=
+# Copyright 2003-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the License);
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=
+# (To distributed this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
+MACRO(CHECK_SYMBOL_EXISTS SYMBOL FILES VARIABLE)
+  IF(${VARIABLE} MATCHES ^${VARIABLE}$)
+SET(CMAKE_CONFIGURABLE_FILE_CONTENT /* */\n)
+SET(MACRO_CHECK_SYMBOL_EXISTS_FLAGS ${CMAKE_REQUIRED_FLAGS})
+IF(CMAKE_REQUIRED_LIBRARIES)
+  SET(CHECK_SYMBOL_EXISTS_LIBS 
+-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES})
+ELSE(CMAKE_REQUIRED_LIBRARIES)
+  SET(CHECK_SYMBOL_EXISTS_LIBS)
+ENDIF(CMAKE_REQUIRED_LIBRARIES)
+IF(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_SYMBOL_EXISTS_INCLUDES
+-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES})
+ELSE(CMAKE_REQUIRED_INCLUDES)
+  SET(CMAKE_SYMBOL_EXISTS_INCLUDES)
+ENDIF(CMAKE_REQUIRED_INCLUDES)
+FOREACH(FILE ${FILES})
+  SET(CMAKE_CONFIGURABLE_FILE_CONTENT
+${CMAKE_CONFIGURABLE_FILE_CONTENT}#include ${FILE}\n)
+ENDFOREACH(FILE)
+SET(CMAKE_CONFIGURABLE_FILE_CONTENT
+  ${CMAKE_CONFIGURABLE_FILE_CONTENT}\nvoid cmakeRequireSymbol(int 
dummy,...){(void)dummy;}\nint main()\n{\n#ifndef ${SYMBOL}\n  
cmakeRequireSymbol(0,${SYMBOL});\n#endif\n  return 0;\n}\n)
+
+CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in
+  
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c 
@ONLY)
+
+MESSAGE(STATUS Looking for ${SYMBOL})
+TRY_COMPILE(${VARIABLE}
+  ${CMAKE_BINARY_DIR}
+  ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c
+  COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
+  CMAKE_FLAGS 
+  -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_SYMBOL_EXISTS_FLAGS}
+  ${CHECK_SYMBOL_EXISTS_LIBS}
+  ${CMAKE_SYMBOL_EXISTS_INCLUDES}
+  OUTPUT_VARIABLE OUTPUT)
+IF(${VARIABLE})
+  MESSAGE(STATUS Looking for ${SYMBOL} - found)
+  SET(${VARIABLE} 1 CACHE INTERNAL Have symbol ${SYMBOL})
+  FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log 
+Determining if the ${SYMBOL} 
+exist passed with the following output:\n
+${OUTPUT}\nFile 
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckSymbolExists.c:\n
+${CMAKE_CONFIGURABLE_FILE_CONTENT}\n)
+ELSE(${VARIABLE})
+  MESSAGE(STATUS Looking for ${SYMBOL} - not found.)
+  SET(${VARIABLE}  CACHE INTERNAL Have symbol ${SYMBOL})
+  FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log 
+Determining if the ${SYMBOL} 
+exist failed

[Semsdev] git:master: Add check for mysql_version.h header

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: master
Commit: 07c1807be28e6c9f183917a694f2cccb0484801f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=07c1807be28e6c9f183917a694f2cccb0484801f

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:56:23 2012 +0400

Add check for mysql_version.h header

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 cmake/FindMySQLpp.cmake |9 +
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/cmake/FindMySQLpp.cmake b/cmake/FindMySQLpp.cmake
index 94050c9..248624c 100644
--- a/cmake/FindMySQLpp.cmake
+++ b/cmake/FindMySQLpp.cmake
@@ -15,3 +15,12 @@ ELSE(MYSQLPP_FOUND)
MESSAGE(FATAL_ERROR Could NOT find mysql++ development files)
ENDIF (MySQLpp_FIND_REQUIRED)
 ENDIF(MYSQLPP_FOUND)
+
+# Check for buried mysql_version.h
+FIND_PATH(MYSQL_INCLUDE_MYSQL_VERSION_H mysql_version.h)
+IF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)
+   FIND_PATH(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H mysql/mysql_version.h)
+   IF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+   ADD_DEFINITIONS(-DMYSQLPP_MYSQL_HEADERS_BURIED)
+   ENDIF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+ENDIF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.5: Add check for mysql_version.h header

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: 80d31db8260e46c1962b065bc36be31c3ff9f95a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=80d31db8260e46c1962b065bc36be31c3ff9f95a

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:56:23 2012 +0400

Add check for mysql_version.h header

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 cmake/FindMySQLpp.cmake |9 +
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/cmake/FindMySQLpp.cmake b/cmake/FindMySQLpp.cmake
index 94050c9..248624c 100644
--- a/cmake/FindMySQLpp.cmake
+++ b/cmake/FindMySQLpp.cmake
@@ -15,3 +15,12 @@ ELSE(MYSQLPP_FOUND)
MESSAGE(FATAL_ERROR Could NOT find mysql++ development files)
ENDIF (MySQLpp_FIND_REQUIRED)
 ENDIF(MYSQLPP_FOUND)
+
+# Check for buried mysql_version.h
+FIND_PATH(MYSQL_INCLUDE_MYSQL_VERSION_H mysql_version.h)
+IF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)
+   FIND_PATH(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H mysql/mysql_version.h)
+   IF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+   ADD_DEFINITIONS(-DMYSQLPP_MYSQL_HEADERS_BURIED)
+   ENDIF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+ENDIF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:master: Allow build against external iLBC

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: master
Commit: 5312d88c8e7286ab2dca2ea1814e8b68b7fad95a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5312d88c8e7286ab2dca2ea1814e8b68b7fad95a

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:18:37 2012 +0400

Allow build against external iLBC

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt   |   11 ---
 cmake/FindIlbc.cmake |   17 +
 core/plug-in/ilbc/CMakeLists.txt |8 ++--
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 90290ab..2e809a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ OPTION(SEMS_USE_SPANDSP   Build with spandsp OFF)
 OPTION(SEMS_USE_LIBSAMPLERATE Build with libsamplerate OFF)
 OPTION(SEMS_USE_ZRTP  Build with ZRTP OFF)
 OPTION(SEMS_USE_MP3   Build with Lame MP3 OFF)
-OPTION(SEMS_USE_ILBC  Build with bundled iLBC library ON)
+OPTION(SEMS_USE_ILBC  Build with iLBC library (fallback to bundled) 
ON)
 OPTION(SEMS_USE_TTS   Build with Text-to-speech support (requires 
Flite) OFF)
 OPTION(SEMS_USE_OPENSSL   Build with OpenSSL OFF)
 OPTION(SEMS_USE_MONITORINGBuild with monitoring support OFF)
@@ -124,9 +124,14 @@ ELSE(SEMS_USE_MP3)
 ENDIF(SEMS_USE_MP3)
 
 IF(SEMS_USE_ILBC)
-   MESSAGE(STATUS Using bundled iLBC library: YES (default))
+   FIND_PACKAGE(Ilbc)
+   IF(ILBC_FOUND)
+   MESSAGE(STATUS Using iLBC library: YES (external))
+   ELSE(ILBC_FOUND)
+   MESSAGE(STATUS Using iLBC library: YES (bundled, default))
+   ENDIF(ILBC_FOUND)
 ELSE(SEMS_USE_ILBC)
-   MESSAGE(STATUS Using bundled iLBC library: NO)
+   MESSAGE(STATUS Uusing iLBC library: NO)
 ENDIF(SEMS_USE_ILBC)
 
 # build in support for monitoring?
diff --git a/cmake/FindIlbc.cmake b/cmake/FindIlbc.cmake
new file mode 100644
index 000..c5fa5c1
--- /dev/null
+++ b/cmake/FindIlbc.cmake
@@ -0,0 +1,17 @@
+FIND_PATH(ILBC_INCLUDE_DIR ilbc.h)
+FIND_LIBRARY(ILBC_LIBRARIES NAMES ilbc)
+
+IF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
+   SET(ILBC_FOUND TRUE)
+ENDIF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
+
+IF(ILBC_FOUND)
+   IF (NOT Ilbc_FIND_QUIETLY)
+   MESSAGE(STATUS Found ilbc includes:
${ILBC_INCLUDE_DIR}/ilbc.h)
+   MESSAGE(STATUS Found ilbc library: ${ILBC_LIBRARIES})
+   ENDIF (NOT Ilbc_FIND_QUIETLY)
+ELSE(ILBC_FOUND)
+   IF (Ilbc_FIND_REQUIRED)
+   MESSAGE(FATAL_ERROR Could NOT find ilbc development files)
+   ENDIF (Ilbc_FIND_REQUIRED)
+ENDIF(ILBC_FOUND)
diff --git a/core/plug-in/ilbc/CMakeLists.txt b/core/plug-in/ilbc/CMakeLists.txt
index 1f4dcfb..bf77875 100644
--- a/core/plug-in/ilbc/CMakeLists.txt
+++ b/core/plug-in/ilbc/CMakeLists.txt
@@ -2,10 +2,14 @@ set (ilbc_SRCS
  ilbc.c
 )
 
+SET(sems_module_name ilbc)
+IF(ILBC_FOUND)
+SET(sems_module_libs ilbc)
+ELSE(ILBC_FOUND)
 ADD_SUBDIRECTORY (iLBC_rfc3951)
 INCLUDE_DIRECTORIES (iLBC_rfc3951)
-
-SET(sems_module_name ilbc)
 SET(sems_module_libs libilbc)
+ENDIF(ILBC_FOUND)
+
 INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.4: Drop unused variables

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.4
Commit: a83118a8c6f88a77f89ad92e76beb2bd23fbf981
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=a83118a8c6f88a77f89ad92e76beb2bd23fbf981

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:39:54 2012 +0400

Drop unused variables

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 79594c1..326576d 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -36,7 +36,6 @@
 #include iLBC_define.h
 #include iLBC_encode.h
 #include iLBC_decode.h
-#include constants.h
 /**
  * @file plug-in/ilbc/ilbc.c
  * iLBC support 
@@ -55,9 +54,6 @@
 #define ILBC30  30 
 #define ILBC20  20
 
-extern const iLBC_ULP_Inst_t ULP_20msTbl;
-extern const iLBC_ULP_Inst_t ULP_30msTbl;
-
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:master: Drop unused variables

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: master
Commit: e5980423a811c1f40a37e312f5411948e0ebb536
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e5980423a811c1f40a37e312f5411948e0ebb536

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:39:54 2012 +0400

Drop unused variables

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 0fae13a..76e6a4f 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -36,7 +36,6 @@
 #include iLBC_define.h
 #include iLBC_encode.h
 #include iLBC_decode.h
-#include constants.h
 /**
  * @file plug-in/ilbc/ilbc.c
  * iLBC support 
@@ -55,9 +54,6 @@
 #define ILBC30  30 
 #define ILBC20  20
 
-extern const iLBC_ULP_Inst_t ULP_20msTbl;
-extern const iLBC_ULP_Inst_t ULP_30msTbl;
-
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.5: Drop unused variables

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: 694477caf555875f22832d9b4cb353d1c1e0f061
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=694477caf555875f22832d9b4cb353d1c1e0f061

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:39:54 2012 +0400

Drop unused variables

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 0fae13a..76e6a4f 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -36,7 +36,6 @@
 #include iLBC_define.h
 #include iLBC_encode.h
 #include iLBC_decode.h
-#include constants.h
 /**
  * @file plug-in/ilbc/ilbc.c
  * iLBC support 
@@ -55,9 +54,6 @@
 #define ILBC30  30 
 #define ILBC20  20
 
-extern const iLBC_ULP_Inst_t ULP_20msTbl;
-extern const iLBC_ULP_Inst_t ULP_30msTbl;
-
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.4: Allow building against external iLBC copy

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.4
Commit: cacfe905d15151ea2481cfb23b3a44b45b7223dc
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=cacfe905d15151ea2481cfb23b3a44b45b7223dc

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Tue Nov 20 15:57:22 2012 +0400

Allow building against external iLBC copy

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 326576d..3adb1b0 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -54,6 +54,14 @@
 #define ILBC30  30 
 #define ILBC20  20
 
+#ifndef MIN_SAMPLE
+#define MIN_SAMPLE -32768
+#endif
+
+#ifndef MAX_SAMPLE
+#define MAX_SAMPLE 32767
+#endif
+
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.5: Allow building against external iLBC copy

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: 37e0e53d09b05c6ef017969921de3d2e50274d5e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=37e0e53d09b05c6ef017969921de3d2e50274d5e

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Tue Nov 20 15:57:22 2012 +0400

Allow building against external iLBC copy

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 76e6a4f..68a5b2e 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -54,6 +54,14 @@
 #define ILBC30  30 
 #define ILBC20  20
 
+#ifndef MIN_SAMPLE
+#define MIN_SAMPLE -32768
+#endif
+
+#ifndef MAX_SAMPLE
+#define MAX_SAMPLE 32767
+#endif
+
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:master: Allow building against external iLBC copy

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: master
Commit: 18bcdab83fc25e3622abe76fa94db473d8173ff8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=18bcdab83fc25e3622abe76fa94db473d8173ff8

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Tue Nov 20 15:57:22 2012 +0400

Allow building against external iLBC copy

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 76e6a4f..68a5b2e 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -54,6 +54,14 @@
 #define ILBC30  30 
 #define ILBC20  20
 
+#ifndef MIN_SAMPLE
+#define MIN_SAMPLE -32768
+#endif
+
+#ifndef MAX_SAMPLE
+#define MAX_SAMPLE 32767
+#endif
+
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.5: Update cmake-files

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: e7cd65b134fbd94a5d49e973918607d12e7b722e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e7cd65b134fbd94a5d49e973918607d12e7b722e

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Wed Apr 18 22:34:55 2012 +0400

Update cmake-files

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 apps/db_reg_agent/CMakeLists.txt|2 ++
 apps/reg_agent/etc/reg_agent.conf.cmake |6 +++---
 apps/sbc/etc/sbc.conf.cmake |7 +++
 core/plug-in/CMakeLists.txt |2 ++
 4 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/apps/db_reg_agent/CMakeLists.txt b/apps/db_reg_agent/CMakeLists.txt
index bef0779..d264cab 100644
--- a/apps/db_reg_agent/CMakeLists.txt
+++ b/apps/db_reg_agent/CMakeLists.txt
@@ -3,6 +3,8 @@ DBRegAgent.cpp
 RegistrationTimer.cpp
 )
 
+INCLUDE_DIRECTORIES(/usr/include/mysql)
+INCLUDE_DIRECTORIES(${MYSQLPP_INCLUDE_DIR}/mysql++)
 ADD_DEFINITIONS(-DHAS_OFFER_ANSWER)
 SET(sems_module_libs ${sems_module_libs} mysqlpp)
 
diff --git a/apps/reg_agent/etc/reg_agent.conf.cmake 
b/apps/reg_agent/etc/reg_agent.conf.cmake
index e9ce4ca..3e7dc8c 100644
--- a/apps/reg_agent/etc/reg_agent.conf.cmake
+++ b/apps/reg_agent/etc/reg_agent.conf.cmake
@@ -14,7 +14,7 @@
 #display_name=myuser
 #auth_user=myuser
 # optional (defaults to resolved by domain):
-#proxy=sip.mydomain.net:5060
+#proxy=sip:sip.mydomain.net:5060
 # optional (default to user@publicip/localip):
 #contact=sip:myuser@10.0.0.2
 
@@ -27,7 +27,7 @@
 # optional:
 #display_name1=xyz
 #auth_user1=xyz
-#proxy1=sip.iptel.org:5060
+#proxy1=sip:sip.iptel.org:5060
 #contact1=sip:xyz@10.0.0.3
 
 #domain2=iptel.org
@@ -36,5 +36,5 @@
 # optional:
 #display_name2=xyz
 #auth_user2=xyz
-#proxy2=sip.iptel.org:5060
+#proxy2=sip:sip.iptel.org:5060
 
diff --git a/apps/sbc/etc/sbc.conf.cmake b/apps/sbc/etc/sbc.conf.cmake
index f78f80d..e5dab80 100644
--- a/apps/sbc/etc/sbc.conf.cmake
+++ b/apps/sbc/etc/sbc.conf.cmake
@@ -24,6 +24,13 @@ active_profile=transparent
 #
 #regex_maps=src_ipmap,ruri_map,usermap
 
+# load_cc_plugins - semicolon-separated list of call-control plugins to load
+#   here the module names (.so names) must be specified, 
without .so
+#   analogous to load_plugins in sems.conf
+#
+# e.g. load_cc_plugins=cc_pcalls;cc_ctl
+#load_cc_plugins=cc_pcalls;cc_ctl
+
 ## RFC4028 Session Timer
 # default configuration - can be overridden by call profiles
 
diff --git a/core/plug-in/CMakeLists.txt b/core/plug-in/CMakeLists.txt
index aff103c..1d3662d 100644
--- a/core/plug-in/CMakeLists.txt
+++ b/core/plug-in/CMakeLists.txt
@@ -10,8 +10,10 @@ ENDIF(GSM_FOUND)
 IF(SEMS_USE_ILBC)
ADD_SUBDIRECTORY (ilbc)
 ENDIF(SEMS_USE_ILBC)
+#ADD_SUBDIRECTORY (isac)
 ADD_SUBDIRECTORY (l16)
 ADD_SUBDIRECTORY (session_timer)
+#ADD_SUBDIRECTORY (silk)
 IF(SPEEX_FOUND)
ADD_SUBDIRECTORY (speex)
 ENDIF(SPEEX_FOUND)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Set CFG_PREFIX to empty string by default

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: 42c18a0fd5f78ec154ae7e6f442fc083dd84e339
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=42c18a0fd5f78ec154ae7e6f442fc083dd84e339

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Wed Mar 31 18:56:39 2010 +0400

Set CFG_PREFIX to empty string by default

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68b0c26..a3264e3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,7 @@ ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STREQUAL 
2.4)
 SET(CMAKE_DL_LIBS ${CMAKE_DL_LIBS} m pthread)
 
 IF (NOT SEMS_CFG_PREFIX)
-   SET(SEMS_CFG_PREFIX /usr/local)
+   SET(SEMS_CFG_PREFIX )
 ENDIF (NOT SEMS_CFG_PREFIX)
 MESSAGE(STATUS SEMS cfg prefix was set to: ${SEMS_CFG_PREFIX})
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Disable mysql++ in conference and early_announce modules

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: 536fcc248c8d8fda4c2523bf4c9a1fc5a3362d01
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=536fcc248c8d8fda4c2523bf4c9a1fc5a3362d01

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Jun 25 12:16:45 2010 +0400

Disable mysql++ in conference and early_announce modules

Unfortunately, this breaks existing configurations, which is a
no-go situation for EPEL repository. We'll enable it later.

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 apps/conference/CMakeLists.txt |   12 ++--
 apps/early_announce/CMakeLists.txt |   12 ++--
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/apps/conference/CMakeLists.txt b/apps/conference/CMakeLists.txt
index 23dea13..cbece59 100644
--- a/apps/conference/CMakeLists.txt
+++ b/apps/conference/CMakeLists.txt
@@ -13,12 +13,12 @@ IF(FLITE_FOUND AND ZRTP_FOUND)
SET(sems_module_libs ${sems_module_libs} flite_cmu_us_kal 
flite_usenglish flite_cmulex flite)
 ENDIF(FLITE_FOUND AND ZRTP_FOUND)
 
-IF(MYSQLPP_FOUND)
-   INCLUDE_DIRECTORIES(/usr/include/mysql)
-   INCLUDE_DIRECTORIES(${MYSQLPP_INCLUDE_DIR}/mysql++)
-   ADD_DEFINITIONS(-DUSE_MYSQL)
-   SET(sems_module_libs ${sems_module_libs} mysqlpp)
-ENDIF(MYSQLPP_FOUND)
+#IF(MYSQLPP_FOUND)
+#  INCLUDE_DIRECTORIES(/usr/include/mysql)
+#  INCLUDE_DIRECTORIES(${MYSQLPP_INCLUDE_DIR}/mysql++)
+#  ADD_DEFINITIONS(-DUSE_MYSQL)
+#  SET(sems_module_libs ${sems_module_libs} mysqlpp)
+#ENDIF(MYSQLPP_FOUND)
 
 SET(sems_module_name conference)
 INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
diff --git a/apps/early_announce/CMakeLists.txt 
b/apps/early_announce/CMakeLists.txt
index 43c374e..03a1532 100644
--- a/apps/early_announce/CMakeLists.txt
+++ b/apps/early_announce/CMakeLists.txt
@@ -2,12 +2,12 @@ set (early_announce_SRCS
 EarlyAnnounce.cpp
 )
 
-IF(MYSQLPP_FOUND)
-   INCLUDE_DIRECTORIES(/usr/include/mysql)
-   INCLUDE_DIRECTORIES(${MYSQLPP_INCLUDE_DIR}/mysql++)
-   ADD_DEFINITIONS(-DUSE_MYSQL)
-   SET(sems_module_libs mysqlpp)
-ENDIF(MYSQLPP_FOUND)
+#IF(MYSQLPP_FOUND)
+#  INCLUDE_DIRECTORIES(/usr/include/mysql)
+#  INCLUDE_DIRECTORIES(${MYSQLPP_INCLUDE_DIR}/mysql++)
+#  ADD_DEFINITIONS(-DUSE_MYSQL)
+#  SET(sems_module_libs mysqlpp)
+#ENDIF(MYSQLPP_FOUND)
 
 SET(sems_module_name early_announce)
 INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Add sw_prepaid_sip plugin to default exclude list (due to missing cc_acc)

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: b3609436f25f48e6eab749e86487dae780e79870
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=b3609436f25f48e6eab749e86487dae780e79870

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Mon Sep 27 14:13:00 2010 +0400

Add sw_prepaid_sip plugin to default exclude list (due to missing cc_acc)

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/etc/sems.conf.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/etc/sems.conf.cmake b/core/etc/sems.conf.cmake
index c4f900f..f36cb69 100644
--- a/core/etc/sems.conf.cmake
+++ b/core/etc/sems.conf.cmake
@@ -162,7 +162,7 @@ plugin_path=${SEMS_EXEC_PREFIX}/${SEMS_LIBDIR}/sems/plug-in/
 # This has only effect it load_plugins is not set.
 #
 # o precoded_announce: no precoded sample files present
-exclude_plugins=precoded_announce
+exclude_plugins=precoded_announce;sw_prepaid_sip
 
 # optional parameter: application
 # 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Change default msg_storage path

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: 0c64018f8dd8462affb397cc9c8cf3640fecd7c6
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0c64018f8dd8462affb397cc9c8cf3640fecd7c6

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Thu Nov 24 19:57:05 2011 +0400

Change default msg_storage path

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 apps/msg_storage/etc/msg_storage.conf.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/apps/msg_storage/etc/msg_storage.conf.cmake 
b/apps/msg_storage/etc/msg_storage.conf.cmake
index efab27f..dadf5d8 100644
--- a/apps/msg_storage/etc/msg_storage.conf.cmake
+++ b/apps/msg_storage/etc/msg_storage.conf.cmake
@@ -5,4 +5,4 @@
 #
 # default: /var/spool/voicebox/
 #
-#storage_dir=/var/spool/voicebox/
+storage_dir=/var/spool/sems/voicebox/

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Don't start py_sems by default

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: adff391d26ffe2bb5fcc5b3f0611b146925d9580
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=adff391d26ffe2bb5fcc5b3f0611b146925d9580

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Wed Dec 29 17:02:49 2010 +0300

Don't start py_sems by default

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/etc/sems.conf.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/etc/sems.conf.cmake b/core/etc/sems.conf.cmake
index f36cb69..7276602 100644
--- a/core/etc/sems.conf.cmake
+++ b/core/etc/sems.conf.cmake
@@ -162,7 +162,7 @@ plugin_path=${SEMS_EXEC_PREFIX}/${SEMS_LIBDIR}/sems/plug-in/
 # This has only effect it load_plugins is not set.
 #
 # o precoded_announce: no precoded sample files present
-exclude_plugins=precoded_announce;sw_prepaid_sip
+exclude_plugins=precoded_announce;sw_prepaid_sip;py_sems
 
 # optional parameter: application
 # 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Correct version number in CMake-files

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: aec12cf6735e0731496f783a48ac94290f2cb71b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=aec12cf6735e0731496f783a48ac94290f2cb71b

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Sat May  5 12:36:51 2012 +0400

Correct version number in CMake-files

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3264e3..1302857 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@ PROJECT (SEMS)
 
 SET(SEMS_MAJOR_VERSION 1)
 SET(SEMS_MINOR_VERSION 4)
-SET(SEMS_BUILD_VERSION 2)
+SET(SEMS_BUILD_VERSION 3)
 SET(SEMS_EXTRA_VERSION dev)
 
 IF(EXISTS ${CMAKE_SOURCE_DIR}/.git)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Fix building with IPv6 support

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: ad89c8cc396a6d1461a0fc6adb06585aafa3bc7f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=ad89c8cc396a6d1461a0fc6adb06585aafa3bc7f

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Thu Apr 19 16:43:45 2012 +0400

Fix building with IPv6 support

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/AmRtpStream.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp
index bb2b0a4..be2ac9b 100644
--- a/core/AmRtpStream.cpp
+++ b/core/AmRtpStream.cpp
@@ -159,7 +159,7 @@ void AmRtpStream::setLocalPort()
 
   l_port = port;
   AmRtpReceiver::instance()-addStream(l_sd,this);
-  DBG(added to RTP receiver 
(%s:%i)\n,get_addr_str(l_saddr.sin_addr).c_str(),l_port);
+  DBG(added to RTP receiver (%s:%i)\n,get_addr_str( ((struct 
sockaddr_in*)l_saddr)-sin_addr ).c_str(),l_port);
 }
 
 int AmRtpStream::ping()

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Added missing /etc/sysconfig/ sems file to the pkg/rpm

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: e8a9f3e78f3310c42bb4e56de28ff9c91c79a1f0
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e8a9f3e78f3310c42bb4e56de28ff9c91c79a1f0

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Sat May  5 12:50:33 2012 +0400

Added missing /etc/sysconfig/sems file to the pkg/rpm

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 pkg/rpm/sems.sysconfig |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pkg/rpm/sems.sysconfig b/pkg/rpm/sems.sysconfig
new file mode 100644
index 000..9186ef7
--- /dev/null
+++ b/pkg/rpm/sems.sysconfig
@@ -0,0 +1 @@
+OPTIONS=

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: [init-script] Fix directory for storing pid-file

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: 80a16df44b7594a69e331103f3b3041ad292acec
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=80a16df44b7594a69e331103f3b3041ad292acec

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Thu Jul 19 14:41:01 2012 +0400

[init-script] Fix directory for storing pid-file

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 pkg/rpm/sems.init |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pkg/rpm/sems.init b/pkg/rpm/sems.init
index 15e9847..c39a721 100755
--- a/pkg/rpm/sems.init
+++ b/pkg/rpm/sems.init
@@ -24,7 +24,7 @@
 prog=sems
 sems=/usr/sbin/$prog
 
-pidfile=/var/run/$prog.pid
+pidfile=/var/run/$prog/$prog.pid
 lockfile=/var/lock/subsys/$prog
 conffile=/etc/$prog/$prog.conf
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: [systemd] Restart in case of failure

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: cfc119ac698a24ad1bc011dbdf551425ec82782b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=cfc119ac698a24ad1bc011dbdf551425ec82782b

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Thu Jul 19 14:42:01 2012 +0400

[systemd] Restart in case of failure

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 pkg/rpm/sems.systemd.service |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pkg/rpm/sems.systemd.service b/pkg/rpm/sems.systemd.service
index 7d66886..43996a5 100644
--- a/pkg/rpm/sems.systemd.service
+++ b/pkg/rpm/sems.systemd.service
@@ -8,6 +8,9 @@ User=sems
 Group=sems
 EnvironmentFile=-/etc/sysconfig/sems
 PIDFile=/var/run/sems/sems.pid
+Restart=always
+StartLimitInterval=10
+StartLimitBurst=5
 ExecStart=/usr/sbin/sems -E -u sems -g sems -P /var/run/sems/sems.pid $OPTIONS
 
 [Install]

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:1.5: Correct version number in CMake-files (1.5.1)

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: 1.5
Commit: 2d5d8aa360466989eb536bc86755ee111948a586
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=2d5d8aa360466989eb536bc86755ee111948a586

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Sat May  5 12:36:51 2012 +0400

Correct version number in CMake-files (1.5.1)

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f57d01d..411731d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@ PROJECT (SEMS)
 
 SET(SEMS_MAJOR_VERSION 1)
 SET(SEMS_MINOR_VERSION 5)
-SET(SEMS_BUILD_VERSION 0)
+SET(SEMS_BUILD_VERSION 1)
 SET(SEMS_EXTRA_VERSION dev)
 
 IF(EXISTS ${CMAKE_SOURCE_DIR}/.git)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Add check for mysql_version.h header

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: d56f60341f1cdd1337ed140e9cff99618a174450
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d56f60341f1cdd1337ed140e9cff99618a174450

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:56:23 2012 +0400

Add check for mysql_version.h header

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 cmake/FindMySQLpp.cmake |9 +
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/cmake/FindMySQLpp.cmake b/cmake/FindMySQLpp.cmake
index 94050c9..248624c 100644
--- a/cmake/FindMySQLpp.cmake
+++ b/cmake/FindMySQLpp.cmake
@@ -15,3 +15,12 @@ ELSE(MYSQLPP_FOUND)
MESSAGE(FATAL_ERROR Could NOT find mysql++ development files)
ENDIF (MySQLpp_FIND_REQUIRED)
 ENDIF(MYSQLPP_FOUND)
+
+# Check for buried mysql_version.h
+FIND_PATH(MYSQL_INCLUDE_MYSQL_VERSION_H mysql_version.h)
+IF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)
+   FIND_PATH(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H mysql/mysql_version.h)
+   IF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+   ADD_DEFINITIONS(-DMYSQLPP_MYSQL_HEADERS_BURIED)
+   ENDIF(MYSQL_INCLUDE_BURIED_MYSQL_VERSION_H)
+ENDIF(NOT MYSQL_INCLUDE_MYSQL_VERSION_H)

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Allow building against external iLBC copy

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: 22baa75e02f2a4eba252da0dfa549670bfbad36f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=22baa75e02f2a4eba252da0dfa549670bfbad36f

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Tue Nov 20 15:57:22 2012 +0400

Allow building against external iLBC copy

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 326576d..3adb1b0 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -54,6 +54,14 @@
 #define ILBC30  30 
 #define ILBC20  20
 
+#ifndef MIN_SAMPLE
+#define MIN_SAMPLE -32768
+#endif
+
+#ifndef MAX_SAMPLE
+#define MAX_SAMPLE 32767
+#endif
+
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Drop unused variables

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: 3ec797d96b9c5c751d133f8a7d37eb4541feabb1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=3ec797d96b9c5c751d133f8a7d37eb4541feabb1

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Fri Aug  3 13:39:54 2012 +0400

Drop unused variables

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 core/plug-in/ilbc/ilbc.c |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/core/plug-in/ilbc/ilbc.c b/core/plug-in/ilbc/ilbc.c
index 79594c1..326576d 100644
--- a/core/plug-in/ilbc/ilbc.c
+++ b/core/plug-in/ilbc/ilbc.c
@@ -36,7 +36,6 @@
 #include iLBC_define.h
 #include iLBC_encode.h
 #include iLBC_decode.h
-#include constants.h
 /**
  * @file plug-in/ilbc/ilbc.c
  * iLBC support 
@@ -55,9 +54,6 @@
 #define ILBC30  30 
 #define ILBC20  20
 
-extern const iLBC_ULP_Inst_t ULP_20msTbl;
-extern const iLBC_ULP_Inst_t ULP_30msTbl;
-
 static int iLBC_2_Pcm16_Ext( unsigned char* out_buf, unsigned char* in_buf, 
unsigned int size,
 unsigned int channels, unsigned int rate, long 
h_codec, int mode );
 

___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/1.4.3-fedora: Use bcg729 as a underlying library for g. 729 plugin

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: e6fa8fa4578175314eddd8a48dd4f19c9fa1e5b6
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e6fa8fa4578175314eddd8a48dd4f19c9fa1e5b6

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Tue Nov 20 12:50:24 2012 +0400

Use bcg729 as a underlying library for g.729 plugin

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt   |8 +
 cmake/FindBcg729.cmake   |   17 ++
 core/plug-in/CMakeLists.txt  |4 +-
 core/plug-in/g729/CMakeLists.txt |2 +-
 core/plug-in/g729/g729.c |  334 +-
 5 files changed, 67 insertions(+), 298 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commitdiff;h=e6fa8fa4578175314eddd8a48dd4f19c9fa1e5b6
___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


[Semsdev] git:peterlemenkov/bcg729: Use bcg729 as a underlying library for g. 729 plugin

2012-11-20 Thread Peter Lemenkov
Module: sems
Branch: peterlemenkov/bcg729
Commit: bfa629e93e171a63ce7346728480249bb86fec96
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=bfa629e93e171a63ce7346728480249bb86fec96

Author: Peter Lemenkov lemen...@gmail.com
Committer: Peter Lemenkov lemen...@gmail.com
Date:   Tue Nov 20 12:50:24 2012 +0400

Use bcg729 as a underlying library for g.729 plugin

Signed-off-by: Peter Lemenkov lemen...@gmail.com

---

 CMakeLists.txt   |8 +
 cmake/FindBcg729.cmake   |   17 ++
 core/plug-in/CMakeLists.txt  |4 +-
 core/plug-in/g729/CMakeLists.txt |2 +-
 core/plug-in/g729/g729.c |  334 +-
 5 files changed, 67 insertions(+), 298 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commitdiff;h=bfa629e93e171a63ce7346728480249bb86fec96
___
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev


Re: [systemd-devel] [PATCH] Disable firmware loading when firmware file is 0 byte

2012-11-16 Thread Peter Lemenkov
Hello All.

2012/11/16 Umut Tezduyar u...@tezduyar.com:
 If firmware file is not found in the file system, udev
 terminates firmware loading. This is not the case if
 firmware file exists in the file system but doesn't have
 any data in it.

This sounds like an error which must be fixed somewhere else. Just my 2c.
-- 
With best regards, Peter Lemenkov.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [OpenSIPS-Users] RTPProxy vs Mediaproxy ?

2012-11-12 Thread Peter Lemenkov
Hello.

2012/11/12 Pierre-Yves Marche pierrey.mar...@gmail.com:
 Hello Community,

 I'm currently using opensips + rtpproxy but I'm thinking of switching to
 Mediaproxy instead RTPProxy due to performance issue.

I wonder what kind of performance issues have you encountered?
-- 
With best regards, Peter Lemenkov.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: New release cycle proposal (was Rolling release model philosophy (was ...))

2012-11-06 Thread Peter Lemenkov
Hello

2012/11/6 Jason Brooks jbro...@redhat.com:
 For those who upgrade each release (or sooner), a 6mo life span for the
 latest release wouldn't matter. Those who don't want to upgrade every six
 months might well appreciate the two year life span.

They should pay for RHEL.
-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: New release cycle proposal (was Rolling release model philosophy (was ...))

2012-11-06 Thread Peter Lemenkov
2012/11/6 Matthieu Gautier mgaut...@fedoraproject.org:
 So you not a maintainer but you still suggesting that we, maintainers,
 should do 2 times more job by supporting several simultaneous Fedora
 versions instead of 3 right now for more than two years. And that's
 all just because you think it's a good idea to spend my personal time
 on the rreleases I'm not using anymore.

 No, I never suggest that. Preview versions have a timelife of 6mo
 instead of 12.
 Stable version have a lifetime of 24mo (12mo for regular updates)
 instead of 12.

Exactly what I'm saying - two times more job. So who's gonna pay us
for the time wasted on supporting distributions we're not using
personally?

I think you didn't get the maintainers motivation (except those RH
fellows whoi just did the job) - we're doing our part because we're
using Fedora daily. What you're suggesting isn't fun anymore. So
somebody should pay for that.
-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: New release cycle proposal (was Rolling release model philosophy (was ...))

2012-11-06 Thread Peter Lemenkov
2012/11/6 Matthieu Gautier mgaut...@fedoraproject.org:

 Hum.. It should be some misunderstanding somewhere :

Definitely. Please stop talking about things you have no idea about.


-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[FYI] Motif finally opened under LGPL

2012-10-25 Thread Peter Lemenkov
Hello All!

Not so long after opening CDE they relicensed (Open)Motif under LGPL.

http://sourceforge.net/projects/motif/

Time to rewrite everything with Motif! :)

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [SR-Users] Supporting TLS and DTLS in RTP Proxy

2012-10-15 Thread Peter Lemenkov
Hello.

2012/10/15 Kamal Palei palei.ka...@gmail.com:
 Hi All
 I am planning to enhance RTP proxy to support TLS and DTLS.
 We have some requirements where we need to send RTP packets either over TLS
 or over DTLS.

Shouldn't it be better to rely on SRTP/ZRTP instead rather than making
your own incompatible realisation?


-- 
With best regards, Peter Lemenkov.

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [Fedora-legal-list] I've got a permission to use the code in any way I choose, but no license

2012-10-05 Thread Peter Lemenkov
2012/10/5 Miro Hrončok m...@hroncok.cz:
 Hello, I asked an author of a public code I want to package to Fedora,
 this is his answer:

 You are free to use the code in any way you choose, including attempting to 
 sell it for
 a profit (I think people have).  The code was written long before licenses 
 became standardized.
 Best regards,
 Steve Fortune

 When I asked him to specify the license, he added:

 It's unlicensed.  I just gave you permission to use it.

 Is it possible to package this into Fedora?
 Thanks for your help.


Sounds like a CC0 (Creative Commons Zero 1.0 Universal) or Public Domain

https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses




-- 
With best regards, Peter Lemenkov.
___
legal mailing list
legal@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/legal

Re: Packages in need of new maintainers

2012-10-04 Thread Peter Lemenkov
Hello All.

2012/10/3 Jon Ciesla limburg...@gmail.com:
 As a result of FESCO ticket 952*, Lubomir Rintel's 200+ packages are
 in need of new maintainers.  Under normal circumstances we'd simply
 orphan them all, but given the large number we want to handle this in
 a more orderly fashion.

 Please reply to the list with any requests for ownership changes, and
 I'll complete them on a first-come, first-served basis.

Jon, it seems that you mixed me (FAS name peter) up with someone else
- I didn't claim ownership on meld and opengl-game-utils.
-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Packages in need of new maintainers

2012-10-03 Thread Peter Lemenkov
Hello All!

2012/10/3 Jon Ciesla limburg...@gmail.com:

 dmg2img -- Uncompress the Apple compressed disk image files

I can take this if nobody volunteers. It doesn't look like something
required much attention.

 erlang-meck -- A mocking library for Erlang

I'll take this. I am already taking care of it as a co-maintainer.

 fop -- XSL-driven print formatter

if nobody volunteers then I can take care of this as well.

 libsamplerate -- Sample rate conversion library for audio data

I'm using this in one of my projects (which I also plan to package for
Fedora) so if nobody else interested then I can take it as well.

 python-twisted-core -- Asynchronous networking framework written in Python
 python-twisted-names -- Twisted DNS implementation
 python-twisted-web -- Twisted web client and server, programmable in Python

I can be a co-maintainer for Twisted libraries as well.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Packages in need of new maintainers

2012-10-03 Thread Peter Lemenkov
2012/10/4 Jon Ciesla limburg...@gmail.com:
 On Wed, Oct 3, 2012 at 3:00 PM, Peter Lemenkov lemen...@gmail.com wrote:
 Hello All!

 2012/10/3 Jon Ciesla limburg...@gmail.com:

 dmg2img -- Uncompress the Apple compressed disk image files

 I can take this if nobody volunteers. It doesn't look like something
 required much attention.

 erlang-meck -- A mocking library for Erlang

 I'll take this. I am already taking care of it as a co-maintainer.

 fop -- XSL-driven print formatter

 if nobody volunteers then I can take care of this as well.

 libsamplerate -- Sample rate conversion library for audio data

 I'm using this in one of my projects (which I also plan to package for
 Fedora) so if nobody else interested then I can take it as well.

 python-twisted-core -- Asynchronous networking framework written in Python
 python-twisted-names -- Twisted DNS implementation
 python-twisted-web -- Twisted web client and server, programmable in Python

 I can be a co-maintainer for Twisted libraries as well.

 What's your FAS username?

Oops, sorry - my FAS name is peter.

-- 
With best regards, Peter Lemenkov.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

<    1   2   3   4   5   6   7   8   9   10   >