git: a9fe535fd869 - main - x11-wm/treewm: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 21:19:48 UTC
The branch main has been updated by rene:

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

commit a9fe535fd869572e45bf1eaf29f9b12ccf63f42d
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-01-18 21:14:49 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-01-18 21:14:49 +0000

    x11-wm/treewm: Remove expired port
    
    2024-01-17 x11-wm/treewm: Last upstream release was in 2003
---
 MOVED                                       |  1 +
 x11-wm/Makefile                             |  1 -
 x11-wm/treewm/Makefile                      | 56 -----------------------------
 x11-wm/treewm/distinfo                      |  2 --
 x11-wm/treewm/files/patch-src_menuinfo.cc   | 11 ------
 x11-wm/treewm/files/patch-src_resmanager.cc | 10 ------
 x11-wm/treewm/files/patch-src_tile.cc       | 10 ------
 x11-wm/treewm/files/patch-src_uehandler.cc  | 10 ------
 x11-wm/treewm/files/patch-xprop_xprop.c     | 49 -------------------------
 x11-wm/treewm/pkg-descr                     | 20 -----------
 x11-wm/treewm/pkg-plist                     | 11 ------
 11 files changed, 1 insertion(+), 180 deletions(-)

diff --git a/MOVED b/MOVED
index 61b633948dda..ac4bbae4b4a9 100644
--- a/MOVED
+++ b/MOVED
@@ -2955,3 +2955,4 @@ biology/sim4||2024-01-18|Has expired: Upstream last update was in 2005
 x11-wm/w9wm||2024-01-18|Has expired: Last upstream release was in 2002
 biology/seqio||2024-01-18|Has expired: Upstream last release was in 2000
 x11-wm/tvtwm||2024-01-18|Has expired: Upstream last release was in 2001 reconsider using vtwm
+x11-wm/treewm||2024-01-18|Has expired: Last upstream release was in 2003
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index a070af0f0b9b..80b4e9a64219 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -114,7 +114,6 @@
     SUBDIR += swayfx
     SUBDIR += tinywm
     SUBDIR += transset
-    SUBDIR += treewm
     SUBDIR += twm
     SUBDIR += vtwm
     SUBDIR += wayfire
diff --git a/x11-wm/treewm/Makefile b/x11-wm/treewm/Makefile
deleted file mode 100644
index 0b9aef7aa136..000000000000
--- a/x11-wm/treewm/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-PORTNAME=	treewm
-PORTVERSION=	0.4.5
-PORTREVISION=	6
-CATEGORIES=	x11-wm
-MASTER_SITES=	SF
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Window manager that arranges windows in a tree
-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
-
-PORTDOCS=	AUTHORS ChangeLog PROBLEMS README README.tiling TODO
-PORTEXAMPLES=	default.cfg sample.cfg
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^PREFIX/s| =| ?=| ; \
-		 /^CXXFLAGS/s| =| ?=| ; \
-		 s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e \
-		'/DF_GRABKEYBOARD/s|1L|1UL|' ${WRKSRC}/src/client.h
-
-do-install:
-	(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} treewm \
-		${STAGEDIR}${PREFIX}/bin)
-	(cd ${WRKSRC}/xprop && ${INSTALL_PROGRAM} xprop \
-		${STAGEDIR}${PREFIX}/bin/xprop-treewm)
-	(cd ${WRKSRC}/xkill && ${INSTALL_PROGRAM} xkill \
-		${STAGEDIR}${PREFIX}/bin/xkill-treewm)
-	@${MKDIR} ${STAGEDIR}${DATADIR}/pixmaps
-	(cd ${WRKSRC}/src/pixmaps && ${INSTALL_DATA} *.xpm \
-		${STAGEDIR}${DATADIR}/pixmaps)
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for F in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-do-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for F in ${PORTEXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${EXAMPLESDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/x11-wm/treewm/distinfo b/x11-wm/treewm/distinfo
deleted file mode 100644
index 03d5bac91932..000000000000
--- a/x11-wm/treewm/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (treewm-0.4.5.tar.bz2) = 3daea1c8d5dfe44bfe4e038e112f7ae5044c7978b196acd0258ac6f51e2f8c13
-SIZE (treewm-0.4.5.tar.bz2) = 87098
diff --git a/x11-wm/treewm/files/patch-src_menuinfo.cc b/x11-wm/treewm/files/patch-src_menuinfo.cc
deleted file mode 100644
index 61a3ef95aa82..000000000000
--- a/x11-wm/treewm/files/patch-src_menuinfo.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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) {
--      lower(e->value);
-+      // lower(e->value); // why? (RP)
-       if (last) {
-         last->next = new MenuItemList;
-         last = last->next;
diff --git a/x11-wm/treewm/files/patch-src_resmanager.cc b/x11-wm/treewm/files/patch-src_resmanager.cc
deleted file mode 100644
index 209401c0a2ba..000000000000
--- a/x11-wm/treewm/files/patch-src_resmanager.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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] == '$') {
-+        lower(mitem.key);
-         MenuInfo *mi2 = (MenuInfo *)rman->GetInfo(SE_MENUINFO,mitem.key+1);
-         if (mi2) {
-           mitem.submenu = new SubMenuInfo;
diff --git a/x11-wm/treewm/files/patch-src_tile.cc b/x11-wm/treewm/files/patch-src_tile.cc
deleted file mode 100644
index 771598e353e4..000000000000
--- a/x11-wm/treewm/files/patch-src_tile.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/tile.cc.orig	2003-09-11 10:55:34 UTC
-+++ src/tile.cc
-@@ -5,6 +5,7 @@
- #include <algorithm>
- #include <stack>
- //#include <stdio.h>
-+#include <stdlib.h>
- 
- /* 
-  * changed<05.02.2003> by Rudolf Polzer: including namespace std (C++)
diff --git a/x11-wm/treewm/files/patch-src_uehandler.cc b/x11-wm/treewm/files/patch-src_uehandler.cc
deleted file mode 100644
index ab9d18107cae..000000000000
--- a/x11-wm/treewm/files/patch-src_uehandler.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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;
-       {
-+        lower(str);
-         MenuInfo *mi = ((MenuInfo *)rman->GetInfo(SE_MENUINFO,str+1));
-         if (mi) {
-           int x,y;
diff --git a/x11-wm/treewm/files/patch-xprop_xprop.c b/x11-wm/treewm/files/patch-xprop_xprop.c
deleted file mode 100644
index 40a57352055a..000000000000
--- a/x11-wm/treewm/files/patch-xprop_xprop.c
+++ /dev/null
@@ -1,49 +0,0 @@
---- 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';
--		return;
-+		return 0;
- 	}
- 	_buf_ptr++[0] = c;
- }
-@@ -1357,10 +1357,10 @@ remove_property (dpy, w, propname)
-     if (id == None) {
- 	fprintf (stderr, "%s:  no such property \"%s\"\n",
- 		 program_name, propname);
--	return;
-+	return 0;
-     }
-     XDeleteProperty (dpy, w, id);
--    return;
-+    return 0;
- }
- 
- thunk *Handle_Prop_Requests(argc, argv)
-@@ -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");
--	  return;
-+	  return 0;
-   }
- 
-   data = Get_Property_Data_And_Type(atom, &length, &type, &size);
-   if (!size) {
-           puts(":  not found.");
--	  return;
-+	  return 0;
-   }
- 
-   if (!notype && type)
-@@ -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);
--	  return;
-+	  return 0;
-   }
- 
-   thunks = Break_Down_Property(data, (int)length, format, size);
diff --git a/x11-wm/treewm/pkg-descr b/x11-wm/treewm/pkg-descr
deleted file mode 100644
index ffacbe553bb3..000000000000
--- a/x11-wm/treewm/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-treewm is a window manager that tries to implement a new concept. In
-addition to the client windows the user can create desktops which can
-themselves contain windows and desktops. By arranging the windows in
-such a tree the user is able to manage his tasks efficiently treewm is
-feature-rich, flexible and provides a powerful concept. However,
-treewm's look is is rather puristic, and its feel is not always
-intuitive, but with a bit of practise it should be very effective to
-use.
-
-Short feature list (some of them are quite unique among window managers):
-  - Allows to create desktops and to arbitrarily move windows between
-    desktops
-  - Many options (such as sticky, autoresize, always on top, or the
-    focus or raise policy) can be set for any desktop or window
-  - Can be fully customized using the configuration file
-  - Has a very powerful (somewhat vi-like) command mode, and can be
-    controlled from shell scripts via a FIFO
-  - Icons can be placed on desktops that can execute arbitrary commands
-  - Only uses very common libraries, in particular it doesn't require
-    GTK, Qt, or anything like that
diff --git a/x11-wm/treewm/pkg-plist b/x11-wm/treewm/pkg-plist
deleted file mode 100644
index 3cf825ec4183..000000000000
--- a/x11-wm/treewm/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-bin/treewm
-bin/xprop-treewm
-bin/xkill-treewm
-%%DATADIR%%/pixmaps/close.xpm
-%%DATADIR%%/pixmaps/icon.xpm
-%%DATADIR%%/pixmaps/max1.xpm
-%%DATADIR%%/pixmaps/max2.xpm
-%%DATADIR%%/pixmaps/move.xpm
-%%DATADIR%%/pixmaps/none1.xpm
-%%DATADIR%%/pixmaps/none2.xpm
-%%DATADIR%%/pixmaps/resize.xpm