Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238617 - net-libs/ptlib (New Package)
Summary: net-libs/ptlib (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL: http://www.opalvoip.org/
Whiteboard:
Keywords: EBUILD, InOverlay, InVCS
: 244576 (view as bug list)
Depends on:
Blocks: 238554 238610
  Show dependency tree
 
Reported: 2008-09-25 00:09 UTC by Mounir Lamouri (volkmar) (RETIRED)
Modified: 2009-07-03 09:57 UTC (History)
11 users (show)

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


Attachments
ptlib-2.4.1 ebuild (ptlib-2.4.1.ebuild,2.67 KB, text/plain)
2008-09-25 00:17 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
asm patch (ptlib-asm.patch,561 bytes, patch)
2008-09-25 00:18 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
Instplugins patch (ptlib-2.4.1-instplugins.diff,1.07 KB, patch)
2008-09-25 00:19 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details | Diff
ptlib-2.4.1 ebuild (ptlib-2.4.1.ebuild,2.63 KB, text/plain)
2008-09-25 00:34 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
ptlib-2.4.1 ebuild (ptlib-2.4.1.ebuild,2.48 KB, text/plain)
2008-09-25 16:12 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
ptlib-2.4.1 ebuild (ptlib-2.4.1.ebuild,2.48 KB, text/plain)
2008-09-25 22:32 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
EAPI2-based ebuild (ptlib-2.4.1.ebuild,2.33 KB, text/plain)
2008-10-05 16:47 UTC, Michał Górny
Details
ptlib-2.4.1 ebuild (ptlib-2.4.1.ebuild,2.50 KB, text/plain)
2008-10-10 04:30 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
ptlib-2.4.1 ebuild (ptlib-2.4.1.ebuild,2.56 KB, text/plain)
2008-10-10 17:36 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
updated Mounir Lamouri's ebuild for 2.4.2 (ptlib-2.4.2.ebuild,2.42 KB, text/plain)
2008-10-21 23:10 UTC, George Wu
Details
ptlib-2.4.2 ebuild (ptlib-2.4.2.ebuild,2.43 KB, text/plain)
2008-10-21 23:31 UTC, George Wu
Details
Ebuild for ptlib-2.4.2 (ptlib-2.4.2.ebuild,2.22 KB, text/plain)
2008-10-25 20:23 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.2 (ptlib-2.4.2.ebuild,2.34 KB, text/plain)
2008-10-27 13:30 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.2 (ptlib-2.4.2.ebuild,2.46 KB, text/plain)
2008-11-08 16:32 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.2 (ptlib-2.4.2.ebuild,2.47 KB, text/plain)
2009-01-14 01:11 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.4 (ptlib-2.4.4.ebuild,2.47 KB, text/plain)
2009-01-16 02:55 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.4 (ptlib-2.4.4.ebuild,2.47 KB, text/plain)
2009-01-19 05:36 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.4 (ptlib-2.4.4.ebuild,2.49 KB, text/plain)
2009-01-21 02:54 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.5.2 (ptlib-2.5.2.ebuild,2.49 KB, text/plain)
2009-01-21 02:55 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.4 (ptlib-2.4.4.ebuild,2.51 KB, text/plain)
2009-02-28 19:56 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.5.2 (ptlib-2.5.2.ebuild,2.51 KB, text/plain)
2009-02-28 19:57 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.4.5 from voip overaly (ptlib-2.4.5-r1.ebuild,8.33 KB, text/plain)
2009-03-18 14:19 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.6.1 from voip overaly (ptlib-2.6.1.ebuild,8.65 KB, text/plain)
2009-04-01 01:59 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
Ebuild for ptlib-2.6.1 (ptlib-2.6.1.ebuild,8.94 KB, text/plain)
2009-04-02 03:08 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 00:09:00 UTC
With the new ekiga 3.00 release there is a new ptlib release (2.4.1).
This ebuild is needed for ekiga 3.00.

Actually, it's an update from pwlib (in portage) but the lib name has changed. The ebuild should also change name in portage.
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 00:17:50 UTC
Created attachment 166337 [details]
ptlib-2.4.1 ebuild

This is an ebuild ptlib-2.4.1 based on pwlib-1.10.10-r1. If necessary, I can give a patch but as it's a new ebuild..

I will add patches (from pwlib). One of them is useless. The SDL one is commented into the ebuild because the part of the file to patch has been updated and I don't know if the patch is still relevant.
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 00:18:35 UTC
Created attachment 166339 [details, diff]
asm patch

First patch
Comment 3 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 00:19:44 UTC
Created attachment 166341 [details, diff]
Instplugins patch

Second patch. Prevent bug if there isn't plugins installed.
Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 00:34:28 UTC
Created attachment 166343 [details]
ptlib-2.4.1 ebuild

Small modifications of the ebuild.
Comment 5 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 16:12:59 UTC
Created attachment 166394 [details]
ptlib-2.4.1 ebuild

- Remove version.h installation
- Changed description
- other small things

Notes :
- sed dependency shouldn't be removed because it's part of system ?
- I keept KEYWORDS from pwlib as it's an update of pwlib
Comment 6 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-25 22:32:56 UTC
Created attachment 166425 [details]
ptlib-2.4.1 ebuild

I forgot to rename a variable. That was making it break with +debug. Fixed.
Comment 7 Markus Luisser 2008-09-26 06:09:33 UTC
works for me on amd64
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-09-29 08:35:46 UTC
adding gnome since we need to know when this will be available for ekiga 3 / gnome 2.24 release
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-10-05 16:47:41 UTC
Created attachment 167317 [details]
EAPI2-based ebuild

Updated the ebuild to use EAPI 2.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-05 17:25:59 UTC
please don't forget that ebuilds using EAPI=2 can't be stabilized before portage 2.2 and it might slow down stabilization of this package so don't forget to keep an ebuild that doesn't depend on it.
Comment 11 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-10 04:30:50 UTC
Created attachment 167848 [details]
ptlib-2.4.1 ebuild

* Dependencies cleaning (especially for ieee1394 flag)
* New use flags for plugins (esd, sunaudio and bsdvideo)
* Cleaning

Ptlib plugins dependencies are not explicit (header files but no libraries). I tested esd, alsa, v4l and ieee1394. I suppose oss and v4l2 should be ok if kernel is correctly configured. But I don't know what are the conditions to have sunaudio and bsdvideo working.
I'm also wondering : should I add a warning at the end of the emerge to inform that enabling the useflag doesn't make the feature working if the kernel is not configured properly ?
Comment 12 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-10 17:36:36 UTC
Created attachment 167894 [details]
ptlib-2.4.1 ebuild

I forgot to add EAPI="1" and another slot dependence.
Comment 13 George Wu 2008-10-21 22:34:33 UTC
version bump (opal 2.4.2) released 10/17/2008.
Comment 14 George Wu 2008-10-21 22:35:48 UTC
(In reply to comment #13)
> version bump (opal 2.4.2) released 10/17/2008.
> 
Sorry, meant ptlib
Comment 15 George Wu 2008-10-21 23:10:58 UTC
Created attachment 169356 [details]
updated Mounir Lamouri's ebuild for 2.4.2

instplugins patch no longer needed. moved ptlib-2.4.1-asm.patch to ptlib-asm.patch.
Comment 16 George Wu 2008-10-21 23:31:41 UTC
Created attachment 169360 [details]
ptlib-2.4.2 ebuild

updated HOMEPAGE
Comment 17 George Wu 2008-10-25 07:51:51 UTC
is voip still interested in maintaining this package?
Comment 18 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-25 20:23:58 UTC
Created attachment 169868 [details]
Ebuild for ptlib-2.4.2

Remove filters on make/unix.mak : they were not usefull and partially outdated.
Comment 19 George Wu 2008-10-25 21:03:16 UTC
Comment on attachment 169360 [details]
ptlib-2.4.2 ebuild

obsoleted by Mounir Lamouri's updated ebuild
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-27 02:41:15 UTC
*** Bug 244576 has been marked as a duplicate of this bug. ***
Comment 21 Aleksandr Yakimov 2008-10-27 09:46:41 UTC
(In reply to comment #18)
> Created an attachment (id=169868) [edit]
> Ebuild for ptlib-2.4.2
> 
> Remove filters on make/unix.mak : they were not usefull and partially outdated.
> 

 * ERROR: dev-libs/ptlib-2.4.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_install
 * environment, line 2157:  Called die
 * The specific snippet of code:
 * dohtml -r html/* || die "documentation installation failed";
 * The die message:
 * documentation installation failed

Comment 22 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-10-27 13:30:35 UTC
Created attachment 170000 [details]
Ebuild for ptlib-2.4.2

I didn't see documentation was in another tarball.

This should fix your bug Aleksandr.
Comment 23 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-11-08 16:32:05 UTC
Created attachment 171114 [details]
Ebuild for ptlib-2.4.2

Filtering --as-needed LDFLAG. Otherwise, ekiga can't use alsa plugin and, I suppose, any other plugin from ptlib.
Comment 24 David Ferenczi 2009-01-03 18:13:22 UTC
RESTRICT="mirror" was needed, but otherwise the ebuild worked well
Comment 25 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-14 01:11:32 UTC
Created attachment 178452 [details]
Ebuild for ptlib-2.4.2

Adding default value for sensitive use flags.

Btw, RESTRICT="mirror" is not appropriate (see gentoo dev manual).
Comment 26 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-16 02:55:40 UTC
Created attachment 178658 [details]
Ebuild for ptlib-2.4.4

New version of ptlib (2.4.4). No major changes.
Comment 27 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-19 05:36:21 UTC
Created attachment 178960 [details]
Ebuild for ptlib-2.4.4

New ebuild fully using eapi 2.
Comment 28 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-21 02:54:10 UTC
Created attachment 179124 [details]
Ebuild for ptlib-2.4.4

Fix a bad formated line and add pkgconfig as a dependency.
Comment 29 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-01-21 02:55:37 UTC
Created attachment 179125 [details]
Ebuild for ptlib-2.5.2

Ebuild for ptlib-2.5.2 : it is the "in development" version of ptlib. Needed by the beta version of ekiga.
Comment 30 Manfred Knick 2009-02-23 11:12:54 UTC
Discovered in context of BUG #238554#c80 :

emerge: there are no ebuilds built with USE flags to satisfy "dev-libs/ptlib[asn]".

!!! One of the following packages is required to complete your request:            
- dev-libs/ptlib-2.5.2 (Missing IUSE: asn)                                         
- dev-libs/ptlib-2.4.4 (Missing IUSE: asn)                                         
(dependency required by "net-libs/opal-3.5.2" [ebuild])                            
(dependency required by "net-im/ekiga-3.1.0" [ebuild])                             


This trouble is caused by the following conditional dependency:
# grep asn *
net-libs/opal/opal-3.5.2.ebuild:        fax? ( dev-libs/ptlib[asn] )

BUT:
There is none such "asn" USE flag at all;
only the following are defined:

grep -R USE * | grep ptlib

dev-libs/ptlib/ptlib-2.4.4.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"

dev-libs/ptlib/ptlib-2.5.2.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"
Comment 31 Manfred Knick 2009-02-23 11:18:13 UTC
ADDENDUM to comment #30 :

And, of course, in http://bugs.gentoo.org/show_bug.cgi?id=238610#c41
Comment 32 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-02-28 19:56:42 UTC
Created attachment 183508 [details]
Ebuild for ptlib-2.4.4

Forgot to update the ebuild, sorry.
Comment 33 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-02-28 19:57:10 UTC
Created attachment 183510 [details]
Ebuild for ptlib-2.5.2
Comment 34 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:17:41 UTC
I've added ptlib-2.4* (2.4.5 atm) in the voip overlay.

Please, use the voip overlay ebuilds instead of ebuilds from this bug. I will try to keep this bug up to date but surely, the voip overlay ebuilds will be better.

ptlib from the voip overlay will probably don't work with opal and ekiga from bugzilla (but from the voip overlay).
Comment 35 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:19:48 UTC
Created attachment 185427 [details]
Ebuild for ptlib-2.4.5 from voip overaly

It's much more for "advancement information" than for use.
Comment 36 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-18 14:21:04 UTC
Changing name of the package from dev-libs/ptlib to net-libs/ptlib. Indeed, ptlib is a network library. pwlib was a "general" portable library.
Comment 37 Raphaël Droz 2009-03-19 13:14:59 UTC
While trying to compile ptlib 2.4.5 (for the first time, I just added the voip overlay), the compilation failed with :
--------------
/usr/bin/install -c -m 444 /var/tmp/portage/net-libs/ptlib-2.4.5-r1/work/ptlib-2.4.5/lib_linux_x86_64/libpt.so.2.4.5 /var/tmp/portage/net-libs/ptlib-2.4.5-r1/image//usr/lib64
/usr/bin/install: can't stat `/var/tmp/portage/net-libs/ptlib-2.4.5-r1/work/ptlib-2.4.5/lib_linux_x86_64/libpt.so.2.4.5': No such file or directory
--------------
Anyway I have a "ptlib-2.4.5/lib_linux_x86_64/libpt_d.so.2.4.5" (notice the '_d').
It seems like an issue with "ptlib-2.4.5/make/unix.mak" and the $OBJ_SUFFIX variable when de debug useflag is set but I didn't dug it more.
Flags used :
audio debug video wav -ldap -ftp -http -url -ssl -jabber -xml -soap -xmlrpc -dns -ipv6
Anybody experiencing this also ?
Comment 38 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-03-20 01:06:19 UTC
(In reply to comment #37)
> While trying to compile ptlib 2.4.5 (for the first time, I just added the voip
> overlay), the compilation failed with :
> --------------
> /usr/bin/install -c -m 444
> /var/tmp/portage/net-libs/ptlib-2.4.5-r1/work/ptlib-2.4.5/lib_linux_x86_64/libpt.so.2.4.5
> /var/tmp/portage/net-libs/ptlib-2.4.5-r1/image//usr/lib64
> /usr/bin/install: can't stat
> `/var/tmp/portage/net-libs/ptlib-2.4.5-r1/work/ptlib-2.4.5/lib_linux_x86_64/libpt.so.2.4.5':
> No such file or directory
> --------------
> Anyway I have a "ptlib-2.4.5/lib_linux_x86_64/libpt_d.so.2.4.5" (notice the
> '_d').
> It seems like an issue with "ptlib-2.4.5/make/unix.mak" and the $OBJ_SUFFIX
> variable when de debug useflag is set but I didn't dug it more.
> Flags used :
> audio debug video wav -ldap -ftp -http -url -ssl -jabber -xml -soap -xmlrpc
> -dns -ipv6
> Anybody experiencing this also ?
> 

Fixed in the overlay.
Comment 39 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-01 01:59:40 UTC
Created attachment 186934 [details]
Ebuild for ptlib-2.6.1 from voip overaly

Version bump to 2.6.1.
This ebuild is fixing the bug when debug flag is enabled (comment 37).
To be used with opal-3.6.1 and ekiga-3.2.0.
Comment 40 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-02 03:08:05 UTC
Created attachment 187041 [details]
Ebuild for ptlib-2.6.1

This new 2.6.1 ebuild is fixing a small bug about ptlib not working if ffmpeg is enabled and pipechan disabled.
Comment 41 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-03 09:57:48 UTC
ptlib-2.6.2 is now in the official tree