aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-02-11 18:31:23 +0000
committerSteve Wills <swills@FreeBSD.org>2019-02-11 18:31:23 +0000
commita0974b84ac000a4320501c7ae3dfdb2cfbfadcfe (patch)
treee2d38199730a0ac501b315fcb9e3bf05895fab5e
parentb7af5e6407db17e73c48c88a25c00f1808855521 (diff)
downloadports-a0974b84ac000a4320501c7ae3dfdb2cfbfadcfe.tar.gz
ports-a0974b84ac000a4320501c7ae3dfdb2cfbfadcfe.zip
x11/sterm: update to 0.8.2
PR: 235667 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
Notes
Notes: svn path=/head/; revision=492707
-rw-r--r--x11/sterm/Makefile2
-rw-r--r--x11/sterm/distinfo6
-rw-r--r--x11/sterm/files/extra-scrollback-patch-config.def.h8
-rw-r--r--x11/sterm/files/extra-solarized-patch-config.def.h12
-rw-r--r--x11/sterm/files/extra-solarized-patch-x.c42
5 files changed, 34 insertions, 36 deletions
diff --git a/x11/sterm/Makefile b/x11/sterm/Makefile
index 1e58e15e896e..5cc077068f34 100644
--- a/x11/sterm/Makefile
+++ b/x11/sterm/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sterm
-DISTVERSION= 0.8.1
+DISTVERSION= 0.8.2
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/st/
DISTNAME= st-${PORTVERSION}
diff --git a/x11/sterm/distinfo b/x11/sterm/distinfo
index 698033a6f257..560c1dee4aec 100644
--- a/x11/sterm/distinfo
+++ b/x11/sterm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521664450
-SHA256 (st-0.8.1.tar.gz) = c4fb0fe2b8d2d3bd5e72763e80a8ae05b7d44dbac8f8e3bb18ef0161c7266926
-SIZE (st-0.8.1.tar.gz) = 45423
+TIMESTAMP = 1549877374
+SHA256 (st-0.8.2.tar.gz) = aeb74e10aa11ed364e1bcc635a81a523119093e63befd2f231f8b0705b15bf35
+SIZE (st-0.8.2.tar.gz) = 44788
diff --git a/x11/sterm/files/extra-scrollback-patch-config.def.h b/x11/sterm/files/extra-scrollback-patch-config.def.h
index 60a6af588904..3eb83f992160 100644
--- a/x11/sterm/files/extra-scrollback-patch-config.def.h
+++ b/x11/sterm/files/extra-scrollback-patch-config.def.h
@@ -1,9 +1,9 @@
---- config.def.h.orig 2018-06-18 05:54:16 UTC
-+++ config.def.h
-@@ -178,6 +178,8 @@ static Shortcut shortcuts[] = {
+--- config.def.h.orig 2019-02-09 12:50:41.000000000 +0100
++++ config.def.h 2019-02-11 14:03:37.626887000 +0100
+@@ -178,6 +178,8 @@
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
+ { ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { TERMMOD, XK_I, iso14755, {.i = 0} },
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
diff --git a/x11/sterm/files/extra-solarized-patch-config.def.h b/x11/sterm/files/extra-solarized-patch-config.def.h
index 7b57ce2fa65f..7ec1b139a27e 100644
--- a/x11/sterm/files/extra-solarized-patch-config.def.h
+++ b/x11/sterm/files/extra-solarized-patch-config.def.h
@@ -1,6 +1,6 @@
---- config.def.h.orig 2018-03-20 20:29:59 UTC
-+++ config.def.h
-@@ -84,31 +84,44 @@ unsigned int tabspaces = 8;
+--- config.def.h.orig 2019-02-09 12:50:41.000000000 +0100
++++ config.def.h 2019-02-11 13:45:28.209172000 +0100
+@@ -84,31 +84,44 @@
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
@@ -70,7 +70,7 @@
};
-@@ -116,10 +129,10 @@ static const char *colorname[] = {
+@@ -116,10 +129,10 @@
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
@@ -85,10 +85,10 @@
/*
* Default shape of cursor
-@@ -178,6 +191,7 @@ static Shortcut shortcuts[] = {
+@@ -178,6 +191,7 @@
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
+ { ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { TERMMOD, XK_I, iso14755, {.i = 0} },
+ { XK_ANY_MOD, XK_F6, swapcolors, {.i = 0} },
};
diff --git a/x11/sterm/files/extra-solarized-patch-x.c b/x11/sterm/files/extra-solarized-patch-x.c
index 17e9e8777093..29dbcc10f9bb 100644
--- a/x11/sterm/files/extra-solarized-patch-x.c
+++ b/x11/sterm/files/extra-solarized-patch-x.c
@@ -1,6 +1,6 @@
---- x.c.orig 2018-03-20 20:29:59 UTC
-+++ x.c
-@@ -53,6 +53,7 @@ static void clipcopy(const Arg *);
+--- x.c.orig 2019-02-09 12:50:41.000000000 +0100
++++ x.c 2019-02-11 14:02:22.026884000 +0100
+@@ -53,6 +53,7 @@
static void clippaste(const Arg *);
static void numlock(const Arg *);
static void selpaste(const Arg *);
@@ -8,7 +8,7 @@
static void zoom(const Arg *);
static void zoomabs(const Arg *);
static void zoomreset(const Arg *);
-@@ -240,6 +241,8 @@ static char *opt_title = NULL;
+@@ -240,6 +241,8 @@
static int oldbutton = 3; /* button event on startup: 3 = release */
@@ -17,7 +17,7 @@
void
clipcopy(const Arg *dummy)
{
-@@ -279,6 +282,14 @@ numlock(const Arg *dummy)
+@@ -279,6 +282,14 @@
}
void
@@ -32,7 +32,7 @@
zoom(const Arg *arg)
{
Arg larg;
-@@ -700,6 +711,11 @@ sixd_to_16bit(int x)
+@@ -702,6 +713,11 @@
return x == 0 ? 0 : 0x3737 + 0x2828 * x;
}
@@ -44,7 +44,7 @@
int
xloadcolor(int i, const char *name, Color *ncolor)
{
-@@ -718,7 +734,7 @@ xloadcolor(int i, const char *name, Colo
+@@ -720,7 +736,7 @@
return XftColorAllocValue(xw.dpy, xw.vis,
xw.cmap, &color, ncolor);
} else
@@ -53,27 +53,25 @@
}
return XftColorAllocName(xw.dpy, xw.vis, xw.cmap, name, ncolor);
-@@ -731,7 +747,7 @@ xloadcols(void)
- static int loaded;
- Color *cp;
-
-- dc.collen = MAX(LEN(colorname), 256);
-+ dc.collen = MAX(LEN(colorname), LEN(altcolorname));
- dc.col = xmalloc(dc.collen * sizeof(Color));
-
- if (loaded) {
-@@ -741,8 +757,8 @@ xloadcols(void)
+@@ -737,14 +753,14 @@
+ for (cp = dc.col; cp < &dc.col[dc.collen]; ++cp)
+ XftColorFree(xw.dpy, xw.vis, xw.cmap, cp);
+ } else {
+- dc.collen = MAX(LEN(colorname), 256);
++ dc.collen = MAX(LEN(colorname), LEN(altcolorname));
+ dc.col = xmalloc(dc.collen * sizeof(Color));
+ }
for (i = 0; i < dc.collen; i++)
if (!xloadcolor(i, NULL, &dc.col[i])) {
- if (colorname[i])
-- die("Could not allocate color '%s'\n", colorname[i]);
+- die("could not allocate color '%s'\n", colorname[i]);
+ if (getcolorname(i))
-+ die("Could not allocate color '%s'\n", getcolorname(i));
++ die("could not allocate color '%s'\n", getcolorname(i));
else
- die("Could not allocate color %d\n", i);
+ die("could not allocate color %d\n", i);
}
-@@ -1079,13 +1095,13 @@ xinit(int cols, int rows)
+@@ -1082,13 +1098,13 @@
cursor = XCreateFontCursor(xw.dpy, mouseshape);
XDefineCursor(xw.dpy, xw.win, cursor);
@@ -89,7 +87,7 @@
xmousebg.red = 0x0000;
xmousebg.green = 0x0000;
xmousebg.blue = 0x0000;
-@@ -1295,7 +1311,7 @@ xdrawglyphfontspecs(const XftGlyphFontSp
+@@ -1298,7 +1314,7 @@
/* Change basic system colors [0-7] to bright system colors [8-15] */
if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7))