Source: sigil Version: 0.9.0+dfsg-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: fileordering X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that sigil could not be built reproducibly. Source files are linked in readdir() order. The attached patch fixes this by telling CMake to sort the file list. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible b/debian/patches/reproducible index b66ea4d..aa78d14 100644 --- a/debian/patches/reproducible +++ b/debian/patches/reproducible @@ -83,3 +83,13 @@ Last-Update: 2015-07-30 <item row="1" column="0"> <widget class="QLabel" name="lbLicense"> <property name="font"> +--- a/internal/gumbo/CMakeLists.txt ++++ b/internal/gumbo/CMakeLists.txt +@@ -15,6 +15,7 @@ + set( GUMBO_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "" ) + + file( GLOB SOURCES *.c ) ++list( SORT SOURCES ) + + if( APPLE ) + set(CMAKE_MACOSX_RPATH 1)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds