Bug 32741

Summary: Windows installation readme files - wrong line terminator
Product: LibreOffice Reporter: Kami <kami911>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: fridrich.strba, tlillqvist
Priority: medium    
Version: 3.3.0 RC2   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Kami 2010-12-30 06:02:35 UTC
We distribute readme files with Linux style line terminator, that is poorly readable under default Windows (XP) installation - using the .txt associated notepad appliaction.
Comment 1 Yifan Jiang 2010-12-30 19:05:00 UTC
Looks as an enhancement, after all the workaround is Wordpad can do the job.

Hi Tor,

Not sure how do you think if we ship a separate version of readme.txt for Windows? Thanks!
Comment 2 Don't use this account, use tml@iki.fi 2011-01-03 10:46:39 UTC
Fridrich, do you know?
Comment 3 Andras Timar 2011-01-04 02:40:33 UTC
--- readlicense_oo/util/makefile.pmk.orig       2011-01-04 11:37:15.323250000 +0100
+++ readlicense_oo/util/makefile.pmk    2011-01-04 11:33:49.676500000 +0100
@@ -80,6 +80,10 @@
     --stringparam cp1 $(CPUNAME)       --stringparam type text --stringparam lang1 $(@:b:s/readme_//:s/README_//) \
     $< $(MERGEDXRM)

+.IF "$(GUI)"=="WNT"
+    $(PERL) -pi -e 's/\n/\r\n/' $@
+.ENDIF                 # "$(GUI)"=="WNT"
+
 .IF "$(GUI)"=="UNX"
     chmod g+w $(MISC)$/$(GUI)
 .ENDIF                 # "$(GUI)"=="UNX"
Comment 4 Andras Timar 2011-01-18 14:10:00 UTC
I fixed this on master. I also added word wrap at column 75 for better readability.
http://cgit.freedesktop.org/libreoffice/libs-core/commit/?id=ccf26314e5e181d239d3ad1b7f5231dbe50c81e2