git: 9b430ff7e3ed - main - x11-wm/obpager: Mark DEPRECATED
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Dec 2023 17:58:12 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b430ff7e3ed768c79ebe0df676bbb74c936b200 commit 9b430ff7e3ed768c79ebe0df676bbb74c936b200 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-12-18 17:30:54 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-12-18 17:57:45 +0000 x11-wm/obpager: Mark DEPRECATED - Last upstream release was in 2004 - Set EXPIRATION_DATE 2024-01-18 - Refresh patches --- x11-wm/obpager/Makefile | 9 ++++++++- x11-wm/obpager/files/patch-Makefile | 6 +++--- x11-wm/obpager/files/patch-src_OBPager.cc | 8 ++++---- x11-wm/obpager/files/patch-src_OBPager.h | 6 +++--- x11-wm/obpager/files/patch-src_main.cc | 4 ++-- 5 files changed, 20 insertions(+), 13 deletions(-) diff --git a/x11-wm/obpager/Makefile b/x11-wm/obpager/Makefile index 8866453c1e4b..a401a9d7c676 100644 --- a/x11-wm/obpager/Makefile +++ b/x11-wm/obpager/Makefile @@ -8,6 +8,10 @@ COMMENT= Lightweight pager for netwm compatible window managers WWW= https://obpager.sourceforge.net/ LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +DEPRECATED= Last upstream release was in 2004 +EXPIRATION_DATE= 2024-01-18 BUILD_DEPENDS= gsed:textproc/gsed @@ -15,9 +19,11 @@ USES= compiler gmake xorg USE_CXXSTD= c++14 USE_XORG= x11 xext +MAKE_ARGS= CDEFS="${CXXFLAGS}" + CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing -MAKE_ARGS= CDEFS="${CXXFLAGS}" + PLIST_FILES= bin/${PORTNAME} post-patch: @@ -25,6 +31,7 @@ post-patch: s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%CXX%%|${CXX}|g; \ s|sed|gsed|g' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin diff --git a/x11-wm/obpager/files/patch-Makefile b/x11-wm/obpager/files/patch-Makefile index 165656efac06..1aa3adfe8db6 100644 --- a/x11-wm/obpager/files/patch-Makefile +++ b/x11-wm/obpager/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2009-03-07 18:16:51.000000000 +0100 -+++ Makefile 2009-03-07 18:19:50.000000000 +0100 -@@ -7,18 +7,18 @@ +--- Makefile.orig 2004-09-01 14:23:44 UTC ++++ Makefile +@@ -7,18 +7,18 @@ DEPDIR = ./deps # Set the install directory for the executable diff --git a/x11-wm/obpager/files/patch-src_OBPager.cc b/x11-wm/obpager/files/patch-src_OBPager.cc index 5cedde9ee0f1..1d74eab310fb 100644 --- a/x11-wm/obpager/files/patch-src_OBPager.cc +++ b/x11-wm/obpager/files/patch-src_OBPager.cc @@ -1,6 +1,6 @@ ---- src/OBPager.cc.orig 2014-02-14 15:35:01.000000000 +0100 -+++ src/OBPager.cc 2014-02-14 15:39:12.000000000 +0100 -@@ -159,7 +159,7 @@ +--- src/OBPager.cc.orig 2004-09-01 14:23:44 UTC ++++ src/OBPager.cc +@@ -159,7 +159,7 @@ OBPager::~OBPager() * @param displayName is the name of the display to connect to */ @@ -9,7 +9,7 @@ { // Connect to the user-specified desktop or whatever is in $DISPLAY? -@@ -301,7 +301,7 @@ +@@ -301,7 +301,7 @@ void OBPager::createShowWindow() int maxHeight = height; int minWidth = width; int minHeight = height; diff --git a/x11-wm/obpager/files/patch-src_OBPager.h b/x11-wm/obpager/files/patch-src_OBPager.h index 1c81d47f97e0..05d245f86d82 100644 --- a/x11-wm/obpager/files/patch-src_OBPager.h +++ b/x11-wm/obpager/files/patch-src_OBPager.h @@ -1,6 +1,6 @@ ---- src/OBPager.h.orig 2014-02-14 15:36:36.000000000 +0100 -+++ src/OBPager.h 2014-02-14 15:37:08.000000000 +0100 -@@ -63,7 +63,7 @@ +--- src/OBPager.h.orig 2004-09-01 14:23:44 UTC ++++ src/OBPager.h +@@ -63,7 +63,7 @@ class OBPager ~OBPager(); /// Connect to a specified X server display, or the default display diff --git a/x11-wm/obpager/files/patch-src_main.cc b/x11-wm/obpager/files/patch-src_main.cc index f962dc810c7a..83ac9f7d4842 100644 --- a/x11-wm/obpager/files/patch-src_main.cc +++ b/x11-wm/obpager/files/patch-src_main.cc @@ -1,5 +1,5 @@ ---- src/main.cc.orig 2009-03-07 18:24:50.000000000 +0100 -+++ src/main.cc 2009-03-07 18:24:58.000000000 +0100 +--- src/main.cc.orig 2004-09-01 14:23:44 UTC ++++ src/main.cc @@ -26,6 +26,7 @@ #include <sys/types.h>