Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2026 12:41:45 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0dcfef290447 - main - x11/xwinwrap: update to 0.9 and enable everywhere
Message-ID:  <69833e89.318f7.40182cb5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

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

commit 0dcfef2904478a759f30e39fa8257d8718b78dbc
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-02-02 20:44:29 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-04 12:41:15 +0000

    x11/xwinwrap: update to 0.9 and enable everywhere
    
     - switch to a fork
     - just build that one file directly
     - ship example
     - grab maintainership of this unmaintained port
    
    WWW: https://github.com/mmhobi7/xwinwrap
---
 x11/xwinwrap/Makefile             | 42 ++++++++++++++++++++++-------------
 x11/xwinwrap/distinfo             |  5 +++--
 x11/xwinwrap/files/patch-Makefile | 46 ---------------------------------------
 3 files changed, 30 insertions(+), 63 deletions(-)

diff --git a/x11/xwinwrap/Makefile b/x11/xwinwrap/Makefile
index 3f836e5f1670..f2deb75ebc26 100644
--- a/x11/xwinwrap/Makefile
+++ b/x11/xwinwrap/Makefile
@@ -1,25 +1,37 @@
 PORTNAME=	xwinwrap
-PORTVERSION=	0.3
-PORTREVISION=	4
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9
 CATEGORIES=	x11
-MASTER_SITES=	LOCAL/vg
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	XWinWrap replace a desktop background with a movie or screensaver
-WWW=		http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+LICENSE=	NOVELL
+LICENSE_NAME=	Novell License
+LICENSE_FILE=	${WRKSRC}/xwinwrap.c
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-ONLY_FOR_ARCHS=	amd64 i386
-USES=		tar:bzip2 xorg
+USES=		localbase:ldflags shebangfix xorg
+USE_GITHUB=	yes
+GH_ACCOUNT=	mmhobi7
 USE_XORG=	x11 xorgproto xrender xext
-PLIST_FILES=	bin/${PORTNAME}
-MAKE_ARGS+=	PREFIX=${PREFIX}
 
-.include <bsd.port.pre.mk>
+SHEBANG_FILES=	examples/mint_auto_start_example.sh
+bash_CMD=	${SH}
 
-.if ${ARCH} == "amd64"
-MAKE_ARGS+=	ARCH=x86_64
-.endif
+LIBS+=		-lX11 -lXext -lXrender
 
-.include <bsd.port.post.mk>
+PLIST_FILES=	bin/${PORTNAME} \
+		${EXAMPLESDIR}/mint_auto_start_example.sh
+
+do-build:
+	${SETENVI} ${MAKE_ENV} ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
+		-o ${WRKDIR}/xwinwrap ${WRKSRC}/xwinwrap.c ${LIBS}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/xwinwrap ${STAGEDIR}${PREFIX}/bin/
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/mint_auto_start_example.sh \
+		${STAGEDIR}${EXAMPLESDIR}/
+
+.include <bsd.port.mk>
diff --git a/x11/xwinwrap/distinfo b/x11/xwinwrap/distinfo
index c0899d529e58..401cfaede8d8 100644
--- a/x11/xwinwrap/distinfo
+++ b/x11/xwinwrap/distinfo
@@ -1,2 +1,3 @@
-SHA256 (xwinwrap-0.3.tar.bz2) = 2a19645db3dd544318b26ade0f975583ef537bc7f926028bc9c538239b32e668
-SIZE (xwinwrap-0.3.tar.bz2) = 5010
+TIMESTAMP = 1770064788
+SHA256 (mmhobi7-xwinwrap-v0.9_GH0.tar.gz) = 1792f59c5d85fc766f356f8f903a2081fe4dccc5e8e61cdd946bae0438d15d9a
+SIZE (mmhobi7-xwinwrap-v0.9_GH0.tar.gz) = 1992786
diff --git a/x11/xwinwrap/files/patch-Makefile b/x11/xwinwrap/files/patch-Makefile
deleted file mode 100644
index f2b65bdb1b22..000000000000
--- a/x11/xwinwrap/files/patch-Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
---- Makefile.orig	2009-11-16 21:42:09.000000000 +0800
-+++ Makefile	2014-01-11 00:00:12.000000000 +0800
-@@ -1,22 +1,23 @@
--all: all64 all32
--
--all64:
--	gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
--	-mkdir x86_64
--	mv ./xwinwrap ./x86_64
--
--all32:
--	gcc -m32 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
--	-mkdir i386
--	mv ./xwinwrap ./i386
--
--install64:
--	cp x86_64/xwinwrap /usr/bin
--
--install32:
--	cp i386/xwinwrap /usr/bin
-+INSTALL = /usr/bin/install -m 755
-+PREFIX = /usr/local
-+CC = cc
-+ARCH = `uname -p`
-+
-+TARGET = xwinwrap
-+
-+CFLAGS = -I${LOCALBASE}/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
-+LDFLAGS = -L${LOCALBASE}/lib -lX11 -lXext -lXrender
-+
-+all:
-+	if [ "${ARCH}" = "x86_64" ] ; then \
-+		$(CC) $(CFLAGS) $(LDFLAGS) $(TARGET).c -o $(TARGET); \
-+	elif [ "${ARCH}" = "i386" ] ; then \
-+		$(CC) -m32 $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) $(TARGET).c -o $(TARGET); \
-+	else \
-+		echo 'ERROR: UNKNOWN ARCH'; \
-+	fi;
- 
-+install:
-+	$(INSTALL) $(TARGET) $(DESTDIR)$(PREFIX)/bin
- clean:
--	-rm -rf x86_64/ i386/
--
--
-+	-rm $(TARGET)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69833e89.318f7.40182cb5>