[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][debian-mate-team/mate-desktop][master] debian/patches: Add 2002_reproducible-build.patch. Make builds reproducible....



Title: GitLab

Mike Gabriel pushed to branch master at Debian and Ubuntu MATE Packaging Team / mate-desktop

Commits:

2 changed files:

Changes:

  • debian/patches/2002_reproducible-build.patch
    1
    +Description: Make the build reproducible
    
    2
    +Author: Chris Lamb <lamby@debian.org>
    
    3
    +Last-Update: 2020-02-15
    
    4
    +
    
    5
    +--- mate-desktop-1.24.0.orig/configure.ac
    
    6
    ++++ mate-desktop-1.24.0/configure.ac
    
    7
    +@@ -62,6 +62,9 @@ AC_DEFINE(MATE_MINOR, [mate_minor], [Def
    
    8
    + AC_DEFINE(MATE_MICRO, [mate_micro], [Define to the micro version])
    
    9
    +
    
    10
    + RELEASE_YEAR=`date +%Y`
    
    11
    ++if test "x$SOURCE_DATE_EPOCH" != "x"; then
    
    12
    ++        RELEASE_YEAR=`date -u -d "@$SOURCE_DATE_EPOCH" +%Y 2>/dev/null || date -u -r $SOURCE_DATE_EPOCH +%Y || date -u +%Y`
    
    13
    ++fi
    
    14
    + AC_SUBST([RELEASE_YEAR])
    
    15
    +
    
    16
    + AC_ARG_ENABLE(deprecation_flags,

  • debian/patches/series
    1 1
     2001_prefer-x-terminal-emulator.patch
    
    2
    +2002_reproducible-build.patch


  • Reply to: