[SCM] thin, simple and robust network communication layer on top of UDP branch, master, updated. upstream/1.2-18-gfc3b708

Ansgar Burchardt ansgar at 2008.43-1.org
Tue Aug 26 21:28:40 UTC 2008


The following commit has been merged in the master branch:
commit adaea31f527c2cc1c50023f7f0a7e8022a9ac3e7
Author: Ansgar Burchardt <ansgar at 2008.43-1.org>
Date:   Tue Aug 26 23:17:33 2008 +0200

    add libenet-doc package
    
    Add libenet-doc package for documentation, also generate said
    documentation with doxygen

diff --git a/debian/changelog b/debian/changelog
index 543ff80..009228f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,8 +17,10 @@ enet (1.2-1) UNRELEASED; urgency=low
   * Make libenet1-dev a transitional package for libenet-dev instead of the
     other way around.  We only want to support the latest version.
   * Change description for libenet2
+  * Add libenet-doc package for documentation, also generate said
+    documentation with doxygen
 
- -- Ansgar Burchardt <ansgar at 43-1.org>  Wed, 09 Jul 2008 14:35:33 +0200
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Tue, 26 Aug 2008 23:05:54 +0200
 
 enet (1.1-2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 7fb9274..5cd9c3a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Gonéri Le Bouder <goneri at rulezlan.org>, Ansgar Burchardt <ansgar at 43-1.org>
-Build-Depends: debhelper (>= 7), quilt, autotools-dev
+Build-Depends: debhelper (>= 7), quilt, autotools-dev, doxygen
 Standards-Version: 3.8.0
 Vcs-Git: git://git.debian.org/git/pkg-games/enet.git
 Vcs-Browser: http://git.debian.org/?p=pkg-games/enet.git
@@ -26,6 +26,7 @@ Description: thin network communication layer on top of UDP
 
 Package: libenet-dev
 Section: libdevel
+Recommends: libenet-doc
 Replaces: libenet1-dev (<< 1.2)
 Architecture: any
 Description: devel files for libenet, a UDP networking library
@@ -50,3 +51,17 @@ Description: transitional dummy package
  that handles authentication, lobbying, server discovery, compression,
  encryption and other high level, often application level or dependent tasks.
 
+Package: libenet-doc
+Section: doc
+Architecture: all
+Description: thin network communication layer on top of UDP - documentation
+ ENet's purpose is to provide a relatively thin, simple and robust network
+ communication layer on top of UDP (User Datagram Protocol). The primary
+ feature it provides is optional reliable, in-order delivery of packets.
+ .
+ ENet is NOT intended to be a general purpose high level networking library
+ that handles authentication, lobbying, server discovery, compression,
+ encryption and other high level, often application level or dependent tasks.
+ .
+ This package includes the documentation.
+
diff --git a/debian/libenet-doc.doc-base b/debian/libenet-doc.doc-base
new file mode 100644
index 0000000..c9938a4
--- /dev/null
+++ b/debian/libenet-doc.doc-base
@@ -0,0 +1,15 @@
+Document: libenet-doc
+Title: API documentation for ENet
+Author: Lee Salzman
+Abstract: ENet's purpose is to provide a relatively thin, simple and robust
+ network communication layer on top of UDP (User Datagram Protocol). The
+ primary feature it provides is optional reliable, in-order delivery of
+ packets.
+ .
+ This manual describes the API provided by ENet.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libenet-doc/html/index.html
+Files: /usr/share/doc/libenet-doc/html/*.html
+
diff --git a/debian/libenet-dev.docs b/debian/libenet-doc.docs
similarity index 68%
rename from debian/libenet-dev.docs
rename to debian/libenet-doc.docs
index 5154096..51d66ed 100644
--- a/debian/libenet-dev.docs
+++ b/debian/libenet-doc.docs
@@ -1,2 +1,3 @@
+docs/html/
 design.txt
 tutorial.txt
diff --git a/debian/rules b/debian/rules
index a64ef54..09481d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,7 @@ build-stamp: $(QUILT_STAMPFN)
 	ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess .
 
 	dh build
+	doxygen
 
 	# create the shared lib
 	gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2.0 *.o
@@ -17,6 +18,7 @@ build-stamp: $(QUILT_STAMPFN)
 
 clean: unpatch
 	dh clean
+	[ ! -d docs/html ] || rm -r docs/html/
 
 install: install-stamp
 install-stamp: build

-- 
thin, simple and robust network communication layer on top of UDP



More information about the Pkg-games-commits mailing list