From nobody Wed Oct 11 06:05:12 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S52LK1xTQz4wxKc; Wed, 11 Oct 2023 06:05:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S52LK1Mwyz3STH; Wed, 11 Oct 2023 06:05:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697004313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mpo0waD/hBrQeyZAMdggmKX846B7FbsrLzQxqyc1jQQ=; b=yFXc1eHFS2xVJYW87A4WP7dZF4y6LOPkl/F4anOh/D/yFJ/YTaaw7LTyhNIkOpLB5JZxpH lT+g9NCjZ1D99rP0X3qWyg41+vizZGTq5yGjhkEPHhsszpKW/NXYOvHQ5rgHFfwuj47YZ/ 4YX2kBR29g9Vg1EHiwujhKGXuWdMbBWTUNmSPjSJ4wt35hF4mXN+ozfgnKj3TKf+4wPR1d 4DOL1TvMJ6YWlYzNeL7RB90qO46wlYLT+oocDozyFRqXLjzl9PqBszwpHs43YJyskYT7Ri YDw9aQIqWhJpUo9qZAmAm7CNsGKiknZQJbm9k8x5PotwuX2ttqVtDukmG9hDow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697004313; a=rsa-sha256; cv=none; b=YjbcfhUSmdIHqe1dXfDeH3WUBCg4RtP5+sCndun1LbW295cSJZztkaIUG0z+cN8puBghi6 xo4thU5FTj4CfTn0fpWohsZzjtVkO+1CJJpz1S6JWQLHrB0EKpxWHTos8x5P7LP/gckdh5 PF/FQsT5lH2XELGQz9Fslnp2gUEkAXYb57K3ChMF3ZOOQxml8wgjrgNz7E1DvUoCJRWB2i tWDIK9OABElm0rjU/L5HT3zdonZqLiXBOMKRPW88OhXZXVwIbwAh+hZNS+z4vbg+XLy+LJ eOdEL8vtA31TNyYntz8GggBMw4y9BeiTK4LoiCi6lnr5kma0NdA/yNLNLmu2sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697004313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mpo0waD/hBrQeyZAMdggmKX846B7FbsrLzQxqyc1jQQ=; b=Q68EpYv7Az4et98AKWl2NIYdWtC7PSdp0V5FE6dGkieyrKGvqSS7IJCUvpWB/R3JjtOUeB ZKnp3J8+FbhIWqFjq80SSDmB6dKOoOFqnl/MmY3gaSpiYyi+5sW1oTzm3UP/CsrO+Lzfv7 oCrBixVJN/I0eWZCQsVYmf5Z0FAQNp3Krt9Cs7yTDi9imsn7yYGTH9sen43vQRKQqP1k8U anACJ/68jFt0IR5RXRqdZLHxq1hoS+4qREsBNSbtNIg6eUT6jmRaIztQ453xldnOXDw4m1 AGXmNQrOSWm2loz08z0RKDm2vtSGtMRGnpu8j4++EY3YrwLN1mSR3S+aHU6ROw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S52LK0RSpz18Yw; Wed, 11 Oct 2023 06:05:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39B65Ctp053347; Wed, 11 Oct 2023 06:05:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39B65Ca6053344; Wed, 11 Oct 2023 06:05:12 GMT (envelope-from git) Date: Wed, 11 Oct 2023 06:05:12 GMT Message-Id: <202310110605.39B65Ca6053344@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: d93c3b316aee - main - x11/xvattr: resurrect port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d93c3b316aee2d87777260b063ec063049d12c81 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=d93c3b316aee2d87777260b063ec063049d12c81 commit d93c3b316aee2d87777260b063ec063049d12c81 Author: Robert Clausecker AuthorDate: 2023-10-09 20:32:44 +0000 Commit: Robert Clausecker 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 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.