From nobody Sat Jun 10 11:22:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QdbC20LtRz4c6RD; Sat, 10 Jun 2023 11:22:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QdbC16tR0z4Nvc; Sat, 10 Jun 2023 11:22:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686396142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jxDcuFYN/Iq/JL8qvlVqKzGaBMdG61F5Pqtkojg6H2Q=; b=LYRnjonup3bQh0TiaAk2CYLeLdCRPdg0fiqepiRVNoqQKWJf1QgqZYsQmYxVFmNF7IXKBQ N587SEQAj62Dndgn5pR6foPssg7a7oE/lr5HpgstJeX3j8Z3iQuGichMlNjOFnlYVfKLQv Bis1ar+5Xz2jVhDYIA7Tmb+DzgcDT0Hpg5rH2VRYp6ON3LjE2XphX8WIKVIpVcXke59qda GbwbxdVQhOzF8v7lxT/pItFvRZshe23JyZ0F4Szsogu5yPN0Hk/TnO+vuk+iUxw19Ob//j Gvjxbg+T8nivOEQHALRtyUxApTv2Z4L7DW4bq3Pid0WUFXrhhMm4ohJwtqMS8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686396142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jxDcuFYN/Iq/JL8qvlVqKzGaBMdG61F5Pqtkojg6H2Q=; b=GM1ybqxu/8kXgxj7ohSdMzhVU3t4H8YzqlXUcprryh1Ipgtn5emQQTCGiYKX5UtilcklkF 1eHkgohx/ao38QUcgwPDj+HpktngiQkG5iZo9zfiXuOxxk0uGXAuLJla6uRrkZXTkjfs1W nwynIPSfI6B5G9KhVLw9MfuN7vq+X45raI8s0niZ/OnGRmlH9mC0FyE/139KCH5ghh1z/t Qhsyka4r6F2KvOiXIwFfgB9sPn77/xCbRyI2mVgDQ1ouyTQIiQq8WPnJ14qI8lqmRg0c5N RF3TrDCOzW4+7sZ0Bgyv/j/l8Lldq7BWN77MIvRofgK437ThpyNo7ZBCDhGFKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686396142; a=rsa-sha256; cv=none; b=UCrWXnKYRkBSBvv354xwkbCEPrFBdrOb6nAy5xfnuU5wVXAAPptQ6UQVzKrjuQ5Xpr5JeC 9SZde0VX8wYP05EQi696oq0UpKwGQ9gqUCxDz1xyu2FaDe44xcQbti3cdd3Ko+xABl35Ux SE/4tmU27q6tF95PJC3uMfyS5HZf24ILrnMU3RySMtKfV0pf0j3vDPhJMGkPOhTwDG23vK 7k+EbvjXxD0s9+C6/Oun/jFtUfdewOkVu/EXjdssaBbYyy1NwkCstBF3aY7clK1pwuYFhQ M9auHofBMJlL8/ff7/NHDcKvk8fI8Hvzub9+nBlOwA15w0ye5Nq5K9n8ZZI1aA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QdbC15ygzzFx6; Sat, 10 Jun 2023 11:22:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35ABMLMu003672; Sat, 10 Jun 2023 11:22:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35ABMLU9003671; Sat, 10 Jun 2023 11:22:21 GMT (envelope-from git) Date: Sat, 10 Jun 2023 11:22:21 GMT Message-Id: <202306101122.35ABMLU9003671@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: fdeaeafe3809 - main - x11/thinglaunch: Remove expired port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fdeaeafe3809975c443c22f9523b103c01f75c4a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=fdeaeafe3809975c443c22f9523b103c01f75c4a commit fdeaeafe3809975c443c22f9523b103c01f75c4a Author: Rene Ladan AuthorDate: 2023-06-10 11:22:04 +0000 Commit: Rene Ladan CommitDate: 2023-06-10 11:22:04 +0000 x11/thinglaunch: Remove expired port 2023-06-10 x11/thinglaunch: Abandonware, please use x11/thingylaunch instead --- MOVED | 1 + x11/Makefile | 1 - x11/thinglaunch/Makefile | 31 --------- x11/thinglaunch/distinfo | 2 - x11/thinglaunch/files/patch-thinglaunch.c | 111 ------------------------------ x11/thinglaunch/pkg-descr | 5 -- 6 files changed, 1 insertion(+), 150 deletions(-) diff --git a/MOVED b/MOVED index 538e96a14e79..9a9c9a630c4f 100644 --- a/MOVED +++ b/MOVED @@ -7637,3 +7637,4 @@ archivers/libunrar|archivers/libunrar6|2023-06-06|Remove obsoleted port. Use arc x11/radare-cutter||2023-06-07|Has expired: Cutter for radare has been discontinued as Cutter has moved to use rizin as their backend framework security/py-sequoia||2023-06-09|Deprecated upstream, broken as based on older dependency audio/hvl2wav|audio/ocp|2023-06-10|Has expired: Abandoned upstream, use audio/ocp instead +x11/thinglaunch|x11/thingylaunch|2023-06-10|Has expired: Abandonware, please use x11/thingylaunch instead diff --git a/x11/Makefile b/x11/Makefile index a55584ea428a..36f3b31407a6 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -396,7 +396,6 @@ SUBDIR += terminal.app SUBDIR += terminator SUBDIR += terminology - SUBDIR += thinglaunch SUBDIR += thingylaunch SUBDIR += tilda SUBDIR += tilix diff --git a/x11/thinglaunch/Makefile b/x11/thinglaunch/Makefile deleted file mode 100644 index 7abd835e2ced..000000000000 --- a/x11/thinglaunch/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -PORTNAME= thinglaunch -PORTVERSION= 1.8 -PORTREVISION= 3 -CATEGORIES= x11 -MASTER_SITES= LOCAL/ehaupt - -MAINTAINER= ehaupt@FreeBSD.org -COMMENT= Very fast launcher program for X -WWW= http://unix.freecode.com/projects/thinglaunch/ - -LICENSE= MIT - -DEPRECATED= Abandonware, please use x11/thingylaunch instead -EXPIRATION_DATE= 2023-06-10 - -USES= xorg -USE_XORG= x11 xorgproto - -CPPFLAGS+= -I${LOCALBASE}/include -lX11 -LDFLAGS+= -L${LOCALBASE}/lib - -PLIST_FILES= bin/thinglaunch - -do-build: - ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ - -o ${WRKSRC}/${PORTNAME} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - -.include diff --git a/x11/thinglaunch/distinfo b/x11/thinglaunch/distinfo deleted file mode 100644 index 0b93b637e875..000000000000 --- a/x11/thinglaunch/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (thinglaunch-1.8.tar.gz) = 675ebfb65aabe5dc620e1594a9f500812d3327e4761e3bd947dc4a474c758fd1 -SIZE (thinglaunch-1.8.tar.gz) = 3303 diff --git a/x11/thinglaunch/files/patch-thinglaunch.c b/x11/thinglaunch/files/patch-thinglaunch.c deleted file mode 100644 index 9e9c55acb82e..000000000000 --- a/x11/thinglaunch/files/patch-thinglaunch.c +++ /dev/null @@ -1,111 +0,0 @@ ---- thinglaunch.c.orig 2004-09-20 14:27:56 UTC -+++ thinglaunch.c -@@ -19,10 +19,14 @@ - */ - #include - #include -+#include - #include - #include - #include - #include -+#ifdef __FreeBSD__ -+#include -+#endif - - static void createWindow(); - static void setupGC(); -@@ -50,10 +54,13 @@ unsigned long black, white; - - /* the actual commandline */ - char command[MAXCMD+1]; -+size_t cursor_pos; - - int main(int argc, char ** argv) { - - command[0] = 0x0; -+ cursor_pos = 0; -+ - createWindow(); - - setupGC(); -@@ -209,15 +216,15 @@ static void redraw() { - - int font_height; - int textwidth; -- -+ - font_height = font_info->ascent + font_info->descent; -- textwidth = XTextWidth(font_info, command, strlen(command)); -+ textwidth = XTextWidth(font_info, command, cursor_pos); - - XFillRectangle(display, win, rectgc, 0, 0, WINWIDTH, WINHEIGHT); - XDrawRectangle(display, win, gc, 0, 0, WINWIDTH-1, WINHEIGHT-1); - XDrawString(display, win, gc, 2, font_height+2, command, strlen(command)); -- XDrawLine(display, win, gc, 2 + textwidth, font_height + 2, -- 2 + textwidth + 10, font_height+2); -+ XDrawLine(display, win, gc, 2 + textwidth, font_height + 4, -+ 2 + textwidth + 10, font_height+4); - - XFlush(display); - -@@ -229,22 +236,36 @@ static void keypress(XKeyEvent * keyeven - #define KEYBUFLEN 20 - char buffer[KEYBUFLEN+1]; - KeySym key_symbol; -- int len; -+ int len, tmp_pos; - - len = XLookupString(keyevent, buffer, 1, &key_symbol, NULL); - buffer[len] = 0x0; -+ len = strlen(command); - - switch(key_symbol) { -- case 0xff1b: /* this is escape */ -+ case XK_Escape: - exit(0); - break; -- case 0xff08: /* backspace */ -- len = strlen(command); -- if (len > 0) { -- command[len-1] = 0x0; -- } -+ case XK_BackSpace: -+ if (cursor_pos) -+ for (tmp_pos = --cursor_pos; tmp_pos <= len; tmp_pos++) -+ command[tmp_pos] = command[tmp_pos+1]; - break; -- case 0xff0d: /* enter */ -+ case XK_Left: -+ if (cursor_pos) -+ cursor_pos--; -+ break; -+ case XK_Right: -+ if (cursor_pos < len) -+ cursor_pos++; -+ break; -+ case XK_Home: -+ cursor_pos = 0; -+ break; -+ case XK_End: -+ cursor_pos = len; -+ break; -+ case XK_Return: - execcmd(); - break; - default: -@@ -253,10 +274,11 @@ static void keypress(XKeyEvent * keyeven - - /* normal printable chars */ - if (key_symbol >= 0x20 && key_symbol <= 0x7e) { -- len = strlen(command); - if (len < MAXCMD) { -- command[len] = buffer[0]; -- command[len+1] = 0x0; -+ if (cursor_pos != len) -+ for (tmp_pos = len; tmp_pos > cursor_pos; tmp_pos--) -+ command[tmp_pos] = command[tmp_pos-1]; -+ command[cursor_pos++] = buffer[0]; - } - } - redraw(); diff --git a/x11/thinglaunch/pkg-descr b/x11/thinglaunch/pkg-descr deleted file mode 100644 index efa33b8b6b7d..000000000000 --- a/x11/thinglaunch/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Thinglaunch is a very fast launcher program for X. - -You can bind it to a key in your favorite window manager, and when you want to -start a program, just type its name. thinglaunch has a tiny footprint and -depends only on Xlib.