Ticket #4619 (new enhancement)

Opened 9 days ago

Last modified 27 hours ago

[PATCH] (autogen.sh) improve POTFILES.in creating

Reported by: and Owned by:
Priority: minor Milestone: 4.8.33
Component: compilation Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

  • current POTFILES.in file detection can output wrong filename

xgettext output
#: src/background.c:221 src/filemanager/file.c:858 src/filemanager/file.c:952
result in
src/background.csrc/filemanager/file.csrc/filemanager/file.c

  • simplify POTFILES.in file detection by using grep only
  • find command search files only
  • find/grep option should be Solaris OS friendly (please verify)
  • move POTFILES.in creating to configure.ac (more BUILD friendly and future autogen.sh get rid possibility)
  • autoconf AC_CONFIG_COMMANDS_POST support since <2.64
  • comparing current vs simplify grep file detection result in additional files:

lib/search/regex.c
lib/widget/history.c
lib/widget/quick.h
src/diffviewer/internal.h
src/diffviewer/search.c
src/editor/editdraw.c
src/editor/etags.c
src/filemanager/command.c
src/vfs/tar/tar.c
src/viewer/lib.c
tests/src/executecommon.c
tests/src/execute
execute_with_vfs_arg.c

Attachments

mc-4619-autogen.sh-improve-potfiles_in-creating.patch (2.9 KB) - added by and 9 days ago.

Change History

comment:1 Changed 9 days ago by zaytsev

  • Milestone changed from Future Releases to 4.8.33
Note: See TracTickets for help on using tickets.