| 1 | Descriptionscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/patches/reproducible-build#Description.: make the build reproducible by sorting the list of files to be linked |
| 2 | Authorscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/patches/reproducible-build#Author.: Mattia Rizzolo <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 | Forwardedscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/patches/reproducible-build#Forwarded.: not-needed |
| 4 | Last-Updatescip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/patches/reproducible-build#Last-Update.: 2015-12-06 |
| 5 | |
| 6 | --- a/src/FlightCrew/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/FlightCrew/CMakeLists.txt`: |
| 7 | +++ b/src/FlightCrew/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/FlightCrew/CMakeLists.txt`: |
| 8 | @@ -25,6 +25,8 @@ |
| 9 | project( FlightCrew ) |
| 10 | |
| 11 | file( GLOB_RECURSE SOURCES *.h *.cpp *.xsd *.dtd ) |
| 12 | +# sort, so it won't depend on readdir() order and keep the build reproducible |
| 13 | +list( SORT SOURCES ) |
| 14 | |
| 15 | # The test sources are a part of a different target, so we remove them |
| 16 | file( GLOB_RECURSE to_remove tests/*.h tests/*.cpp ) |
| 17 | --- a/src/FlightCrew-gui/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/FlightCrew-gui/CMakeLists.txt`: |
| 18 | +++ b/src/FlightCrew-gui/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/FlightCrew-gui/CMakeLists.txt`: |
| 19 | @@ -43,6 +43,8 @@ |
| 20 | ############################################################################# |
| 21 | |
| 22 | file( GLOB_RECURSE RAW_SOURCES *.h *.cpp ) |
| 23 | +# sort, so it won't depend on readdir() order and keep the build reproducible |
| 24 | +list( SORT RAW_SOURCES ) |
| 25 | |
| 26 | set( QOBJECT_HEADERS |
| 27 | MainWindow.h |
| 28 | --- a/src/zipios/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/zipios/CMakeLists.txt`: |
| 29 | +++ b/src/zipios/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/zipios/CMakeLists.txt`: |
| 30 | @@ -12,6 +12,8 @@ |
| 31 | project( zipios ) |
| 32 | |
| 33 | file( GLOB_RECURSE SOURCES *.cpp *.h ) |
| 34 | +# sort, so it won't depend on readdir() order and keep the build reproducible |
| 35 | +list( SORT SOURCES ) |
| 36 | |
| 37 | # We need to pick up the stdafx.h file |
| 38 | # and the headers for the linked-to libraries |
| 39 | --- a/src/XercesExtensions/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/XercesExtensions/CMakeLists.txt`: |
| 40 | +++ b/src/XercesExtensions/CMakeLists.txtscip-debian debian flightcrew 0.9.3+dfsg-4 flightcrew/upstream/`src/XercesExtensions/CMakeLists.txt`: |
| 41 | @@ -12,6 +12,8 @@ |
| 42 | project( XercesExtensions ) |
| 43 | |
| 44 | file( GLOB SOURCES *.cpp *.h ) |
| 45 | +# sort, so it won't depend on readdir() order and keep the build reproducible |
| 46 | +list( SORT SOURCES ) |
| 47 | |
| 48 | # We need to pick up the stdafx.h file |
| 49 | # and the headers for the linked-to libraries |