LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2016, 04:06 PM   #16
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619

Midnight commander will use the same font as the terminal emulator. Many modern terminal emulators (e.g., konsole) have built-in support for changing the font size (in konsole, it's under Profile preferences). So, if you run it in one of those terminal emulators, you can change the font size that way.
 
Old 08-23-2016, 07:32 AM   #17
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by bassmadrigal View Post
For another recommendation, if you're just looking for a two panel file manager, I personally use krusader, which has a SlackBuild. It is KDE-based, so it probably relies on KDE libs being installed.
I also use krusader and have been for quite a few years. Best of 'em all IMHO.
 
Old 08-23-2016, 07:55 AM   #18
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
Thanks to all, i think with i will be able to get along with the portable version of DoubleCMD, Krusader and MC.
 
Old 08-23-2016, 09:46 AM   #19
cnv
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Rep: Reputation: Disabled
To build Double Commander we need to have:
fpc
fpc-source
lazarus

doublecmd.SlackBuild
Code:

#!/bin/sh

# Slackware build script for doublecmd

# Copyright 2016
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=doublecmd
VERSION=${VERSION:-0.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_LQ}

SRCVERSION=${SRCVERSION:-0.7.4-src}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i386 ;;
    *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/LQ}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
 -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

# Hurried repair
cat <<EOFA > environmentoptions.xml
<?xml version="1.0"?>
<CONFIG>
  <EnvironmentOptions>
    <LazarusDirectory Value="/usr/share/lazarus"/>
    <CompilerFilename Value="/usr/bin/fpc"/>
  </EnvironmentOptions>
</CONFIG>

EOFA

sed -i 's,$lazbuild,$lazbuild --primary-config-path="..",' components/build.sh
sed -i 's,$lazbuild,$lazbuild --primary-config-path="..",' plugins/build.sh
sed -i 's,$lazbuild,$lazbuild --primary-config-path=".",' build.sh
sed -i 's,usr/share/man,usr/man,' install/linux/install.sh

# Widgetset: gtk2 or qt
./build.sh beta gtk2

install/linux/install.sh --install-prefix=$PKG

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

find $PKG/usr/man -type f -exec gzip -9 {} \;

mkdir -p $PKG/usr/doc
cd $PKG/usr/doc
ln -s ../share/doublecmd/doc $PRGNAM-$VERSION
cd -

mkdir -p $PKG/install

(
cat <<EOFB
         |-----handy-ruler------------------------------------------------------|
doublecmd: doublecmd (Open source file manager)
doublecmd:
doublecmd: Double Commander is a cross platform open source file manager
doublecmd: with two panels side by side. It is inspired by Total Commander
doublecmd: and features some new ideas.
doublecmd:
doublecmd: http://doublecmd.sourceforge.net/
doublecmd:
doublecmd:
doublecmd:
doublecmd:

EOFB
) > $PKG/install/slack-desc

(
cat <<EOFC
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

EOFC
) > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

# End

 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Double Commander: Yet Another Twin-Panel File Manager LXer Syndicated Linux News 0 03-31-2014 06:24 PM
SlackBuild request: dspam Totoro-kun Slackware 0 10-15-2012 10:39 AM
[SOLVED] .SlackBuild request for DoubleCMD Totoro-kun Slackware 12 11-11-2011 02:35 AM
LXer: Double Commander 0.5, Released (Dual Panel File Manager) LXer Syndicated Linux News 0 08-30-2011 04:00 PM
Request for 13.37: Change to slrn slackbuild andrew.46 Slackware 2 03-13-2011 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration