# HG changeset patch # User Hans-G?nter Theisgen # Date 1648744579 -3600 # Node ID 2c7fdf85178fa2f5babbd2d02be19fa7be0c23e8 # Parent 870a10e2d8f5b21e1bdf56f9069d91da3311caca updated mc (4.8.24 -> 4.8.28) diff -r 870a10e2d8f5 -r 2c7fdf85178f mc-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mc-lang/receipt Thu Mar 31 17:36:19 2022 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="mc-lang" +VERSION="4.8.28" +CATEGORY="localization" +SHORT_DESC="Midnight Commander, ncurses based file manager - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://www.midnight-commander.org/" + +WANTED="mc" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 870a10e2d8f5 -r 2c7fdf85178f mc/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mc/description.txt Thu Mar 31 17:36:19 2022 +0100 @@ -0,0 +1,10 @@ +GNU Midnight Commander is a visual file manager, licensed under +GNU General Public License and therefore qualifies as Free Software. +It's a feature rich full-screen text mode application that allows you +to copy, move and delete files and whole directory trees, search for +files and run commands in the subshell. +Internal viewer and editor are included. + +Midnight Commander is based on versatile text interfaces, such as Ncurses +or S-Lang, which allows it to work on a regular console, inside an +X Window terminal, over SSH connections and all kinds of remote shells. diff -r 870a10e2d8f5 -r 2c7fdf85178f mc/receipt --- a/mc/receipt Thu Mar 31 16:31:10 2022 +0100 +++ b/mc/receipt Thu Mar 31 17:36:19 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="mc" -VERSION="4.8.24" +VERSION="4.8.28" CATEGORY="system-tools" TAGS="file-manager text-editor" SHORT_DESC="Midnight Commander - ncurses based file manager." @@ -12,10 +12,10 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://ftp.midnight-commander.org/$TARBALL" -SUGGESTED="cdrkit-isoinfo file gpm lynx poppler-apps w3m wv xz" -DEPENDS="e2fsprogs glib ncursesw util-linux-blkid" -BUILD_DEPENDS="glib-dev gpm-dev ncursesw-dev ncurses-extra - util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev " +SUGGESTED="cdrkit-isoinfo file gpm lynx mc-lang poppler-apps w3m wv xz" +DEPENDS="e2fsprogs gcc83-lib-base glib ncursesw util-linux-blkid" +BUILD_DEPENDS="gcc83 glib-dev gpm-dev ncursesw-dev ncurses-extra + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev" GENERIC_MENUS="no" @@ -31,9 +31,11 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c + sed -i 's|lzma -cd|lzcat|' src/editor/edit.c ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ --prefix=/usr \ --with-gpm-mouse \ --with-screen=ncurses \ @@ -41,7 +43,7 @@ --libexecdir=/usr/lib \ --sysconfdir=/etc \ $CONFIGURE_ARGS && - make -j 1 && + make && make install mkdir -p $install/usr/share/terminfo/s @@ -60,18 +62,15 @@ cp -a $install/usr/share/mc $fs/usr/share cp -a $install/usr/share/terminfo $fs/usr/share - sed -i 's#&) ||#) ||#' \ - $fs/usr/lib/mc/ext.d/*.sh - sed -i 's#|profile|#&receipt|#' \ - $fs/usr/share/mc/syntax/Syntax - sed -i 's/lzma -dc/lzcat/g' \ - $fs/usr/lib/mc/ext.d/archive.sh + sed -i 's#&) ||#) ||#' $fs/usr/lib/mc/ext.d/*.sh + sed -i 's#|profile|#&receipt|#' $fs/usr/share/mc/syntax/Syntax + sed -i 's/lzma -dc/lzcat/g' $fs/usr/lib/mc/ext.d/archive.sh cp -a $stuff/*.desktop $fs/usr/share/applications cat > $fs/usr/bin/mc.sh <