mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-28 14:55:50 +01:00
Added ebuilds for tmux 1.5 and patched mc (baudrate problems with urxvt and ncurses)
This commit is contained in:
3
app-misc/mc/Manifest
Normal file
3
app-misc/mc/Manifest
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
AUX baudrate.patch 497 RMD160 57c1bd9bd81fcf40b567a6f315fb3835d8491ab2 SHA1 1ad211f2f2d77dc60c1e9be556dca77ec7190602 SHA256 c1aab90b413a7458c04cf4f8b9c9974135d7c9989321b46267eba855c632cfb6
|
||||||
|
DIST mc-4.7.5.3.tar.lzma 1965523 RMD160 a0fae65f5fbe0e80cd663c10e2f41065e3863750 SHA1 e1211180704831a3c78f7ec1f46073765924a061 SHA256 5675824d0662144a929215ddda3f627c7b58a91c48759285f63a6bbf6ed55957
|
||||||
|
EBUILD mc-4.7.5.3-r10.ebuild 2004 RMD160 40e13303545d3f69ab9e4961a79527ed854c2f5f SHA1 a400fe16fb6977f064e2886c0b9b4143a52cc877 SHA256 59370c40eeed1d9460bacd3938454e57fb088096041021f6bf014ec018f1e3a7
|
||||||
12
app-misc/mc/files/baudrate.patch
Normal file
12
app-misc/mc/files/baudrate.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -ur mc-4.7.5.3_orig/src/filemanager/midnight.c mc-4.7.5.3/src/filemanager/midnight.c
|
||||||
|
--- mc-4.7.5.3_orig/src/filemanager/midnight.c 2011-07-26 14:55:53.000000000 +0200
|
||||||
|
+++ mc-4.7.5.3/src/filemanager/midnight.c 2011-08-02 20:58:08.000000000 +0200
|
||||||
|
@@ -797,7 +797,7 @@
|
||||||
|
|
||||||
|
tty_setup_sigwinch (sigwinch_handler);
|
||||||
|
|
||||||
|
- if ((tty_baudrate () < 9600) || tty_is_slow ())
|
||||||
|
+ if ((tty_baudrate() > 0 && tty_baudrate() < 9600) || tty_is_slow())
|
||||||
|
verbose = 0;
|
||||||
|
|
||||||
|
init_xterm_support ();
|
||||||
77
app-misc/mc/mc-4.7.5.3-r10.ebuild
Normal file
77
app-misc/mc/mc-4.7.5.3-r10.ebuild
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.5.3.ebuild,v 1.1 2011/07/30 17:01:51 slyfox Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils base
|
||||||
|
|
||||||
|
MY_P=${P/_/-}
|
||||||
|
|
||||||
|
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||||
|
HOMEPAGE="http://www.midnight-commander.org"
|
||||||
|
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.lzma"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||||
|
IUSE="+edit gpm +ncurses nls samba slang X"
|
||||||
|
|
||||||
|
REQUIRED_USE="^^ ( ncurses slang )"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.8:2
|
||||||
|
gpm? ( sys-libs/gpm )
|
||||||
|
kernel_linux? ( sys-fs/e2fsprogs )
|
||||||
|
ncurses? ( sys-libs/ncurses )
|
||||||
|
samba? ( net-fs/samba )
|
||||||
|
slang? ( >=sys-libs/slang-2 )
|
||||||
|
X? ( x11-libs/libX11
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libXau
|
||||||
|
x11-libs/libXdmcp
|
||||||
|
x11-libs/libSM )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
dev-util/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}/baudrate.patch"
|
||||||
|
}
|
||||||
|
src_configure() {
|
||||||
|
local myscreen=ncurses
|
||||||
|
use slang && myscreen=slang
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
$(use_enable nls) \
|
||||||
|
--enable-vfs \
|
||||||
|
$(use_enable kernel_linux vfs-undelfs) \
|
||||||
|
--enable-charset \
|
||||||
|
$(use_with X x) \
|
||||||
|
$(use_enable samba vfs-smb) \
|
||||||
|
$(use_with gpm gpm-mouse) \
|
||||||
|
--with-screen=${myscreen} \
|
||||||
|
$(use_with edit)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die
|
||||||
|
dodoc AUTHORS README
|
||||||
|
|
||||||
|
# fix bug #334383
|
||||||
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
fowners root:tty /usr/libexec/mc/cons.saver ||
|
||||||
|
die "setting cons.saver's owner failed"
|
||||||
|
fperms g+s /usr/libexec/mc/cons.saver ||
|
||||||
|
die "setting cons.saver's permissions failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "To enable exiting to latest working directory,"
|
||||||
|
elog "put this into your ~/.bashrc:"
|
||||||
|
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||||
|
}
|
||||||
2
app-misc/tmux/Manifest
Normal file
2
app-misc/tmux/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST tmux-1.5.tar.gz 374093 RMD160 08eec02bcbd91b3c37a36a05167f3758e7911973 SHA1 e26132f02f344f8d6d06ae87d11f6a7aad880f67 SHA256 eb8215b57c05b765d2446d9acb2bc5edcdb3eb4ea31af89ee127a27e90056306
|
||||||
|
EBUILD tmux-1.5.ebuild 2087 RMD160 8ff2ec0ea195814668094aaeccefe0b284fc8ef8 SHA1 1e19b91628eba0ed5f0852c41d49ed271ad17d92 SHA256 b2df6e2b2f3984d59e2a711faafda36f12e39bfdbe5732c1795d860721000f77
|
||||||
69
app-misc/tmux/tmux-1.5.ebuild
Normal file
69
app-misc/tmux/tmux-1.5.ebuild
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.4.ebuild,v 1.7 2011/07/02 20:15:33 nixnut Exp $
|
||||||
|
|
||||||
|
EAPI=3
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Terminal multiplexer"
|
||||||
|
HOMEPAGE="http://tmux.sourceforge.net"
|
||||||
|
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
IUSE="vim-syntax"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
|| ( >=dev-libs/libevent-2.0.10 <dev-libs/libevent-2 )
|
||||||
|
sys-libs/ncurses"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
vim-syntax? ( || (
|
||||||
|
app-editors/vim
|
||||||
|
app-editors/gvim ) )"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if has_version "<app-misc/tmux-1.3"; then
|
||||||
|
echo
|
||||||
|
ewarn "Commands 'up-pane', 'down-pane' and 'select-prompt' were removed in version 1.3."
|
||||||
|
ewarn "You may want to update your configuration file accordingly to avoid errors on"
|
||||||
|
ewarn "tmux startup."
|
||||||
|
ewarn
|
||||||
|
ewarn "For the full Changelog, together with details on what replaced the above"
|
||||||
|
ewarn "commands, visit http://tmux.cvs.sourceforge.net/viewvc/tmux/tmux/CHANGES."
|
||||||
|
ewarn
|
||||||
|
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||||
|
ewarn "running 1.2 tmux server instances. You'll have to use an existing client to"
|
||||||
|
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||||
|
ewarn "to temporarily downgrade to tmux 1.2 to access them."
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# The configure script isn't created by GNU autotools.
|
||||||
|
./configure || die "configure failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)" || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin tmux || die "dobin failed"
|
||||||
|
|
||||||
|
dodoc CHANGES FAQ NOTES TODO || die "dodoc failed"
|
||||||
|
docinto examples
|
||||||
|
dodoc examples/*.conf || die "dodoc examples failed"
|
||||||
|
|
||||||
|
doman tmux.1 || die "doman failed"
|
||||||
|
|
||||||
|
if use vim-syntax; then
|
||||||
|
insinto /usr/share/vim/vimfiles/syntax
|
||||||
|
doins examples/tmux.vim || die "doins syntax failed"
|
||||||
|
|
||||||
|
insinto /usr/share/vim/vimfiles/ftdetect
|
||||||
|
doins "${FILESDIR}"/tmux.vim || die "doins ftdetect failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user