git: a79b07d80964 - main - x11-wm/treewm: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 18 Dec 2023 17:58:04 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a79b07d809642766d7d528500779f53ec8ce163e

commit a79b07d809642766d7d528500779f53ec8ce163e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-17 13:45:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-18 17:57:43 +0000

    x11-wm/treewm: Mark DEPRECATED
    
    - Last upstream release was in 2003
    - Set EXPIRATION_DATE 2024-01-17
    - Refresh patches
---
 x11-wm/treewm/Makefile                                       |  3 +++
 .../files/{patch-menuinfo.cc => patch-src_menuinfo.cc}       |  7 +++----
 .../files/{patch-resmanager.cc => patch-src_resmanager.cc}   |  6 +++---
 x11-wm/treewm/files/{patch-tile.cc => patch-src_tile.cc}     |  2 +-
 .../files/{patch-uehandler.cc => patch-src_uehandler.cc}     |  6 +++---
 .../files/{patch-xprop__xprop.c => patch-xprop_xprop.c}      | 12 ++++++------
 6 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/x11-wm/treewm/Makefile b/x11-wm/treewm/Makefile
index 29e2801e1206..0b9aef7aa136 100644
--- a/x11-wm/treewm/Makefile
+++ b/x11-wm/treewm/Makefile
@@ -11,6 +11,9 @@ WWW=		https://treewm.sourceforge.net/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=	Last upstream release was in 2003
+EXPIRATION_DATE=	2024-01-17
+
 USES=		gmake imake:env tar:bzip2 xorg
 USE_XORG=	x11 ice sm xext xmu xpm xt xxf86vm
 
diff --git a/x11-wm/treewm/files/patch-menuinfo.cc b/x11-wm/treewm/files/patch-src_menuinfo.cc
similarity index 57%
rename from x11-wm/treewm/files/patch-menuinfo.cc
rename to x11-wm/treewm/files/patch-src_menuinfo.cc
index c7c169b2b205..61a3ef95aa82 100644
--- a/x11-wm/treewm/files/patch-menuinfo.cc
+++ b/x11-wm/treewm/files/patch-src_menuinfo.cc
@@ -1,7 +1,6 @@
-diff -ru treewm-0.4.5.orig/src/menuinfo.cc treewm-0.4.5/src/menuinfo.cc
---- src/menuinfo.cc	Mon Mar  8 00:20:42 2004
-+++ src/menuinfo.cc	Mon Mar  8 00:22:37 2004
-@@ -21,7 +21,7 @@
+--- src/menuinfo.cc.orig	2003-02-15 21:05:41 UTC
++++ src/menuinfo.cc
+@@ -21,7 +21,7 @@ void MenuInfo::Init() {
    MenuItemList *actions=0,*last=0;
    for (Entry *e=s->fe;e;e=e->next)
      if (e->tag) {
diff --git a/x11-wm/treewm/files/patch-resmanager.cc b/x11-wm/treewm/files/patch-src_resmanager.cc
similarity index 67%
rename from x11-wm/treewm/files/patch-resmanager.cc
rename to x11-wm/treewm/files/patch-src_resmanager.cc
index 2c06c0371687..209401c0a2ba 100644
--- a/x11-wm/treewm/files/patch-resmanager.cc
+++ b/x11-wm/treewm/files/patch-src_resmanager.cc
@@ -1,6 +1,6 @@
---- ../treewm-0.4.5.orig/src/resmanager.cc	Mon Mar  8 00:20:42 2004
-+++ src/resmanager.cc	Mon Mar  8 00:40:02 2004
-@@ -127,6 +127,7 @@
+--- src/resmanager.cc.orig	2003-02-15 21:05:41 UTC
++++ src/resmanager.cc
+@@ -127,6 +127,7 @@ void ResManager::CreateScemes() {
      for (int j=0; j!=mi->n; ++j) {
        MenuItem &mitem = mi->menu[j];
        if (mitem.key[0] == '$') {
diff --git a/x11-wm/treewm/files/patch-tile.cc b/x11-wm/treewm/files/patch-src_tile.cc
similarity index 81%
rename from x11-wm/treewm/files/patch-tile.cc
rename to x11-wm/treewm/files/patch-src_tile.cc
index ea179a42bb0a..771598e353e4 100644
--- a/x11-wm/treewm/files/patch-tile.cc
+++ b/x11-wm/treewm/files/patch-src_tile.cc
@@ -1,4 +1,4 @@
---- src/tile.cc.orig
+--- src/tile.cc.orig	2003-09-11 10:55:34 UTC
 +++ src/tile.cc
 @@ -5,6 +5,7 @@
  #include <algorithm>
diff --git a/x11-wm/treewm/files/patch-uehandler.cc b/x11-wm/treewm/files/patch-src_uehandler.cc
similarity index 55%
rename from x11-wm/treewm/files/patch-uehandler.cc
rename to x11-wm/treewm/files/patch-src_uehandler.cc
index 1fe202174d3d..ab9d18107cae 100644
--- a/x11-wm/treewm/files/patch-uehandler.cc
+++ b/x11-wm/treewm/files/patch-src_uehandler.cc
@@ -1,6 +1,6 @@
---- ../treewm-0.4.5.orig/src/uehandler.cc	Mon Mar  8 00:20:42 2004
-+++ src/uehandler.cc	Mon Mar  8 00:42:26 2004
-@@ -955,6 +955,7 @@
+--- src/uehandler.cc.orig	2003-09-12 19:06:06 UTC
++++ src/uehandler.cc
+@@ -955,6 +955,7 @@ bool UEHandler::ExecCommand(Client *ref, Icon *i,char 
        if (!ExecAll)
          return false;
        {
diff --git a/x11-wm/treewm/files/patch-xprop__xprop.c b/x11-wm/treewm/files/patch-xprop_xprop.c
similarity index 76%
rename from x11-wm/treewm/files/patch-xprop__xprop.c
rename to x11-wm/treewm/files/patch-xprop_xprop.c
index 488b55ccbec1..40a57352055a 100644
--- a/x11-wm/treewm/files/patch-xprop__xprop.c
+++ b/x11-wm/treewm/files/patch-xprop_xprop.c
@@ -1,6 +1,6 @@
---- xprop/xprop.c.orig	2002-03-14 21:14:47.000000000 +0900
-+++ xprop/xprop.c	2012-09-13 15:21:40.000000000 +0900
-@@ -586,7 +586,7 @@
+--- xprop/xprop.c.orig	2002-03-14 12:14:47 UTC
++++ xprop/xprop.c
+@@ -586,7 +586,7 @@ _put_char(c)
  {
  	if (--_buf_len<0) {
  		_buf_ptr[0]='\0';
@@ -9,7 +9,7 @@
  	}
  	_buf_ptr++[0] = c;
  }
-@@ -1357,10 +1357,10 @@
+@@ -1357,10 +1357,10 @@ remove_property (dpy, w, propname)
      if (id == None) {
  	fprintf (stderr, "%s:  no such property \"%s\"\n",
  		 program_name, propname);
@@ -22,7 +22,7 @@
  }
  
  thunk *Handle_Prop_Requests(argc, argv)
-@@ -1514,13 +1514,13 @@
+@@ -1514,13 +1514,13 @@ Show_Prop(format, dformat, prop)
    printf("%s", prop);
    if (!(atom = Parse_Atom(prop, True))) {
  	  printf(":  no such atom on any window.\n");
@@ -38,7 +38,7 @@
    }
  
    if (!notype && type)
-@@ -1535,7 +1535,7 @@
+@@ -1535,7 +1535,7 @@ Show_Prop(format, dformat, prop)
    if (fsize!=size && fsize!=0) {
  	printf(": Type mismatch: assumed size %d bits, actual size %d bits.\n",
  	 fsize, size);