Tue Jan 13 02:19:10 2009 UTC ()
Update ptlib to 2.4.4.

2008-11-27 07:47  rjongbloed

	* [r21638] version.h:
	  Update version number for beta v2.4.4

2008-12-01 22:59  rjongbloed

	* [r21668] ., configure.ac, include/ptbuildopts.h.in:
	  Fix for Microsoft SAPI moving libraries.

2008-12-04 02:01  rjongbloed

	* [r21695] ., include/ptclib/psockbun.h, src/ptclib/psockbun.cxx:
	  Split socket bundling mutexes so can access interface list while
	  the client list is locked. Preventing deadlock.

	  Fixed handling of "interface only" form of binding, i.e. one that
	  is "%interfaces" and has no address. Now correctly starts up if
	  the interface happens to be down at initialisation time.

2008-12-04 04:09  rjongbloed

	* [r21699] ., include/ptlib/msos/ptlib/vidinput_directx.h,
	  samples/vidtest/main.cxx, samples/vidtest/vidtest_2005.vcproj,
	  src/ptlib/msos/vidinput_directx.cxx:
	  Added support for camera grabbing on Windows Mobile using
	  DirectShow.

	  Enhanced video test application so can work with OS that has no
	  console.

2008-12-05 07:05  rjongbloed

	* [r21707] ., include/ptbuildopts.h.in,
	  include/ptlib/msos/ptlib/contain.h, include/ptlib/wince/cevfw.h,
	  include/ptlib/wm/cevfw.h, src/ptlib/common/pglobalstatic.cxx,
	  src/ptlib/msos/Console_2005.vcproj, src/ptlib/msos/vfw.cxx,
	  src/ptlib/wince/ConsoleCE/cevfw.cpp, src/ptlib/wm/cevfw.cpp:
	  Removed Video for Windows empty functions that make it look like
	  Windows Mobile supports VfW when it doesn't. Should just not
	  support it!

2008-12-10 01:39  rjongbloed

	* [r21744] src/ptlib/msos/vfw.cxx:
	  Added ability to have fixed size video output window, with image
	  scaled to fit. Useful when screen real estate is limited like on
	  PDAs.

2008-12-10 02:03  rjongbloed

	* [r21746] src/ptlib/common/vconvert.cxx,
	  src/ptlib/common/videoio.cxx, src/ptlib/msos/PTLib_2005.vcproj,
	  src/ptlib/msos/vidinput_directx.cxx:
	  Fixes for camera grabbing on Windows Mobile, MEDIASUBTYPE_YV12
	  appears to be identical to YUV420P even though documentation
	  implies V & U planes are reversed.

2008-12-10 07:42  rjongbloed

	* [r21763] src/ptlib/msos/vfw.cxx:
	  If Video Output window position is not specified, centre window
	  on parent window, or screen if no parent.

2008-12-17 06:52  csoutheren

	* [r21822] src/ptlib/common/collect.cxx:
	  Prevent uninitialised variables error in valgrind cause by not
	  copying deleteKeys flag across when cloning sets and
	  dictionaries.
	  Backport from head

2008-10-17 09:03  rjongbloed

	* [r21382] version.h:
	  Update version number for beta v2.4.3

2008-10-21 08:54  csoutheren

	* [r21398] src/ptclib/pvidfile.cxx:
	  Added assert if constructed regexes do not compile
	  Backport from trunk

2008-10-21 08:56  csoutheren

	* [r21399] src/ptlib/common/contain.cxx:
	  Added assert if constructed regexes do not compile
	  Back port from trunk

2008-10-21 08:57  csoutheren

	* [r21400] src/ptclib/pvfiledev.cxx:
	  Remove incorrect use of extended regexes that don't work on Linux

2008-10-26 19:57  ms30002000

	* [r21412] make/plugins.mak:
	  Fix plugins linking with --as-needed thanks to Vitaly Lipatov.

2008-10-27 01:48  csoutheren

	* [r21414] src/ptlib/unix/osutil.cxx:
	  Bring over Windows implementation of PTextFile functions.
	  Backport from head

2008-10-28 17:53  ms30002000

	* [r21416] include/ptlib/msos/ptlib/sound_win32.h,
	  src/ptlib/msos/sound_win32.cxx:
	  Fix ugly crash in PSoundchannelWin32 -
	  When using the "Default" device os_handles = -1 seem
	  to be used, leading to crashes when the PSoundchannelWin32
	  object is being destroyed but the buffers are still being
	  accessed...

2008-11-07 02:15  rjongbloed

	* [r21467] include/ptclib/psockbun.h, include/ptlib/ipsock.h,
	  src/ptclib/psockbun.cxx, src/ptlib/msos/ethsock.cxx,
	  src/ptlib/unix/socket.cxx:
	  Added function to wait for route table or network interface
	  change. Currently only a Windows implementation.

	  Changed socket bundling code (with a both of a clean up) to use
	  the above function.

	  Added ability for external applications to speed up the interface
	  detection by calling PInterfaceMonitor::GetInstance().Start() at
	  any time they like.

2008-11-07 05:58  rjongbloed

	* [r21471] src/ptlib/msos/ethsock.cxx:
	  Fixed new route table change function to be compatible with older
	  versions of Windows.

2008-11-07 06:00  rjongbloed

	* [r21472] include/ptlib/msos/ptlib/sound_directsound.h,
	  src/ptlib/msos/sound_directsound.cxx:
	  Added missing function to get opened DirectSound device name.

2008-11-07 06:53  rjongbloed

	* [r21475] ., src/ptlib/common/videoio.cxx:
	  Back ported from trunk the improved default video selection
	  algorithm.

2008-11-11 13:22  csoutheren

	* [r21501] src/ptlib/common/sockets.cxx:
	  Remove obsolete requirement for hostnames to start with alpha
	  char
	  Backport from trunk

2008-11-12 23:48  rjongbloed

	* [r21506] include/ptlib/msos/ptlib/vidinput_directx.h,
	  include/ptlib/videoio.h, ptlib_samples_2005.sln,
	  samples/vidtest/main.cxx, samples/vidtest/vidtest_2005.vcproj,
	  src/ptlib/common/vconvert.cxx, src/ptlib/common/videoio.cxx,
	  src/ptlib/msos/vidinput_directx.cxx:
	  Major rewrite of DirectSHow camera grabber code, in an attempt to
	  a) make it more understandable and b) support Windows Mobile.

	  Added (partial) support for YVU420P format, aka YV12. Same as
	  YUV420P but V/U planes swapped.

	  Added GetDeviceCapabilities() for an already open Video Input
	  device.

	  Enhanced and updated the PTLib sample for video testing.

2008-11-12 23:57  rjongbloed

	* [r21508] src/ptlib/common/osutils.cxx:
	  Fixed Windows Mobile trace log to debugstream being double
	  spaced.

2008-11-20 04:36  csoutheren

	* [r21572] include/ptclib/url.h, src/ptclib/url.cxx:
	  Ensure copied PURLs get unique query and parameter lists
	  Backport from head

2008-11-20 05:31  csoutheren

	* [r21579] include/ptlib/svcproc.h, src/ptlib/common/osutils.cxx:
	  Backport code from trunk to remove warnings

2008-11-20 05:32  rjongbloed

	* [r21580] ., src/ptlib/msos/ethsock.cxx:
	  Disable global optimization in MSVC for one function to avoid a
	  crash. Who knows why?

2008-11-20 12:56  rjongbloed

	* [r21583] ., include/ptlib/svcproc.h, src/ptlib/msos/svcproc.cxx:
	  Fixed compiler/streams compatibility.

2008-11-24 08:18  rjongbloed

	* [r21612] src/Makefile, src/ptlib/unix/svcproc.cxx:
	  Fixed issues with strange link errors to do with Service Process
	  logging. Why now? Who knows?

2008-11-26 01:22  rjongbloed

	* [r21623] src/ptlib/unix/socket.cxx:
	  Fixed hang on Linux (at least with gcc 4.3.1), thanks Jan
	  Willamowius


(jmcneill)
diff -r1.4 -r1.5 pkgsrc/devel/ptlib/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/ptlib/distinfo
diff -r0 -r1.1 pkgsrc/devel/ptlib/patches/patch-aj

cvs diff -r1.4 -r1.5 pkgsrc/devel/ptlib/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ptlib/Attic/Makefile 2008/10/25 18:12:34 1.4
+++ pkgsrc/devel/ptlib/Attic/Makefile 2009/01/13 02:19:10 1.5
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.4 2008/10/25 18:12:34 jmcneill Exp $ 1# $NetBSD: Makefile,v 1.5 2009/01/13 02:19:10 jmcneill Exp $
2 2
3DISTNAME= ptlib-2.4.2 3DISTNAME= ptlib-2.4.4
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ptlib/2.4/} 5MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ptlib/2.4/}
6EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.ekiga.net/ 9HOMEPAGE= http://www.ekiga.net/
10COMMENT= Portable Windows Libary 10COMMENT= Portable Windows Libary
11 11
12CONFLICTS+= pwlib-[0-9]* 12CONFLICTS+= pwlib-[0-9]*
13 13
14BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison 14BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
15 15
16USE_TOOLS+= gmake tar pkg-config 16USE_TOOLS+= gmake tar pkg-config

cvs diff -r1.5 -r1.6 pkgsrc/devel/ptlib/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ptlib/Attic/distinfo 2008/10/25 18:12:34 1.5
+++ pkgsrc/devel/ptlib/Attic/distinfo 2009/01/13 02:19:10 1.6
@@ -1,11 +1,12 @@ @@ -1,11 +1,12 @@
1$NetBSD: distinfo,v 1.5 2008/10/25 18:12:34 jmcneill Exp $ 1$NetBSD: distinfo,v 1.6 2009/01/13 02:19:10 jmcneill Exp $
2 2
3SHA1 (ptlib-2.4.2.tar.bz2) = d4fb343006fc108ca7cc0431a14cf4c4ea7233d3 3SHA1 (ptlib-2.4.4.tar.bz2) = a6255cc6f2fb337518a9c49d8ce21f1790729ca7
4RMD160 (ptlib-2.4.2.tar.bz2) = 110c53c4dc6f1144a5b11bb63b0f114fdeee2fc9 4RMD160 (ptlib-2.4.4.tar.bz2) = 9a84d463bf203b1619a9df5a67d0fed80b182acd
5Size (ptlib-2.4.2.tar.bz2) = 3004289 bytes 5Size (ptlib-2.4.4.tar.bz2) = 3009442 bytes
6SHA1 (patch-ac) = b0cb79c86fb0cf3182d08a33ad48a3f9becc9c20 6SHA1 (patch-ac) = b0cb79c86fb0cf3182d08a33ad48a3f9becc9c20
7SHA1 (patch-ad) = 04504e7549709f4936dc2c791b0fbcc425781c08 7SHA1 (patch-ad) = 04504e7549709f4936dc2c791b0fbcc425781c08
8SHA1 (patch-ae) = 92d140bd9536837186a03a3d3230bbb207df0ae4 8SHA1 (patch-ae) = 92d140bd9536837186a03a3d3230bbb207df0ae4
9SHA1 (patch-af) = 837cf090245e924397118132bd9529bfc394e0b3 9SHA1 (patch-af) = 837cf090245e924397118132bd9529bfc394e0b3
10SHA1 (patch-ah) = 5d98d2037c1b389e098d993217f3cefb5050a908 10SHA1 (patch-ah) = 5d98d2037c1b389e098d993217f3cefb5050a908
11SHA1 (patch-ai) = 47a7d53e52f5a28b0f25baaf1782a4152e6c6927 11SHA1 (patch-ai) = 47a7d53e52f5a28b0f25baaf1782a4152e6c6927
 12SHA1 (patch-aj) = 4c9548ef40857baf29daacc9acf6ecd68a1e5610

File Added: pkgsrc/devel/ptlib/patches/Attic/patch-aj
$NetBSD: patch-aj,v 1.1 2009/01/13 02:19:10 jmcneill Exp $

--- src/ptlib/unix/svcproc.cxx.orig	2009-01-12 21:12:44.000000000 -0500
+++ src/ptlib/unix/svcproc.cxx	2009-01-12 21:13:12.000000000 -0500
@@ -165,7 +165,7 @@ void PSystemLog::Output(Level level, con
 #elif defined(BE_THREADS)
       thread_id tid = ::find_thread(NULL);
 #else
-      unsigned tid = (unsigned) pthread_self();
+      unsigned tid = (uintptr_t) pthread_self();
 #endif
       *out << "ThreadID=0x"
            << setfill('0') << ::hex
@@ -719,7 +719,7 @@ void PServiceProcess::PXOnAsyncSignal(in
 #elif defined(BE_THREADS)
   thread_id tid = ::find_thread(NULL);
 #else
-  unsigned tid = (unsigned) pthread_self();
+  unsigned tid = (uintptr_t) pthread_self();
 #endif
   PThread * thread_ptr = activeThreads.GetAt(tid);