summaryrefslogtreecommitdiff
path: root/misc/nora
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2021-10-11 10:39:20 +0000
committerpin <pin@pkgsrc.org>2021-10-11 10:39:20 +0000
commit5eb5347c1a036a01871e21acc75154a107021bca (patch)
treef0a5b3629bbd847956fc0b7319c4326df773a501 /misc/nora
parent364890c0e6c09f4071f053f343a9b6e9ac7eebd4 (diff)
downloadpkgsrc-5eb5347c1a036a01871e21acc75154a107021bca.tar.gz
misc/nora: import package
Freezes the screen then runs a program and unfreezes the screen again. The main goal is to change how screenshot tools behave when the screen updates.
Diffstat (limited to 'misc/nora')
-rw-r--r--misc/nora/DESCR2
-rw-r--r--misc/nora/Makefile27
-rw-r--r--misc/nora/PLIST2
-rw-r--r--misc/nora/cargo-depends.mk30
-rw-r--r--misc/nora/distinfo89
5 files changed, 150 insertions, 0 deletions
diff --git a/misc/nora/DESCR b/misc/nora/DESCR
new file mode 100644
index 00000000000..004c01fc60f
--- /dev/null
+++ b/misc/nora/DESCR
@@ -0,0 +1,2 @@
+Freezes the screen then runs a program and unfreezes the screen again.
+The main goal is to change how screenshot tools behave when the screen updates.
diff --git a/misc/nora/Makefile b/misc/nora/Makefile
new file mode 100644
index 00000000000..bd10e74d04a
--- /dev/null
+++ b/misc/nora/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2021/10/11 10:39:20 pin Exp $
+
+DISTNAME= nora-0.2.0
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jokler/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pin@NetBSD.org
+HOMEPAGE= https://github.com/jokler/nora/
+COMMENT= Freezes the screen for other programs
+LICENSE= gnu-gpl-v3
+
+.include "cargo-depends.mk"
+
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS= bin
+
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib
+RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libX11}/lib
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/nora ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/nora/PLIST b/misc/nora/PLIST
new file mode 100644
index 00000000000..9c5bafe8cc8
--- /dev/null
+++ b/misc/nora/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/10/11 10:39:20 pin Exp $
+bin/nora
diff --git a/misc/nora/cargo-depends.mk b/misc/nora/cargo-depends.mk
new file mode 100644
index 00000000000..761f53d4d08
--- /dev/null
+++ b/misc/nora/cargo-depends.mk
@@ -0,0 +1,30 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/10/11 10:39:20 pin Exp $
+
+CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+= anyhow-1.0.32
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= bitflags-1.2.1
+CARGO_CRATE_DEPENDS+= clap-2.33.3
+CARGO_CRATE_DEPENDS+= heck-0.3.1
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.15
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= libc-0.2.76
+CARGO_CRATE_DEPENDS+= pkg-config-0.3.18
+CARGO_CRATE_DEPENDS+= proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+= proc-macro-error-attr-1.0.4
+CARGO_CRATE_DEPENDS+= proc-macro2-1.0.20
+CARGO_CRATE_DEPENDS+= quote-1.0.7
+CARGO_CRATE_DEPENDS+= strsim-0.8.0
+CARGO_CRATE_DEPENDS+= structopt-0.3.17
+CARGO_CRATE_DEPENDS+= structopt-derive-0.4.10
+CARGO_CRATE_DEPENDS+= syn-1.0.40
+CARGO_CRATE_DEPENDS+= textwrap-0.11.0
+CARGO_CRATE_DEPENDS+= unicode-segmentation-1.6.0
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1
+CARGO_CRATE_DEPENDS+= vec_map-0.8.2
+CARGO_CRATE_DEPENDS+= version_check-0.9.2
+CARGO_CRATE_DEPENDS+= winapi-0.3.9
+CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= x11-2.19.1
diff --git a/misc/nora/distinfo b/misc/nora/distinfo
new file mode 100644
index 00000000000..65fdc671409
--- /dev/null
+++ b/misc/nora/distinfo
@@ -0,0 +1,89 @@
+$NetBSD: distinfo,v 1.1 2021/10/11 10:39:20 pin Exp $
+
+RMD160 (ansi_term-0.11.0.crate) = 0bc10d826fc7a658ac1026dac333cc54f26f7c5b
+SHA512 (ansi_term-0.11.0.crate) = a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
+Size (ansi_term-0.11.0.crate) = 17087 bytes
+RMD160 (anyhow-1.0.32.crate) = 16e23e59b2273ef88b50ee402e05e07ee9506d0f
+SHA512 (anyhow-1.0.32.crate) = 4646a3b85459fefd826c11fcdf69e532467d2d6ec0711b8d26312483ba988fa8492fe2f727332c39479e25dd37ad04830ea4ab19034cdcdc639e226e2744dc90
+Size (anyhow-1.0.32.crate) = 28512 bytes
+RMD160 (atty-0.2.14.crate) = 63c38cbe0fc07a4533253427a164612b456094cf
+SHA512 (atty-0.2.14.crate) = d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+Size (atty-0.2.14.crate) = 5470 bytes
+RMD160 (bitflags-1.2.1.crate) = 186b1893055eb415978ca547b0775aaa617a00fd
+SHA512 (bitflags-1.2.1.crate) = ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
+Size (bitflags-1.2.1.crate) = 16745 bytes
+RMD160 (clap-2.33.3.crate) = 58082599dc4f1d5b29825be7e0258f052f1069bd
+SHA512 (clap-2.33.3.crate) = 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
+Size (clap-2.33.3.crate) = 201925 bytes
+RMD160 (heck-0.3.1.crate) = e1df454f4fb46feab9f869917f22e1ebcd3c3579
+SHA512 (heck-0.3.1.crate) = 134722192c46fd64b38d2fbec3a2511c560916e906491a72c4ec9d99b9f716dc58942fb99cac99b9a6ef2de5b5ad1d1c1155f292d091401b6873347d80c086d6
+Size (heck-0.3.1.crate) = 54666 bytes
+RMD160 (hermit-abi-0.1.15.crate) = b350d27e2b2cae3d1ab3d3b3a362f6c307cd09b5
+SHA512 (hermit-abi-0.1.15.crate) = f81f6a87e0a182b5e49a2edf60f47243b7cbb116df5aa6a3354f1e230d4030bb5697ad4eb9abb6203ff66c1cfac1fc35b7d7e76dedc276767124ea4f41f97535
+Size (hermit-abi-0.1.15.crate) = 9597 bytes
+RMD160 (lazy_static-1.4.0.crate) = 6c74661c140113ff3b1d660bba095259398bbb55
+SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+Size (lazy_static-1.4.0.crate) = 10443 bytes
+RMD160 (libc-0.2.76.crate) = 91a3ac7197bf273bf9de72161174b3715b23e0ad
+SHA512 (libc-0.2.76.crate) = 0d21fb1f59881836455f6f7a242222b51cb7167a9d803668f0344637b6b114d983bfdd6338259971565b0ed77fc23006c432d45cd86e8b31003d423af0faa117
+Size (libc-0.2.76.crate) = 506496 bytes
+RMD160 (nora-0.2.0.tar.gz) = f0292f84007bf317c0a21f5a186197b0ab377cc1
+SHA512 (nora-0.2.0.tar.gz) = 6bacbacbacc2a7b73421b977e6d666523e020034eaf80b59038484cf3bd97698ad6e666329f1c8744cfe592a8a1af23ac5216a5d38f574af89b9fc1d57a64c3e
+Size (nora-0.2.0.tar.gz) = 18548 bytes
+RMD160 (pkg-config-0.3.18.crate) = 58ed6cd7f516c9d29b5d2470fa8642095c3ab031
+SHA512 (pkg-config-0.3.18.crate) = b4cae39a11bb80f6df96262ed77844270c0a02793ace5dd255820e9ce52a5f3a43b36bd6296ab9428253e96f9b991bb6a7090d7b749db1ecb0b03aa721813d8a
+Size (pkg-config-0.3.18.crate) = 14674 bytes
+RMD160 (proc-macro-error-1.0.4.crate) = 88f49e8553a6925a451f22341e19a51805ab0154
+SHA512 (proc-macro-error-1.0.4.crate) = 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db
+Size (proc-macro-error-1.0.4.crate) = 25293 bytes
+RMD160 (proc-macro-error-attr-1.0.4.crate) = 548af52e429c599c215d5b5afe207d47750fae19
+SHA512 (proc-macro-error-attr-1.0.4.crate) = 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495
+Size (proc-macro-error-attr-1.0.4.crate) = 7971 bytes
+RMD160 (proc-macro2-1.0.20.crate) = ca3756a78742f9d80bbadc2cde9f2cf08b8746a0
+SHA512 (proc-macro2-1.0.20.crate) = 37dd71ef186209287e0579695f8cdd3aadda88bdd51dd159279ad2a588758da472308a9ee3d86524f59a38d3c83d97b10b2634be185a02b532d7f963071ec3b6
+Size (proc-macro2-1.0.20.crate) = 36558 bytes
+RMD160 (quote-1.0.7.crate) = f6637701a383ef477c2fbddb0268b0c2590c1e89
+SHA512 (quote-1.0.7.crate) = b7cb576c07419854f71072a88e4216f50d78196703d3d8a1068dfd0f2ccb1e417c3a865ec3be613b46e74e46654f64378f527800701f74d50352cb766a885953
+Size (quote-1.0.7.crate) = 25170 bytes
+RMD160 (strsim-0.8.0.crate) = 980ec0eecba085ca6419d089af3743e23b27cd16
+SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
+Size (strsim-0.8.0.crate) = 9309 bytes
+RMD160 (structopt-0.3.17.crate) = 219b07bbb7d47fca350882c0c660271f305d7a75
+SHA512 (structopt-0.3.17.crate) = dc193e216dca278b081057072e7888f5b0e0c773fac8e136efd9d0af8cfe89f60d07459bbf23172dd7f8c4ee461458a7d5be957d6cddcc5bbff18515716b66c0
+Size (structopt-0.3.17.crate) = 50166 bytes
+RMD160 (structopt-derive-0.4.10.crate) = 6219f51558a6623c8c76f8140653b513d9ef0a74
+SHA512 (structopt-derive-0.4.10.crate) = b390a703cf8103fe89663bbeaed30871b8c0f9738f6543fa35e36125c0d1eb3032e363812c1c197c4a42da204b992e7c69fe11bedd4474d3ddea19a96c81bbad
+Size (structopt-derive-0.4.10.crate) = 19724 bytes
+RMD160 (syn-1.0.40.crate) = 6e8189ba9acbcb6fd1e61883bc67adc74fdc9691
+SHA512 (syn-1.0.40.crate) = ef0143314cdd72ff8f468e293af1da22e66f415692816b37fc96b1c17f697dc6f0358eb1ec72f47592ef6b4ebc4672250fb2a30b113e138f61504e5bb1c4745d
+Size (syn-1.0.40.crate) = 224768 bytes
+RMD160 (textwrap-0.11.0.crate) = 3a9a334e7c0c6cbb9f54e51ad991304da31caf2c
+SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
+Size (textwrap-0.11.0.crate) = 17322 bytes
+RMD160 (unicode-segmentation-1.6.0.crate) = 4c9d2a58b28cebf771089b5b88a13f632a817f52
+SHA512 (unicode-segmentation-1.6.0.crate) = 80c6f92d9b39602a05809dc63a7cb05a305441689b6056801097a882a36c9795aabd660f884f707daa7e7fe6ad4983f6e245c226962cc982dbfeea2ddfddf41e
+Size (unicode-segmentation-1.6.0.crate) = 90703 bytes
+RMD160 (unicode-width-0.1.8.crate) = 920b0f2e5ffe2e65efd68ea35640b2b9720636f0
+SHA512 (unicode-width-0.1.8.crate) = 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0
+Size (unicode-width-0.1.8.crate) = 16732 bytes
+RMD160 (unicode-xid-0.2.1.crate) = f22de16f57fe27fc9e88639f3a86310f8fd27ee7
+SHA512 (unicode-xid-0.2.1.crate) = 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2
+Size (unicode-xid-0.2.1.crate) = 14392 bytes
+RMD160 (vec_map-0.8.2.crate) = dc0c5e6458586494c3bea361d24856055b2b723b
+SHA512 (vec_map-0.8.2.crate) = 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
+Size (vec_map-0.8.2.crate) = 14466 bytes
+RMD160 (version_check-0.9.2.crate) = 7dd20a9323a2607d7d94c7cd52391b2fcbd3ca35
+SHA512 (version_check-0.9.2.crate) = b88a9d545ef103fe6d0eebe7ddcf328fc21fcb02c60828b347cfc35afd957669e652a94d880ef992450c167df3505838bc649e0d83896542fa13a149875acf26
+Size (version_check-0.9.2.crate) = 11979 bytes
+RMD160 (winapi-0.3.9.crate) = 37e72db32b20588d61821e9bc5e72fb31b1ed089
+SHA512 (winapi-0.3.9.crate) = ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
+Size (winapi-0.3.9.crate) = 1200382 bytes
+RMD160 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a7d1e9e7f940d2e376a1b6dede7f0a50ad191ab8
+SHA512 (winapi-i686-pc-windows-gnu-0.4.0.crate) = a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+Size (winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 bytes
+RMD160 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 300417853d251d91cadb9650992a6aa98248619f
+SHA512 (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
+Size (winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998 bytes
+RMD160 (x11-2.19.1.crate) = 4cb9b0a230e9adf2a31d916fb824eb9ebebd6ed8
+SHA512 (x11-2.19.1.crate) = 0b500b5a3d6cdb2ff5b2ac60cfca261bf3bb98ed3b36d0a52d85d195c1605550aa9cbe46fbaad94380b50b781002d75b1710f324e5f278ecf9707390c6a622ed
+Size (x11-2.19.1.crate) = 65593 bytes