[SCM] Gtk+ library to display large amounts of numerical data branch, master, updated. upstream/0.9.1.3-21-g22fe76e

Andreas Tille tille at debian.org
Fri May 10 08:50:44 UTC 2013


The following commit has been merged in the master branch:
commit 22fe76e2d3be6d695b8fde4fa0a4b15ac1c0bc54
Author: Andreas Tille <tille at debian.org>
Date:   Fri May 10 10:43:02 2013 +0200

    Separate large arch-independent data from usr/share to arch all package by providing API doc in a separate package

diff --git a/debian/changelog b/debian/changelog
index 8d9812c..b9ad2d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ libgtkdatabox (1:0.9.2.0-1) UNRELEASED; urgency=low
      - Priority: s/extra/optional/
      - Normalised
      - different short descriptions
+     - new binary package featuring API documentation separately
   * debian/rules: New version does not contain docs/reference
     any more so no need for extra handling
 
diff --git a/debian/control b/debian/control
index 071b36b..e112ad4 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,9 @@ Build-Depends: debhelper (>= 9),
                libpango1.0-dev,
                gtk-doc-tools,
                libglade2-dev,
-               libgladeui-1-dev
+               libgladeui-1-dev,
+               dh-linktree,
+               libjs-jquery
 Standards-Version: 3.9.3
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/libgtkdatabox.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/libgtkdatabox.git
@@ -112,3 +114,25 @@ Description: Gtk+ library to display large amounts of numerical data (glade lib)
  data analysis. 
  .
  Libraries for run-time GUI loading with libglade
+
+Package: libgtkdatabox-0.9.2-0-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: Gtk+ library to display large amounts of numerical data (api doc)
+ One or more data sets of thousands of data points (X and Y coordinate) may be 
+ displayed and updated in split seconds. The widget is therfore used in many 
+ scientific and private projects that need to show quickly changing data live.
+ GtkDatabox offers the ability to zoom into and out of the data and to navigate
+ through your data by scrolling.
+ .
+ In addition to rulers and a simple coordinate cross, GtkDatabox now also allows
+ you to add one (or even more) configurable grids like on an oscilloscope.
+ .
+ Data may be presented as dots, lines connecting the data, or vertical bars. 
+ The widget allows you to easily transform pixel coordinates into data 
+ coordinates, thus allowing you to easily create powerful applications for 
+ data analysis. 
+ .
+ This package contains the API documentation.
diff --git a/debian/libgtkdatabox-0.9.2-0-dev.doc-base b/debian/libgtkdatabox-0.9.2-0-doc.doc-base
similarity index 89%
rename from debian/libgtkdatabox-0.9.2-0-dev.doc-base
rename to debian/libgtkdatabox-0.9.2-0-doc.doc-base
index b08b9b7..76f450d 100644
--- a/debian/libgtkdatabox-0.9.2-0-dev.doc-base
+++ b/debian/libgtkdatabox-0.9.2-0-doc.doc-base
@@ -18,5 +18,5 @@ Abstract: A Gtk+ library to display large amounts of numerical data
 Section: Science/Data Analysis
 
 Format: html
-Index: /usr/share/doc/libgtkdatabox-0.9.2-0-dev/html
-Files: /usr/share/doc/libgtkdatabox-0.9.2-0-dev/html/*
+Index: /usr/share/doc/libgtkdatabox-0.9.2-0-doc/html
+Files: /usr/share/doc/libgtkdatabox-0.9.2-0-doc/html/*
diff --git a/debian/libgtkdatabox-0.9.2-0-doc.docs b/debian/libgtkdatabox-0.9.2-0-doc.docs
new file mode 100644
index 0000000..3f12795
--- /dev/null
+++ b/debian/libgtkdatabox-0.9.2-0-doc.docs
@@ -0,0 +1 @@
+api/*
diff --git a/debian/libgtkdatabox-0.9.2-0-doc.linktrees b/debian/libgtkdatabox-0.9.2-0-doc.linktrees
new file mode 100644
index 0000000..88b3389
--- /dev/null
+++ b/debian/libgtkdatabox-0.9.2-0-doc.linktrees
@@ -0,0 +1 @@
+replace usr/share/javascript/jquery/jquery.js	usr/share/doc/libgtkdatabox-0.9.2-0-doc/html/jquery.js
diff --git a/debian/rules b/debian/rules
index 0e1a0b0..90408c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ export DH_VERBOSE=1
 
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 devpkg := $(shell grep -- "-dev" debian/control | sed -n 's/^Package: //p' | head -n 1)
+docpkg := $(shell grep -- "-doc" debian/control | sed -n 's/^Package: //p' | head -n 1)
 gladepkg := $(shell grep -- "-glade" debian/control | sed -n 's/^Package: //p' | head -n 1)
 libglade := $(shell grep -- "-libglade" debian/control | sed -n 's/^Package: //p' | head -n 1)
 ver  := $(shell dpkg-parsechangelog | grep '^Version:' | sed 's/^Version: [0-9]\+:\(.*\)\.[0-9]-[0-9]/\1/')
@@ -50,11 +51,11 @@ override_dh_install:
 		    --movedev "debian/tmp/usr/include" usr \
 		    --movedev "debian/tmp/usr/lib/*/pkgconfig" usr/share \
 		    debian/tmp/usr/lib/*/$(pkg).so
-	cp -a api/html debian/$(devpkg)/usr/share/doc/$(devpkg)
 	rm `find debian -name '*.la'`
 
 override_dh_installdocs:
 	dh_installdocs $(DEB_INSTALL_DOCS_ALL)
+	# rm -f debian/$(devpkg)/usr/share/doc/$(devpkg)/html/jquery.js
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Gtk+ library to display large amounts of numerical data



More information about the debian-science-commits mailing list