diff -Nru landslide-1.1.3/debian/changelog landslide-1.1.3/debian/changelog --- landslide-1.1.3/debian/changelog 2017-09-16 16:41:01.000000000 +0000 +++ landslide-1.1.3/debian/changelog 2018-10-04 13:54:19.000000000 +0000 @@ -1,3 +1,17 @@ +landslide (1.1.3-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/copyright: Change Format URL to correct one. + * d/control: Set Vcs-* to salsa.debian.org. + + [ Andrej Shadura ] + * No longer ship real landslide binary, install a wrapper for darkslide + instead. + * Move to oldlibs and deprecate the package. + * Set myself as the maintainer. + + -- Andrej Shadura Thu, 04 Oct 2018 15:54:19 +0200 + landslide (1.1.3-0.0) unstable; urgency=medium * Non-maintainer upload. diff -Nru landslide-1.1.3/debian/control landslide-1.1.3/debian/control --- landslide-1.1.3/debian/control 2017-09-16 15:12:22.000000000 +0000 +++ landslide-1.1.3/debian/control 2018-10-04 13:54:19.000000000 +0000 @@ -1,6 +1,6 @@ Source: landslide -Maintainer: Damien Raude-Morvan -Section: python +Maintainer: Andrej Shadura +Section: oldlibs Priority: optional Build-Depends: debhelper (>= 9), @@ -14,14 +14,14 @@ python-docutils Standards-Version: 3.9.2 Homepage: https://github.com/adamzap/landslide -Vcs-Git: git://anonscm.debian.org/collab-maint/landslide.git -Vcs-Browser: https://anonscm.debian.org/git/collab-maint/landslide.git +Vcs-Git: https://salsa.debian.org/debian/landslide.git +Vcs-Browser: https://salsa.debian.org/debian/landslide Package: python-landslide Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources +Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources, darkslide Provides: ${python:Provides} -Description: Lightweight markup language-based html5 slideshow generator +Description: Lightweight markup language-based html5 slideshow generator (compatibility package) Landside is a tool which can generates an HTML5 slideshow using lightweight markup as input. . @@ -33,3 +33,7 @@ embed images with Base64 (for stand-alone document) and fancy transitions. . Sample presentation is visible here : . + . + This package no longer ships the original landslide tool, but a compatibility + wrapper for darkslide. After you have updated your scripts to use darkslide, this + package may be safely removed. diff -Nru landslide-1.1.3/debian/copyright landslide-1.1.3/debian/copyright --- landslide-1.1.3/debian/copyright 2017-09-16 13:39:09.000000000 +0000 +++ landslide-1.1.3/debian/copyright 2018-10-04 13:54:19.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Landside Upstream-Contact: Adam Zapletal Source: https://github.com/adamzap/landslide diff -Nru landslide-1.1.3/debian/install landslide-1.1.3/debian/install --- landslide-1.1.3/debian/install 1970-01-01 00:00:00.000000000 +0000 +++ landslide-1.1.3/debian/install 2018-10-04 13:54:19.000000000 +0000 @@ -0,0 +1 @@ +debian/landslide usr/bin diff -Nru landslide-1.1.3/debian/landslide landslide-1.1.3/debian/landslide --- landslide-1.1.3/debian/landslide 1970-01-01 00:00:00.000000000 +0000 +++ landslide-1.1.3/debian/landslide 2018-10-04 13:54:19.000000000 +0000 @@ -0,0 +1,13 @@ +#!/usr/bin/python3 +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + print( +"""Warning: landslide binary has been deprecated and will be removed in future. +Please change your scripts to use darkslide instead. +""", file=sys.stderr) + sys.exit( + load_entry_point('darkslide', 'console_scripts', 'darkslide')() + ) diff -Nru landslide-1.1.3/debian/landslide.1 landslide-1.1.3/debian/landslide.1 --- landslide-1.1.3/debian/landslide.1 2017-09-16 15:12:22.000000000 +0000 +++ landslide-1.1.3/debian/landslide.1 2018-10-04 13:54:19.000000000 +0000 @@ -1,78 +1 @@ -.TH LANDSLIDE 1 "March 2011" "Landslide" "User Commands" -.SH NAME -landslide \- html5 slideshow generator -.SH SYNOPSIS -.B landslide -[\fIoptions\fR] \fIinput.md \fR... -.SH DESCRIPTION -Landside is a tool which can generates an HTML5 slideshow using lightweight -markup as input. -.PP -You can write your slide contents easily using two syntaxes: -.TP -.B Markdown -.TP -.B ReStructuredText -.PP -This tool support CSS/JS theming, PDF export (using PrinceXML Python library), -embed images with Base64 (for stand-alone document) and fancy transitions. -.PP -Sample presentation is visible here : . -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -show help message and exit -.TP -\fB\-b\fR, \fB\-\-debug\fR -Will display any exception trace to stdin -.TP -\fB\-d\fR \fIFILE\fR, \fB\-\-destination\fR=\fIFILE\fR -The path to the to the destination file: .html or .pdf -extensions allowed (default: presentation.html) -.TP -\fB\-e\fR \fIENCODING\fR, \fB\-\-encoding\fR=\fIENCODING\fR -The encoding of your files (defaults to utf8) -.TP -\fB\-i\fR, \fB\-\-embed\fR -Embed stylesheet and javascript contents, -base64\-encoded images in presentation to make a -standalone document -.TP -\fB\-l\fR \fILINENOS\fR, \fB\-\-linenos\fR=\fILINENOS\fR -How to output linenos in source code. Three options are -available: no (no line numbers); inline (inside
-tag); table (lines numbers in another cell, copy-paste
-friendly)
-.TP
-\fB\-m\fR, \fB\-\-math-output\fR
-Enable mathematical output using mathjax
-.TP
-\fB\-o\fR, \fB\-\-direct\-output\fR
-Prints the generated HTML code to stdin; won't work
-with PDF export
-.TP
-\fB\-q\fR, \fB\-\-quiet\fR
-Won't write anything to stdin (silent mode)
-.TP
-\fB\-r\fR, \fB\-\-relative\fR
-Make your presentation asset links relative to current
-pwd; This may be useful if you intend to publish your
-html presentation online.
-.TP
-\fB\-t\fR \fITHEME\fR, \fB\-\-theme\fR=\fITHEME\fR
-A theme name, or path to a landslide theme directory
-.TP
-\fB\-v\fR, \fB\-\-verbose\fR
-Write informational messages to stdin (enabled by
-default)
-.TP
-\fB\-w\fR, \fB\-\-watch\fR
-Watch the source directory for changes and
-auto-regenerate the presentation
-.TP
-\fB\-x\fR \fIEXTENSIONS\fR, \fB\-\-extensions\fR=\fIEXTENSIONS\fR
-Comma-separated list of extensions for Markdown
-.SH DIAGNOSTICS
-Note: PDF export requires the `prince` program: http://princexml.com/
-.SH AUTHOR
-Damien Raude-Morvan 
+.so man1/darkslide.1
diff -Nru landslide-1.1.3/debian/NEWS landslide-1.1.3/debian/NEWS
--- landslide-1.1.3/debian/NEWS	1970-01-01 00:00:00.000000000 +0000
+++ landslide-1.1.3/debian/NEWS	2018-10-04 13:54:19.000000000 +0000
@@ -0,0 +1,8 @@
+landslide (1.1.3-1) unstable; urgency=medium
+
+  This upload deprecates landslide and installs a wrapper script which
+  calls darkslide instead. Please change your scripts to call darkslide.
+  Please note that in some cases this may require changes to your
+  presentation sources or themes.
+
+ -- Andrej Shadura   Thu, 04 Oct 2018 15:51:56 +0200
diff -Nru landslide-1.1.3/debian/python-landslide.examples landslide-1.1.3/debian/python-landslide.examples
--- landslide-1.1.3/debian/python-landslide.examples	2017-09-16 15:12:22.000000000 +0000
+++ landslide-1.1.3/debian/python-landslide.examples	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-examples/*
diff -Nru landslide-1.1.3/debian/rules landslide-1.1.3/debian/rules
--- landslide-1.1.3/debian/rules	2017-09-16 15:12:17.000000000 +0000
+++ landslide-1.1.3/debian/rules	2018-10-04 13:54:19.000000000 +0000
@@ -1,10 +1,13 @@
 #!/usr/bin/make -f
 
-export PYBUILD_BEFORE_TEST := ln -s $(CURDIR)/src/landslide/test-data {build_dir}/landslide
-export PYBUILD_AFTER_TEST := rm {build_dir}/landslide/test-data
+export PYBUILD_DISABLE_python2=test
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_auto_install:
+	dh_auto_install
+	rm debian/*/usr/bin/landslide
+
 get-orig-source:
 	uscan --force-download --rename