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[icon]= http://midnight-commander.org/chrome/site/
14 SITES[main]= http://ftp.midnight-commander.org/
15 DISTFILE[1]= mc-4.8.25.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}}
61 VAR_OPSYS[sunos]= CONFIGURE_ENV=ac_cv_search_addwstr="-lncursesw -ltinfow -lsocket"
63 [X11].DESCRIPTION= Support xterm under X11 server
64 [X11].CONFIGURE_WITH_BOTH= x
65 [X11].XORG_COMPONENTS_ON= x11
69 ${REINPLACE_CMD} -e 's|PACKAGE=mc|PACKAGE=midnight-commander|' \
71 ${REINPLACE_CMD} -e 's|SUBDIRS = intl|SUBDIRS =|' \
75 @${MKDIR} ${STAGEDIR}${DESKTOPDIR} \
76 ${STAGEDIR}${PREFIX}/share/pixmaps
77 ${INSTALL_DATA} ${DISTDIR}/MidnightCommander.png \
78 ${STAGEDIR}${PREFIX}/share/pixmaps/
79 ${INSTALL_DATA} ${FILESDIR}/mc.desktop \
80 ${STAGEDIR}${DESKTOPDIR}
82 [FILE:641:descriptions/desc.primary]
83 GNU Midnight Commander (also referred to as MC) is a user shell with
84 text-mode full-screen interface. It can be run on the OS console,
85 in xterm and other terminal emulators.
87 GNU Midnight Commander allows you to manage files while making most of
88 you screen and giving you a clear representation of the filesystem, yet
89 it's simple enough to be run over a telnet or ssh session.
91 GNU Midnight Commander was conceived as a free clone of John Socha's
92 Norton Commander (TM). It also takes the best from more recent software
93 with similar interfaces. GNU Midnight Commander comes with mouse support
94 on xterm and optionally on the Linux console.
98 ffc19617f20ebb23330acd3998b7fd559a042d172fa55746d53d246697b2548a 2488324 mc-4.8.25.tar.xz
99 6bd935ea11c45da5c11e60542e30b4a05396d75b81401f28b3a68a82cafbf8fe 6466 MidnightCommander.png
102 [FILE:3973:manifests/plist.primary]
103 %%X11-ON%%share/applications/mc.desktop
104 %%X11-ON%%share/pixmaps/MidnightCommander.png
110 etc/midnight-commander/
120 libexec/midnight-commander/
125 libexec/midnight-commander/ext.d/
135 libexec/midnight-commander/extfs.d/
172 libexec/midnight-commander/fish/
189 share/man/es/man1/mc.1.gz
190 share/man/hu/man1/mc.1.gz
191 share/man/it/man1/mc.1.gz
196 share/man/pl/man1/mc.1.gz
197 share/man/ru/man1/mc.1.gz
198 share/man/sr/man1/mc.1.gz
199 share/midnight-commander/
202 share/midnight-commander/examples/macros.d/
210 share/midnight-commander/help/
218 share/midnight-commander/hints/
274 share/midnight-commander/skins/
282 gray-green-purple256.ini
283 gray-orange-blue256.ini
288 modarcon16root-defbg.ini
292 modarin256root-defbg.ini
296 seasons-autumn16M.ini
297 seasons-spring16M.ini
298 seasons-summer16M.ini
299 seasons-winter16M.ini
303 share/midnight-commander/syntax/
322 debian-changelog.syntax
323 debian-control.syntax
324 debian-description.syntax
325 debian-sources-list.syntax
399 [FILE:2569:manifests/plist.nls]
400 share/locale/az/LC_MESSAGES/midnight-commander.mo
401 share/locale/be/LC_MESSAGES/midnight-commander.mo
402 share/locale/bg/LC_MESSAGES/midnight-commander.mo
403 share/locale/ca/LC_MESSAGES/midnight-commander.mo
404 share/locale/cs/LC_MESSAGES/midnight-commander.mo
405 share/locale/da/LC_MESSAGES/midnight-commander.mo
406 share/locale/de/LC_MESSAGES/midnight-commander.mo
407 share/locale/de_CH/LC_MESSAGES/midnight-commander.mo
408 share/locale/el/LC_MESSAGES/midnight-commander.mo
409 share/locale/en_GB/LC_MESSAGES/midnight-commander.mo
410 share/locale/eo/LC_MESSAGES/midnight-commander.mo
411 share/locale/es/LC_MESSAGES/midnight-commander.mo
412 share/locale/et/LC_MESSAGES/midnight-commander.mo
413 share/locale/eu/LC_MESSAGES/midnight-commander.mo
414 share/locale/fa/LC_MESSAGES/midnight-commander.mo
415 share/locale/fi/LC_MESSAGES/midnight-commander.mo
416 share/locale/fr/LC_MESSAGES/midnight-commander.mo
417 share/locale/fr_CA/LC_MESSAGES/midnight-commander.mo
418 share/locale/gl/LC_MESSAGES/midnight-commander.mo
419 share/locale/hr/LC_MESSAGES/midnight-commander.mo
420 share/locale/hu/LC_MESSAGES/midnight-commander.mo
421 share/locale/ia/LC_MESSAGES/midnight-commander.mo
422 share/locale/id/LC_MESSAGES/midnight-commander.mo
423 share/locale/it/LC_MESSAGES/midnight-commander.mo
424 share/locale/ja/LC_MESSAGES/midnight-commander.mo
425 share/locale/ka/LC_MESSAGES/midnight-commander.mo
426 share/locale/kk/LC_MESSAGES/midnight-commander.mo
427 share/locale/ko/LC_MESSAGES/midnight-commander.mo
428 share/locale/lt/LC_MESSAGES/midnight-commander.mo
429 share/locale/lv/LC_MESSAGES/midnight-commander.mo
430 share/locale/mn/LC_MESSAGES/midnight-commander.mo
431 share/locale/nb/LC_MESSAGES/midnight-commander.mo
432 share/locale/nl/LC_MESSAGES/midnight-commander.mo
433 share/locale/pl/LC_MESSAGES/midnight-commander.mo
434 share/locale/pt/LC_MESSAGES/midnight-commander.mo
435 share/locale/pt_BR/LC_MESSAGES/midnight-commander.mo
436 share/locale/ro/LC_MESSAGES/midnight-commander.mo
437 share/locale/ru/LC_MESSAGES/midnight-commander.mo
438 share/locale/sk/LC_MESSAGES/midnight-commander.mo
439 share/locale/sl/LC_MESSAGES/midnight-commander.mo
440 share/locale/sr/LC_MESSAGES/midnight-commander.mo
441 share/locale/sv/LC_MESSAGES/midnight-commander.mo
442 share/locale/szl/LC_MESSAGES/midnight-commander.mo
443 share/locale/ta/LC_MESSAGES/midnight-commander.mo
444 share/locale/te/LC_MESSAGES/midnight-commander.mo
445 share/locale/tr/LC_MESSAGES/midnight-commander.mo
446 share/locale/uk/LC_MESSAGES/midnight-commander.mo
447 share/locale/vi/LC_MESSAGES/midnight-commander.mo
448 share/locale/wa/LC_MESSAGES/midnight-commander.mo
449 share/locale/zh_CN/LC_MESSAGES/midnight-commander.mo
450 share/locale/zh_TW/LC_MESSAGES/midnight-commander.mo
453 [FILE:619:patches/patch-lib_tty_tty-ncurses.c]
454 --- lib/tty/tty-ncurses.c.orig 2020-07-05 17:38:53 UTC
455 +++ lib/tty/tty-ncurses.c
456 @@ -243,7 +243,7 @@ tty_shutdown (void)
458 tty_enter_ca_mode (void)
460 - if (mc_global.tty.xterm_flag && smcup != NULL)
461 + if (mc_global.tty.xterm_flag)
463 fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
465 @@ -255,7 +255,7 @@ tty_enter_ca_mode (void)
467 tty_exit_ca_mode (void)
469 - if (mc_global.tty.xterm_flag && rmcup != NULL)
470 + if (mc_global.tty.xterm_flag)
472 fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m");
476 [FILE:556:patches/patch-src_diffviewer_ydiff.c]
477 --- src/diffviewer/ydiff.c.orig 2020-07-05 17:38:53 UTC
478 +++ src/diffviewer/ydiff.c
479 @@ -817,7 +817,7 @@ dff_execute (const char *args, const cha
480 /* escape potential $ to avoid shell variable substitutions in popen() */
481 file1_esc = strutils_shell_escape (file1);
482 file2_esc = strutils_shell_escape (file2);
483 - cmd = g_strdup_printf ("diff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc);
484 + cmd = g_strdup_printf ("gdiff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc);
490 [FILE:423:patches/patch-src_filemanager_midnight.c]
491 --- src/filemanager/midnight.c.orig 2020-07-05 17:38:53 UTC
492 +++ src/filemanager/midnight.c
493 @@ -870,7 +870,7 @@ setup_mc (void)
494 add_select_channel (mc_global.tty.subshell_pty, load_prompt, NULL);
495 #endif /* !ENABLE_SUBSHELL */
497 - if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
498 + if ((tty_baudrate () > 0 && tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
504 [FILE:257:files/mc.desktop]
508 Name=Midnight Commander
509 GenericName=Midnight Commander
510 Comment=Midnight Commander, a free Norton Commander Clone
511 Icon=MidnightCommander
513 Categories=System;Utility;Core;FileTools;FileManager;