summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hahler2017-05-07 02:51:53 +0200
committerDaniel Hahler2017-05-07 02:51:53 +0200
commitbc6191bb60f7ca3a400ddbac3d24967b0537fbb3 (patch)
tree4892571fb2482578607af22126c967f6b3914e5b
parent4a7554aaf9f2e731a50c6f739291f1729eaa86d8 (diff)
downloadaur-bc6191bb60f7ca3a400ddbac3d24967b0537fbb3.tar.gz
Update sgr-mouse-mode.patch for CVS
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--sgr-mouse-mode.patch5
3 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a296503ab3..76776f89eb9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rxvt-unicode-cvs-patched-wideglyphs
pkgdesc = Unicode enabled rxvt-clone terminal emulator (urxvt) with fixed font spacing and wide glyphs patch (cvs version)
pkgver = 20170412
- pkgrel = 2
+ pkgrel = 3
url = http://software.schmorp.de/pkg/rxvt-unicode.html
arch = i686
arch = x86_64
@@ -19,14 +19,14 @@ pkgbase = rxvt-unicode-cvs-patched-wideglyphs
source = urxvt-tabbed.desktop
source = font-width-fix.patch
source = line-spacing-fix.patch
- source = https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e75c2ae1ec5c0db68a29f8a6821e9e3d87a5/sgr-mouse-mode.patch
+ source = sgr-mouse-mode.patch
source = enable-wide-glyphs.patch
sha1sums = b5a4507f85ebb7bac589db2e07d9bc40106720d9
sha1sums = 62c4ffecfce6967def394dd4d418b68652372ea2
sha1sums = cd204d608d114d39c80331efe0af0231ad6b7e18
sha1sums = 01ee8f212add79a158dcd4ed78d0ea1324bdc59b
sha1sums = b7fde1c46af45e831828738874f14b092b1e795f
- sha1sums = a1937c4f84bcdddb125ad397b6cd90a87b34cd01
+ sha1sums = f478acf3662aab3f5b1703a4a29bcfe055dbdd66
sha1sums = b2f3dd43851106dfadead7566d7d0e1339281e43
pkgname = rxvt-unicode-cvs-patched-wideglyphs
diff --git a/PKGBUILD b/PKGBUILD
index 15c832c1f96..c62b7b58db4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
_pkgname=rxvt-unicode
pkgname=rxvt-unicode-cvs-patched-wideglyphs
pkgver=20170412
-pkgrel=2
+pkgrel=3
pkgdesc='Unicode enabled rxvt-clone terminal emulator (urxvt) with fixed font spacing and wide glyphs patch (cvs version)'
arch=('i686' 'x86_64')
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
@@ -31,7 +31,7 @@ sha1sums=('b5a4507f85ebb7bac589db2e07d9bc40106720d9'
'cd204d608d114d39c80331efe0af0231ad6b7e18'
'01ee8f212add79a158dcd4ed78d0ea1324bdc59b'
'b7fde1c46af45e831828738874f14b092b1e795f'
- '2452b1e80df60747fc0c176157b2da64ddf337ec'
+ 'f478acf3662aab3f5b1703a4a29bcfe055dbdd66'
'b2f3dd43851106dfadead7566d7d0e1339281e43')
prepare() {
diff --git a/sgr-mouse-mode.patch b/sgr-mouse-mode.patch
index d168ec50f51..c1335dff3d8 100644
--- a/sgr-mouse-mode.patch
+++ b/sgr-mouse-mode.patch
@@ -1,4 +1,5 @@
Source: https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e75c2ae1ec5c0db68a29f8a6821e9e3d87a5/sgr-mouse-mode.patch
+Upated to work with CVS (focus reporting)
--- src/command.C 2014-12-13 13:22:09.000000000 +0100
+++ src/command.C 2016-01-13 04:50:39.161862513 +0100
@@ -1280,6 +1280,8 @@
@@ -68,6 +69,7 @@ Source: https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e
{ 1002, PrivMode_MouseBtnEvent },
{ 1003, PrivMode_MouseAnyEvent },
#if ENABLE_FRILLS
+ { 1004, PrivMode_FocusEvent },
{ 1005, PrivMode_ExtModeMouse },
+ { 1006, PrivMode_ExtMouseSgr },
#endif
@@ -85,7 +87,8 @@ Source: https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e
#define PrivMode_ExtModeMouse (1UL<<23) // xterm pseudo-utf-8 hack
#define PrivMode_ExtMouseRight (1UL<<24) // xterm pseudo-utf-8, but works in non-utf-8-locales
#define PrivMode_BlinkingCursor (1UL<<25)
-+#define PrivMode_ExtMouseSgr (1UL<<26) // sgr mouse extension
+ #define PrivMode_FocusEvent (1UL<<26)
++#define PrivMode_ExtMouseSgr (1UL<<27) // sgr mouse extension
#define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent)