Date: Wed, 11 Oct 2023 06:05:12 GMT 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: d93c3b316aee - main - x11/xvattr: resurrect port Message-ID: <202310110605.39B65Ca6053344@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=d93c3b316aee2d87777260b063ec063049d12c81 commit d93c3b316aee2d87777260b063ec063049d12c81 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-10-09 20:32:44 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-10-11 06:04:37 +0000 x11/xvattr: resurrect port Find the distfile online and bring the port back from the attic. Give it a good dusting off and set LICENSE. xvattr lets you list the available attributes associated with the Xv extension to X11. It also allows you to change the values of the attributes. This can be used to change brightness and so on for programs that use Xv overlays. Requested by: rsjw on libera.chat/#freebsd-ports --- MOVED | 1 - x11/Makefile | 1 + x11/xvattr/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ x11/xvattr/distinfo | 3 +++ x11/xvattr/pkg-descr | 4 ++++ 5 files changed, 50 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 4768067a5bf4..11970a4db759 100644 --- a/MOVED +++ b/MOVED @@ -4433,7 +4433,6 @@ x11/sisctrl||2020-05-05|Has expired: Broken for more than 6 months x11/xaniroc||2020-05-05|Has expired: Broken for more than 6 months x11/xmove||2020-05-05|Has expired: Broken for more than 6 months x11/xnodecor||2020-05-05|Has expired: Broken for more than 6 months -x11/xvattr||2020-05-05|Has expired: Broken for more than 6 months x11-clocks/tktz||2020-05-05|Has expired: Broken for more than 6 months x11-clocks/xtimer||2020-05-05|Has expired: Broken for more than 6 months x11-themes/gnome-icons-dropline-neu||2020-05-05|Has expired: Broken for more than 6 months diff --git a/x11/Makefile b/x11/Makefile index 57e03c7a19c0..586839699988 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -614,6 +614,7 @@ SUBDIR += xvinfo SUBDIR += xvkbd SUBDIR += xvmcinfo + SUBDIR += xvattr SUBDIR += xvt SUBDIR += xwatchwin SUBDIR += xwd diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile new file mode 100644 index 000000000000..87347e35ec87 --- /dev/null +++ b/x11/xvattr/Makefile @@ -0,0 +1,42 @@ +PORTNAME= xvattr +DISTVERSION= 1.3 +PORTREVISION= 11 +CATEGORIES= x11 +MASTER_SITES= LOCAL/fuz +DISTNAME= xvattr_${DISTVERSION}.orig + +MAINTAINER= fuz@FreeBSD.org +COMMENT= Getting and setting Xv attributes + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libharfbuzz.so:print/harfbuzz + +USES= gnome pkgconfig xorg +USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_XORG= x11 xv + +PLIST_FILES= bin/xvattr bin/gxvattr \ + man/man1/${PORTNAME}.1.gz + +CFLAGS+= -DVERSION=\"${PORTVERSION}\" +WRKSRC= ${WRKDIR}/xvattr-${DISTVERSION} + +post-extract: + @${RM} ${WRKSRC}/getopt.h + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \ + `pkg-config --cflags --libs xv x11` + cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \ + `pkg-config --cflags --libs gtk+-2.0 xv x11` + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/x11/xvattr/distinfo b/x11/xvattr/distinfo new file mode 100644 index 000000000000..f0ec18fe9831 --- /dev/null +++ b/x11/xvattr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1697004253 +SHA256 (xvattr_1.3.orig.tar.gz) = 1cedc0b4795e6f4234b1d52172f74d7163ecb8142fbb35dc86c905df5478d8fa +SIZE (xvattr_1.3.orig.tar.gz) = 82263 diff --git a/x11/xvattr/pkg-descr b/x11/xvattr/pkg-descr new file mode 100644 index 000000000000..c844e57f7707 --- /dev/null +++ b/x11/xvattr/pkg-descr @@ -0,0 +1,4 @@ +xvattr lets you list the available attributes associated with the Xv +extension to X11. It also allows you to change the values of the +attributes. This can be used to change brightness and so on for programs +that use Xv overlays.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310110605.39B65Ca6053344>