Bug#652044: developers-reference: Let's add epub support
Source: developers-reference
Version: 3.4.6
Severity: wishlist
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear Maintainer,
Recently, I bought kindle and read DDR pdf with it. It's nice.
But some new lines are not correct showed, though. So, I would suggest
you to add "epub" format to DDR for ebook readers like me.
It's easy, please check attached patch.
Thanks.
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJO6JsAAAoJEF0yjQgqqrFA5bMP/31Gj+UEUUTcfp0MLd0e0fuj
Q4G+V5atdeDlQq9cQVkeXk/3sNAUTTao5R+ajtTOFlpNUPPF+vspPZnheeh1OftZ
IQbGwnN1nmP9PfaRP/KMXB+jVpU7zO1Uhzb6s4zf0PmEmFdfrW/Wnz8iwpQ6D/hL
dvpREyp0LBiCXxpHoJdITzmNKo6eFOCNIlDmGCefK3SAs+rmE9bVbxpOjeKPVbO2
uPC7sO80pCHCCP3Ey0bI4UCOBPZ7ry11kWeR7i38GrwbTzE+poHVeVrrkZXATWM0
Fg4oZN28K/j/4t16z+a/tihMKoE2PY8aEzcqOjaV9g4tM6eYIVT+6Maiy+cN4C6Z
xYCjL9bLbBAUoEjAZztRo8ctLh5AcUO4gSU2w1t2Q6vA/rWjpvTwdyVmzBRJO8fP
wIl2cJHVcy6ZhrzCbMWH7DLnp+V6ijV7M2PCKmRf4iJG8iH7FRsuRPBXNnkHUna5
oVXLckLNlpuXiThtwsnX7I7ukmNltM2wTu2bpbZVcvGJ2P3TFz5CyyGWzeSm01jL
gtK9TPjJ/3JQ2rX3ZqsVHg52fwsdp2i4J8jMykWfW6J8feEzlArqO2Cds2f3cH1Z
1ULAXWMX7OKkDRZPs9iz5Z5x8fnX0Hr7qAhIJ5rYG4FJr2VDTnfT2eB9e4/7i3IX
c7OLUQ0DM5emnZE/oiqX
=usO1
-----END PGP SIGNATURE-----
diff -urN developers-reference-3.4.6.orig/Makefile developers-reference-3.4.6/Makefile
--- developers-reference-3.4.6.orig/Makefile 2011-07-30 22:51:06.000000000 +0900
+++ developers-reference-3.4.6/Makefile 2011-12-14 21:37:28.174292434 +0900
@@ -4,7 +4,7 @@
SOURCES := $(wildcard *.dbk) common.ent version.ent
-FORMATS := html txt pdf
+FORMATS := html txt pdf epub
LANGS := de fr ja
TARGETS := $(foreach fmt,$(FORMATS),developers-reference.$(fmt)) \
$(foreach lng,$(LANGS), \
@@ -100,6 +100,10 @@
TOP=`pwd` && cd $(@D) && $(DBLATEX) index.dbk \
&& mv index.dbk.pdf $(@F)
+developers-reference.epub: $(CURDIR)/developers-reference.epub
+%/developers-reference.epub: $(addprefix %/,$(SOURCES))
+ xmlto epub index.dbk && mv index.epub developers-reference.epub
+
.PHONY: pot
pot: $(patsubst %.dbk,po4a/po/%.pot,$(SOURCES))
po4a/po/%.pot: %.dbk
diff -urN developers-reference-3.4.6.orig/debian/control developers-reference-3.4.6/debian/control
--- developers-reference-3.4.6.orig/debian/control 2011-07-30 22:51:28.000000000 +0900
+++ developers-reference-3.4.6/debian/control 2011-12-14 21:37:55.138352024 +0900
@@ -4,7 +4,7 @@
Maintainer: Developers Reference Maintainers <debian-policy@lists.debian.org>
Uploaders: Lucas Nussbaum <lucas@debian.org>, Marc 'HE' Brockschmidt <he@debian.org>, Raphaël Hertzog <hertzog@debian.org>
Standards-Version: 3.9.2
-Build-Depends-Indep: docbook-xsl (>= 1.71.0), dblatex (>= 0.2), xsltproc, libxml2-utils, po4a, w3m
+Build-Depends-Indep: docbook-xsl (>= 1.71.0), dblatex (>= 0.2), xsltproc, libxml2-utils, po4a, w3m, xmlto, zip
Build-Depends: debhelper (>= 5)
Vcs-Svn: svn://svn.debian.org/ddp/manuals/trunk/developers-reference
Vcs-Browser: http://svn.debian.org/wsvn/ddp/manuals/trunk/developers-reference?op=log
Reply to: