Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2018 09:21:19 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482821 - in head/x11/thinglaunch: . files
Message-ID:  <201810230921.w9N9LJZ0094444@repo.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help
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 <X11/Xlib.h>
@@ -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) {



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201810230921.w9N9LJZ0094444>