diff --git a/rxvt-unicode-scroll-modupdown.patch b/rxvt-unicode-scroll-modupdown.patch index 610c28a..6688f6f 100644 --- a/rxvt-unicode-scroll-modupdown.patch +++ b/rxvt-unicode-scroll-modupdown.patch @@ -1,17 +1,6 @@ diff -up rxvt-unicode-9.09/src/feature.h.scroll-modupdown rxvt-unicode-9.09/src/feature.h --- rxvt-unicode-9.09/src/feature.h.scroll-modupdown 2009-05-30 10:48:11.000000000 +0200 +++ rxvt-unicode-9.09/src/feature.h 2010-11-18 10:03:55.000000000 +0100 -@@ -122,8 +122,8 @@ - * Modifier/s to use to allow up/down arrows and Prior/Next keys - * to scroll single or page-fulls - */ --#define SCROLL_ON_SHIFT --/* #define SCROLL_ON_CTRL */ -+/* #define SCROLL_ON_SHIFT */ -+#define SCROLL_ON_CTRL - /* #define SCROLL_ON_META */ - - /* @@ -132,8 +132,8 @@ * SCROLL_ON_* defines above.). * Also for modifier+Home/End keys to move to top/bottom diff --git a/rxvt-unicode-tabbed-newterm.patch b/rxvt-unicode-tabbed-newterm.patch new file mode 100644 index 0000000..9c8fa7a --- /dev/null +++ b/rxvt-unicode-tabbed-newterm.patch @@ -0,0 +1,14 @@ +diff -up rxvt-unicode-9.10/src/perl/tabbed.orig rxvt-unicode-9.10/src/perl/tabbed +--- rxvt-unicode-9.10/src/perl/tabbed.orig 2011-02-08 17:52:33.000000000 +0200 ++++ rxvt-unicode-9.10/src/perl/tabbed 2011-02-08 17:53:34.000000000 +0200 +@@ -333,6 +333,10 @@ sub tab_key_press { + $self->make_current ($self->{tabs}[$idx2]); + + return 1; ++ } elsif ($keysym == 0x74) { ++ $self->new_tab; ++ ++ return 1; + } + } + diff --git a/rxvt-unicode.spec b/rxvt-unicode.spec index 6be8597..88a8a51 100644 --- a/rxvt-unicode.spec +++ b/rxvt-unicode.spec @@ -1,6 +1,6 @@ Name: rxvt-unicode Version: 9.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Unicode version of rxvt Group: User Interface/X @@ -12,6 +12,7 @@ Source2: rxvt-unicode-ml.desktop Source3: rxvt-unicode-256color.desktop Source4: rxvt-unicode-256color-ml.desktop Patch0: rxvt-unicode-scroll-modupdown.patch +Patch1: rxvt-unicode-tabbed-newterm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fontconfig-devel @@ -27,6 +28,9 @@ BuildRequires: xorg-x11-proto-devel BuildRequires: perl-devel, perl(ExtUtils::Embed) BuildRequires: libAfterImage-devel BuildRequires: gdk-pixbuf2-devel +%if 0%{?fedora} >= 15 +BuildRequires: libev-source +%endif Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: ncurses-base @@ -64,12 +68,27 @@ Version of rxvt-unicode with 256color and enhanced multi-language support. %setup -q -c %{name}-%{version} pushd %{name}-%{version} %patch0 -p1 -b .scroll-modupdown +%patch1 -p1 -b .tabbed-newterm popd cp -r %{name}-%{version} %{name}-%{version}-ml cp -r %{name}-%{version} %{name}-%{version}-256color cp -r %{name}-%{version} %{name}-%{version}-256color-ml +%if 0%{?fedora} >= 15 +rm -rf %{name}-%{version}/libev +ln -s %{_datadir}/libev-source %{name}-%{version}/libev + +rm -rf %{name}-%{version}-ml/libev +ln -s %{_datadir}/libev-source %{name}-%{version}-ml/libev + +rm -rf %{name}-%{version}-256color/libev +ln -s %{_datadir}/libev-source %{name}-%{version}-256color/libev + +rm -rf %{name}-%{version}-256color-ml/libev +ln -s %{_datadir}/libev-source %{name}-%{version}-256color-ml/libev +%endif + %build # standard version pushd %{name}-%{version} @@ -312,6 +331,12 @@ rm -rf %{buildroot} %{_datadir}/applications/*rxvt-unicode-256color-ml.desktop %changelog +* Tue Feb 08 2011 Andreas Bierfert +- 9.10-2 +- switch back to shift scroll (#667980) +- open new tab on Ctrl+t +- build with libev-source on f15+ (#672396) + * Sun Dec 19 2010 Andreas Bierfert - 9.10-1 - version upgrade