Date: Sun, 15 Jul 2018 13:34:37 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474690 - in head/x11: . admiral Message-ID: <201807151334.w6FDYbQg070191@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sun Jul 15 13:34:37 2018 New Revision: 474690 URL: https://svnweb.freebsd.org/changeset/ports/474690 Log: New port: x11/admiral -- Merge concurrent outputs for a status bar Submitted by: Alexandre C. GuimarĂ£es <lbdm@privacychain.ch> Differential Revision: https://reviews.freebsd.org/D15840 Added: head/x11/admiral/ head/x11/admiral/Makefile (contents, props changed) head/x11/admiral/distinfo (contents, props changed) head/x11/admiral/pkg-descr (contents, props changed) Modified: head/x11/Makefile Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Sun Jul 15 13:04:16 2018 (r474689) +++ head/x11/Makefile Sun Jul 15 13:34:37 2018 (r474690) @@ -6,6 +6,7 @@ SUBDIR += 3ddesktop SUBDIR += 9box SUBDIR += 9menu + SUBDIR += admiral SUBDIR += alacritty SUBDIR += alltray SUBDIR += alttab Added: head/x11/admiral/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/admiral/Makefile Sun Jul 15 13:34:37 2018 (r474690) @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= admiral +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0-7 +DISTVERSIONSUFFIX= -g5a9f33b +CATEGORIES= x11 + +MAINTAINER= lebarondemerde@privacychain.ch +COMMENT= Merge concurrent outputs for a status bar + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= sector-f + +CARGO_CRATES= ansi_term-0.10.2 \ + atty-0.2.6 \ + bitflags-1.0.1 \ + clap-2.29.2 \ + libc-0.2.42 \ + num_cpus-1.8.0 \ + quote-0.3.15 \ + redox_syscall-0.1.37 \ + redox_termios-0.1.1 \ + serde-1.0.27 \ + serde_derive-1.0.27 \ + serde_derive_internals-0.19.0 \ + strsim-0.6.0 \ + syn-0.11.11 \ + synom-0.11.3 \ + termion-1.5.1 \ + textwrap-0.9.0 \ + threadpool-1.7.1 \ + toml-0.4.5 \ + unicode-width-0.1.4 \ + unicode-xid-0.0.4 \ + vec_map-0.8.0 \ + winapi-0.3.3 \ + winapi-i686-pc-windows-gnu-0.3.2 \ + winapi-x86_64-pc-windows-gnu-0.3.2 + +OPTIONS_DEFINE= EXAMPLES + +PORTEXAMPLES= * + +PLIST_FILES= bin/admiral + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/admiral + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} admiral.d ${STAGEDIR}${EXAMPLESDIR}/admiral.d) + +.include <bsd.port.mk> Added: head/x11/admiral/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/admiral/distinfo Sun Jul 15 13:34:37 2018 (r474690) @@ -0,0 +1,53 @@ +TIMESTAMP = 1529126735 +SHA256 (rust/crates/ansi_term-0.10.2.tar.gz) = 6b3568b48b7cefa6b8ce125f9bb4989e52fbcc29ebea88df04cc7c5f12f70455 +SIZE (rust/crates/ansi_term-0.10.2.tar.gz) = 16642 +SHA256 (rust/crates/atty-0.2.6.tar.gz) = 8352656fd42c30a0c3c89d26dea01e3b77c0ab2af18230835c15e2e13cd51859 +SIZE (rust/crates/atty-0.2.6.tar.gz) = 5617 +SHA256 (rust/crates/bitflags-1.0.1.tar.gz) = b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf +SIZE (rust/crates/bitflags-1.0.1.tar.gz) = 13451 +SHA256 (rust/crates/clap-2.29.2.tar.gz) = 4151c5790817c7d21bbdc6c3530811f798172915f93258244948b93ba19604a6 +SIZE (rust/crates/clap-2.29.2.tar.gz) = 188578 +SHA256 (rust/crates/libc-0.2.42.tar.gz) = b685088df2b950fccadf07a7187c8ef846a959c142338a48f9dc0b94517eb5f1 +SIZE (rust/crates/libc-0.2.42.tar.gz) = 336080 +SHA256 (rust/crates/num_cpus-1.8.0.tar.gz) = c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30 +SIZE (rust/crates/num_cpus-1.8.0.tar.gz) = 10539 +SHA256 (rust/crates/quote-0.3.15.tar.gz) = 7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a +SIZE (rust/crates/quote-0.3.15.tar.gz) = 12041 +SHA256 (rust/crates/redox_syscall-0.1.37.tar.gz) = 0d92eecebad22b767915e4d529f89f28ee96dbbf5a4810d2b844373f136417fd +SIZE (rust/crates/redox_syscall-0.1.37.tar.gz) = 13980 +SHA256 (rust/crates/redox_termios-0.1.1.tar.gz) = 7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76 +SIZE (rust/crates/redox_termios-0.1.1.tar.gz) = 3227 +SHA256 (rust/crates/serde-1.0.27.tar.gz) = db99f3919e20faa51bb2996057f5031d8685019b5a06139b1ce761da671b8526 +SIZE (rust/crates/serde-1.0.27.tar.gz) = 64308 +SHA256 (rust/crates/serde_derive-1.0.27.tar.gz) = f4ba7591cfe93755e89eeecdbcc668885624829b020050e6aec99c2a03bd3fd0 +SIZE (rust/crates/serde_derive-1.0.27.tar.gz) = 27098 +SHA256 (rust/crates/serde_derive_internals-0.19.0.tar.gz) = 6e03f1c9530c3fb0a0a5c9b826bdd9246a5921ae995d75f512ac917fc4dd55b5 +SIZE (rust/crates/serde_derive_internals-0.19.0.tar.gz) = 17905 +SHA256 (rust/crates/strsim-0.6.0.tar.gz) = b4d15c810519a91cf877e7e36e63fe068815c678181439f2f29e2562147c3694 +SIZE (rust/crates/strsim-0.6.0.tar.gz) = 8500 +SHA256 (rust/crates/syn-0.11.11.tar.gz) = d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad +SIZE (rust/crates/syn-0.11.11.tar.gz) = 63309 +SHA256 (rust/crates/synom-0.11.3.tar.gz) = a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6 +SIZE (rust/crates/synom-0.11.3.tar.gz) = 17120 +SHA256 (rust/crates/termion-1.5.1.tar.gz) = 689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096 +SIZE (rust/crates/termion-1.5.1.tar.gz) = 20659 +SHA256 (rust/crates/textwrap-0.9.0.tar.gz) = c0b59b6b4b44d867f1370ef1bd91bfb262bf07bf0ae65c202ea2fbc16153b693 +SIZE (rust/crates/textwrap-0.9.0.tar.gz) = 15795 +SHA256 (rust/crates/threadpool-1.7.1.tar.gz) = e2f0c90a5f3459330ac8bc0d2f879c693bb7a2f59689c1083fc4ef83834da865 +SIZE (rust/crates/threadpool-1.7.1.tar.gz) = 15756 +SHA256 (rust/crates/toml-0.4.5.tar.gz) = a7540f4ffc193e0d3c94121edb19b055670d369f77d5804db11ae053a45b6e7e +SIZE (rust/crates/toml-0.4.5.tar.gz) = 60003 +SHA256 (rust/crates/unicode-width-0.1.4.tar.gz) = bf3a113775714a22dcb774d8ea3655c53a32debae63a063acc00a91cc586245f +SIZE (rust/crates/unicode-width-0.1.4.tar.gz) = 15283 +SHA256 (rust/crates/unicode-xid-0.0.4.tar.gz) = 8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc +SIZE (rust/crates/unicode-xid-0.0.4.tar.gz) = 16034 +SHA256 (rust/crates/vec_map-0.8.0.tar.gz) = 887b5b631c2ad01628bbbaa7dd4c869f80d3186688f8d0b6f58774fbe324988c +SIZE (rust/crates/vec_map-0.8.0.tar.gz) = 13742 +SHA256 (rust/crates/winapi-0.3.3.tar.gz) = b09fb3b6f248ea4cd42c9a65113a847d612e17505d6ebd1f7357ad68a8bf8693 +SIZE (rust/crates/winapi-0.3.3.tar.gz) = 905089 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.3.2.tar.gz) = ec6667f60c23eca65c561e63a13d81b44234c2e38a6b6c959025ee907ec614cc +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.3.2.tar.gz) = 3143529 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.3.2.tar.gz) = 98f12c52b2630cd05d2c3ffd8e008f7f48252c042b4871c72aed9dc733b96668 +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.3.2.tar.gz) = 3165198 +SHA256 (sector-f-admiral-v1.0.0-7-g5a9f33b_GH0.tar.gz) = fae546c3e254ca01833f7d5261d7af8d79c4a59675e5a3506e2c4fb5a40d59d9 +SIZE (sector-f-admiral-v1.0.0-7-g5a9f33b_GH0.tar.gz) = 10288 Added: head/x11/admiral/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/admiral/pkg-descr Sun Jul 15 13:34:37 2018 (r474690) @@ -0,0 +1,21 @@ +Merge concurrent outputs for a status bar. + +Programs like lemonbar and i3bar have become popular in recent years, and with +good reason. These programs read from standard input and then output what they +receive on a status bar. For the most part, their output is identical to their +input, but they accept some format strings which allow the user to specify +things like colors, justification, and clickable areas. + +A typical status bar script looks something like this: a shell script, is used +to collect and format the output of various commands. The main problem with this +method is that it's rather difficult to handle timing correctly. A counter +showing the number of outdated programs on the system can be updated less +frequently than a clock. + +Admiral runs programs specified by the user and prints their output. It allows +for a clear separation of different sections, which simplifies configuration. +Each program is run in its own thread. This means that each section is updated +independently of the other sections. It also means that if something fails, it +fails independently of the other sections. + +WWW: https://github.com/sector-f/admiral
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807151334.w6FDYbQg070191>