--- erlang-doc-html-13.b.1-dfsg.orig/debian/doc-base.erlang-lib +++ erlang-doc-html-13.b.1-dfsg/debian/doc-base.erlang-lib @@ -0,0 +1,9 @@ +Document: erlang-lib +Title: Erlang Library Documentation +Author: Ericsson +Abstract: Library Documentation for the Erlang programming language +Section: Programming + +Format: HTML +Index: /usr/share/doc/erlang-doc-html/html/lib/index.html +Files: /usr/share/doc/erlang-doc-html/html/lib/* --- erlang-doc-html-13.b.1-dfsg.orig/debian/postinst +++ erlang-doc-html-13.b.1-dfsg/debian/postinst @@ -0,0 +1,36 @@ +#! /bin/sh +# postinst script for Gwydion Dylan +# +# see: dh_installdeb(1) + +set -e + +if [ "$1" = configure ]; then + # Remove old documentation directories that don't exist + # under Erlang 10.b series + cd /usr/lib/erlang/lib; \ + for i in appmon-2.1.2 asn1-1.4.4.2 compiler-4.2.3 \ + cosFileTransfer-1.1 crypto-1.2 debugger-2.2.2 \ + erl_interface-3.4.5 gs-1.5.2 hipe-2.0.2 ic-4.2.6 \ + inets-3.0.7 jinterface-1.2.1.2 kernel-2.9.6.3 \ + megaco-1.2.3 mnesia-4.1.11 observer-0.9.5 odbc-2.0 \ + orber-3.5.1 os_mon-1.6.2 otp_mibs-1.0.2 pman-2.4.1 \ + runtime_tools-1.4 sasl-1.10 snmp-3.4.7 ssl-3.0.2 \ + stdlib-1.12.7 toolbar-1.1.0 tools-2.3 tv-2.0.5 \ + webtool-0.8.1 ; \ + do \ + if [ -d $i ]; then \ + check=`ls $i | wc -l`; \ + if [ "$check" = "0" ]; then \ + rm -rf $i; \ + fi; \ + fi; \ + done + + if [ -h /usr/lib/erlang/lib/stdlib ] ; \ + then rm -f /usr/lib/erlang/lib/stdlib; \ + fi +fi + +#DEBHELPER# + --- erlang-doc-html-13.b.1-dfsg.orig/debian/doc-base.erlang-html +++ erlang-doc-html-13.b.1-dfsg/debian/doc-base.erlang-html @@ -0,0 +1,9 @@ +Document: erlang-html +Title: Erlang Documentation +Author: Ericsson +Abstract: Documentation for the Erlang programming language +Section: Programming + +Format: HTML +Index: /usr/share/doc/erlang-doc-html/html/doc/index.html +Files: /usr/share/doc/erlang-doc-html/html/doc/* --- erlang-doc-html-13.b.1-dfsg.orig/debian/control +++ erlang-doc-html-13.b.1-dfsg/debian/control @@ -0,0 +1,17 @@ +Source: erlang-doc-html +Maintainer: Erlang Packagers +Uploaders: Torsten Werner , Sergei Golovan +Section: doc +Priority: optional +Standards-Version: 3.8.1 +Build-Depends: debhelper (>= 5.0.0) +Homepage: http://www.erlang.org/ + +Package: erlang-doc-html +Architecture: all +Suggests: erlang +Conflicts: erlang-doc +Replaces: erlang-doc +Description: Erlang/OTP HTML documentation + Documentation for the Erlang programming language and OTP + library in HTML. --- erlang-doc-html-13.b.1-dfsg.orig/debian/dirs.in +++ erlang-doc-html-13.b.1-dfsg/debian/dirs.in @@ -0,0 +1,8 @@ +usr/lib/erlang +usr/lib/erlang/@ERTS_VERSION@ +usr/share/doc-base +usr/share/doc/erlang-doc-html +usr/share/doc/erlang-doc-html/html +usr/share/doc/erlang-doc-html/html/@ERTS_VERSION@ +usr/share/doc/erlang-doc-html/html/lib +usr/share/doc/erlang-doc-html/html/doc --- erlang-doc-html-13.b.1-dfsg.orig/debian/genlinks +++ erlang-doc-html-13.b.1-dfsg/debian/genlinks @@ -0,0 +1,40 @@ +#!/usr/bin/perl -w + +my $erts_version=$ARGV[0]; +my @files = `ls -d *\-*`; +chomp(@files); + +open OUTPUT, "erlang-doc-html.links" or die "Can't open erlang-doc-html.links"; + +my($filename); +foreach $filename (@files) { + my($name) = $filename; + print "Incorporating $filename:"; + + # + # Add documentation directories + # + my(@info) = `ls $filename`; + foreach $line (@info) { + chomp($line); + print " $line"; + print OUTPUT "/usr/share/doc/erlang-doc-html/html/lib/" . $filename . "/" . $line; + print OUTPUT " /usr/lib/erlang/lib/" . $filename . "/" . $line; + print OUTPUT "\n"; + } + print "\n"; + +} + +# +# Closing boilerplate +# +print OUTPUT "/usr/share/doc/erlang-doc-html/html/$erts_version/doc /usr/lib/erlang/$erts_version/doc\n"; +print OUTPUT "/usr/share/doc/erlang-doc-html/html/$erts_version/info /usr/lib/erlang/$erts_version/info\n"; +print OUTPUT "/usr/share/doc/erlang-doc-html/html/doc /usr/lib/erlang/doc\n"; + +close OUTPUT; + +print "Finished generating erlang-doc-html.links\n"; --- erlang-doc-html-13.b.1-dfsg.orig/debian/changelog +++ erlang-doc-html-13.b.1-dfsg/debian/changelog @@ -0,0 +1,289 @@ +erlang-doc-html (1:13.b.1-dfsg-1ubuntu1) karmic; urgency=low + + * Ugly version hack to fix conflict with erlang-base. (LP: #70745) + + -- Erik Kronberg Sun, 08 Nov 2009 22:37:19 +0100 + +erlang-doc-html (1:13.b-dfsg1-1) unstable; urgency=low + + * New upstream version. + * Fixed version mangling in uscan control file debian/watch. + * Bumped standards version to 3.8.1. + * Removed PR.template from docs. + * Don't compress documentation files because they are linked in HTML + documents or in application sources and become unavailable if compressed. + + -- Sergei Golovan Sat, 09 May 2009 08:55:38 +0400 + +erlang-doc-html (1:12.b.5-dfsg-1) unstable; urgency=low + + * New upstream release. + * Mangled debian version in uscan control file debian/watch because of + -dfsg suffix. + * Set -e option in postinst script to reveal command failures. + + -- Sergei Golovan Sun, 15 Feb 2009 17:12:02 +0300 + +erlang-doc-html (1:12.b.3-dfsg-1) unstable; urgency=low + + * New upstream release. + * Reordered calls to dh_makeshlibs, dh_shlibdeps, dh_installdeb in + debian/rules. + * Bumped standards version to 3.8.0. + + -- Sergei Golovan Sat, 28 Jun 2008 20:57:19 +0400 + +erlang-doc-html (1:12.b.2-dfsg-1) unstable; urgency=low + + * New upstream release. + * Fixed section name in doc-base file. + + -- Sergei Golovan Wed, 09 Apr 2008 22:36:21 +0400 + +erlang-doc-html (1:12.b.1-dfsg-1) unstable; urgency=low + + * New upstream release. + * Fixed a typo in doc-base registration files. + * Removed empty directory /usr/lib/erlang/lib/doc. + * Added homepage header to debian/control. + * Bumped standards version to 3.7.3. + + -- Sergei Golovan Wed, 06 Feb 2008 21:46:40 +0300 + +erlang-doc-html (1:11.b.5dfsg-1) unstable; urgency=low + + * Added dfsg suffix to upstream version. This makes clear that the upstream + tarball was modified. (Also, it becomes easier to manage conflicts with + erlang-base and erlang-base-hipe packages). + + -- Sergei Golovan Thu, 09 Aug 2007 11:20:58 +0400 + +erlang-doc-html (1:11.b.5-2) unstable; urgency=low + + [ Sergei Golovan ] + * Upload to unstable. + + -- Sergei Golovan Sun, 05 Aug 2007 12:57:53 +0400 + +erlang-doc-html (1:11.b.5-1) experimental; urgency=low + + [ Sergei Golovan ] + * New upstream release. + * Added Sergei Golovan to uploaders list. + * Added build-arch and build-indep targets to debian/rules. + * Added note about removed non-free docs from upstream tarball to + debian/copyright. + * Bumped debhelper compatibility level to 5. + + -- Sergei Golovan Sun, 05 Aug 2007 12:21:17 +0400 + +erlang-doc-html (1:11.b.4-3) unstable; urgency=low + + [ Sergei Golovan ] + * Fixed bug in prerm script when removing the package didn't unregister + docs when doc-base package is available (closes: #422445). + + [ Torsten Werner ] + * Clean up the debian directory. + + -- Torsten Werner Sun, 6 May 2007 14:37:38 +0200 + +erlang-doc-html (1:11.b.4-2) unstable; urgency=low + + [ Sergei Golovan ] + * Cleanup in debian/rules. + + -- Torsten Werner Tue, 10 Apr 2007 20:23:58 +0400 + +erlang-doc-html (1:11.b.4-1) experimental; urgency=low + + [ Sergei Golovan ] + * New upstream release. + * Fixed clean target in debian/rules. + + -- Torsten Werner Wed, 28 Mar 2007 21:22:10 +0400 + +erlang-doc-html (1:11.b.2-1) unstable; urgency=low + + [ Sergei Golovan ] + * New upstream release. + * Removed conflicts with erlang binary packages (moved them to + erlang-base and erlang-base-hipe packages). + + -- Erlang Packagers Wed, 08 Nov 2006 17:50:20 +0300 + +erlang-doc-html (1:11.b.1-1) unstable; urgency=low + + [ Sergei Golovan ] + * New upstream version. + + -- Erlang Packagers Sun, 03 Sep 2006 09:55:15 +0400 + +erlang-doc-html (1:11.b.0-2) unstable; urgency=low + + [ Sergei Golovan ] + * Upload to unstable. + + -- Erlang Packagers Wed, 19 Jul 2006 01:48:56 +0400 + +erlang-doc-html (1:11.b.0-1) experimental; urgency=low + + [ Sergei Golovan ] + * New upstream version. + * Added debian/watch control file. + + [ Torsten Werner ] + * Upload to experimental. + + -- Torsten Werner Wed, 12 Jul 2006 22:05:47 +0200 + +erlang-doc-html (1:10.b.10-1) unstable; urgency=low + + * New upstream version. + * Changed standards version to 3.7.2. + + [ Sergei Golovan ] + * Fixed incomplete xmerl documentation adding missed files from R10B-9. + * Added rule get-orig-source, which removes nonfree docs from upstream + tarball. + + [ Torsten Werner ] + * 2 more lintian fixes (build target in debian/rules + correct + Build-Depends) + + -- Torsten Werner Sat, 24 Jun 2006 16:24:26 +0200 + +erlang-doc-html (1:10.b.9-1) unstable; urgency=low + + * New upstream version. + * New maintainers: Erlang Packagers. + + [ Francois-Denis Gonthier ] + * Removed rfc3015.txt and implementors_guide_v6.pdf, which are non-free, + from upstream tarball (Closes: #365175). + + [ Sergei Golovan ] + * Corrected dependencies (added conflict with erlang-base and + erlang-base-hipe of outdated versions). + * Automated erts version processing. + * Removed link to docs from /usr/lib/erlang/lib/ directory (erlang + expects libraries in that directory). + + -- Erlang Packagers Sun, 04 Jun 2006 14:26:58 +0400 + +erlang-doc-html (1:10.b.7-1) unstable; urgency=low + + * new upstream version + * fixed incorrect erts version + + -- Francois-Denis Gonthier Mon, 12 Sep 2005 15:11:08 -0400 + +erlang-doc-html (1:10.b.5-1) unstable; urgency=low + + * new upstream release + * New maintainer (Closes: #307727) + + -- Francois-Denis Gonthier Sat, 14 May 2005 20:32:54 -0400 + +erlang-doc-html (1:10.b.1a-1) unstable; urgency=low + + * New upstream release. + + -- Brent A. Fulgham Sat, 20 Nov 2004 17:36:37 -0800 + +erlang-doc-html (1:10.b-2) unstable; urgency=low + + * Correct links for erts-5.4 (the 10.b version) + + -- Brent A. Fulgham Sun, 10 Oct 2004 21:43:15 -0700 + +erlang-doc-html (1:10.b-1) unstable; urgency=low + + * New upstream release. + + -- Brent A. Fulgham Sun, 10 Oct 2004 18:17:56 -0700 + +erlang-doc-html (1:9.2-3) unstable; urgency=low + + * Whoops! Need to add those html-subdirs back in. Turns out they + were used by something. + + -- Brent A. Fulgham Sat, 8 Nov 2003 22:55:17 -0800 + +erlang-doc-html (1:9.2-2) unstable; urgency=low + + * Correct erlang-erts-docs file to reflect proper directory structure. Many + thanks to Laurent Bonnaud for pointing this out. (Closes:#210604) + + -- Brent A. Fulgham Sat, 8 Nov 2003 22:40:22 -0800 + +erlang-doc-html (1:9.2-1) unstable; urgency=low + + * New upstream release. + * Correct file typo. (Closes:#186220) + + -- Brent A. Fulgham Sat, 16 Aug 2003 21:12:09 -0700 + +erlang-doc-html (1:9.1-1) unstable; urgency=low + + * New upstream release. + + -- Brent A. Fulgham Sat, 15 Mar 2003 15:12:58 -0800 + +erlang-doc-html (1:9.0-4) unstable; urgency=low + + * Correct various lintian warnings. + + -- Brent A. Fulgham Tue, 28 Jan 2003 21:58:02 -0800 + +erlang-doc-html (1:9.0-3) unstable; urgency=low + + * Generate index.html file for library directory. (Closes: #169373) + + -- Brent A. Fulgham Sat, 14 Dec 2002 22:55:30 -0800 + +erlang-doc-html (1:9.0-2) unstable; urgency=low + + * Place html under /usr/share/doc so dhelp/dwww work properly. Provide + links in package so Erlang can still find the files. (Closes:Bug#166067) + + -- Brent A. Fulgham Sat, 9 Nov 2002 00:11:39 -0800 + +erlang-doc-html (1:9.0-1) unstable; urgency=low + + * New upstream version. + + -- Brent A. Fulgham Thu, 7 Nov 2002 23:25:17 -0800 + +erlang-doc-html (1:8.2-2) unstable; urgency=low + + * Conflict with earlier version of Erlang so that directory names + don't clash. (Closes:Bug#157268) + + -- Brent A. Fulgham Mon, 19 Aug 2002 21:45:27 -0700 + +erlang-doc-html (1:8.2-1) unstable; urgency=low + + * New Maintainer. + * New upstream version. + + -- Brent A. Fulgham Wed, 14 Aug 2002 21:12:52 -0700 + +erlang-doc-html (1:8.0-2) unstable; urgency=low + + * Update yada. Closes: #146102. + + -- Samuel Tardieu Thu, 23 May 2002 12:10:08 +0200 + +erlang-doc-html (1:8.0-1) unstable; urgency=low + + * New upstream version + + -- Samuel Tardieu Tue, 30 Oct 2001 20:05:24 +0100 + +erlang-doc-html (50.1-1) unstable; urgency=low + + * Initial Debian version. + + -- Samuel Tardieu Mon, 18 Dec 2000 10:28:50 +0100 + --- erlang-doc-html-13.b.1-dfsg.orig/debian/rules +++ erlang-doc-html-13.b.1-dfsg/debian/rules @@ -0,0 +1,104 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +ROOT=$(shell pwd) +ERTS_VERSION=$(shell ls | grep 'erts-') + +clean: + dh_testdir + dh_testroot + dh_clean debian/dirs \ + debian/erlang-doc-html.links \ + debian/doc-base.erlang-erts + +build-arch: + # Nothing to do here + +build-indep: + # Nothing to do here + +build: build-indep build-arch + # Nothing to do here + +install: build-indep + dh_testdir + dh_testroot + dh_clean -k + + # Return error if there are known nonfree docs in upstream + for fn in `find . -name implementors_guide_v6.pdf -or -name rfc3015.txt` ; do \ + err=1 ; \ + echo Found nonfree $$fn in upstream. Please remove it. ; \ + done ; \ + if [ $$err = 1 ] ; then \ + false ; \ + fi + + sed -e's/@ERTS_VERSION@/$(ERTS_VERSION)/g' \ + debian/in.doc-base.erlang-erts > debian/doc-base.erlang-erts + sed -e's/@ERTS_VERSION@/$(ERTS_VERSION)/g' \ + debian/dirs.in > debian/dirs + + dh_installdirs + + # Add here commands to install the package into debian/tmp. + #cp -ar lib/* `pwd`/debian/tmp/usr/lib/erlang/lib + #cp -ar $(ERTS_VERSION)/doc `pwd`/debian/erlang-doc-html/usr/lib/erlang/$(ERTS_VERSION) + #cp -ar doc/* `pwd`/debian/erlang-doc-html/usr/lib/erlang/doc + #-rm -rf `pwd`/debian/tmp/usr/lib/erlang/lib/cosEventDomain-1.0/info + + cp -ar lib $(ROOT)/debian/erlang-doc-html/usr/share/doc/erlang-doc-html/html/ + cp -ar $(ERTS_VERSION) $(ROOT)/debian/erlang-doc-html/usr/share/doc/erlang-doc-html/html/ + cp -ar doc $(ROOT)/debian/erlang-doc-html/usr/share/doc/erlang-doc-html/html/ + + # Get rid of the unneeded 'html' directory layer + #mv `pwd`/debian/tmp/usr/share/doc/erlang-doc-html/html/$(ERTS_VERSION)/doc/html/* \ + # `pwd`/debian/tmp/usr/share/doc/erlang-doc-html/html/$(ERTS_VERSION)/doc + #rm -rf `pwd`/debian/tmp/usr/share/doc/erlang-doc-html/html/$(ERTS_VERSION)/doc/html + #cd $(ROOT)/debian/tmp/usr/share/doc/erlang-doc-html/html/lib; \ + #for f in `ls`; \ + #do \ + # echo "Working on $$f"; \ + # mv $$f/doc/html/* $$f/doc; \ + # rm -rf $$f/doc/html; \ + #done + + # Generate the index + (cd $(ROOT)/debian/erlang-doc-html/usr/share/doc/erlang-doc-html/html/lib/ ; \ + perl $(ROOT)/debian/genindex ; \ + perl $(ROOT)/debian/genlinks $(ERTS_VERSION) ; \ + mv erlang-doc-html.links $(ROOT)/debian) + + dh_link + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_compress -X.txt -X.erl -X.hrl -X.c -X.js -X.kwc + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + + +# Build architecture-dependent files here. +binary-arch: + +binary: binary-indep binary-arch + +get-orig-source: + CURDIR=`pwd` && TMPDIR=`mktemp -d /tmp/erlang-doc-html.XXXXXX` && \ + cd $$TMPDIR && \ + wget -O - http://www.erlang.org/download/otp_doc_html_R13B.tar.gz | tar zx && \ + rm -rfv lib/megaco-*/doc/standard/ && \ + tar -zcf $$CURDIR/erlang-doc-html_13.b-dfsg1.orig.tar.gz . && \ + rm -rf $$TMPDIR + +.PHONY: build build-indep build-arch clean binary-indep binary-arch binary install get-orig-source --- erlang-doc-html-13.b.1-dfsg.orig/debian/in.doc-base.erlang-erts +++ erlang-doc-html-13.b.1-dfsg/debian/in.doc-base.erlang-erts @@ -0,0 +1,9 @@ +Document: erlang-erts +Title: Erlang Runtime Documentation +Author: Ericsson +Abstract: Documentation for the Erlang Runtime System +Section: Programming + +Format: HTML +Index: /usr/share/doc/erlang-doc-html/html/@ERTS_VERSION@/doc/html/index.html +Files: /usr/share/doc/erlang-doc-html/html/@ERTS_VERSION@/doc/html/* --- erlang-doc-html-13.b.1-dfsg.orig/debian/genindex +++ erlang-doc-html-13.b.1-dfsg/debian/genindex @@ -0,0 +1,57 @@ +#!/usr/bin/perl -w + +my @files = `ls -d *\-*`; +chomp(@files); + +open OUTPUT, "index.html" or die "Can't open index.html"; + +# +# Put in some boilerplate stuff -- Cribbed from the Erlang distribution. +# +print OUTPUT "\n\n"; +print OUTPUT " Erlang Library Modules Index\n"; +print OUTPUT ' \n"; +print OUTPUT "\n"; +print OUTPUT "\n"; +print OUTPUT "

Index of Library Functions


\n"; +print OUTPUT "\n"; + +my($filename); +foreach $filename (@files) { + my($name) = $filename; + $name =~ s/[\d\.\-]//g; + print "Incorporating $filename\n"; + print OUTPUT ''; + + # + # Get short description + # + print OUTPUT "\n"; + +} + +# +# Closing boilerplate +# +print OUTPUT "\n"; + +close OUTPUT; + +print "Finished generating index.\n"; --- erlang-doc-html-13.b.1-dfsg.orig/debian/watch +++ erlang-doc-html-13.b.1-dfsg/debian/watch @@ -0,0 +1,7 @@ +# Watch control file for uscan + +# Compulsory line, this is a version 3 file +version=3 + +opts=dversionmangle=s/-dfsg\d*$//,uversionmangle=tr/[A-Z]/[a-z]/;s/\.$// \ + http://www.erlang.org/download/otp_doc_html_R(\d*)([A-Z]*)(?:-(\d*))?.tar.gz --- erlang-doc-html-13.b.1-dfsg.orig/debian/copyright +++ erlang-doc-html-13.b.1-dfsg/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Brent A. Fulgham on +Wed, 14 Aug 2002 20:52:01 -0700. + +It was downloaded from http://www.erlang.org/download.html + +Non-free docs rfc3015.txt and implementors_guide_v6.pdf were removed +from upstream tarball. + +Copyright Ericsson Telecom AB 1998-2006 + +The copyright to the computer program herein is the +property of Ericsson Telecom AB, Sweden. The program +may be used and/or copied only with the written permission +from Ericsson Telecom AB, or in accordance with the terms +and conditions stipulated in the agreement/contract under +which the program has been supplied. + --- erlang-doc-html-13.b.1-dfsg.orig/debian/compat +++ erlang-doc-html-13.b.1-dfsg/debian/compat @@ -0,0 +1 @@ +5 --- erlang-doc-html-13.b.1-dfsg.orig/debian/docs +++ erlang-doc-html-13.b.1-dfsg/debian/docs @@ -0,0 +1,2 @@ +README +
' . $name . '"; + my(@info) = `grep "short:" $filename/info`; + foreach $line (@info) { + $line =~ s/^short://; + print OUTPUT $line; + } + print OUTPUT "