From owner-svn-ports-head@freebsd.org Tue Oct 23 09:21:20 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AF6E10723A5; Tue, 23 Oct 2018 09:21:20 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EABA721B5; Tue, 23 Oct 2018 09:21:20 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D6405EA0; Tue, 23 Oct 2018 09:21:20 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9N9LJfC094446; Tue, 23 Oct 2018 09:21:19 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9N9LJZ0094444; Tue, 23 Oct 2018 09:21:19 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201810230921.w9N9LJZ0094444@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Tue, 23 Oct 2018 09:21:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482821 - in head/x11/thinglaunch: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/x11/thinglaunch: . files X-SVN-Commit-Revision: 482821 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 09:21:20 -0000 Author: ehaupt Date: Tue Oct 23 09:21:19 2018 New Revision: 482821 URL: https://svnweb.freebsd.org/changeset/ports/482821 Log: - Specify LICENSE - Normalize patch Modified: head/x11/thinglaunch/Makefile head/x11/thinglaunch/files/patch-thinglaunch.c Modified: head/x11/thinglaunch/Makefile ============================================================================== --- head/x11/thinglaunch/Makefile Tue Oct 23 09:18:47 2018 (r482820) +++ head/x11/thinglaunch/Makefile Tue Oct 23 09:21:19 2018 (r482821) @@ -3,12 +3,14 @@ PORTNAME= thinglaunch PORTVERSION= 1.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Very fast launcher program for X + +LICENSE= MIT USE_XORG= x11 xorgproto Modified: head/x11/thinglaunch/files/patch-thinglaunch.c ============================================================================== --- head/x11/thinglaunch/files/patch-thinglaunch.c Tue Oct 23 09:18:47 2018 (r482820) +++ head/x11/thinglaunch/files/patch-thinglaunch.c Tue Oct 23 09:21:19 2018 (r482821) @@ -1,5 +1,5 @@ ---- thinglaunch.c.orig 2004-09-20 16:27:56.000000000 +0200 -+++ thinglaunch.c 2009-09-01 22:11:10.000000000 +0200 +--- thinglaunch.c.orig 2004-09-20 14:27:56 UTC ++++ thinglaunch.c @@ -19,10 +19,14 @@ */ #include @@ -15,7 +15,7 @@ static void createWindow(); static void setupGC(); -@@ -50,10 +54,13 @@ +@@ -50,10 +54,13 @@ unsigned long black, white; /* the actual commandline */ char command[MAXCMD+1]; @@ -29,7 +29,7 @@ createWindow(); setupGC(); -@@ -209,15 +216,15 @@ +@@ -209,15 +216,15 @@ static void redraw() { int font_height; int textwidth; @@ -49,7 +49,7 @@ XFlush(display); -@@ -229,22 +236,36 @@ +@@ -229,22 +236,36 @@ static void keypress(XKeyEvent * keyeven #define KEYBUFLEN 20 char buffer[KEYBUFLEN+1]; KeySym key_symbol; @@ -74,7 +74,8 @@ + if (cursor_pos) + for (tmp_pos = --cursor_pos; tmp_pos <= len; tmp_pos++) + command[tmp_pos] = command[tmp_pos+1]; -+ break; + break; +- case 0xff0d: /* enter */ + case XK_Left: + if (cursor_pos) + cursor_pos--; @@ -88,13 +89,12 @@ + break; + case XK_End: + cursor_pos = len; - break; -- case 0xff0d: /* enter */ ++ break; + case XK_Return: execcmd(); break; default: -@@ -253,10 +274,11 @@ +@@ -253,10 +274,11 @@ static void keypress(XKeyEvent * keyeven /* normal printable chars */ if (key_symbol >= 0x20 && key_symbol <= 0x7e) {