Coder Social home page Coder Social logo

build-mc's Introduction

Builds optimized version of Midnight Commander including patches into custom location on Debian flavoured systems.

Supports:

  • multiple release versions
  • git version (by specifying branch or commit)
  • building per user or system wide

First, you need to install a few required packages โ€” and no, this is not optional in any way. They require about 280 MB disk space. These steps must be performed by the root user (i.e. in a root shell, or by writing sudo before the actual command):

apt-get update
apt-get install sudo coreutils binutils build-essential git time \
    autopoint autoconf automake libtool pkg-config unzip curl locales \
    e2fslibs-dev gettext libaspell-dev libglib2.0-dev libgpm-dev \
    libslang2-dev libssh2-1-dev libx11-dev
mkdir -p ~/src/; cd ~/src/
git clone https://github.com/chros73/build-mc.git
cd build-mc

You can compile it for a regular user:

time nice -n 19 ./build.sh mc

or system wide (needs root shell, or by writing sudo before the actual command):

time nice -n 19 ./build.sh install

You can compile the specified git version by adding a git second argument to the above commands.

If you want to turn off optimization for some reason (e.g. moving the build to a different box) it can be done by adding optimize_build=no in front of the above commands, e.g.:

optimize_build=no time nice -n 19 ./build.sh mc git

See CHANGELOG.md for more details.

build-mc's People

Contributors

chros73 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

build-mc's Issues

Modify sample config ini file

Modify sample config ini file in contrib dir:

  • disable auto_save_setup
  • disable content case sensitive option at search window
  • add learn keys entries for SHIFT+F3 - SHIFT+F12 for tmux-256color terminal

Upgrade to official 4.8.21 release

Upgrade to official 4.8.21 release:

  • modify build script:
    • change official release version number
    • change git commit versions to also point to latest releases
    • add new package hash
  • deal with potential broken patches
  • bump version number to 1.0.2-4.8.21 and update change log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.