From nobody Tue Jun 25 06:46:30 2024 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 4W7b2t3D45z5NtbL; Tue, 25 Jun 2024 06:46:30 +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 4W7b2t2M3gz43g9; Tue, 25 Jun 2024 06:46:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719297990; 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=/a5AE2qrYDbjce2VJ9k3ISV2/Njkv8CU1T0j2p7ZJL8=; b=WSjn61a0N5oSWNvsu5THM68/0pNPjcrDLVvODgczLYXnM8xeaLqhdq9Im1OTuH3BhYGNKh oERo+x6Z6GAuKqSUeSjJ7/doIhSvbV+cfY7fNAgr+GPnKDZYbI2dZ1VsYHSKSQSE7bWE/z 91ywjmMg6TD7Yuk4Ia/05oQHbjRhU3tmQtIqJof4kiGokf00+8igfA2B0gJwra0aT6iPds V1PvjEZheORcFBB3RYpYSIpjfFlGOfF7fgxLimn1H/KguGKInQRnI+9slDCgautLrt8QUf Z6M8Zy863hMjMc9dFpdeLubpFEde6FyK8Y3hEQOmVHIiNUqC2GyNOhG60udPUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719297990; a=rsa-sha256; cv=none; b=iJ6jus+Ar1mRB/vQSS/w3W9EON4WPk9ipfxP9C/KpDbFASKVZOxKkBMcFRN6zJqsDgZtid BfrR359HcFnebUNaI38kAwgSmki2pPZ/jGElRMFOP8IQdgSvh+VJ6s4TTeLNWJT/9WnpQ7 p9JmkCGI9eueNSWBMnGDdMoTCby8CWt3whM0TOW0fmjITuq+S8HsyVZ5jjXD4ozIWrKgOJ dCSzj5Wrea9W0cRMw1T1jZMWnsaBN9GkM0CvUrdhzZ1SQ66nXqvPkAB6wjI9wMs+vWktTx Vp9hMiHSPS3Wu5NyQthXm53OdXeye0eqasMsbMuIt/C4GQ92JMwMUpe/7b47kg== 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=1719297990; 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=/a5AE2qrYDbjce2VJ9k3ISV2/Njkv8CU1T0j2p7ZJL8=; b=IKpFbdyM+9oQ/dILkxLixlEMDKtewF/n6RdDKYbH3JNn9/9NU4FH8j0/rhtXvdGDcfvc4P nqjoWZpKd/hYQMKQt28BNeB9pOnJaJw823QyM+vXMNPlX5utnAMZr3O2sU0MqbGTb7eW5/ YqPNZlEyZGFcy/nrbU6SpetwwQwWyScoNIDjwzOiVzb6/kTXxAGh2p8vGnmXOB7JnPZa8I e9vdPBxwuakc7A2UM834NImXjYr03658FGX/oTM5XL3Hwpqpqse/abUjPwdB/lDdn3bJgz vE5rMDcX5pCYzcMg/ZWN4L8ookSzjLD4VIqbi6LMP1jsZfFaer20lrzXM9EH+g== 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 4W7b2t1r2rzrgQ; Tue, 25 Jun 2024 06:46:30 +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 45P6kUBv024550; Tue, 25 Jun 2024 06:46:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45P6kUYA024547; Tue, 25 Jun 2024 06:46:30 GMT (envelope-from git) Date: Tue, 25 Jun 2024 06:46:30 GMT Message-Id: <202406250646.45P6kUYA024547@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 7bd5500819bf - main - x11/boomer: new port had been added (+) 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bd5500819bfa2eec4a7d65ac6cb0987b8998559 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bd5500819bfa2eec4a7d65ac6cb0987b8998559 commit 7bd5500819bfa2eec4a7d65ac6cb0987b8998559 Author: Alexey Dokuchaev AuthorDate: 2024-06-25 06:45:46 +0000 Commit: Alexey Dokuchaev CommitDate: 2024-06-25 06:45:46 +0000 x11/boomer: new port had been added (+) Boomer is a screen zoomer for X11, written using OpenGL shaders for fast screen grab and drag, enlighten a portion of the screen with a variable radius (flashlight effect), etc. Written in Nim language, it compiles into small executable that only needs OpenGL and X11 libraries at run-time. WWW: https://github.com/tsoding/boomer --- x11/Makefile | 1 + x11/boomer/Makefile | 41 +++++++++++++++++++++++++++++++++ x11/boomer/distinfo | 7 ++++++ x11/boomer/files/opengl-nimblemeta.json | 25 ++++++++++++++++++++ x11/boomer/files/x11-nimblemeta.json | 40 ++++++++++++++++++++++++++++++++ x11/boomer/pkg-descr | 3 +++ 6 files changed, 117 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 60f37aed6a01..56a99eb4a1f2 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -27,6 +27,7 @@ SUBDIR += bgs SUBDIR += bitmap SUBDIR += bmpanel2 + SUBDIR += boomer SUBDIR += brisk-menu SUBDIR += budgie SUBDIR += budgie-desktop diff --git a/x11/boomer/Makefile b/x11/boomer/Makefile new file mode 100644 index 000000000000..71177839b396 --- /dev/null +++ b/x11/boomer/Makefile @@ -0,0 +1,41 @@ +PORTNAME= boomer +PORTVERSION= 0.0.1 +CATEGORIES= x11 + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Screen zoom and highlight program for X11 +WWW= https://github.com/tsoding/boomer + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= nimble:devel/nimble +RUN_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/libglvnd \ + ${LOCALBASE}/lib/libX11.so:x11/libX11 \ + ${LOCALBASE}/lib/libXrandr.so:x11/libXrandr + +USE_GITHUB= yes +GH_ACCOUNT= tsoding nim-lang:x11,opengl +GH_PROJECT= x11:x11 opengl:opengl +GH_TAGNAME= dfd4e1f 1.2:x11 1.2.9:opengl +GH_SUBDIR= nimbledeps/pkgs2/x11-1.2:x11 \ + nimbledeps/pkgs2/opengl-1.2.9:opengl + +PLIST_FILES= bin/${PORTNAME} + +post-patch: +.for pkg in x11 opengl + ${LN} -s ${FILESDIR}/${pkg}-nimblemeta.json \ + ${WRKSRC_${pkg}}/nimblemeta.json +.endfor + ${MV} ${WRKSRC_opengl}/src/opengl* ${WRKSRC_opengl} + +do-build: + cd ${BUILD_WRKSRC} && nimble build --nim=${LOCALBASE}/nim/bin/nim \ + --localdeps --offline --reject --verbose -d:release -d:nimDebugDlOpen + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/x11/boomer/distinfo b/x11/boomer/distinfo new file mode 100644 index 000000000000..1f191e7fa75a --- /dev/null +++ b/x11/boomer/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1707424554 +SHA256 (tsoding-boomer-0.0.1-dfd4e1f_GH0.tar.gz) = 1c061cc3d55513ace5b0848f883039263ffb65ea502d2903dd032ce44ac976c3 +SIZE (tsoding-boomer-0.0.1-dfd4e1f_GH0.tar.gz) = 7074555 +SHA256 (nim-lang-x11-1.2_GH0.tar.gz) = 40a04906a522faa1746babcc72a536f26cdeac646475ac8a297945bd7813fdcf +SIZE (nim-lang-x11-1.2_GH0.tar.gz) = 96522 +SHA256 (nim-lang-opengl-1.2.9_GH0.tar.gz) = bb7a8a91da12f33b3b12564956e031cbc89633d4576d456412a0f26728eb335e +SIZE (nim-lang-opengl-1.2.9_GH0.tar.gz) = 102551 diff --git a/x11/boomer/files/opengl-nimblemeta.json b/x11/boomer/files/opengl-nimblemeta.json new file mode 100644 index 000000000000..5abad8f68140 --- /dev/null +++ b/x11/boomer/files/opengl-nimblemeta.json @@ -0,0 +1,25 @@ +{ + "version": 1, + "metaData": { + "url": "https://github.com/nim-lang/opengl", + "downloadMethod": "git", + "vcsRevision": "8e2e098f82dc5eefd874488c37b5830233cd18f4", + "files": [ + "/opengl/private/types.nim", + "/opengl.nim", + "/opengl/glu.nim", + "/opengl/glut.nim", + "/opengl.nimble", + "/opengl/private/errors.nim", + "/opengl/private/prelude.nim", + "/opengl/wingl.nim", + "/opengl/private/constants.nim", + "/opengl/glx.nim", + "/opengl/private/procs.nim" + ], + "binaries": [], + "specialVersions": [ + "1.2.9" + ] + } +} diff --git a/x11/boomer/files/x11-nimblemeta.json b/x11/boomer/files/x11-nimblemeta.json new file mode 100644 index 000000000000..fbef2f65c625 --- /dev/null +++ b/x11/boomer/files/x11-nimblemeta.json @@ -0,0 +1,40 @@ +{ + "version": 1, + "metaData": { + "url": "https://github.com/nim-lang/x11", + "downloadMethod": "git", + "vcsRevision": "29aca5e519ebf5d833f63a6a2769e62ec7bfb83a", + "files": [ + "/x11/xinput.nim", + "/x11/xf86vmode.nim", + "/x11/keysym.nim", + "/x11/cursorfont.nim", + "/x11/xinput2.nim", + "/x11/xinerama.nim", + "/x11.nimble", + "/x11/xi.nim", + "/x11/xf86dga.nim", + "/x11/xkb.nim", + "/x11/xrender.nim", + "/x11/xutil.nim", + "/x11/xi2.nim", + "/x11/x11pragma.nim", + "/x11/xlib.nim", + "/x11/x.nim", + "/x11/xresource.nim", + "/x11/xv.nim", + "/x11/xrandr.nim", + "/x11/xkblib.nim", + "/x11/xvlib.nim", + "/x11/xft.nim", + "/x11/xatom.nim", + "/x11/xcms.nim", + "/x11/xtst.nim", + "/x11/xshm.nim" + ], + "binaries": [], + "specialVersions": [ + "1.2" + ] + } +} diff --git a/x11/boomer/pkg-descr b/x11/boomer/pkg-descr new file mode 100644 index 000000000000..ea4efc0cac13 --- /dev/null +++ b/x11/boomer/pkg-descr @@ -0,0 +1,3 @@ +Boomer is a screen zoomer for X11, written using OpenGL shaders for +fast screen grab and drag, enlighten the portion of the screen with +a variable radius (flashlight effect), etc.