logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

remove-intl.patch (2733B)


  1. # SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  2. #
  3. # SPDX-License-Identifier: GPL-2.0-or-later
  4. Disable gettext, which we do not have at this time, along with pkg-config.
  5. --- e2fsprogs-1.45.7/configure.ac 2022-05-18 15:12:53.633061872 +1000
  6. +++ e2fsprogs-1.45.7/configure.ac 2022-05-18 19:09:13.351790066 +1000
  7. @@ -860,20 +860,7 @@
  8. dnl
  9. MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
  10. AC_SUBST_FILE(MAKEFILE_LIBRARY)
  11. -dnl
  12. -dnl Add internationalization support, using gettext.
  13. -dnl
  14. -GETTEXT_PACKAGE=e2fsprogs
  15. -PACKAGE=e2fsprogs
  16. -VERSION="$E2FSPROGS_VERSION"
  17. -VERSION=0.14.1
  18. -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [package name for gettext])
  19. -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [version for gettext])
  20. -AC_SUBST(GETTEXT_PACKAGE)
  21. -AC_SUBST(PACKAGE)
  22. -AC_SUBST(VERSION)
  23. -AM_GNU_GETTEXT
  24. dnl
  25. dnl End of configuration options
  26. dnl
  27. @@ -1637,15 +1624,6 @@
  28. [with_udev_rules_dir=yes])
  29. AS_IF([test "x${with_udev_rules_dir}" != "xno"],
  30. [
  31. - AS_IF([test "x${with_udev_rules_dir}" = "xyes"],
  32. - [
  33. - PKG_CHECK_MODULES([udev], [udev],
  34. - [
  35. - with_udev_rules_dir="$($PKG_CONFIG --variable=udevdir udev)/rules.d"
  36. - ], [
  37. - with_udev_rules_dir=""
  38. - ])
  39. - ])
  40. AC_MSG_CHECKING([for udev rules dir])
  41. pkg_udev_rules_dir="${with_udev_rules_dir}"
  42. AS_IF([test -n "${pkg_udev_rules_dir}"],
  43. @@ -1708,16 +1686,6 @@
  44. [with_systemd_unit_dir=yes])
  45. AS_IF([test "x${with_systemd_unit_dir}" != "xno"],
  46. [
  47. - AS_IF([test "x${with_systemd_unit_dir}" = "xyes"],
  48. - [
  49. - PKG_CHECK_MODULES([systemd], [systemd],
  50. - [
  51. - with_systemd_unit_dir="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)"
  52. - ], [
  53. - with_systemd_unit_dir=""
  54. - ])
  55. - m4_pattern_allow([^PKG_(MAJOR|MINOR|BUILD|REVISION)$])
  56. - ])
  57. AC_MSG_CHECKING([for systemd system unit dir])
  58. systemd_system_unit_dir="${with_systemd_unit_dir}"
  59. AS_IF([test -n "${systemd_system_unit_dir}"],
  60. --- e2fsprogs-1.45.7/Makefile.in 2022-05-18 19:41:37.596959349 +1000
  61. +++ e2fsprogs-1.45.7/Makefile.in 2022-05-18 19:41:41.109050161 +1000
  62. @@ -20,7 +20,7 @@
  63. @ALL_CMT@EXT2FS_LIB_SUBDIR= lib/ext2fs
  64. LIB_SUBDIRS=lib/et lib/ss $(E2P_LIB_SUBDIR) $(UUID_LIB_SUBDIR) \
  65. - $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR) intl
  66. + $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR)
  67. PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
  68. $(E2SCRUB_DIR)
  69. @@ -22,7 +22,7 @@
  70. LIB_SUBDIRS=lib/et lib/ss $(E2P_LIB_SUBDIR) $(UUID_LIB_SUBDIR) \
  71. $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR)
  72. -PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
  73. +PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs \
  74. $(E2SCRUB_DIR)
  75. SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests