View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015545CMakeCMakepublic2015-04-29 17:242015-11-02 09:15
ReporterFelix Geyer 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 3.3Fixed in VersionCMake 3.3 
Summary0015545: Add support for passing sphinx options
DescriptionI would like to be able to pass additional options to sphinx (Utilities/Sphinx/CMakeLists.txt).

This could be done by an additional --sphinx-opts="..." flag to bootstrap or by making it read the SPHINXOPTS env variable (which apparently some other build systems use).

If you'd accept one of those ways I'll write a patch.


Reason for this:
In Debian we are trying to create reproducible package builds.
This means building a package twice (with exactly the same toolchain) should produce the same bit-identical files.

Unfortunately sphinx embeds the current date in manpages it generates.
The idea to fix this is to pass the date of the last package changelog entry to sphinx.

Some background if you are interested:
https://wiki.debian.org/ReproducibleBuilds/About [^]
https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx [^]
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038656)
Brad King (manager)
2015-04-30 09:54

Good idea. Please try out this change:

 Add option to pass custom flags to sphinx-build
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dd107b30 [^]
(0038677)
Felix Geyer (reporter)
2015-05-01 15:37

Awesome, thanks!
(0039800)
Robert Maynard (manager)
2015-11-02 09:15

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-04-29 17:24 Felix Geyer New Issue
2015-04-30 09:54 Brad King Note Added: 0038656
2015-04-30 09:54 Brad King Assigned To => Brad King
2015-04-30 09:54 Brad King Status new => resolved
2015-04-30 09:54 Brad King Resolution open => fixed
2015-04-30 09:54 Brad King Fixed in Version => CMake 3.3
2015-04-30 09:54 Brad King Target Version => CMake 3.3
2015-05-01 15:37 Felix Geyer Note Added: 0038677
2015-11-02 09:15 Robert Maynard Note Added: 0039800
2015-11-02 09:15 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team