Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188056 - New ebuild: pjsip-0.5.10.4.ebuild
Summary: New ebuild: pjsip-0.5.10.4.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.pjsip.org/
Whiteboard:
Keywords: EBUILD, InOverlay, InVCS
Depends on:
Blocks:
 
Reported: 2007-08-07 22:09 UTC by Angelo Arrifano (RETIRED)
Modified: 2010-07-16 09:49 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pjsip-0.5.10.4.ebuild (pjsip-0.5.10.4.ebuild,1.13 KB, text/plain)
2007-08-07 22:11 UTC, Angelo Arrifano (RETIRED)
Details
pjsip-0.5.10.4-prefix.diff (pjsip-0.5.10.4-prefix.diff,827 bytes, patch)
2007-08-07 22:15 UTC, Angelo Arrifano (RETIRED)
Details | Diff
pjsip-0.5.10.4-fPIC.diff (pjsip-0.5.10.4-fPIC.diff,301 bytes, patch)
2007-08-10 04:07 UTC, Angelo Arrifano (RETIRED)
Details | Diff
pjsip-0.5.10.4.ebuild (pjsip-0.5.10.4.ebuild,1.29 KB, text/plain)
2007-08-27 02:21 UTC, Angelo Arrifano (RETIRED)
Details
pjsip-0.5.10.4-saneMake.diff (pjsip-0.5.10.4-saneMake.diff,13.59 KB, patch)
2007-08-28 04:42 UTC, Angelo Arrifano (RETIRED)
Details | Diff
pjsip-0.5.10.4.ebuild (pjsip-0.5.10.4.ebuild,1.25 KB, text/plain)
2007-08-28 04:46 UTC, Angelo Arrifano (RETIRED)
Details
pjsip-0.5.10.4.ebuild (pjsip-0.5.10.4.ebuild,1.25 KB, text/plain)
2007-08-28 13:02 UTC, Angelo Arrifano (RETIRED)
Details
pjsip 1.5 (pjsip-1.5.ebuild,1.51 KB, text/plain)
2009-12-22 09:29 UTC, Henrik
Details
pjsip-1.5.5.ebuild (pjsip-1.5.5.ebuild,2.83 KB, text/plain)
2010-04-26 20:09 UTC, Atman Sense
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Arrifano (RETIRED) gentoo-dev 2007-08-07 22:09:42 UTC
"PJSIP is an Open Source SIP prototol stack, designed to be very small in footprint, have high performance, and very flexible."

Attached is an ebuild for this lib.

1. Emerges on AMD64
2. No collisions.
3. Multilib strict.
4. Test: simple_pjsua.c (in examples dir) built and exec OK.

Portage 2.1.2.11 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 04 Aug 2007 18:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -Os"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -pipe -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pt pt_PT en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/.tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 apache2 asf avi bash-completion bitmap-fonts bluetooth branding bzip2 cairo cdr cli cpudetection cracklib crypt cups dbus divx divx4linux dlloader dmi dmx dri dvd dvdr dvdread emboss emul-linux-x86 encode exif fam ffmpeg fftw firefox fortran ftp gif gimpprint glibc-compat20 glitz gmedia gnokii gnutls gstreamer gtk gtk2 hal hddtemp iconv ieee1394 insecure-savers irda isdnlog javascript joystick jpeg kqemu libcaca libg++ mad matroska midi mikmod minimal mmx mmxext mozilla mp3 mpeg mplayer msn mudflap musicbrainz ncurses nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp pam pcmcia pcre pda pdf pdflib png portaudio pppd python qt qt3support quicktime readline realmedia rtc samba screen sdl session sguil sms sockets sound spamassassin spell spl srt sse sse2 ssl subtitles svg syslog tcpd test theora threads tidy tiff tream truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 visualization vorbis wifi wmp xcomposite xml xorg xosd xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt pt_PT en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-07 22:11:36 UTC
Created attachment 127212 [details]
pjsip-0.5.10.4.ebuild

Needs the following submitted patch.
Comment 2 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-07 22:15:10 UTC
Created attachment 127213 [details, diff]
pjsip-0.5.10.4-prefix.diff

This patch fixes Makefile ignoring prefix while installing.

Replacing the epatch line by this works as well:

echo "export PREFIX := @prefix@" >> build.mak.in
sed -i -e 's;/usr/local;$(PREFIX);' Makefile
Comment 3 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-10 04:07:15 UTC
Created attachment 127412 [details, diff]
pjsip-0.5.10.4-fPIC.diff

I noticed that it was also building without -fPIC on my AMD64 box.

This patch is somewhat ugly.. anyway.. works for me :p
Comment 4 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-27 02:21:28 UTC
Created attachment 129275 [details]
pjsip-0.5.10.4.ebuild

* Added py_pjsua python module installation support (through python use flag).
Comment 5 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-28 04:42:05 UTC
Created attachment 129406 [details, diff]
pjsip-0.5.10.4-saneMake.diff

pjsip-0.5.10.4-saneMake.diff

* Removes -$(target) from all libs filename.
* Adds -fPIC to shared objects ONLY.
* Disables building unneeded samples.
* Forces Makefile to not ignore PREFIX.
Comment 6 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-28 04:46:24 UTC
Created attachment 129407 [details]
pjsip-0.5.10.4.ebuild

* Fixed invalid DEPEND syntax.
* Added pjsip-0.5.10.4-saneMake.diff patch.
* Fixed the way how examples were installed.
Comment 7 Angelo Arrifano (RETIRED) gentoo-dev 2007-08-28 13:02:23 UTC
Created attachment 129472 [details]
pjsip-0.5.10.4.ebuild

* Some minor changes to the ebuild.
Comment 8 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-15 00:32:11 UTC
Angelo, do you still want to get this ebuild into the tree ?
Comment 9 Angelo Arrifano (RETIRED) gentoo-dev 2009-04-15 01:54:36 UTC
(In reply to comment #8)
> Angelo, do you still want to get this ebuild into the tree ?
> 

I don't use it anymore but, yes, I can give some help.
Next weekend I'll join #-voip

BTW: Looking at this bug, it seems there isn't a lot of people interested on
the package.

Greetings,
- Angelo
Comment 10 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-15 03:07:56 UTC
(In reply to comment #9)
> I don't use it anymore but, yes, I can give some help.
> Next weekend I'll join #-voip
> 
> BTW: Looking at this bug, it seems there isn't a lot of people interested on
> the package.
> 

Indeed, it doesn't seem people are interested by pjsip. As it is a library, it's understandable. Actually, how did you used it ? and why did you want to add it ?

My opinion is you can make an ebuild for it or we assign the bug for m-wanted as it is a new package request.

Do not hesitate to come to #-voip to discuss about it.
Comment 11 Angelo Arrifano (RETIRED) gentoo-dev 2009-04-15 12:59:45 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > I don't use it anymore but, yes, I can give some help.
> > Next weekend I'll join #-voip
> > 
> > BTW: Looking at this bug, it seems there isn't a lot of people interested on
> > the package.
> > 
> 
> Indeed, it doesn't seem people are interested by pjsip. As it is a library,
> it's understandable. Actually, how did you used it ? and why did you want to
> add it ?
> 
> My opinion is you can make an ebuild for it or we assign the bug for m-wanted
> as it is a new package request.
> 
> Do not hesitate to come to #-voip to discuss about it.
> 

I did a IM (using pjsip) some time ago as a university project:
http://www.miknix.homelinux.com/mecene/
It is written in python + pygtk, so it shouldn't be much outdated.
I'll be glad if someone is interested in continuing development..

At the time pjsip seemed a great library (still is though), so I thought
other people might be interested on it.
Anyway, here is a quicklist of software using the library:
http://www.pjsip.org/apps.htm

Greetings,
- Angelo
Comment 12 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-05-17 17:46:51 UTC
Angelo, I'm re-assigning this bug to maintainer-wanted as voip team is probably not going to maintain this ebuild in a near future. If you want to help with it, do not hesitate.

Anyway, the ebuild is going to be available in the voip overlay probably for a while.
Comment 13 Henrik 2009-12-22 09:29:53 UTC
Created attachment 213733 [details]
pjsip 1.5

Need help with a look on RDEPEND
Comment 14 Henrik 2009-12-22 09:31:20 UTC
(In reply to comment #13)
> Created an attachment (id=213733) [details]
> pjsip 1.5
> 
> Need help with a look on RDEPEND
> 

All works fine I have no problem, but are not sure on it is up to date with RDEPEND for other users.
Comment 15 Henrik 2009-12-22 09:35:31 UTC
pjsip-0.5.10.4-saneMake.diff
pjsip-0.5.10.4.ebuild

Works 100% for me but is not 100% sure it will work for all.
Comment 16 Henrik 2009-12-22 19:37:48 UTC
I will not give a lot of examples of why this program be in portage beyond that it is a module that helps with makes python sip programs. Can examples be use as a lightweight module for producing a multimedia-cal Center desktop. . . .

...
http://www.pjsip.org/apps.htm

Comment 17 Atman Sense 2010-04-26 20:09:45 UTC
Created attachment 229309 [details]
pjsip-1.5.5.ebuild

- new ebuild
- needed by sflphone (#293399)
Comment 18 Jaime Martin 2010-05-13 22:33:36 UTC
(In reply to comment #17)
> Created an attachment (id=229309) [details]
> pjsip-1.5.5.ebuild
> 
> - new ebuild
> - needed by sflphone (#293399)
> 

It works for me in ~amd64 arch.
Comment 19 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2010-07-16 09:49:49 UTC
Added this ebuild to the tree (bumped to version 1.6 and cleaned it a bit, remember to run repoman on ebuilds). Thanks to everyone who contributed.

I may try to do sflphone next.

Note: ~x86 only for now.