1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-03-13 14:35:49 +01:00

Added nozomi ebuild. Rmoved oboslete ebuilds

This commit is contained in:
root
2010-03-27 10:31:06 +01:00
parent 58e78d874f
commit 1007f22387
84 changed files with 139 additions and 11697 deletions

View File

@@ -1,3 +0,0 @@
AUX tabbed.patch 3643 RMD160 cdf1c08bbbb4c30c78bc2e86544c6563f09ee75e SHA1 e22ab622b5bfb5f0d07d26df978b5a57dea76892 SHA256 42ecb60134529dabc139c0295c404c339fa31e879c800e4854afc45c53dcb8c0
DIST rxvt-unicode-9.06.tar.bz2 869076 RMD160 ae737ed07e943303318bd81b566146d5426f36bd SHA1 df623ebdad001de534781721f8298ba1add0df2c SHA256 8ef9359c01059efd330626c6cd7b082be9bf10587f2b9fe84caa43a84aa576d1
EBUILD rxvt-unicode-9.06-r10.ebuild 2906 RMD160 e8e29401db3396e2ea84f4dd16ab0eb43363bb19 SHA1 810a218c68061ad35be7c2f6826b1154958ec6c9 SHA256 0cf940767105fc8730ba152b2c81c4af837e36a6f2edd647fb727329326e109a

View File

@@ -1,32 +0,0 @@
diff -rupN rxvt-unicode-9.06/src/command.C rxvt-unicode-9.06_mod/src/command.C
--- rxvt-unicode-9.06/src/command.C 2008-11-05 17:21:05.000000000 +0100
+++ rxvt-unicode-9.06_mod/src/command.C 2009-11-22 18:37:06.000000000 +0100
@@ -398,7 +398,7 @@ map_function_key (KeySym keysym)
void
rxvt_term::key_press (XKeyEvent &ev)
{
- int ctrl, meta, shft, len;
+ int ctrl, meta, shft, super, len;
KeySym keysym;
int valid_keysym;
char kbuf[KBUFSZ];
@@ -417,6 +417,8 @@ rxvt_term::key_press (XKeyEvent &ev)
shft = ev.state & ShiftMask;
ctrl = ev.state & ControlMask;
meta = ev.state & ModMetaMask;
+ super = ev.state & Mod4Mask;
+
if (numlock_state || (ev.state & ModNumLockMask))
{
@@ -849,6 +851,10 @@ rxvt_term::key_press (XKeyEvent &ev)
const char ch = C0_ESC;
tt_write (&ch, 1);
}
+ if (super) {
+ char buf[3] = { 0x18, '@', 's' };
+ tt_write (buf, 3);
+ }
tt_write (kbuf, (unsigned int)len);
}

View File

@@ -1,118 +0,0 @@
--- rxvt-unicode-9.06_orig/src/perl/tabbed 2008-06-15 16:52:47.000000000 +0200
+++ rxvt-unicode-9.06/src/perl/tabbed 2008-11-19 07:16:13.000000000 +0100
@@ -1,4 +1,7 @@
#! perl
+# Fri Aug 22 18:01:55 CEST 2008 @709 /Internet Time/
+# added some code to make life easier and friendler with great urxvt and this
+# nice plugin. NOTE: i don't know perl! gryf.
sub refresh {
my ($self) = @_;
@@ -12,7 +15,7 @@
substr $text, 0, 7, "[NEW] |";
@$rend[0 .. 5] = ($self->{rs_tab}) x 6;
- push @ofs, [0, 6, sub { $_[0]->new_tab }];
+ push @ofs, [0, 6, sub { $_[0]->new_tab("shell") }];
my $ofs = 7;
my $idx = 0;
@@ -23,7 +26,7 @@
my $act = $tab->{activity} && $tab != $self->{cur}
? "*" : " ";
- my $txt = "$act$idx$act";
+ my $txt = "$act$idx-$tab->{name}$act";
my $len = length $txt;
substr $text, $ofs, $len + 1, "$txt|";
@@ -47,7 +50,8 @@
my ($self, @argv) = @_;
my $offset = $self->fheight;
-
+ my $tab_name = shift @argv;
+
# save a backlink to us, make sure tabbed is inactive
push @urxvt::TERM_INIT, sub {
my ($term) = @_;
@@ -64,12 +68,15 @@
};
push @urxvt::TERM_EXT, urxvt::ext::tabbed::tab::;
-
+
my $term = new urxvt::term
$self->env, $urxvt::RXVTNAME,
-embed => $self->parent,
@argv,
;
+
+ # add name to new created tab. gryf
+ $self->{tabs}[-1]->{name} = $tab_name;
}
sub configure {
@@ -248,7 +255,7 @@
shift @argv;
} while @argv && $argv[0] ne "-e";
- $self->new_tab (@argv);
+ $self->new_tab ("shell", @argv);
()
}
@@ -307,7 +314,41 @@
my ($self, $tab, $event, $keysym, $str) = @_;
if ($event->{state} & urxvt::ShiftMask) {
- if ($keysym == 0xff51 || $keysym == 0xff53) {
+ # change default shift+downarrow behavior with some more
+ # sofisticated :) gryf
+ if ($event->{state} & urxvt::ControlMask) {
+ if ($keysym == 0x4e){ # CTRL+SHIFT+N new shell
+ $self->new_tab("shell");
+ return 1;
+ }elsif ($keysym == 0x4d){ # CTRL+SHIFT+M new mc
+ $self->new_tab("mc", '-e', 'mc');
+ return 1;
+ }elsif ($keysym == 0x52){ # CTRL+SHIFT+R su -
+ $self->new_tab("root", '-e', 'su', '-');
+ return 1;
+ }elsif ($keysym == 0x54){ # CTRL+SHIFT+T htop
+ $self->new_tab("htop", '-e', 'htop');
+ return 1;
+ }elsif ($keysym == 0x59){ # CTRL+SHIFT+Y ssh bombadil
+ $self->new_tab("bombadil", '-e', 'ssh', '-p', '6622', 'bombadil');
+ return 1;
+ }elsif ($keysym == 0x47){ # CTRL+SHIFT+G ssh esm
+ $self->new_tab("elysium", '-e', 'ssh', 'home.elysium.pl');
+ return 1;
+ }elsif ($keysym == 0x4a){ # CTRL+SHIFT+J ssh benq
+ $self->new_tab("benq", '-e', 'ssh', 'benqwifi');
+ return 1;
+# }elsif ($keysym == 0x53){ # CTRL+SHIFT+S ssh mslug
+# $self->new_tab("mslug", '-e', 'ssh', 'mslug');
+# return 1;
+ }elsif ($keysym == 0x53){ # CTRL+SHIFT+S ssh mslug
+ $self->new_tab("intruder", '-e', 'ssh', 'intruder');
+ return 1;
+ }elsif ($keysym == 0x49){ # CTRL+SHIFT+I irssi on freenode
+ $self->new_tab("irssi", '-e', 'irssi', '--config=~/.irssi/config_freenode');
+ return 1;
+ }
+ }elsif ($keysym == 0xff51 || $keysym == 0xff53) {
my ($idx) = grep $self->{tabs}[$_] == $tab, 0 .. $#{ $self->{tabs} };
--$idx if $keysym == 0xff51;
@@ -316,10 +357,6 @@
$self->make_current ($self->{tabs}[$idx % @{ $self->{tabs}}]);
return 1;
- } elsif ($keysym == 0xff54) {
- $self->new_tab;
-
- return 1;
}
}
elsif ($event->{state} & urxvt::ControlMask) {

View File

@@ -1,104 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06.ebuild,v 1.1 2008/12/21 20:44:23 killerfox Exp $
inherit autotools flag-o-matic
DESCRIPTION="rxvt clone with xft and unicode support"
HOMEPAGE="http://software.schmorp.de/"
SRC_URI="http://dist.schmorp.de/rxvt-unicode/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="truetype perl iso14755 afterimage xterm-color wcwidth vanilla"
# see bug #115992 for modular x deps
RDEPEND="x11-libs/libX11
x11-libs/libXft
afterimage? ( media-libs/libafterimage )
x11-libs/libXrender
perl? ( dev-lang/perl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
x11-proto/xproto"
src_unpack() {
unpack ${A}
cd "${S}"
# provide some nice features into tabbed plugin, like named tabs, custom
# shortcuts and other commands beside plain shell
epatch "${FILESDIR}"/tabbed.patch
if (use xterm-color || use wcwidth); then
ewarn "You enabled xterm-color or wcwidth or both."
ewarn "Please note that neither of them are supported by upstream."
ewarn "You are at your own if you run into problems."
ebeep 5
fi
local tdir=/usr/share/terminfo
if use xterm-color; then
epatch doc/urxvt-8.2-256color.patch
sed -e \
's/^\(rxvt-unicode\)/\1256/;s/colors#88/colors#256/;s/pairs#256/pairs#32767/' \
doc/etc/rxvt-unicode.terminfo > doc/etc/rxvt-unicode256.terminfo
sed -i -e \
"s~^\(\s\+@TIC@.*\)~\1\n\t@TIC@ -o ${D}/${tdir} \$(srcdir)/etc/rxvt-unicode256.terminfo~" \
doc/Makefile.in
fi
use wcwidth && epatch doc/wcwidth.patch
# ncurses will provide rxvt-unicode terminfo, so we don't install them again
# see bug #192083
#
# According to my tests this is not (yet?) true, so keep it prepared and
# disabled until it's needed again.
#if has_version '<sys-libs/ncurses-5.7'; then
sed -i -e \
"s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o ${D}/${tdir} \1~" \
doc/Makefile.in
#else
# # Remove everything except if we have rxvt-unicode256
# sed -i -e \
# '/rxvt-unicode256/p;/@TIC@/d' \
# doc/Makefile.in
#fi
eautoreconf
}
src_compile() {
local myconf=''
use iso14755 || myconf='--disable-iso14755'
use xterm-color && myconf="$myconf --enable-xterm-colors=256"
econf --enable-everything \
$(use_enable truetype xft) \
$(use_enable afterimage) \
$(use_enable perl) \
--disable-text-blink \
${myconf}
emake || die
sed -i \
-e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
"${S}"/doc/rxvt-tabbed || die "tabs sed failed"
}
src_install() {
make DESTDIR="${D}" install || die
dodoc README.FAQ Changes
cd "${S}"/doc
dodoc README* changes.txt etc/* rxvt-tabbed
}
pkg_postinst() {
einfo "urxvt now always uses TERM=rxvt-unicode so that the"
einfo "upstream-supplied terminfo files can be used."
}