Bug 84600 - Provide script to easily set up odfvalidator and officeotron
Summary: Provide script to easily set up odfvalidator and officeotron
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.3.0.0.alpha0+ Master
Hardware: Other All
: medium enhancement
Assignee: Miklos Vajna
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillScript, topicDebug
Depends on:
Blocks:
 
Reported: 2014-10-02 14:33 UTC by Miklos Vajna
Modified: 2016-02-18 16:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2014-10-02 14:33:52 UTC
We can do ODF & OOXML validation during build, in case --enable-export-validation switch is used. The reason it's not on by default is that it requires odfvalidator and officeotron in PATH, and those are not trivial to set up.

So the task would be to follow http://cgit.freedesktop.org/libreoffice/contrib/dev-tools/tree/export-validation, and based on the documentation / scripts available in that directory, came up with a script that does everything:

1) Downloads the source code or binary of those validators.

2) Creates two shell scripts that invokes them.

3) Puts these scripts into $PATH, e.g. $HOME/bin.

You can test if your script works:

1) On a clean machine, run the script and

2) ./autogen.sh --enable-export-validation && make

Should pass without saying that odfvalidator & officeotron is not set up.

Thanks! :-)
Comment 2 Robinson Tryon (qubit) 2015-12-15 23:21:16 UTC
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillScript TopicDebug)
[NinjaEdit]
Comment 3 Robinson Tryon (qubit) 2016-02-18 16:37:06 UTC
Remove LibreOffice Dev List from CC on EasyHacks
(curtailing excessive email to list)
[NinjaEdit]