1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= midnight-commander
6 VARIANTS= standard desktop
7 SDESC[desktop]= Free Norton Commander clone (X11)
8 SDESC[standard]= Free Norton Commander clone
9 HOMEPAGE= http://midnight-commander.org/
12 DOWNLOAD_GROUPS= main icon
13 SITES[main]= http://ftp.midnight-commander.org/
14 SITES[icon]= http://midnight-commander.org/chrome/site/
15 DISTFILE[1]= mc-4.8.27.tar.xz:main
16 DISTFILE[2]= MidnightCommander.png:icon
18 SPKGS[desktop]= complete
21 SPKGS[standard]= complete
25 OPTIONS_AVAILABLE= X11
26 OPTIONS_STANDARD= none
27 VOPTS[desktop]= X11=ON
29 BUILDRUN_DEPENDS= libssh2:single:standard
30 RUN_DEPENDS= diffutils:primary:standard
32 USES= gmake iconv libtool ncurses pkgconfig perl:build
33 gettext-runtime shebangfix ssl:build
34 GNOME_COMPONENTS= glib
39 FPC_EQUIVALENT= misc/mc
40 SHEBANG_FILES= misc/mcedit.menu.in
43 src/vfs/extfs/helpers/Makefile.in
44 src/vfs/extfs/helpers/s3+.in
45 src/vfs/extfs/helpers/uc1541
46 SHEBANG_NEW_PYTHON= {{LOCALBASE}}/bin/python2
47 SHEBANG_OLD_PYTHON= @PYTHON@
50 CONFIGURE_ARGS= --enable-charset
57 --with-smb-configdir={{LOCALBASE}}/etc
58 --with-smb-codepagedir={{LOCALBASE}}/etc/codepages
60 CPPFLAGS= -I{{NCURSESINC}}
62 VAR_OPSYS[sunos]= CONFIGURE_ENV=ac_cv_search_addwstr="-lncursesw -ltinfow -lsocket"
64 [X11].DESCRIPTION= Support xterm under X11 server
65 [X11].CONFIGURE_WITH_BOTH= x
66 [X11].XORG_COMPONENTS_ON= x11
70 ${REINPLACE_CMD} -e 's|PACKAGE=mc|PACKAGE=midnight-commander|' \
72 ${REINPLACE_CMD} -e 's|SUBDIRS = intl|SUBDIRS =|' \
76 @${MKDIR} ${STAGEDIR}${DESKTOPDIR} \
77 ${STAGEDIR}${PREFIX}/share/pixmaps
78 ${INSTALL_DATA} ${DISTDIR}/MidnightCommander.png \
79 ${STAGEDIR}${PREFIX}/share/pixmaps/
80 ${INSTALL_DATA} ${FILESDIR}/mc.desktop \
81 ${STAGEDIR}${DESKTOPDIR}
83 [FILE:641:descriptions/desc.primary]
84 GNU Midnight Commander (also referred to as MC) is a user shell with
85 text-mode full-screen interface. It can be run on the OS console,
86 in xterm and other terminal emulators.
88 GNU Midnight Commander allows you to manage files while making most of
89 you screen and giving you a clear representation of the filesystem, yet
90 it's simple enough to be run over a telnet or ssh session.
92 GNU Midnight Commander was conceived as a free clone of John Socha's
93 Norton Commander (TM). It also takes the best from more recent software
94 with similar interfaces. GNU Midnight Commander comes with mouse support
95 on xterm and optionally on the Linux console.
99 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 2510296 mc-4.8.27.tar.xz
100 6bd935ea11c45da5c11e60542e30b4a05396d75b81401f28b3a68a82cafbf8fe 6466 MidnightCommander.png
103 [FILE:3682:manifests/plist.primary]
104 %%X11-ON%%share/applications/mc.desktop
105 %%X11-ON%%share/pixmaps/MidnightCommander.png
192 share/man/es/man1/mc.1.gz
193 share/man/hu/man1/mc.1.gz
194 share/man/it/man1/mc.1.gz
199 share/man/pl/man1/mc.1.gz
200 share/man/ru/man1/mc.1.gz
201 share/man/sr/man1/mc.1.gz
205 share/mc/examples/macros.d/
272 gray-green-purple256.ini
273 gray-orange-blue256.ini
278 modarcon16root-defbg.ini
282 modarin256root-defbg.ini
286 seasons-autumn16M.ini
287 seasons-spring16M.ini
288 seasons-summer16M.ini
289 seasons-winter16M.ini
312 debian-changelog.syntax
313 debian-control.syntax
314 debian-description.syntax
315 debian-sources-list.syntax
391 [FILE:1753:manifests/plist.nls]
392 share/locale/az/LC_MESSAGES/mc.mo
393 share/locale/be/LC_MESSAGES/mc.mo
394 share/locale/bg/LC_MESSAGES/mc.mo
395 share/locale/ca/LC_MESSAGES/mc.mo
396 share/locale/cs/LC_MESSAGES/mc.mo
397 share/locale/da/LC_MESSAGES/mc.mo
398 share/locale/de/LC_MESSAGES/mc.mo
399 share/locale/de_CH/LC_MESSAGES/mc.mo
400 share/locale/el/LC_MESSAGES/mc.mo
401 share/locale/en_GB/LC_MESSAGES/mc.mo
402 share/locale/eo/LC_MESSAGES/mc.mo
403 share/locale/es/LC_MESSAGES/mc.mo
404 share/locale/et/LC_MESSAGES/mc.mo
405 share/locale/eu/LC_MESSAGES/mc.mo
406 share/locale/fa/LC_MESSAGES/mc.mo
407 share/locale/fi/LC_MESSAGES/mc.mo
408 share/locale/fr/LC_MESSAGES/mc.mo
409 share/locale/fr_CA/LC_MESSAGES/mc.mo
410 share/locale/gl/LC_MESSAGES/mc.mo
411 share/locale/hr/LC_MESSAGES/mc.mo
412 share/locale/hu/LC_MESSAGES/mc.mo
413 share/locale/ia/LC_MESSAGES/mc.mo
414 share/locale/id/LC_MESSAGES/mc.mo
415 share/locale/it/LC_MESSAGES/mc.mo
416 share/locale/ja/LC_MESSAGES/mc.mo
417 share/locale/ka/LC_MESSAGES/mc.mo
418 share/locale/kk/LC_MESSAGES/mc.mo
419 share/locale/ko/LC_MESSAGES/mc.mo
420 share/locale/lt/LC_MESSAGES/mc.mo
421 share/locale/lv/LC_MESSAGES/mc.mo
422 share/locale/mn/LC_MESSAGES/mc.mo
423 share/locale/nb/LC_MESSAGES/mc.mo
424 share/locale/nl/LC_MESSAGES/mc.mo
425 share/locale/pl/LC_MESSAGES/mc.mo
426 share/locale/pt/LC_MESSAGES/mc.mo
427 share/locale/pt_BR/LC_MESSAGES/mc.mo
428 share/locale/ro/LC_MESSAGES/mc.mo
429 share/locale/ru/LC_MESSAGES/mc.mo
430 share/locale/sk/LC_MESSAGES/mc.mo
431 share/locale/sl/LC_MESSAGES/mc.mo
432 share/locale/sr/LC_MESSAGES/mc.mo
433 share/locale/sv/LC_MESSAGES/mc.mo
434 share/locale/szl/LC_MESSAGES/mc.mo
435 share/locale/ta/LC_MESSAGES/mc.mo
436 share/locale/te/LC_MESSAGES/mc.mo
437 share/locale/tr/LC_MESSAGES/mc.mo
438 share/locale/uk/LC_MESSAGES/mc.mo
439 share/locale/vi/LC_MESSAGES/mc.mo
440 share/locale/wa/LC_MESSAGES/mc.mo
441 share/locale/zh_CN/LC_MESSAGES/mc.mo
442 share/locale/zh_TW/LC_MESSAGES/mc.mo
445 [FILE:619:patches/patch-lib_tty_tty-ncurses.c]
446 --- lib/tty/tty-ncurses.c.orig 2021-08-01 16:45:58 UTC
447 +++ lib/tty/tty-ncurses.c
448 @@ -289,7 +289,7 @@ tty_shutdown (void)
450 tty_enter_ca_mode (void)
452 - if (mc_global.tty.xterm_flag && smcup != NULL)
453 + if (mc_global.tty.xterm_flag)
455 fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
457 @@ -301,7 +301,7 @@ tty_enter_ca_mode (void)
459 tty_exit_ca_mode (void)
461 - if (mc_global.tty.xterm_flag && rmcup != NULL)
462 + if (mc_global.tty.xterm_flag)
464 fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m");
468 [FILE:556:patches/patch-src_diffviewer_ydiff.c]
469 --- src/diffviewer/ydiff.c.orig 2021-08-01 16:45:58 UTC
470 +++ src/diffviewer/ydiff.c
471 @@ -817,7 +817,7 @@ dff_execute (const char *args, const cha
472 /* escape potential $ to avoid shell variable substitutions in popen() */
473 file1_esc = strutils_shell_escape (file1);
474 file2_esc = strutils_shell_escape (file2);
475 - cmd = g_strdup_printf ("diff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc);
476 + cmd = g_strdup_printf ("gdiff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc);
482 [FILE:373:patches/patch-src_filemanager_filemanager.c]
483 --- src/filemanager/filemanager.c.orig 2021-08-01 16:45:58 UTC
484 +++ src/filemanager/filemanager.c
485 @@ -859,7 +859,7 @@ setup_mc (void)
486 #endif /* HAVE_CHARSET */
487 #endif /* HAVE_SLANG */
489 - if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
490 + if ((tty_baudrate () > 0 && tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
496 [FILE:257:files/mc.desktop]
500 Name=Midnight Commander
501 GenericName=Midnight Commander
502 Comment=Midnight Commander, a free Norton Commander Clone
503 Icon=MidnightCommander
505 Categories=System;Utility;Core;FileTools;FileManager;