apply patches

This commit is contained in:
openKylinBot 2022-05-14 03:39:29 +08:00
commit 945ad26271
2 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,9 @@ AC_DEFINE(MATE_MINOR, [mate_minor], [Define to the minor version])
AC_DEFINE(MATE_MICRO, [mate_micro], [Define to the micro version])
RELEASE_YEAR=`date +%Y`
if test "x$SOURCE_DATE_EPOCH" != "x"; then
RELEASE_YEAR=`date -u -d "@$SOURCE_DATE_EPOCH" +%Y 2>/dev/null || date -u -r $SOURCE_DATE_EPOCH +%Y || date -u +%Y`
fi
AC_SUBST([RELEASE_YEAR])
AC_ARG_ENABLE(deprecation_flags,

View File

@ -135,6 +135,8 @@ mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv)
* as -e in mate-terminal is broken we use that. */
term_argv[1] = g_strdup ("-x");
} else {
if (check == NULL)
check = g_find_program_in_path ("x-terminal-emulator");
if (check == NULL)
check = g_find_program_in_path ("nxterm");
if (check == NULL)