Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35032 - app-misc/mc-mp ebuild
Summary: app-misc/mc-mp ebuild
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://mc.linuxinside.com/cgi-bin/dir...
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
: 83348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-04 00:40 UTC by Dmitry S. Kulyabov
Modified: 2009-09-12 02:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-misc/mc-mp ebuild (portage.tar.bz2,5.96 KB, application/octet-stream)
2003-12-04 00:41 UTC, Dmitry S. Kulyabov
Details
app-misc/mc-mp-4.1.40_pre9.ebuild (mc-mp-4.1.40_pre9.ebuild,1.70 KB, text/plain)
2004-09-02 02:15 UTC, Dmitry S. Kulyabov
Details
files/extra/etc/majorversion/4.1/pam.d/mcserv (mcserv,363 bytes, text/plain)
2004-09-02 02:19 UTC, Dmitry S. Kulyabov
Details
files/extra/init/gentoo-sysv/majorversion/4.1/init.d/mcserv (mcserv,860 bytes, text/plain)
2004-09-02 02:20 UTC, Dmitry S. Kulyabov
Details
files/patch/version/4.1.40_pre9/mc.menu.patch.bz2 (mc.menu.patch.bz2,1.59 KB, application/octet-stream)
2004-09-02 02:22 UTC, Dmitry S. Kulyabov
Details
files/patch/version/4.1.40_pre9/u7z.patch.bz2 (u7z.patch.bz2,2.42 KB, application/octet-stream)
2004-09-02 02:23 UTC, Dmitry S. Kulyabov
Details
/app-misc/mc-mp-4.1.40_pre9-r1.ebuild (mc-mp-4.1.40_pre9-r1.ebuild,2.06 KB, text/plain)
2005-04-05 01:13 UTC, Dmitry S. Kulyabov
Details
app-misc/mc-mp/files/4.1.40_pre9/ebuild-syntax.patch (ebuild-syntax.patch,520 bytes, patch)
2005-04-05 01:14 UTC, Dmitry S. Kulyabov
Details | Diff
app-misc/mc-mp/files/4.1.40_pre9/mc.menu.patch (mc.menu.patch,6.45 KB, patch)
2005-04-05 01:14 UTC, Dmitry S. Kulyabov
Details | Diff
app-misc/mc-mp/files/4.1.40_pre9/u7z.patch (u7z.patch,6.29 KB, patch)
2005-04-05 01:15 UTC, Dmitry S. Kulyabov
Details | Diff
app-misc/mc-mp/files/mcserv.rc (mcserv.rc,868 bytes, text/plain)
2005-04-05 01:16 UTC, Dmitry S. Kulyabov
Details
app-misc/mc-mp/files/mcserv.pamd (mcserv.pamd,363 bytes, text/plain)
2005-04-05 01:16 UTC, Dmitry S. Kulyabov
Details
app-misc/mc-mp/files/ebuild.syntax (ebuild.syntax,2.53 KB, text/plain)
2005-04-05 01:17 UTC, Dmitry S. Kulyabov
Details
files/4.1.40_pre9/gcc-3.4.patch (gcc-3.4.patch,311 bytes, patch)
2005-12-09 00:13 UTC, Alex Efros
Details | Diff
fix compile error when LINGUAS contain "ru" (po.patch,531 bytes, patch)
2008-10-03 06:50 UTC, Alex Efros
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry S. Kulyabov 2003-12-04 00:40:05 UTC
4.1.x mc branch

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dmitry S. Kulyabov 2003-12-04 00:41:06 UTC
Created attachment 21677 [details]
app-misc/mc-mp ebuild
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-09 02:20:32 UTC
dmitry, please do NOT attach tarballs to bugzilla, just plain text files -- the ebuilds and any necessary patches (NO digests!)

Thanks
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-24 08:53:22 UTC
Dmitry, you have not reattached plain text files to this bug, please do so immediately.
Comment 4 Dmitry S. Kulyabov 2004-09-02 02:15:40 UTC
Created attachment 38735 [details]
app-misc/mc-mp-4.1.40_pre9.ebuild

New version
Comment 5 Dmitry S. Kulyabov 2004-09-02 02:19:49 UTC
Created attachment 38736 [details]
files/extra/etc/majorversion/4.1/pam.d/mcserv

mcserv pam file
Comment 6 Dmitry S. Kulyabov 2004-09-02 02:20:59 UTC
Created attachment 38737 [details]
files/extra/init/gentoo-sysv/majorversion/4.1/init.d/mcserv

mcserv init file
Comment 7 Dmitry S. Kulyabov 2004-09-02 02:22:29 UTC
Created attachment 38738 [details]
files/patch/version/4.1.40_pre9/mc.menu.patch.bz2
Comment 8 Dmitry S. Kulyabov 2004-09-02 02:23:45 UTC
Created attachment 38739 [details]
files/patch/version/4.1.40_pre9/u7z.patch.bz2

7zip support
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-02 02:45:12 UTC
*** Bug 83348 has been marked as a duplicate of this bug. ***
Comment 10 Dmitry S. Kulyabov 2005-04-05 01:13:26 UTC
Created attachment 55334 [details]
/app-misc/mc-mp-4.1.40_pre9-r1.ebuild
Comment 11 Dmitry S. Kulyabov 2005-04-05 01:14:14 UTC
Created attachment 55335 [details, diff]
app-misc/mc-mp/files/4.1.40_pre9/ebuild-syntax.patch
Comment 12 Dmitry S. Kulyabov 2005-04-05 01:14:49 UTC
Created attachment 55336 [details, diff]
app-misc/mc-mp/files/4.1.40_pre9/mc.menu.patch
Comment 13 Dmitry S. Kulyabov 2005-04-05 01:15:12 UTC
Created attachment 55337 [details, diff]
app-misc/mc-mp/files/4.1.40_pre9/u7z.patch
Comment 14 Dmitry S. Kulyabov 2005-04-05 01:16:00 UTC
Created attachment 55338 [details]
app-misc/mc-mp/files/mcserv.rc
Comment 15 Dmitry S. Kulyabov 2005-04-05 01:16:38 UTC
Created attachment 55339 [details]
app-misc/mc-mp/files/mcserv.pamd
Comment 16 Dmitry S. Kulyabov 2005-04-05 01:17:32 UTC
Created attachment 55340 [details]
app-misc/mc-mp/files/ebuild.syntax
Comment 17 Alex Efros 2005-12-08 12:20:43 UTC
After switching from gcc-3.3.6 to gcc-3.4.4-r1:

gcc -c -I..  -I./../slang -I./../vfs -I./.. -I.. -DBINDIR=\""/usr/bin/"\" -DLIBD
IR=\""/usr/lib/mc/"\"  -DLOCALEDIR=\""/usr/share/locale/"\" -DWANT_PARSE -DREGEX
_MALLOC -DHAVE_CONFIG_H -O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop-arra
ys cons.handler.c
cons.handler.c: In function `handle_console_linux':
cons.handler.c:208: error: label at end of compound statement
make[1]: *** [cons.handler.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mc-mp-4.1.40_pre9-r1/work/mc-4.1.40
-pre9/src'
make: *** [all] Error 1

!!! ERROR: app-misc/mc-mp-4.1.40_pre9-r1 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 18 Alex Efros 2005-12-09 00:13:01 UTC
Created attachment 74366 [details, diff]
files/4.1.40_pre9/gcc-3.4.patch

Fix to compile with gcc-3.4.4.
Comment 19 delete3 2006-04-13 03:39:52 UTC
/etc/init.d/mcserv need portmap
add to DEPEND="... net-nds/portmap" in mc-mp-4.1.40_pre9-r1.ebuild?
Comment 20 Gleb Litvjak 2006-04-15 06:49:40 UTC
Failed on amd64:

undelfs.c: In function `undelfs_loaddel':
undelfs.c:185: warning: passing arg 2 of `ext2fs_get_next_inode' from incompatible pointer type
undelfs.c:234: warning: passing arg 2 of `ext2fs_get_next_inode' from incompatible pointer type
undelfs.c: At top level:
undelfs.c:365: error: field `get_current' declared as a function
undelfs.c: In function `dump_read':
undelfs.c:461: error: invalid lvalue in assignment
undelfs.c:489: error: invalid lvalue in assignment
undelfs.c: In function `undelfs_read':
undelfs.c:503: error: invalid lvalue in assignment
make[1]: *** [undelfs.o] Error 1
make[1]: Leaving directory `/usr/var/tmp/portage/mc-mp-4.1.40_pre9-r1/work/mc-4.1.40-pre9/vfs'
make: *** [all] Error 1



Emerge --info:

Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X Xaw3d a52 aac acl acpi alsa ansi apache2 ape asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdda cddb cdparanoia crypt css cups dlloader dri dvb dvd dvdr dvdread eds effects emboss encode exif fastcgi ffmpeg flac foomaticdb fortran freetype fuse gdbm gettext gif gimp gimp-print gimpprint gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib isdnlog javascript jpeg jpeg2k kde kdeenablefinal kerberos kqemu krb4 lame ldap libvisual lzw lzw-tiff mad matroska mng mozilla mp3 mpeg mplayer musepack musicbrainz ncurses nfs nptl nsplugin nvidia offensive ogg openal opengl oss pam pascal pcre pdflib perl php pic plotutils png ppds pppd python qt quicktime rar readline ruby samba sdl sensord server skins speedo speex spell sql ssl subtitles svg tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vim-with-x visualization vorbis wmf wxgtk1 xcomposite xine xml xml2 xmlreader xmlwriter xpm xrandr xscreensaver xv xvid zip zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 10:36:06 UTC
I have sticked a modified ebuild into Sunrise Project overlay (in package.mask). 

See http://overlays.gentoo.org/proj/sunrise/browser/app-misc/mc-mp or check out via subversion: svn co http://overlays.gentoo.org/svn/proj/sunrise

Marking this UPSTREAM, not going into portage, as last upstream release is almost two years old. Reopen if upstream gets alive again. Thanks.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-08-10 13:42:46 UTC
New link:

http://www.gentoo-sunrise.org/sunrise/browser/reviewed/app-misc/mc-mp

emerge -va layman
echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
layman -f -a sunrise
Comment 23 Alex Efros 2008-10-03 06:50:54 UTC
Created attachment 167059 [details, diff]
fix compile error when LINGUAS contain "ru"
Comment 24 Alex Efros 2008-10-03 07:27:59 UTC
btw, is anybody knows how to get mc-mp to support large files (>2GB)?

afaik it's based on amc. source tree even contain amc's README.A12 file. and that file says support for large files was added in release A4:

  New features in rel.4:        64-bit filesizes
  ~~~~~~~~~~~~~~~~~~~~~~
    General:
        - type of panel->total changed to 64-bit 'long long' from 'long int'
          => summared size is correct selecting more than 2GB now!
        - directory sizes also uses _internal_ 64-bit numbers
        - new 64-bit fsize field into struct file_entry and
          every 'buf.st-size' changed to 'fsize'
          => full 64-bit filesize calculation (up to 8,589 million gigabyte!)

but looks like it either removed from mc-mp or broken. :(