1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
ptlib/pwlib on Debian
------------------------
Some changes of installation paths of the original libpt package had
to be made to comply with the Filesystem Hierarchy Standard under
UNIX-like operating systems:
- The libraries were installed under /usr/lib, the header files under
/usr/include, /usr/include/ptlib and /usr/include/ptclib.
- The ptlib-config script was installed under /usr/bin.
- Documentation of the main package libpt resides in
/usr/share/doc/libpt-$(VERSION), the one in package libpt-doc installs
to /usr/share/doc/libpt-doc.
The shared libraries are named
libpt.so.$(SOVERSION)
for simplicity, in contrast to the upstream versions
libpt_$(OS)_$(Arch).so.$(SOVERSION)
.
Another point was to get a single directory to contain all
subdirectories necessary to build other libraries and applications of
the openh323 project that rely on ptlib (as the ptlib is part of the
openh323 project efforts).
These packages assume that the source tree of ptlib is still there
and be pointed to by the PWLIBDIR environment variable.
Now, to facilitate that, the structure of the source tree
was mimicked in /usr/share/pwlib mainly through
linking.
You merely have to export PWLIB=/usr/share/pwlib before building mentioned
packages. Therein the makefile include files which are central to
the building process of both ptlib and openh323 can be found.
Furthermore, the ptlib-config script had to be modified to reflect the
aforementioned changes. The contents of OSRELEASE (=`uname -r`)
and the value of the -DP_LINUX (=$OSRELEASE) in CCFLAGS were deleted,
because its purpose was not clear within a packaged version.
The LIBS var now contains a
-lpt
, which it lacked in upstream source for some unknown reason.
There's no support for firewire, yet, because as of this release it
isn't possible to build in support of both A/V AND digital camera on
firewire.
For any help or comments, please contact Debian VoIP Team at
<pgk-voip-maintainers@lists.alioth.debian.org>
|