Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release mc-4.8.32 #4524

Closed
mc-butler opened this issue Jan 27, 2024 · 83 comments
Closed

Prepare for release mc-4.8.32 #4524

mc-butler opened this issue Jan 27, 2024 · 83 comments
Labels
area: adm Administrative tasks prio: medium Has the potential to affect progress
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4524
Reporter zaytsev (@zyv)

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 1, 2024 at 7:01 UTC (comment 1)

PRs without corresponding tickets:

In release 4.8.31, mcedit loses the column position when navigating

up or down in a non-zero column. Regression from [49bc0dd] v4.8.31

Keywords taken from: https://en.cppreference.com/w/c/keyword https://en.cppreference.com/w/cpp/keyword

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 2, 2024 at 17:17 UTC (comment 1.2)

Replying to zaytsev:

Keywords taken from: https://en.cppreference.com/w/c/keyword https://en.cppreference.com/w/cpp/keyword

C++ keywords should be moved to cxx.syntax.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 3, 2024 at 17:44 UTC (comment 2.3)

Replying to andrew_b:

C++ keywords should be moved to cxx.syntax.

Discard this. I was wrong.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 11, 2024 at 17:01 UTC (comment 4)

Branch: 4524_cleanup
Initial [aca0f2275585fe8f0d68c7b4054990824cb42139]

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 7, 2024 at 13:48 UTC (comment 5)

Merged to master: [cfedd65].

git log --oneline 7b3c427c8..cfedd6598

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 22, 2024 at 17:44 UTC (comment 6)

Branch: 4524_cleanup
Initial [9bde3cedced5b9ece23d5eb8ba5b26725c467f57]

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Apr 26, 2024 at 7:47 UTC (comment 7)

Yet another PR without ticket:

#196

Asked for tests.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 26, 2024 at 9:10 UTC (comment 8)

-exec lsdl

$ lsdl
bash: lsdl: command not found

Yet another extra dependency for mc is not very well.

Proper ticket is #3570.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 19, 2024 at 8:28 UTC (comment 9)

Maybe can be taken in?

https://github.com/MidnightCommander/mc/pull/198

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 19, 2024 at 13:21 UTC (comment 10)

I think it should be a new ticket.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 20, 2024 at 8:53 UTC (comment 10.11)

Replying to andrew_b:

I think it should be a new ticket.

#4541

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 14:27 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 14:30 UTC (comment 12)

I have tried to build mc on macOS and got bombarded with bogus flags warnings. Researched it and apparently at some point clang, which is symlinked as gcc on macOS started accepting random flags without changing the return code, but outputting tons of spammy warnings. Of course, this effectively broke compiler flags checking. I have found a solution by Mesa people - just add -Werror and the checker will work correctly again. Will see if it can be reported to the autotools archive...

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 14:36 UTC (comment 13)

Made a PR: autoconf-archive/autoconf-archive#301

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 14:59 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 15:04 UTC (comment 14)

mc would not build from source on macOS because libssh2 path was missing from CPPFLAGS. See attached patch.

Now it builds, but still there are tons of warnings from clang. Mostly they are coming from -Wassign-enum, like this one, but there are also other systematic issues:

../../../lib/widget/input.c:962:19: warning: integer constant not in range of enumerated type 'widget_options_t' [-Wassign-enum]
    w->options |= WOP_SELECTABLE | WOP_IS_INPUT | WOP_WANT_CURSOR;
                  ^

How do we proceed about those? Do you have latest clang and interest to have a look yourself? Should I try to find groups so that we agree on how to fix them? I think it's a bit too much for me. Maybe if we know what we want we can ask and@ for help :)

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 15:18 UTC (comment 15)

This one is probably tracked here: llvm/llvm-project#20574

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 16:57 UTC (comment 16)

Another large swath of warnings is due to fallthroughs:

../../../src/editor/editwidget.c:1137:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
    case MSG_MOUSE_UP:
    ^
../../../src/editor/editwidget.c:1137:5: note: insert '__attribute__((fallthrough));' to silence this warning
    case MSG_MOUSE_UP:
    ^
    __attribute__((fallthrough)); 
../../../src/editor/editwidget.c:1137:5: note: insert 'break;' to avoid fall-through
    case MSG_MOUSE_UP:
    ^
    break; 

Somehow HAVE_FUNC_ATTRIBUTE_FALLTHROUGH is undefined, so detection is not working correctly. Need to check how to fix that.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 17:27 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 17:27 UTC (comment 17)

Need to check how to fix that.

Attached patch fixes fallthrough detection for clang.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 17:50 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 18:00 UTC (comment 18)

The latest version of GNU indent sticks pointers either to the left or to the right. Can we reformat master to not have huge diffs all the time?

-mc_fhl_is_device_block (const file_entry_t * fe)
+mc_fhl_is_device_block (const file_entry_t *fe)

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 30, 2024 at 18:26 UTC (comment 18.19)

Replying to zaytsev:

The latest version of GNU indent sticks pointers either to the left or to the right.

It depends on type. For standard types (int, void) and types with struct and union keywords

int foo (int *a);
int bar (void *b);
int baz (struct st *s);

For other types

mc_fhl_is_device_block (const file_entry_t * fe)

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 18:53 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 30, 2024 at 18:55 UTC (comment 14.20)

Replying to zaytsev:

mc would not build from source on macOS because libssh2 path was missing from CPPFLAGS. See attached patch.

AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(LIBSSH_CFLAGS)

is in src/vfs/sftpfs/Makefile.am. Is it not enough?

Now it builds, but still there are tons of warnings from clang. Mostly they are coming from -Wassign-enum, like this one, but there are also other systematic issues:

../../../lib/widget/input.c:962:19: warning: integer constant not in range of enumerated type 'widget_options_t' [-Wassign-enum]
    w->options |= WOP_SELECTABLE | WOP_IS_INPUT | WOP_WANT_CURSOR;
                  ^

How do we proceed about those?

Only use individual constants instead of enum.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 19:00 UTC (comment 21)

is in src/vfs/sftpfs/Makefile.am. Is it not enough?

No, it is not enough. Check src/textconf.[ch] - it's also used there.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 19:04 UTC (comment 22)

Only use individual constants instead of enum.

Ok, then I suggest we wait until clang people make up their mind. It seems that they have reacted to my issue and want to have a look. Maybe we don't need to do anything in the end. For now I have locally disabled -Wassign-enum.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 19:07 UTC (comment 23)

It depends on type. For standard types (int, void) and types with struct and union keywords

So for you the latest version of indent doesn't generate a diff in the repository?! With my latest patch GNU indent is used, and I'm getting a huge diff. All pointers are right-aligned irrespectively of the type:

zaytsev@Yurys-MBP src % gindent --version
GNU indent 2.2.13

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 19:10 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on May 30, 2024 at 19:14 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 4, 2024 at 9:35 UTC (comment 44)

Tests fail on macOS :(

Making check in .
/Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/make  library_independ mc_build_filename name_quote serialize utilunix__mc_pstream_get_string utilunix__my_system_fork_fail utilunix__my_system_fork_child_shell utilunix__my_system_fork_child x_basename mc_realpath
  CC       library_independ.o
  CCLD     library_independ
ld: unknown options: -z 
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 5, 2024 at 7:24 UTC (comment 44.45)

Replying to zaytsev:

ld: unknown options: -z 
clang: error: linker command failed with exit code 1 (use -v to see invocation)

m4.include/mc-tests.m4

     51     # on cygwin, the linker does not accept the "-z" option
     52     case $host_os in
     53         cygwin*)
     54             TESTS_LDFLAGS="-Wl,--allow-multiple-definition"
     55             ;;
     56         *)
     57             TESTS_LDFLAGS="-Wl,-z,muldefs"
     58             ;;
     59     esac

From other hand, to avoid -z flag at all system routines that are redefined in test should be called via wrappers. But this is a task for another ticket.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 5, 2024 at 8:59 UTC (comment 46)

m4.include/mc-tests.m4

Hmmm, maybe I can have a look at checking with autotools what linker flags are allowed and using those to cook up a patch, thank you!

Are you fine with the termcap and aspell patches? Would you have look at failing tests on Linux or do you have a tip for me what could be the problem?

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 5, 2024 at 9:36 UTC (comment 46.47)

Replying to zaytsev:

Are you fine with the termcap and aspell patches?

Sorry, I haven't tested them yet.

Would you have look at failing tests on Linux or do you have a tip for me what could be the problem?

 FAIL: utilunix__my_system_fork_child_shell
 FAIL: utilunix__my_system_fork_child

Can't say what is going on. On my linux all tests are passed.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 5, 2024 at 12:59 UTC (comment 48)

Do the tests also pass on your machine with

  ../configure \
      --prefix="$(pwd)/install" \
      --disable-shared \
      --disable-static \
      --disable-maintainer-mode \
      --disable-largefile \
      --disable-nls \
      --disable-rpath \
      --disable-charset \
      --disable-mclib \
      --disable-assert \
      --disable-aspell \
      --disable-background \
      --disable-vfs \
      --disable-doxygen-doc \
      --without-x \
      --without-mmap \
      --without-gpm-mouse \
      --without-internal-edit \
      --without-diff-viewer \
      --without-subshell \
      --enable-tests \
      --enable-werror

???

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 5, 2024 at 13:48 UTC (comment 49)

No, they don't. But they do in case of compile with debugging info

make CFLAGS="-g -ggdb3"

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 6, 2024 at 13:02 UTC (comment 46.50)

Replying to zaytsev:

Are you fine with the termcap and aspell patches?

Yes, I am.

configure:18574: checking if S-Lang uses termcap
configure:18595: gcc -o conftest -g -O2 -I/usr/include/slang   conftest.c  -lslang >&5
configure:18595: $? = 0
configure:18606: result: no

It would be great to add some help about --enable-aspell argument in m4-file as well as in doc/INSTALL.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 15, 2024 at 8:54 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 15, 2024 at 8:57 UTC (comment 51)

Yes, I am.

Thank you for your helpful comments. Termcap patch is committed to master and nano-branch rebased. I attach the new version of the aspell patch. Changed prefix to DIR for consistency with screen selection and added comments to that effect. I wonder why we wanted to make it dlopenable, but whatever :) I think that if someone puts it in a local checkout, he will have to make sure he sets RPATH or loader path appropriately. For non-standard opt-trees like homebrew it will simply work.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 15, 2024 at 13:21 UTC (comment 52)

From other hand, to avoid -z flag at all system routines that are redefined in test should be called via wrappers. But this is a task for another ticket.

So I've had a look at it and I think I understand the problem a bit better now. The tests mock some functions by adding functions with the same name to the test translation module. After that there are two definitions of the function, and if you enable -z,muldefs or --allow-multiple-definition depending on the linker, then both end up into the binary. After that the dynamic loader takes the last one (?) and hopefully everything works.

The problem with that is that on macOS (I can't say for other systems, but surely AIX and Solaris will be fun as well) both of those switches do not exist. There used to be an -m switch to do the same, but very long time ago, Apple deprecated it, and it no longer works. So on Apple systems there is no way to achieve binaries with multiply defined symbols using the standard system linker. Maybe it's possible with other linkers (apparently ld64 supports macOS, but I didn't check).

This leaves us with the question of what to do. One thing that I have discovered is that what works on macOS is to decorate the functions that you want to mock with __attribute__((weak)). If there is no second definition during the linking, then it makes no difference, but if there is, then the one that doesn't have the attribute takes precedence. This way I was able to get the tests to (mostly) run on macOS with the standard system linker.

Now, of course, you probably don't want this in your standard build, so one would have to make it conditional upon --enable-tests, but even then, I'm not sure if it's a cool idea to have mc binary produced with weak symbols if --enable-tests is given. I would guess that in the end, if during the linking no overriding symbols are found the binary will be identical, but I wouldn't venture to claim that at the moment I understand this completely. Do you have more knowledge on whether weak symbols remain weak after linking or this concept only makes sense for translation units before linking?

Another point is that all mockable functions will have to be marked. In my personal opinion it's better than allowing uncontrolled muldefs, but I don't know what your opinion is on that.

The alternative to __attribute__((weak)) is to replace all functions with function pointers, but that somehow feels even worse to me.

I would like to have your opinion on that before I continue working on this. Marking mockable functions and changing the build system a bit is not super-hard. I can offer a patch. If you think it's bad, and we absolutely have to go for function pointers, then I have to investigate this to get an opinion on that.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 15, 2024 at 14:54 UTC (comment 53)

0001-buildsys-make-it-possible-to-specify-aspell-prefix-f.2.patch​

-                AC_MSG_NOTICE([aspell support is disabled because gmodule support is not available]) 
+                AC_MSG_ERROR([aspell support is disabled because gmodule support is not available]) 

AC_MSG_ERROR() breaks the configure. Not sure this change is needed. Probably change NOTICE to WARN instead?

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 15, 2024 at 14:58 UTC (comment 52.54)

Replying to zaytsev:

I would like to have your opinion on that before I continue working on this.

I don't have a certain opinion. I trust you in this matter.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jun 16, 2024 at 9:05 UTC (comment 55)

AC_MSG_ERROR() breaks the configure. Not sure this change is needed.

I noticed that if you do --enable-aspell, but if gmodule is not available, then it's automatically disabled with a warning somewhere in the middle of the long list of checks, so I decided to fix it.

In my opinion, it's fine if the options auto-disable themselves if the prerequisites are not available, if they are not explicitly requested by the user. But if I require as a user --enable-aspell and then it still auto-disables itself without the configure failing, this is a problem. I will not notice it and think that it's enabled, but it's not. So I want the configure to fail, and then I decide if I remove the option or fix the issue.

P.S. I'm still on the fence whether it's better to give a path or a prefix to --enable-aspell - I wonder if you have a strong opinion on that. Giving path means more easily supporting local checkouts. Giving prefix... can use the same value for finding libs to link, eventually?

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 16, 2024 at 10:10 UTC (comment 55.56)

Replying to zaytsev:

I want the configure to fail, and then I decide if I remove the option or fix the issue.

OK.

P.S. I'm still on the fence whether it's better to give a path or a prefix to --enable-aspell - I wonder if you have a strong opinion on that. Giving path means more easily supporting local checkouts. Giving prefix... can use the same value for finding libs to link, eventually?

We already have both cases:

  --with-pcre[=prefix]    compile xmlpcre part (via libpcre check)
  --with-pcre2=DIR        root directory path of PCRE2 installation [defaults to
                          /usr/local or /usr if not found in /usr/local]

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jul 28, 2024 at 16:45 UTC (comment 57)

I have committed the aspell patch as [55e7f83] with prefix, because the ones with dir are called includes, and your examples are actually for prefix. Thanks for the advice! Now one can build with aspell on macOS (and other systems, like Solaris), yay!

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jul 28, 2024 at 16:55 UTC (comment 58)

Hmmm, now that I can build with Aspell, I get more warnings:

In file included from ../../../src/editor/spell.c:33:
/opt/homebrew/include/aspell.h:102:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
struct AspellConfig * new_aspell_config();
                                       ^
                                        void
/opt/homebrew/include/aspell.h:195:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
const char * aspell_version_string();
                                  ^
                                   void
/opt/homebrew/include/aspell.h:673:49: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
struct AspellStringList * new_aspell_string_list();
                                                ^
                                                 void
/opt/homebrew/include/aspell.h:703:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
struct AspellStringMap * new_aspell_string_map();
                                              ^
                                               void
../../../src/editor/spell.c:177:26: warning: 'g_module_build_path' is deprecated [-Wdeprecated-declarations]
    spell_module_fname = g_module_build_path (NULL, "libaspell");
                         ^
/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0/gmodule.h:141:1: note: 'g_module_build_path' has been explicitly marked deprecated here
GMODULE_DEPRECATED_IN_2_76
^
/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0/gmodule/gmodule-visibility.h:887:36: note: expanded from macro 'GMODULE_DEPRECATED_IN_2_76'
#define GMODULE_DEPRECATED_IN_2_76 GMODULE_DEPRECATED
                                   ^
/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0/gmodule/gmodule-visibility.h:30:28: note: expanded from macro 'GMODULE_DEPRECATED'
#define GMODULE_DEPRECATED G_DEPRECATED _GMODULE_EXTERN
                           ^
/opt/homebrew/Cellar/glib/2.80.4/include/glib-2.0/glib/gmacros.h:1263:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
5 warnings generated.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jul 28, 2024 at 17:47 UTC (comment 59)

aspell functions should be declared in <aspell.h>.

Call of g_module_build_path() can be removed.

index f316d0fa6..1f9aeba60 100644
--- a/src/editor/spell.c
+++ b/src/editor/spell.c
@@ -169,14 +169,10 @@ spell_decode_lang (const char *code)
 static gboolean
 spell_available (void)
 {
-    gchar *spell_module_fname;
-
     if (spell_module != NULL)
         return TRUE;
 
-    spell_module_fname = g_module_build_path (NULL, "libaspell");
-    spell_module = g_module_open (spell_module_fname, G_MODULE_BIND_LAZY);
-    g_free (spell_module_fname);
+    spell_module = g_module_open ("libaspell", G_MODULE_BIND_LAZY);
 
     if (spell_module != NULL
         && ASPELL_FUNCTION_AVAILABLE (new_aspell_config)

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jul 28, 2024 at 19:49 UTC (comment 60)

Thank you for the tip! I have created a pull request for Aspell:

GNUAspell/aspell#651

I have committed your suggestion as [0749b6d] - it fixes the problem on our side!

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jul 30, 2024 at 11:30 UTC (comment 61)

From: Johannes Altmanninger <aclopte@gmail.com>

The upcoming fish 3.8 will add a feature flag to officially deprecate
"%self," see
https://github.com/fish-shell/fish-shell/commit/8d71eef1da7108b37eb50150d2511f576de9fc44

Unfortunately this can cause mc+fish to break for users who configured
fish with "set -U fish_features all" which opts into any new feature
flag, thus disabling %self expansion.

Prevent this potential breakage by using the recommended "$fish_pid",
which was introduced in fish 3.0.0 (December 2018).
---
src/subshell/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/subshell/common.c b/src/subshell/common.c
index dbc32afc2..72f001569 100644
--- a/src/subshell/common.c
+++ b/src/subshell/common.c
@@ -1176,7 +1176,7 @@ init_subshell_precmd (char *precmd, size_t buff_size)
                    "functions -e fish_right_prompt;"
                    "functions -c fish_prompt fish_prompt_mc; end;"
                    "function fish_prompt;"
-                    "echo \"$PWD\">&%d; fish_prompt_mc; kill -STOP %%self; end\n",
+                    "echo \"$PWD\">&%d; fish_prompt_mc; kill -STOP $fish_pid; end\n",
                    command_buffer_pipe[WRITE], command_buffer_pipe[WRITE], subshell_pipe[WRITE]);
        break;

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 2, 2024 at 5:51 UTC (comment 62)

I'm wondering, do you need any of the generated Doxygen docs? I've never generated them and don't know if they even work. But even if they do, I'm not sure if they bring any value. If you don't object, I'd actually remove all Doxygen stuff (not the source code comments, of course!)...

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 7, 2024 at 7:52 UTC (comment 63)

Fish patch committed as [c249980] .

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 8, 2024 at 8:53 UTC (comment 64)

RC tarball has been created:

https://midnight-commander.org/nopaste/tarball/mc-4.8.32-pre1.tar.xz

I had to fix the POT-file, because apparently last time it was updated, it was generated in the dirty working copy. Please test. I have noticed that shortcuts have been changed again for Russian translation. Not sure if this is desired.

What about removing Doxygen? I will create a separate ticket if this is OK.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Aug 8, 2024 at 12:39 UTC (comment 64.65)

Replying to zaytsev:

I had to fix the POT-file, because apparently last time it was updated, it was generated in the dirty working copy.

What do you mean? I update pot-file and all po-files in the cleanup branch before merge it to the master one.

What about removing Doxygen?

Probably yes.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 8, 2024 at 17:28 UTC (comment 66)

What do you mean? I update pot-file and all po-files in the cleanup branch before merge it to the master one.

I mean that line numbers do not correspond to the line numbers in the source code, but additionally there are hits from files that aren't even present in the repository like tmp/ydiff.c:2403 - so I assume dirty checkout. Just check the changeset: [2872606] to see what I mean.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 9, 2024 at 5:41 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 9, 2024 at 5:41 UTC (comment 67)

Added fix for x11 deprecation warning.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 16, 2024 at 10:04 UTC (comment 68)

x11 patch committed to master

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Aug 23, 2024 at 18:02 UTC (comment 69)

  • Status changed from new to closed
  • Resolution set to fixed

prepare repository for release
download PO-translations from Transifex
store translations in git repo
download the hint translations from Transifex
store translations in git repo

done

create new NEWS wiki page for next version with empty template

NEWS-4.8.33

add content of current NEWS wiki page to the doc/NEWS file in git repo
new version in Trac
new milestone in Trac
create new tag in git
create tar.(bz2|xz) package files
make checksums for archives
upload source packages and checksums
run ssh
update Wiki start page with latest release number
write an announcement: list user visible changes (bugs and features)

done

create new ticket (type=task, component=adm) for the next release

#4572

close ticket for release
close current milestone

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: adm Administrative tasks prio: medium Has the potential to affect progress
Development

No branches or pull requests

1 participant