[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859273: marked as done (release-notes: generate valid pdf files for languages which don't support pdf)



Your message dated Sat, 29 Apr 2017 09:37:00 +0000
with message-id <f24fa505-d7fb-a942-9d89-07445f1a8325@thykier.net>
and subject line Re: release-notes: generate valid pdf files for languages which don't support pdf
has caused the Debian Bug report #859273,
regarding release-notes: generate valid pdf files for languages which don't support pdf
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 owner@bugs.debian.org
immediately.)


-- 
859273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859273
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release-notes
Severity: wishlist
Tags: patch


Hi,

Currently the pdf version of the release-notes is not available for
Japanese and Polish. However, there are pdf files in the table at
https://www.debian.org/releases/stretch/releasenotes, like
https://www.debian.org/releases/stretch/amd64/release-notes.ja.pdf.

But this file is not a valid pdf file, it's a text file renamed to .pdf
which leads to errors when trying to view it.
People might think, they did something wrong or the file got corrupted
on download or ...

So I have a patch attached, which generates valid pdf files saying
something like
"PDF version of the release-notes not available for this language"
in a simple one-liner, stolen from
https://anonscm.debian.org/viewvc/d-i/trunk/scripts/manual-daily/,
thanks to Frans Pop.



So long
Holger

-- 
============================================================
Created with Sylpheed 3.2.0 under the new
	D E B I A N   L I N U X   7 . 0   W H E E Z Y !

Registered Linux User #311290 - https://linuxcounter.net/
============================================================
Index: Makefile
===================================================================
--- Makefile	(Revision 11423)
+++ Makefile	(Arbeitskopie)
@@ -194,8 +194,7 @@
 endif
 
 ifneq "$(filter $(DISABLED_PDF),$(LINGUA))" ""
-%.pdf: %.xml
-	echo "PDF for $$LINGUA currently disabled." > $@
+	cp nopdf.pdf $(LINGUA)/$(manual).$(architecture).pdf
 else
 ifneq "$(filter $(XMLROFF_LANGS),$(LINGUA))" ""
 %.fo: %.xml xmlroff.xsl
Index: nopdf.pdf
===================================================================
Kann nicht anzeigen: Dateityp ist als binär angegeben.
svn:mime-type = application/octet-stream
Index: nopdf.pdf
===================================================================
--- nopdf.pdf	(Revision 0)
+++ nopdf.pdf	(Arbeitskopie)

Eigenschaftsänderungen: nopdf.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property

Attachment: nopdf.pdf
Description: Adobe PDF document


--- End Message ---
--- Begin Message ---
On Sat, 1 Apr 2017 17:54:09 +0200 Holger Wansing
<linux@wansing-online.de> wrote:
> Package: release-notes
> Severity: wishlist
> Tags: patch
> 
> 
> Hi,
> 
> Currently the pdf version of the release-notes is not available for
> Japanese and Polish. However, there are pdf files in the table at
> https://www.debian.org/releases/stretch/releasenotes, like
> https://www.debian.org/releases/stretch/amd64/release-notes.ja.pdf.
> 
> But this file is not a valid pdf file, it's a text file renamed to .pdf
> which leads to errors when trying to view it.
> People might think, they did something wrong or the file got corrupted
> on download or ...
> 
> So I have a patch attached, which generates valid pdf files saying
> something like
> "PDF version of the release-notes not available for this language"
> in a simple one-liner, stolen from
> https://anonscm.debian.org/viewvc/d-i/trunk/scripts/manual-daily/,
> thanks to Frans Pop.
> 
> 
> 
> So long
> Holger
> 
> -- 
> ============================================================
> Created with Sylpheed 3.2.0 under the new
> 	D E B I A N   L I N U X   7 . 0   W H E E Z Y !
> 
> Registered Linux User #311290 - https://linuxcounter.net/
> ============================================================

I have applied the diff (with the follow up correction for the nopdf file).

Thanks,
~Niels

--- End Message ---

Reply to: