Your message dated Sat, 30 May 2015 16:24:37 +0000
with message-id <[email protected]>
and subject line Bug#738629: fixed in xmlto 0.0.26-0.1
has caused the Debian Bug report #738629,
regarding Wrong mimetype file in epub
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
738629: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738629
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xmlto
Version: 0.0.25.2
Severity: normal
Tags: patch upstream
xmlto epub generates a "mimetype" file that contains a newline at the
end. The requirement, however, is a mimetype file just with the string
"application/epub+zip", as one can test with the "epubcheck" program:
(on the developers-reference package)
$ xmlto epub index.dbk
$ epubcheck index.epub
produces an error
Validating against EPUB version 2.0
ERROR: index.epub/mimetype:
Mimetype file should contain only the string "application/epub+zip".
The applied patch fixes this; the problem is however in upstream.
Best
Ole
--- xmlto-0.0.25/debian/patches/fix_epub_mimetype.patch
+++ xmlto-0.0.25/debian/patches/fix_epub_mimetype.patch
@@ -0,0 +1,14 @@
+Author: Ole Streicher <[email protected]>
+Description: Fix mimetype file in epub.
+ The file must not have a newline at the end.
+--- a/format/docbook/epub
++++ b/format/docbook/epub
+@@ -18,7 +18,7 @@
+ then
+ echo >&2 "Creating epub file"
+ fi
+- echo "application/epub+zip" > mimetype
++ echo -n "application/epub+zip" > mimetype
+ EPUB_NAME=$(basename "${XSLT_PROCESSED%.*}").epub
+ [ -e "$XSLT_PROCESSED" ] && rm "$XSLT_PROCESSED"
+ ${ZIP_PATH} -0Xq $EPUB_NAME mimetype
--- xmlto-0.0.25/debian/patches/series
+++ xmlto-0.0.25/debian/patches/series
@@ -1,3 +1,4 @@
getopt_noextensions_fix.patch
652974_local_only_in_function.patch
format_fo_passivetex_check.patch
+fix_epub_mimetype.patch
--- End Message ---
--- Begin Message ---
Source: xmlto
Source-Version: 0.0.26-0.1
We believe that the bug you reported is fixed in the latest version of
xmlto, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hideki Yamane <[email protected]> (supplier of updated xmlto package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 27 May 2015 21:19:16 +0900
Source: xmlto
Binary: xmlto
Architecture: source amd64
Version: 0.0.26-0.1
Distribution: unstable
Urgency: low
Maintainer: Debian XML/SGML Group <[email protected]>
Changed-By: Hideki Yamane <[email protected]>
Description:
xmlto - XML-to-any converter
Closes: 694784 738629
Changes:
xmlto (0.0.26-0.1) unstable; urgency=low
.
* Non-maintainer upload.
* New upstream release
- fix "xmlto: ePUB does not include a css file" (Closes: #694784)
* debian/patches
- add fix-mimetype-in-epub.patch (Closes: #738629)
- drop getopt_noextensions_fix.patch: merged upstream
- drop 652974_local_only_in_function.patch: merged upstream
Checksums-Sha1:
d0ed688844173b088e942167985790003b42bde6 2028 xmlto_0.0.26-0.1.dsc
c5a982239c738c76d0e67bc416d835cf102cd422 119819 xmlto_0.0.26.orig.tar.bz2
0277daec5f886b18b9a803bce135d00ae62d3413 8584 xmlto_0.0.26-0.1.debian.tar.xz
3acb20233adf5e1b6ca0c970400b963ce6c13910 31732 xmlto_0.0.26-0.1_amd64.deb
Checksums-Sha256:
7171a79845fb909c33b46a750d9308369c83e99daff753160f9c2318a300efa4 2028
xmlto_0.0.26-0.1.dsc
efb49b2fb3bc27c1a1e24fe34abf19b6bf6cbb40844e6fd58034cdf21c54b5ec 119819
xmlto_0.0.26.orig.tar.bz2
46f7c08c6e368e6751ad7ea628376dc8b9cf63eddf74ac5ece17f8fc92bf73de 8584
xmlto_0.0.26-0.1.debian.tar.xz
a6c46e118144a9f056a5e427859815c967562f122afa25f6ff26d9cdbfdaebcf 31732
xmlto_0.0.26-0.1_amd64.deb
Files:
e096d89206b6deb9d036f15c7809dad0 2028 text optional xmlto_0.0.26-0.1.dsc
c90a47c774e0963581c1ba57235f64f4 119819 text optional xmlto_0.0.26.orig.tar.bz2
82be7f26d00f0c726f22970633e90944 8584 text optional
xmlto_0.0.26-0.1.debian.tar.xz
6b13c73bb7d65b6e5d9dc89ce72c2415 31732 text optional xmlto_0.0.26-0.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJVZxw8AAoJEF0yjQgqqrFADyAP/3DS4P+cUk9pR1ehkO8XvvOu
aG5DJpPGgjKje6XMarzIRXuQQx+biLI5rvcVaDd1WRN75ee6YTQPKVg8OOTyyQiO
qyNnZ31EfbogH5t9tqtagByb/i8UyDe0ul0oNYdQ3SiHph5T36nBHNZWofMEamos
4yqi1yKwA3wS92rDNMwi9tCKRfuM3V6+b0VE6eJieW867oz8PrmsO+n5YvJjgXpI
TQYaLHYygfDHbwLx6d7sMsEryv01AbfjAJLB4jrIlmOPoYkZW84BSkrJp4WFl5as
wm6FnjPRc+S8eUouru5gIdzuIggqn+ChHszEdo0naaarlVwnoaTonJZWfz5IYxuA
AQhsh86/6p+l9Y9srAPvkmyLU5PbFkTt0ZCCwf39lud7SbJCw5JEtYGL3nuP2hf+
B82WpYcfpgktJwAH24GoXyGjhDnFF+fiu9ci1pG6s/S3JZCaOz+R7gzrKC+arixU
Frh2CZiUPraerKHD3hgwQ/NXSDkJruC6i2UpAoB55HoAUWCpANiEg/P50TJr/N7h
ERZjsg7qdiEwp5nqfJj09YOTQLlT2KFUTSN/XUgVa7fi/CwfNYoxHrzeiCc5itKg
h0GXc34nCf58tvn4uXQm3y7t4mAbBoWOyIsXhHKGU6FkfxpCElmluYvBj0XHsFo6
j5iC8Y1ZyWhhtuTVnpjf
=rNNJ
-----END PGP SIGNATURE-----
--- End Message ---