[Pkg-voip-commits] r7041 - in /ptlib/branches/ptlib-1.10.10/debian: changelog control libpt-1.10.10-dev.dirs libpt-1.10.10-dev.manpages libpt-1.10.10-doc.docs libpt-dev.dirs libpt-dev.manpages libpt-doc.docs rules

msp at alioth.debian.org msp at alioth.debian.org
Sat Apr 25 10:55:56 UTC 2009


Author: msp
Date: Sat Apr 25 10:55:56 2009
New Revision: 7041

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7041
Log:
NEW Package libpt-dev -> libpt-1.10.10-dev

Added:
    ptlib/branches/ptlib-1.10.10/debian/libpt-1.10.10-dev.dirs
      - copied unchanged from r7034, ptlib/branches/ptlib-1.10.10/debian/libpt-dev.dirs
    ptlib/branches/ptlib-1.10.10/debian/libpt-1.10.10-dev.manpages
      - copied unchanged from r7034, ptlib/branches/ptlib-1.10.10/debian/libpt-dev.manpages
    ptlib/branches/ptlib-1.10.10/debian/libpt-1.10.10-doc.docs
      - copied unchanged from r7034, ptlib/branches/ptlib-1.10.10/debian/libpt-doc.docs
Removed:
    ptlib/branches/ptlib-1.10.10/debian/libpt-dev.dirs
    ptlib/branches/ptlib-1.10.10/debian/libpt-dev.manpages
    ptlib/branches/ptlib-1.10.10/debian/libpt-doc.docs
Modified:
    ptlib/branches/ptlib-1.10.10/debian/changelog
    ptlib/branches/ptlib-1.10.10/debian/control
    ptlib/branches/ptlib-1.10.10/debian/rules

Modified: ptlib/branches/ptlib-1.10.10/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/branches/ptlib-1.10.10/debian/changelog?rev=7041&op=diff
==============================================================================
--- ptlib/branches/ptlib-1.10.10/debian/changelog (original)
+++ ptlib/branches/ptlib-1.10.10/debian/changelog Sat Apr 25 10:55:56 2009
@@ -20,8 +20,9 @@
   [ Mark Purcell ]
   * Disable AVC & DC plugins (obsolete & replaced by V4L plugins)
     - (Closes: #519047): "pwlib FTBFS"
-
- -- Mark Purcell <msp at debian.org>  Sat, 25 Apr 2009 14:39:59 +1000
+  * NEW Package libpt-dev -> libpt-1.10.10-dev
+
+ -- Mark Purcell <msp at debian.org>  Sat, 25 Apr 2009 20:55:25 +1000
 
 pwlib (1.10.10-2) unstable; urgency=low
 

Modified: ptlib/branches/ptlib-1.10.10/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/branches/ptlib-1.10.10/debian/control?rev=7041&op=diff
==============================================================================
--- ptlib/branches/ptlib-1.10.10/debian/control (original)
+++ ptlib/branches/ptlib-1.10.10/debian/control Sat Apr 25 10:55:56 2009
@@ -25,9 +25,10 @@
  a method to produce applications to run on both Microsoft Windows and
  Unix X-Window systems.
 
-Package: libpt-dev
+Package: libpt-1.10.10-dev
 Section: libdevel
 Architecture: any
+Provides: libpt-dev
 Depends: libpt-1.10.10 (= ${binary:Version}), libc6-dev, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, libsasl2-dev
 Description: Portable Windows Library development files
  This package contains the headers and a static version of the library
@@ -36,7 +37,7 @@
  Microsoft Windows and Unix X-Window systems.
 
 Package: libpt-1.10.10-dbg
-Section: libdevel
+Section: debug
 Priority: extra
 Architecture: any
 Depends: libpt-1.10.10 (= ${binary:Version})
@@ -48,7 +49,7 @@
  version of PWLib which would yield much more detailled information as a
  compromise of benefit and compile power consumption.
 
-Package: libpt-doc
+Package: libpt-1.10.10-doc
 Section: doc
 Priority: extra
 Architecture: all

Modified: ptlib/branches/ptlib-1.10.10/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/branches/ptlib-1.10.10/debian/rules?rev=7041&op=diff
==============================================================================
--- ptlib/branches/ptlib-1.10.10/debian/rules (original)
+++ ptlib/branches/ptlib-1.10.10/debian/rules Sat Apr 25 10:55:56 2009
@@ -168,42 +168,42 @@
 #	$(PACKAGE)-dbg (will be filled by dh_strip)
 	cp debian/libpt-dbg.dirs debian/$(PACKAGE)-dbg.dirs
 
-#	libpt-dev
-	ln -s libpt.so.$(SHLIBSVER) debian/libpt-dev/usr/lib/libpt.so
-
-	cp -vr include/pt* debian/libpt-dev/usr/include
-	cp -vr make `pwd`/debian/libpt-dev/usr/share/pwlib
+#	$(PACKAGE)-dev
+	ln -s libpt.so.$(SHLIBSVER) debian/$(PACKAGE)-dev/usr/lib/libpt.so
+
+	cp -vr include/pt* debian/$(PACKAGE)-dev/usr/include
+	cp -vr make `pwd`/debian/$(PACKAGE)-dev/usr/share/pwlib
 	sed -i -e 's#$$(PWLIBDIR)/include/ptlib/unix#/usr/include/ptlib/unix#g' \
-	    -e 's#$$(PWLIBDIR)/lib#/usr/lib#g' debian/libpt-dev/usr/share/pwlib/make/unix.mak
-	# copy static opt version to libpt-dev
-	install -m 755 lib/libpt_s.a debian/libpt-dev/usr/lib/
-	find debian/libpt-dev/usr/include -type f -exec chmod 644 {} \;
-	# ptlib-config in libpt-dev
+	    -e 's#$$(PWLIBDIR)/lib#/usr/lib#g' debian/$(PACKAGE)-dev/usr/share/pwlib/make/unix.mak
+	# copy static opt version to $(PACKAGE)-dev
+	install -m 755 lib/libpt_s.a debian/$(PACKAGE)-dev/usr/lib/
+	find debian/$(PACKAGE)-dev/usr/include -type f -exec chmod 644 {} \;
+	# ptlib-config in $(PACKAGE)-dev
 	# changing build/machine dependent data in ptlib-config
-	-rm -f `find debian/libpt-dev/ -name ptlib-config`
+	-rm -f `find debian/$(PACKAGE)-dev/ -name ptlib-config`
 	sed -e 's#^OSRELEASE=.*#OSRELEASE=\"\"#g' \
 	    -e 's#^LIBDIR=.*#LIBDIR=\"/usr/lib\"#g' \
 	    -e 's#^\(CCFLAGS=.*-DP_LINUX\)='$(UNAME_R)'\(.*\)\"#\1 \2 -DPHAS_TEMPLATES -I/usr/include/ptlib -I/usr/include/ptlib/unix\"#g' \
 	    -e 's#^\(LIBS=.*\)\"#\1 -lpt\"#g' \
-	    make/ptlib-config > debian/libpt-dev/usr/bin/ptlib-config
-	chmod 0755 debian/libpt-dev/usr/bin/ptlib-config
-	ln -s ../../../bin/ptlib-config debian/libpt-dev/usr/share/pwlib/make/
+	    make/ptlib-config > debian/$(PACKAGE)-dev/usr/bin/ptlib-config
+	chmod 0755 debian/$(PACKAGE)-dev/usr/bin/ptlib-config
+	ln -s ../../../bin/ptlib-config debian/$(PACKAGE)-dev/usr/share/pwlib/make/
 	# erasing build host specific && unnecessary stuff off ptbuildopts.mak
-	-rm -f `find debian/libpt-dev/ -name ptbuildopts.mak`
+	-rm -f `find debian/$(PACKAGE)-dev/ -name ptbuildopts.mak`
 	sed -e 's#^PWLIBDIR.*#PWLIBDIR = /usr/share/pwlib#g' \
 	    -e 's#^OSRELEASE.*#OSRELEASE =#g' \
 	    -e 's#^\(STDCCFLAGS.*-DP_LINUX\)='$(UNAME_R)'\(.*\)#\1 \2#g' \
-	    make/ptbuildopts.mak > debian/libpt-dev/usr/share/pwlib/make/ptbuildopts.mak
+	    make/ptbuildopts.mak > debian/$(PACKAGE)-dev/usr/share/pwlib/make/ptbuildopts.mak
 	# for using /usr/share/pwlib as a single PWLIBDIR
-	ln -s ../../lib debian/libpt-dev/usr/share/pwlib
-	
-	cp version.h debian/libpt-dev/usr/include/ptlib/
-	ln -s ../../include/ptlib/version.h debian/libpt-dev/usr/share/pwlib/
-	ln -s ../../../include/ptbuildopts.h debian/libpt-dev/usr/share/pwlib/include
-	ln -s ../../../include/ptlib.h debian/libpt-dev/usr/share/pwlib/include
-	ln -s ../../../include/ptlib debian/libpt-dev/usr/share/pwlib/include
+	ln -s ../../lib debian/$(PACKAGE)-dev/usr/share/pwlib
+	
+	cp version.h debian/$(PACKAGE)-dev/usr/include/ptlib/
+	ln -s ../../include/ptlib/version.h debian/$(PACKAGE)-dev/usr/share/pwlib/
+	ln -s ../../../include/ptbuildopts.h debian/$(PACKAGE)-dev/usr/share/pwlib/include
+	ln -s ../../../include/ptlib.h debian/$(PACKAGE)-dev/usr/share/pwlib/include
+	ln -s ../../../include/ptlib debian/$(PACKAGE)-dev/usr/share/pwlib/include
 	# should not be part of a distribution package:
-	-rm -f `find debian/libpt-dev/ -name "*.in"`
+	-rm -f `find debian/$(PACKAGE)-dev/ -name "*.in"`
 
 # plugins
 




More information about the Pkg-voip-commits mailing list