[Pkg-cli-libs-commits] [SCM] poppler-sharp branch, master, updated. upstream/0.0.1-11-g4465918

Chow Loong Jin hyperair at ubuntu.com
Thu Jun 17 18:51:03 UTC 2010


The following commit has been merged in the master branch:
commit 6a9ad6befd73aa4eb44511efc27d768738289f06
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date:   Fri Jun 18 01:59:32 2010 +0800

    Add monodoc package

diff --git a/debian/control b/debian/control
index 8b345b1..b1936f4 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: Chow Loong Jin <hyperair at ubuntu.com>
 Build-Depends: debhelper (>= 7.0.50),
                mono-devel (>= 2.4.3),
                cli-common-dev (>= 0.5.7),
+               monodoc-base,
                gtk-sharp2-gapi,
                autotools-dev,
                libpoppler-glib-dev,
@@ -30,3 +31,12 @@ Description: PDF rendering library -- CLI development files
  .
  This package contains the development files needed to compile CLI applications
  which use this library.
+
+Package: monodoc-poppler-manual
+Architecture: all
+Depends: monodoc-manual
+Section: doc
+Description: compiled XML documentation for Poppler Sharp
+ Poppler is a PDF rendering library based on the xpdf PDF viewer.
+ .
+ This package contains the compiled XML documentation for Poppler Sharp.
diff --git a/debian/monodoc-poppler-manual.install b/debian/monodoc-poppler-manual.install
new file mode 100644
index 0000000..ef87524
--- /dev/null
+++ b/debian/monodoc-poppler-manual.install
@@ -0,0 +1,3 @@
+poppler.tree          /usr/lib/monodoc/sources
+poppler.zip           /usr/lib/monodoc/sources
+debian/poppler.source /usr/lib/monodoc/sources
diff --git a/debian/poppler.source b/debian/poppler.source
new file mode 100644
index 0000000..54fa2bc
--- /dev/null
+++ b/debian/poppler.source
@@ -0,0 +1,5 @@
+<?xml version=1.0"?>
+<monodoc>
+  <node label="Poppler" name="poppler" parent="libraries" />
+  <source provider="ecma" basefile="poppler" path="poppler" />
+</monodoc>
diff --git a/debian/rules b/debian/rules
index 1d0b564..6eca1c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,21 @@ include /usr/share/cli-common/cli.make
 override_dh_auto_configure:
 	dh_auto_configure -- MCS=/usr/bin/mono-csc
 
+override_dh_auto_build:
+	dh_auto_build
+	mkdir -p monodoc
+	mdoc update \
+		-fno-assembly-versions \
+		--out=monodoc \
+		$(CURDIR)/poppler-sharp.dll
+	mdoc assemble \
+		--format ecma \
+		--out $(CURDIR)/poppler \
+		$(CURDIR)/monodoc
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf poppler.zip poppler.tree monodoc
+
 %:
 	dh $@

-- 
poppler-sharp



More information about the Pkg-cli-libs-commits mailing list