Package: scala-xml
Version: 1.0.3-3
Severity: minor
Tags: patch

Now that the XML library has been split from the standard library,
the documentation has disappeared. Please add the documentation.

The following patch creates a new scala-xml-doc package:

diff -urN scala-xml-1.0.3/debian/control new/scala-xml-1.0.3/debian/control
--- scala-xml-1.0.3/debian/control      2015-06-22 04:06:53.000000000 -0400
+++ new/scala-xml-1.0.3/debian/control  2015-12-03 07:54:58.435476143 -0500
@@ -17,3 +17,11 @@
  modern language features.
  .
  This package contains the standard Scala XML library.
+
+Package: scala-xml-doc
+Architecture: all
+Description: Standard Scala XML library documentation
+ Scala is a Java-compatible programming language with many
+ modern language features.
+ .
+ This package contains the documentation for the standard Scala XML library.
diff -urN scala-xml-1.0.3/debian/rules new/scala-xml-1.0.3/debian/rules
--- scala-xml-1.0.3/debian/rules        2015-06-17 02:34:34.000000000 -0400
+++ new/scala-xml-1.0.3/debian/rules    2015-12-03 14:52:28.512300571 -0500
@@ -20,9 +20,11 @@
        echo "version.number=$(VERSION)"                           >> 
target/classes/scala-xml.properties
        
        jar cfm target/scala-xml.jar debian/manifest -C target/classes .
+       mkdir -p html
+       scaladoc -d html $(SOURCE_FILES)
 
 override_dh_auto_clean:
-       rm -Rf target
+       rm -Rf target html
 
 get-orig-source:
        uscan --download-current-version --rename
diff -urN scala-xml-1.0.3/debian/scala-xml-doc.docs 
new/scala-xml-1.0.3/debian/scala-xml-doc.docs
--- scala-xml-1.0.3/debian/scala-xml-doc.docs   1969-12-31 19:00:00.000000000 
-0500
+++ new/scala-xml-1.0.3/debian/scala-xml-doc.docs       2015-12-03 
14:51:23.337909178 -0500
@@ -0,0 +1 @@
+html/

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to