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.22.tar.xz:main
16 DISTFILE[2]= MidnightCommander.png:icon
18 SPKGS[desktop]= single
19 SPKGS[standard]= single
21 OPTIONS_AVAILABLE= X11
22 OPTIONS_STANDARD= none
23 VOPTS[desktop]= X11=ON
25 BUILDRUN_DEPENDS= libssh2:single:standard
26 RUN_DEPENDS= diffutils:single:standard
28 USES= gmake iconv libtool ncurses pkgconfig perl:build
29 gettext-runtime shebangfix ssl:build
30 GNOME_COMPONENTS= glib
35 FPC_EQUIVALENT= misc/mc
36 SHEBANG_FILES= misc/mcedit.menu.in
39 src/vfs/extfs/helpers/Makefile.in
40 src/vfs/extfs/helpers/s3+.in
41 src/vfs/extfs/helpers/uc1541.in
42 SHEBANG_NEW_PYTHON= {{LOCALBASE}}/bin/python2
43 SHEBANG_OLD_PYTHON= @PYTHON@
46 CONFIGURE_ARGS= --enable-charset
53 --with-smb-configdir={{LOCALBASE}}/etc
54 --with-smb-codepagedir={{LOCALBASE}}/etc/codepages
56 CPPFLAGS= -I{{NCURSESINC}}
57 VAR_OPSYS[sunos]= CONFIGURE_ENV=ac_cv_search_addwstr="-lncursesw -ltinfow -lsocket"
59 [X11].DESCRIPTION= Support xterm under X11 server
60 [X11].CONFIGURE_WITH_BOTH= x
61 [X11].XORG_COMPONENTS_ON= x11
65 ${REINPLACE_CMD} -e 's|PACKAGE=mc|PACKAGE=midnight-commander|' \
67 ${REINPLACE_CMD} -e 's|SUBDIRS = intl|SUBDIRS =|' \
71 @${MKDIR} ${STAGEDIR}${DESKTOPDIR} \
72 ${STAGEDIR}${PREFIX}/share/pixmaps
73 ${INSTALL_DATA} ${DISTDIR}/MidnightCommander.png \
74 ${STAGEDIR}${PREFIX}/share/pixmaps/
75 ${INSTALL_DATA} ${FILESDIR}/mc.desktop \
76 ${STAGEDIR}${DESKTOPDIR}
78 [FILE:641:descriptions/desc.single]
79 GNU Midnight Commander (also referred to as MC) is a user shell with
80 text-mode full-screen interface. It can be run on the OS console,
81 in xterm and other terminal emulators.
83 GNU Midnight Commander allows you to manage files while making most of
84 you screen and giving you a clear representation of the filesystem, yet
85 it's simple enough to be run over a telnet or ssh session.
87 GNU Midnight Commander was conceived as a free clone of John Socha's
88 Norton Commander (TM). It also takes the best from more recent software
89 with similar interfaces. GNU Midnight Commander comes with mouse support
90 on xterm and optionally on the Linux console.
94 ee7868d7ba0498cf2cccefe107d7efee7f2571098806bba2aed5a159db801318 2538524 mc-4.8.22.tar.xz
95 6bd935ea11c45da5c11e60542e30b4a05396d75b81401f28b3a68a82cafbf8fe 6466 MidnightCommander.png
98 [FILE:6452:manifests/plist.single]
99 %%X11-ON%%share/applications/mc.desktop
100 %%X11-ON%%share/pixmaps/MidnightCommander.png
106 etc/midnight-commander/
116 libexec/midnight-commander/
121 libexec/midnight-commander/ext.d/
131 libexec/midnight-commander/extfs.d/
168 libexec/midnight-commander/fish/
185 share/locale/az/LC_MESSAGES/midnight-commander.mo
186 share/locale/be/LC_MESSAGES/midnight-commander.mo
187 share/locale/bg/LC_MESSAGES/midnight-commander.mo
188 share/locale/ca/LC_MESSAGES/midnight-commander.mo
189 share/locale/cs/LC_MESSAGES/midnight-commander.mo
190 share/locale/da/LC_MESSAGES/midnight-commander.mo
191 share/locale/de/LC_MESSAGES/midnight-commander.mo
192 share/locale/de_CH/LC_MESSAGES/midnight-commander.mo
193 share/locale/el/LC_MESSAGES/midnight-commander.mo
194 share/locale/en_GB/LC_MESSAGES/midnight-commander.mo
195 share/locale/eo/LC_MESSAGES/midnight-commander.mo
196 share/locale/es/LC_MESSAGES/midnight-commander.mo
197 share/locale/et/LC_MESSAGES/midnight-commander.mo
198 share/locale/eu/LC_MESSAGES/midnight-commander.mo
199 share/locale/fa/LC_MESSAGES/midnight-commander.mo
200 share/locale/fi/LC_MESSAGES/midnight-commander.mo
201 share/locale/fr/LC_MESSAGES/midnight-commander.mo
202 share/locale/fr_CA/LC_MESSAGES/midnight-commander.mo
203 share/locale/gl/LC_MESSAGES/midnight-commander.mo
204 share/locale/hr/LC_MESSAGES/midnight-commander.mo
205 share/locale/hu/LC_MESSAGES/midnight-commander.mo
206 share/locale/ia/LC_MESSAGES/midnight-commander.mo
207 share/locale/id/LC_MESSAGES/midnight-commander.mo
208 share/locale/it/LC_MESSAGES/midnight-commander.mo
209 share/locale/ja/LC_MESSAGES/midnight-commander.mo
210 share/locale/ka/LC_MESSAGES/midnight-commander.mo
211 share/locale/kk/LC_MESSAGES/midnight-commander.mo
212 share/locale/ko/LC_MESSAGES/midnight-commander.mo
213 share/locale/lt/LC_MESSAGES/midnight-commander.mo
214 share/locale/lv/LC_MESSAGES/midnight-commander.mo
215 share/locale/mn/LC_MESSAGES/midnight-commander.mo
216 share/locale/nb/LC_MESSAGES/midnight-commander.mo
217 share/locale/nl/LC_MESSAGES/midnight-commander.mo
218 share/locale/pl/LC_MESSAGES/midnight-commander.mo
219 share/locale/pt/LC_MESSAGES/midnight-commander.mo
220 share/locale/pt_BR/LC_MESSAGES/midnight-commander.mo
221 share/locale/ro/LC_MESSAGES/midnight-commander.mo
222 share/locale/ru/LC_MESSAGES/midnight-commander.mo
223 share/locale/sk/LC_MESSAGES/midnight-commander.mo
224 share/locale/sl/LC_MESSAGES/midnight-commander.mo
225 share/locale/sr/LC_MESSAGES/midnight-commander.mo
226 share/locale/sv/LC_MESSAGES/midnight-commander.mo
227 share/locale/szl/LC_MESSAGES/midnight-commander.mo
228 share/locale/ta/LC_MESSAGES/midnight-commander.mo
229 share/locale/te/LC_MESSAGES/midnight-commander.mo
230 share/locale/tr/LC_MESSAGES/midnight-commander.mo
231 share/locale/uk/LC_MESSAGES/midnight-commander.mo
232 share/locale/vi/LC_MESSAGES/midnight-commander.mo
233 share/locale/wa/LC_MESSAGES/midnight-commander.mo
234 share/locale/zh_CN/LC_MESSAGES/midnight-commander.mo
235 share/locale/zh_TW/LC_MESSAGES/midnight-commander.mo
236 share/man/es/man1/mc.1.gz
237 share/man/hu/man1/mc.1.gz
238 share/man/it/man1/mc.1.gz
243 share/man/pl/man1/mc.1.gz
244 share/man/ru/man1/mc.1.gz
245 share/man/sr/man1/mc.1.gz
246 share/midnight-commander/
249 share/midnight-commander/examples/macros.d/
257 share/midnight-commander/help/
265 share/midnight-commander/hints/
320 share/midnight-commander/skins/
327 gray-green-purple256.ini
328 gray-orange-blue256.ini
332 modarcon16root-defbg.ini
336 modarin256root-defbg.ini
340 seasons-autumn16M.ini
341 seasons-spring16M.ini
342 seasons-summer16M.ini
343 seasons-winter16M.ini
347 share/midnight-commander/syntax/
365 debian-changelog.syntax
366 debian-control.syntax
367 debian-description.syntax
368 debian-sources-list.syntax
440 [FILE:619:patches/patch-lib_tty_tty-ncurses.c]
441 --- lib/tty/tty-ncurses.c.orig 2017-03-04 17:51:38 UTC
442 +++ lib/tty/tty-ncurses.c
443 @@ -245,7 +245,7 @@ tty_shutdown (void)
445 tty_enter_ca_mode (void)
447 - if (mc_global.tty.xterm_flag && smcup != NULL)
448 + if (mc_global.tty.xterm_flag)
450 fprintf (stdout, /* ESC_STR ")0" */ ESC_STR "7" ESC_STR "[?47h");
452 @@ -257,7 +257,7 @@ tty_enter_ca_mode (void)
454 tty_exit_ca_mode (void)
456 - if (mc_global.tty.xterm_flag && rmcup != NULL)
457 + if (mc_global.tty.xterm_flag)
459 fprintf (stdout, ESC_STR "[?47l" ESC_STR "8" ESC_STR "[m");
463 [FILE:570:patches/patch-src_diffviewer_ydiff.c]
464 --- src/diffviewer/ydiff.c.orig 2017-03-04 20:51:38 UTC
465 +++ src/diffviewer/ydiff.c
466 @@ -816,7 +816,7 @@ dff_execute (const char *args, const char *extra, cons
467 /* escape potential $ to avoid shell variable substitutions in popen() */
468 file1_esc = strutils_shell_escape (file1);
469 file2_esc = strutils_shell_escape (file2);
470 - cmd = g_strdup_printf ("diff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc);
471 + cmd = g_strdup_printf ("gdiff %s %s %s %s %s", args, extra, opt, file1_esc, file2_esc);
477 [FILE:420:patches/patch-src_filemanager_midnight.c]
478 --- src/filemanager/midnight.c.orig 2017-03-04 17:51:38 UTC
479 +++ src/filemanager/midnight.c
480 @@ -879,7 +879,7 @@ setup_mc (void)
481 add_select_channel (mc_global.tty.subshell_pty, load_prompt, 0);
482 #endif /* !ENABLE_SUBSHELL */
484 - if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
485 + if ((tty_baudrate () > 0 && tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
491 [FILE:257:files/mc.desktop]
495 Name=Midnight Commander
496 GenericName=Midnight Commander
497 Comment=Midnight Commander, a free Norton Commander Clone
498 Icon=MidnightCommander
500 Categories=System;Utility;Core;FileTools;FileManager;