[SCM] glyr/master: Move documentation to its own package

emillon-guest at users.alioth.debian.org emillon-guest at users.alioth.debian.org
Thu Sep 27 12:03:34 UTC 2012


The following commit has been merged in the master branch:
commit ae743f708646983c762cb4a1cd88f22f3cadc216
Author: Etienne Millon <me at emillon.org>
Date:   Thu Sep 27 10:39:20 2012 +0200

    Move documentation to its own package
    
    Closes: #688821

diff --git a/debian/control b/debian/control
index febce96..4dc7301 100644
--- a/debian/control
+++ b/debian/control
@@ -59,6 +59,8 @@ Depends:
  libglyr1 (= ${binary:Version}),
  libsqlite3-dev,
  ${misc:Depends}
+Recommends:
+ libglyr-doc
 Description: search engine for music-related metadata - development files
  Glyr is a library to retrieve music-related metadata from several
  online providers (Amazon, Discogs, Musicbrainz...).
@@ -69,6 +71,24 @@ Description: search engine for music-related metadata - development files
  This package contains the header files necessary to build applications using
  libglyr.
 
+Package: libglyr-doc
+Section: doc
+Architecture: all
+Breaks:
+ libglyr-dev (<< 1.0.0-2)
+Replaces:
+ libglyr-dev (<< 1.0.0-2)
+Depends:
+ ${misc:Depends}
+Description: search engine for music-related metadata - documentation
+ Glyr is a library to retrieve music-related metadata from several
+ online providers (Amazon, Discogs, Musicbrainz...).
+ .
+ It can be used in media player programs to download cover art, lyrics,
+ biography and much more.
+ .
+ This package contains the documentation for developing with libglyr.
+
 Package: glyrc
 Section: sound
 Architecture: any
diff --git a/debian/libglyr-dev.links b/debian/libglyr-dev.links
deleted file mode 100644
index df8baa4..0000000
--- a/debian/libglyr-dev.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/libglyr-dev/html usr/share/gtk-doc/html/libglyr
diff --git a/debian/libglyr-dev.doc-base b/debian/libglyr-doc.doc-base
similarity index 72%
rename from debian/libglyr-dev.doc-base
rename to debian/libglyr-doc.doc-base
index c0cba55..a751131 100644
--- a/debian/libglyr-dev.doc-base
+++ b/debian/libglyr-doc.doc-base
@@ -6,5 +6,5 @@ Abstract: This is the API documentation for libglyr, a search engine library for
 Section: Programming
 
 Format: html
-Index: /usr/share/doc/libglyr-dev/html/index.html
-Files: /usr/share/doc/libglyr-dev/html/*
+Index: /usr/share/doc/libglyr-doc/html/index.html
+Files: /usr/share/doc/libglyr-doc/html/*
diff --git a/debian/libglyr-dev.docs b/debian/libglyr-doc.docs
similarity index 100%
rename from debian/libglyr-dev.docs
rename to debian/libglyr-doc.docs
diff --git a/debian/libglyr-dev.examples b/debian/libglyr-doc.examples
similarity index 100%
rename from debian/libglyr-dev.examples
rename to debian/libglyr-doc.examples
diff --git a/debian/libglyr-doc.links b/debian/libglyr-doc.links
new file mode 100644
index 0000000..fc87a37
--- /dev/null
+++ b/debian/libglyr-doc.links
@@ -0,0 +1 @@
+usr/share/doc/libglyr-doc/html usr/share/gtk-doc/html/libglyr
diff --git a/debian/rules b/debian/rules
index a28c47e..9b38b7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ override_dh_compress:
 	dh_compress -Xasync_queue.c -Xexample.c
 
 override_dh_fixperms:
-	chmod a-x debian/libglyr-dev/usr/share/doc/libglyr-dev/examples/async_queue.c
+	chmod a-x debian/libglyr-doc/usr/share/doc/libglyr-doc/examples/async_queue.c
 	dh_fixperms
 	
 override_dh_strip:

-- 
glyr packaging



More information about the pkg-multimedia-commits mailing list