Building mplayer and gmplayer (mplayer gui)

In this entry I am going to go through the steps, which are needed for building the latest mplayer and gmplayer from their source codes. I am also going to show how to easily create .deb packages when using a distribution coming from the  Debian family (Debian,Ubuntu, Linux Mint etc.)  The steps below are done within a terminal client.

If you are using distributions that is not related to Debian family then compiling and installing follows the simple pattern of  ./configure && make && sudo make install

You can pass some options to the configure line, which appear under the section  CONFIGURE_FLAGS = \  (see below for a full example). A  short  example:  ./configure – – enable-gui

If you need any help with the configure line execute ./configure – – help for a full options listing.

Important. There should be no space between – – markings (this is a WordPress related problem, which  shows the markings incorrectly).

Continue reading “Building mplayer and gmplayer (mplayer gui)”

Gentoo use flags

If you are using Gentoo one of the first things you need to do when you are installing (emerging) software is to define the use flags. Use flags are recepies for the system, which tell your Gentoo box how should it build its software. You can of course put all your use flags in /etc/portage/make.conf but the downside of that approach is that you will literally get all the use flags built as global features in every single package you compile with emerge. So, if you want to make a robust Gentoo box and reduce the packages size you will probably find yourself enabling use flags individually for every single package you will install. Continue reading “Gentoo use flags”