Giter Site home page Giter Site logo

cardozogp / kaptain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mviereck/kaptain

0.0 1.0 0.0 2.96 MB

GUI frontend for shell commands. Original source of SourceForge

Home Page: https://sourceforge.net/p/kaptain

License: GNU General Public License v2.0

Dockerfile 0.60% Makefile 8.55% C++ 61.64% QMake 0.48% C 28.74%

kaptain's Introduction

kaptain: GUI frontend for shell commands

A fork from http://kaptain.sourceforge.net/. Honours go to author Zsolt Térek.

Kaptain is a universal graphical front-end for command line programs. It works on linux/UNIX platforms whereever Qt is available. Release 0.73 is using qmake and is compatible with Qt 4.

Someone writes a simple script (so called grammar) which describes the possible arguments for a command line program and Kaptain brings up a friendly dialog to the user to set up the command line.

Dokumentation of kaptain

This little repo:

  • stores a copy of the source code
  • provides some binary packages for installation
  • provides instructions for compilation
  • provides a dockerfile for kaptain in a docker image

Packages

Currently, this repository provides 64-bit packages only.

debian

kaptain is available in repositories for debian jessie: https://packages.debian.org/jessie/kaptain. The provided packages can be installed on debian stretch, too. The package provided here is a copy from debian repository.

Ubuntu, Mint and other forks of Ubuntu

kaptain is available in repositories of Ubuntu 14.04: http://packages.ubuntu.com/trusty/kaptain. The provided packages can be installed on Ubuntu 16.04, too. The package provided here is a copy from Ubuntu repository.

Most likely, the Ubuntu package of kaptain will work on other Ubuntu-based distributions like Linux Mint, too.

fedora

This repository provides an rpm package for fedora. Compiled and packaged on fedora 25 with rpmbuild specification kaptain-0.73.spec.

CentOS, RHEL

This repository provides an rpm package for CentOS. Compiled and packaged on CentOS 7 with rpmbuild specification kaptain-0.73.spec.

As directly related, the rpm package provided for CentOS will most probably work on RHEL, too. Though, this is not tested yet.

openSUSE

This repository provides an rpm package for openSUSE. Compiled and packaged on openSUSE 42.3 LEAP with rpmbuild specification kaptain-0.73.spec.

Dockerfile and docker image

The provided Dockerfile for kaptain is used for an automated built of x11docker/kaptain on docker hub. Example use: x11docker --stdout --silent --hostdisplay --gpu --sharedir YOURKAPTNFILE -- x11docker/kaptain YOURKAPTNFILE

Compiling from source

Arch Linux, Manjaro

pacman -S qt4 bison flex
qmake-qt4 kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1

debian

apt-get install libqt4-dev bison flex
export QT_SELECT=qt4
qmake kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1

Ubuntu

apt-get install libqt4-dev g++ bison flex
export QT_SELECT=qt4
qmake kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1

fedora

dnf install qt-devel bison flex
qmake-qt4 kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1

CentOS

yum install qt-devel bison flex
qmake-qt4 kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1

openSUSE

zypper install libqt4-devel bison flex
export QT_SELECT=qt4
qmake kaptain.pro
make
make install
mv /usr/local/bin/kaptain /usr/bin
mv /usr/local/share/doc/kaptain /usr/share/doc
mv /usr/local/share/kaptain /usr/share/kaptain
mv /usr/local/share/man/man1/kaptain.1 /usr/share/man/man1

removing self-compiled kaptain

rm /usr/bin/kaptain
rm -R /usr/share/doc/kaptain
rm -R /usr/share/kaptain
rm /usr/share/man/man1/kaptain.1

Porting to QT5

Unfortunately, kaptain is no longer maintained. As it is based on QT4 and not ported to QT5, it already disappears from official repositories. It is a quite useful tool and I am not aware of another one that is able to provide its features. Personally, I am using it as a frontend for x11docker.

Is anyone out there who would like to port kaptain to QT5? :-)

kaptain's People

Contributors

cardozogp avatar hlovdal avatar mviereck avatar

Watchers

 avatar

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.