diff --git a/x11/xcolor/Makefile b/x11/xcolor/Makefile index fb75dd12fba..9b85d3e1500 100644 --- a/x11/xcolor/Makefile +++ b/x11/xcolor/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2021/02/23 19:39:53 sthen Exp $ +# $OpenBSD: Makefile,v 1.7 2021/11/15 18:05:56 sthen Exp $ BROKEN-sparc64 = "error[E0412]: cannot find type c_char in this scope" @@ -6,9 +6,7 @@ COMMENT = lightweight color picker GH_ACCOUNT = Soft GH_PROJECT = xcolor -GH_TAGNAME = 0.4.0 - -REVISION = 0 +GH_TAGNAME = 0.5.1 CATEGORIES = x11 @@ -28,45 +26,7 @@ MODPY_RUNDEP = No DISTFILES += ${DISTNAME}${EXTRACT_SUFX} -MODCARGO_CRATES += ansi_term 0.11.0 # MIT -MODCARGO_CRATES += atty 0.2.8 # MIT -MODCARGO_CRATES += backtrace 0.3.5 # MIT/Apache-2.0 -MODCARGO_CRATES += backtrace-sys 0.1.16 # MIT/Apache-2.0 -MODCARGO_CRATES += bitflags 1.0.1 # MIT/Apache-2.0 -MODCARGO_CRATES += byteorder 1.2.1 # Unlicense/MIT -MODCARGO_CRATES += bytes 0.4.6 # MIT/Apache-2.0 -MODCARGO_CRATES += cc 1.0.7 # MIT/Apache-2.0 -MODCARGO_CRATES += cfg-if 0.1.2 # MIT/Apache-2.0 -MODCARGO_CRATES += clap 2.31.2 # MIT -MODCARGO_CRATES += failure 0.1.1 # MIT OR Apache-2.0 -MODCARGO_CRATES += failure_derive 0.1.1 # MIT OR Apache-2.0 -MODCARGO_CRATES += gcc 0.3.54 # MIT/Apache-2.0 -MODCARGO_CRATES += iovec 0.1.2 # MIT/Apache-2.0 -MODCARGO_CRATES += lazy_static 1.0.0 # MIT/Apache-2.0 -MODCARGO_CRATES += libc 0.2.39 # MIT/Apache-2.0 -MODCARGO_CRATES += log 0.4.1 # MIT/Apache-2.0 -MODCARGO_CRATES += memchr 1.0.2 # Unlicense/MIT -MODCARGO_CRATES += nix 0.10.0 # MIT -MODCARGO_CRATES += nom 3.2.1 # MIT -MODCARGO_CRATES += quote 0.3.15 # MIT/Apache-2.0 -MODCARGO_CRATES += redox_syscall 0.1.37 # MIT -MODCARGO_CRATES += redox_termios 0.1.1 # MIT -MODCARGO_CRATES += rustc-demangle 0.1.7 # MIT/Apache-2.0 -MODCARGO_CRATES += strsim 0.7.0 # MIT -MODCARGO_CRATES += syn 0.11.11 # MIT/Apache-2.0 -MODCARGO_CRATES += synom 0.11.3 # MIT/Apache-2.0 -MODCARGO_CRATES += synstructure 0.6.1 # MIT -MODCARGO_CRATES += termion 1.5.1 # MIT -MODCARGO_CRATES += textwrap 0.9.0 # MIT -MODCARGO_CRATES += unicode-width 0.1.4 # MIT/Apache-2.0 -MODCARGO_CRATES += unicode-xid 0.0.4 # MIT/Apache-2.0 -MODCARGO_CRATES += vec_map 0.8.0 # MIT/Apache-2.0 -MODCARGO_CRATES += void 1.0.2 # MIT -MODCARGO_CRATES += winapi 0.2.8 # MIT -MODCARGO_CRATES += winapi 0.3.4 # MIT/Apache-2.0 -MODCARGO_CRATES += winapi-i686-pc-windows-gnu 0.4.0 # MIT/Apache-2.0 -MODCARGO_CRATES += winapi-x86_64-pc-windows-gnu 0.4.0 # MIT/Apache-2.0 -MODCARGO_CRATES += xcb 0.8.2 # MIT +.include "crates.inc" CONFIGURE_STYLE = cargo SEPARATE_BUILD = Yes diff --git a/x11/xcolor/crates.inc b/x11/xcolor/crates.inc new file mode 100644 index 00000000000..85673823f4a --- /dev/null +++ b/x11/xcolor/crates.inc @@ -0,0 +1,29 @@ +# $OpenBSD: crates.inc,v 1.1 2021/11/15 18:05:56 sthen Exp $ +MODCARGO_CRATES += ansi_term 0.11.0 # MIT +MODCARGO_CRATES += anyhow 1.0.43 # MIT OR Apache-2.0 +MODCARGO_CRATES += atty 0.2.14 # MIT +MODCARGO_CRATES += autocfg 1.0.1 # Apache-2.0 OR MIT +MODCARGO_CRATES += bitflags 1.2.1 # MIT/Apache-2.0 +MODCARGO_CRATES += cc 1.0.70 # MIT/Apache-2.0 +MODCARGO_CRATES += cfg-if 1.0.0 # MIT/Apache-2.0 +MODCARGO_CRATES += clap 2.33.3 # MIT +MODCARGO_CRATES += hermit-abi 0.1.19 # MIT/Apache-2.0 +MODCARGO_CRATES += lazy_static 1.4.0 # MIT/Apache-2.0 +MODCARGO_CRATES += libc 0.2.101 # MIT OR Apache-2.0 +MODCARGO_CRATES += log 0.4.14 # MIT OR Apache-2.0 +MODCARGO_CRATES += memchr 2.4.1 # Unlicense/MIT +MODCARGO_CRATES += memoffset 0.6.4 # MIT +MODCARGO_CRATES += minimal-lexical 0.1.3 # MIT/Apache-2.0 +MODCARGO_CRATES += nix 0.22.1 # MIT +MODCARGO_CRATES += nom 7.0.0 # MIT +MODCARGO_CRATES += pkg-config 0.3.19 # MIT/Apache-2.0 +MODCARGO_CRATES += strsim 0.8.0 # MIT +MODCARGO_CRATES += textwrap 0.11.0 # MIT +MODCARGO_CRATES += unicode-width 0.1.8 # MIT/Apache-2.0 +MODCARGO_CRATES += vec_map 0.8.2 # MIT/Apache-2.0 +MODCARGO_CRATES += version_check 0.9.3 # MIT/Apache-2.0 +MODCARGO_CRATES += winapi 0.3.9 # MIT/Apache-2.0 +MODCARGO_CRATES += winapi-i686-pc-windows-gnu 0.4.0 # MIT/Apache-2.0 +MODCARGO_CRATES += winapi-x86_64-pc-windows-gnu 0.4.0 # MIT/Apache-2.0 +MODCARGO_CRATES += x11 2.18.2 # MIT +MODCARGO_CRATES += xcb 0.9.0 # MIT diff --git a/x11/xcolor/distinfo b/x11/xcolor/distinfo index c0837f4d1cb..75efe53fa3b 100644 --- a/x11/xcolor/distinfo +++ b/x11/xcolor/distinfo @@ -1,80 +1,58 @@ SHA256 (cargo/ansi_term-0.11.0.tar.gz) = 7km69sthe4U6qNk79CDbI4P6tG0xRILKKAO0DV/el5s= -SHA256 (cargo/atty-0.2.8.tar.gz) = r4AUPW92CNdG3xUgcJ5dFByW8kCw5isKpBvftTN02dQ= -SHA256 (cargo/backtrace-0.3.5.tar.gz) = 67v1mxxD7vqMPt45D8w2ggtJmfeRQQQBW+JQJeDWKvI= -SHA256 (cargo/backtrace-sys-0.1.16.tar.gz) = RFhXYdYWGw9Xr8SUgqtr0Gfk7e9IwSoVLCN+sCA/dmE= -SHA256 (cargo/bitflags-1.0.1.tar.gz) = s8MNOALftygWgNYoXyzNqowtj+5B+TgF26XEz1DcI88= -SHA256 (cargo/byteorder-1.2.1.tar.gz) = ZSgFt+c/ranYXppmgqSr1JDLUtlq7swS4zoN4039DSM= -SHA256 (cargo/bytes-0.4.6.tar.gz) = G320N9cYl39tybLj/W/DQ8AqxriZtz/dIXkWNEe9nOk= -SHA256 (cargo/cc-1.0.7.tar.gz) = h/OPEi21YVMZqYV1flJsABYdkk0ZtxoPPoDFK6sa3PY= -SHA256 (cargo/cfg-if-0.1.2.tar.gz) = 1MgZoSh+thjfR8xkcXPFxMZroZ2Iim5Q1gVnKu0xQN4= -SHA256 (cargo/clap-2.31.2.tar.gz) = 8PFricu57jbYdIPck5/p8eE8BYmNVteyMKDU3/AzpTY= -SHA256 (cargo/failure-0.1.1.tar.gz) = k0eZtsHeR1oBKgLasKzhrOQ3ie5Lmbz78aLj6M7V3oI= -SHA256 (cargo/failure_derive-0.1.1.tar.gz) = x83aVVu5DJu2ejtnCg9C3o5z9ZgVJBI62FeKr+yN24s= -SHA256 (cargo/gcc-0.3.54.tar.gz) = XjPsKQ2g0SeCUBNZfb38KL7klkaQx84RZsvCp70Isbs= -SHA256 (cargo/iovec-0.1.2.tar.gz) = 2+bkF+fQl122USuQeW6M4iMUWsTjPDd+SkKIKg6Iuwg= -SHA256 (cargo/lazy_static-1.0.0.tar.gz) = yPMQR9qjZfGb4UtHwp3098O1gYMkB9qr5q53OXYZI30= -SHA256 (cargo/libc-0.2.39.tar.gz) = 9UJjrZkgclTPWLX3Aey0MscXRF6i7orzhzNL3RoD/f8= -SHA256 (cargo/log-0.4.1.tar.gz) = ifAQ6EPysaMdvTFrO41EN1i8Y0vtN6q63lnGhtZE4KI= -SHA256 (cargo/memchr-1.0.2.tar.gz) = FI+rLlG08c/GbaKnwymB0dPAg6gDl4JouxH+S4aSXno= -SHA256 (cargo/nix-0.10.0.tar.gz) = t/1WgdE/2mRkYs+9Tl8gUSeaiaVE1Q65jDZbUHJGg58= -SHA256 (cargo/nom-3.2.1.tar.gz) = Ba7FDHD9KIcCvNkyhKhERgfzKS298qMN5epdzb5yKHs= -SHA256 (cargo/quote-0.3.15.tar.gz) = em6SC2XGXxCyrmXIMagaBzqJ7dKMfM6JR1v/Rnq0Fno= -SHA256 (cargo/redox_syscall-0.1.37.tar.gz) = DZLuzrrSK3Z5FeTVKfifKO6W279aSBDSuEQ3PxNkF/0= -SHA256 (cargo/redox_termios-0.1.1.tar.gz) = fokc/kjpEApwo7brZS/vKJIMEX02Yzloe9VXYWDbD3Y= -SHA256 (cargo/rustc-demangle-0.1.7.tar.gz) = EftDogagQRb/18/Pm8uUH462zH/2ZyciRrChx0JZo8s= -SHA256 (cargo/strsim-0.7.0.tar.gz) = u084ASWSapnlK8J5JBU5wBgyP6sFrWNotW+T2Taf9VA= -SHA256 (cargo/syn-0.11.11.tar.gz) = 07iRuQFciMV2NDubPkHCwRpRwhnvBnsmS9nIqptEHa0= -SHA256 (cargo/synom-0.11.3.tar.gz) = o5MGbtkBDrrtYLnq+jc9SxuqwYbdfgCFVbD3ArUZRbY= -SHA256 (cargo/synstructure-0.6.1.tar.gz) = OnYdEubY3LTc+VKnqJtHXjqdaeSmkwfgGkcJd2QpFL0= -SHA256 (cargo/termion-1.5.1.tar.gz) = aJo736q0Of2SvIffXEx4QX08vlN0hydOmwstznbpIJY= -SHA256 (cargo/textwrap-0.9.0.tar.gz) = wLWba0tE2GfxNw7xvZG/smK/B78K5lwgLqL7wWFTtpM= -SHA256 (cargo/unicode-width-0.1.4.tar.gz) = vzoRN3VxSiLct3TY6jZVxToy3rrmOgY6zACpHMWGJF8= -SHA256 (cargo/unicode-xid-0.0.4.tar.gz) = jB+GDX0pzwLLLz81n9NZka89MLrFLFfSZaPEYQdMtNw= -SHA256 (cargo/vec_map-0.8.0.tar.gz) = iHtbYxwq0BYou7qn3UyGn4DTGGaI+NC29Yd0++MkmIw= -SHA256 (cargo/void-1.0.2.tar.gz) = agLkiF7TvA8t6Q6m3UXry7ZtrP/gNUf627DuridwiH0= -SHA256 (cargo/winapi-0.2.8.tar.gz) = Fn3J1pSam4V/NFEnXpEcP0QlWELB96dvM8VRA6kJCHo= -SHA256 (cargo/winapi-0.3.4.tar.gz) = BOO9Ih/L6KJxNZwE8hp2230MYCiGLRu1US2F4eLrW7M= +SHA256 (cargo/anyhow-1.0.43.tar.gz) = KK4rPex1pAZ5AAWiALG9iXha/AJRegDKmez+CT7p5s8= +SHA256 (cargo/atty-0.2.14.tar.gz) = 2bOb4Ydw0RQhzbG5lHpF3T836TCSy/N3YUgooxnV/ug= +SHA256 (cargo/autocfg-1.0.1.tar.gz) = zbAx3XjihzHYfVbMj/70qPNsomw4/i3nAFQ+Yn+KRko= +SHA256 (cargo/bitflags-1.2.1.tar.gz) = zx3i/ox1vBRaL1d63ZUfgTSIm0eV1HRmpUpchG1pFpM= +SHA256 (cargo/cc-1.0.70.tar.gz) = 0mps5LakhPo+23D376b8Qw/SuHKF/ouEME/Qk2+qDcA= +SHA256 (cargo/cfg-if-1.0.0.tar.gz) = uvHeQzl2FYi8Bhnjy8ASDuWC67dLU7Tvv3kRe9LaQP0= +SHA256 (cargo/clap-2.33.3.tar.gz) = N+WKx4VzxAcI1FUi8NgPovAcxPm04r90mAclVFQxIAI= +SHA256 (cargo/hermit-abi-0.1.19.tar.gz) = YrRnNDuUukdtyyUA0kLa27OVV9+IkxCsd8XZkQCqrDM= +SHA256 (cargo/lazy_static-1.4.0.tar.gz) = 4qutI/vEKzcA8vJ5hE3IMq2ysusGmy35GPRVxOGMxkY= +SHA256 (cargo/libc-0.2.101.tar.gz) = PLADNocb5e0sjtRLYK6ZWdxbnwhTlCLtQ/CeNOyuuiE= +SHA256 (cargo/log-0.4.14.tar.gz) = Ubm75sR9Ufw+GpuUWWWUa0xEFCq4eSxQg1qYDTYsJxA= +SHA256 (cargo/memchr-2.4.1.tar.gz) = MIzDm+Abc9DRj4Kg57Kj34UkX4Svlv3dxdIC0n5HuGo= +SHA256 (cargo/memoffset-0.6.4.tar.gz) = WazMUH8TOANqBHfvYa/a4zzeYIQPTf5IExnOOtEW3fk= +SHA256 (cargo/minimal-lexical-0.1.3.tar.gz) = DINZSJdPaOC9WGNvxsWx+/97KX4wRvEbOzwYu6wBLG0= +SHA256 (cargo/nix-0.22.1.tar.gz) = 51VdbHFkzJE74c5/lcvs2r2mHrLM2JAIUkrzBvt/UDE= +SHA256 (cargo/nom-7.0.0.tar.gz) = f/2dJoOKlTtK+Cy+ufFZLGeYkWmDlZviI6cSTpknQsE= +SHA256 (cargo/pkg-config-0.3.19.tar.gz) = ODFFOzRJzrSLbZx618ltXqZz6bRwodxXjCzmUhIwiEw= +SHA256 (cargo/strsim-0.8.0.tar.gz) = jqURnNtMVbVdQyq7UToEKThIeMFd3mDMd7HJneGpWmo= +SHA256 (cargo/textwrap-0.11.0.tar.gz) = 0yZhD0CMek629Rw3wzDklrCFBslFfJ00KH7MOICfsGA= +SHA256 (cargo/unicode-width-0.1.8.tar.gz) = kzdZGJOhm4jY2H8s7B5z+tXN/RDlpvNJ9JitbqL/seM= +SHA256 (cargo/vec_map-0.8.2.tar.gz) = 8b3fEYe+aS55xf/quJETLfsPI27TakPH7TnxFl7iAZE= +SHA256 (cargo/version_check-0.9.3.tar.gz) = X+zcqaUpHMK43PfcAkU/7nkaKA83Q8sJBfiCKuRjs/4= +SHA256 (cargo/winapi-0.3.9.tar.gz) = XIOaZ0/NepiVLlkyQupACr6TmSdGdh44ZBQF0osA9Bk= SHA256 (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = rDuHxjYgQm3ZuZHlzgMp7/VFvMu7NPO+Cf9vtqtRt7Y= SHA256 (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = cS4ieEHQV8HuHNL7Ivp+WlRhro5I+iynnsQs/BkxGD8= -SHA256 (cargo/xcb-0.8.2.tar.gz) = XpF6PyQULp/4viQU42xknUfWzCuoHxYgHN75blM+At4= -SHA256 (xcolor-0.4.0.tar.gz) = NejqretT13+Qhpr06XvSJTpz9DhiTHzm7nFW0Su4P84= +SHA256 (cargo/x11-2.18.2.tar.gz) = d+zQklRssW8leDpUUVOOc6/I0y4kJkjVT0rlRZuh53M= +SHA256 (cargo/xcb-0.9.0.tar.gz) = YgVvYxOLORFvgqVAyYPMEfHJDNcLPUkqcMJeqlC9IqY= +SHA256 (xcolor-0.5.1.tar.gz) = z/QX0My+znZsZqGDQT4WeGj9vZi4EpUW/5AhpLEaVkc= SIZE (cargo/ansi_term-0.11.0.tar.gz) = 17087 -SIZE (cargo/atty-0.2.8.tar.gz) = 5708 -SIZE (cargo/backtrace-0.3.5.tar.gz) = 27636 -SIZE (cargo/backtrace-sys-0.1.16.tar.gz) = 283418 -SIZE (cargo/bitflags-1.0.1.tar.gz) = 13451 -SIZE (cargo/byteorder-1.2.1.tar.gz) = 17841 -SIZE (cargo/bytes-0.4.6.tar.gz) = 43033 -SIZE (cargo/cc-1.0.7.tar.gz) = 40410 -SIZE (cargo/cfg-if-0.1.2.tar.gz) = 6668 -SIZE (cargo/clap-2.31.2.tar.gz) = 194051 -SIZE (cargo/failure-0.1.1.tar.gz) = 26782 -SIZE (cargo/failure_derive-0.1.1.tar.gz) = 9312 -SIZE (cargo/gcc-0.3.54.tar.gz) = 37248 -SIZE (cargo/iovec-0.1.2.tar.gz) = 8565 -SIZE (cargo/lazy_static-1.0.0.tar.gz) = 12611 -SIZE (cargo/libc-0.2.39.tar.gz) = 325829 -SIZE (cargo/log-0.4.1.tar.gz) = 20731 -SIZE (cargo/memchr-1.0.2.tar.gz) = 8639 -SIZE (cargo/nix-0.10.0.tar.gz) = 124570 -SIZE (cargo/nom-3.2.1.tar.gz) = 104073 -SIZE (cargo/quote-0.3.15.tar.gz) = 12041 -SIZE (cargo/redox_syscall-0.1.37.tar.gz) = 13980 -SIZE (cargo/redox_termios-0.1.1.tar.gz) = 3227 -SIZE (cargo/rustc-demangle-0.1.7.tar.gz) = 10681 -SIZE (cargo/strsim-0.7.0.tar.gz) = 8435 -SIZE (cargo/syn-0.11.11.tar.gz) = 63309 -SIZE (cargo/synom-0.11.3.tar.gz) = 17120 -SIZE (cargo/synstructure-0.6.1.tar.gz) = 11257 -SIZE (cargo/termion-1.5.1.tar.gz) = 20659 -SIZE (cargo/textwrap-0.9.0.tar.gz) = 15795 -SIZE (cargo/unicode-width-0.1.4.tar.gz) = 15283 -SIZE (cargo/unicode-xid-0.0.4.tar.gz) = 16034 -SIZE (cargo/vec_map-0.8.0.tar.gz) = 13742 -SIZE (cargo/void-1.0.2.tar.gz) = 2356 -SIZE (cargo/winapi-0.2.8.tar.gz) = 455145 -SIZE (cargo/winapi-0.3.4.tar.gz) = 905247 +SIZE (cargo/anyhow-1.0.43.tar.gz) = 34968 +SIZE (cargo/atty-0.2.14.tar.gz) = 5470 +SIZE (cargo/autocfg-1.0.1.tar.gz) = 12908 +SIZE (cargo/bitflags-1.2.1.tar.gz) = 16745 +SIZE (cargo/cc-1.0.70.tar.gz) = 57200 +SIZE (cargo/cfg-if-1.0.0.tar.gz) = 7934 +SIZE (cargo/clap-2.33.3.tar.gz) = 201925 +SIZE (cargo/hermit-abi-0.1.19.tar.gz) = 9979 +SIZE (cargo/lazy_static-1.4.0.tar.gz) = 10443 +SIZE (cargo/libc-0.2.101.tar.gz) = 530003 +SIZE (cargo/log-0.4.14.tar.gz) = 34582 +SIZE (cargo/memchr-2.4.1.tar.gz) = 64977 +SIZE (cargo/memoffset-0.6.4.tar.gz) = 7664 +SIZE (cargo/minimal-lexical-0.1.3.tar.gz) = 94080 +SIZE (cargo/nix-0.22.1.tar.gz) = 227166 +SIZE (cargo/nom-7.0.0.tar.gz) = 120442 +SIZE (cargo/pkg-config-0.3.19.tar.gz) = 15451 +SIZE (cargo/strsim-0.8.0.tar.gz) = 9309 +SIZE (cargo/textwrap-0.11.0.tar.gz) = 17322 +SIZE (cargo/unicode-width-0.1.8.tar.gz) = 16732 +SIZE (cargo/vec_map-0.8.2.tar.gz) = 14466 +SIZE (cargo/version_check-0.9.3.tar.gz) = 12547 +SIZE (cargo/winapi-0.3.9.tar.gz) = 1200382 SIZE (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 SIZE (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 -SIZE (cargo/xcb-0.8.2.tar.gz) = 129071 -SIZE (xcolor-0.4.0.tar.gz) = 101766 +SIZE (cargo/x11-2.18.2.tar.gz) = 63683 +SIZE (cargo/xcb-0.9.0.tar.gz) = 129744 +SIZE (xcolor-0.5.1.tar.gz) = 461439 diff --git a/x11/xcolor/patches/patch-man_xcolor_1 b/x11/xcolor/patches/patch-man_xcolor_1 deleted file mode 100644 index 48696194ae8..00000000000 --- a/x11/xcolor/patches/patch-man_xcolor_1 +++ /dev/null @@ -1,115 +0,0 @@ -$OpenBSD: patch-man_xcolor_1,v 1.1.1.1 2020/07/24 17:22:50 bcallah Exp $ - -Index: man/xcolor.1 ---- man/xcolor.1.orig -+++ man/xcolor.1 -@@ -1,58 +1,43 @@ - '\" t - .TH XCOLOR 1 2018 -- - .SH NAME - xcolor \- lightweight color picker for X11 -- - .SH SYNOPSIS -- - .B xcolor - [\fB\-f\fR \fINAME\fR | \fB\-c\fR \fIFORMAT\fR] [\fB\-s\fR [\fISELECTION\fR]] [\fB\-n\fR] [\fB\-v\fR] [\fB\-h\fR] -- - .SH DESCRIPTION -- - \fBxcolor\fR is a lightweight color picker for X11. Use mouse to select - colors visible anywhere on the screen to get their RGB representation. -- - .PP - By default, the selected color is printed to the standard output. -- - .SH OPTIONS -- - .TP - .BI \-f " NAME\fR,\fP " \-\-format " NAME" - Specify output format. Possible values for \fINAME\fR are \fBhex\fR, \fBHEX\fR, - \fBhex!\fR, \fBHEX!\fR, \fBrgb\fR, and \fBplain\fR. See \fBFORMATTING\fR for an - explanation of different formatting options. Conflicts with \fB\-\-custom\fR. -- - .TP - .BI \-c " FORMAT\fR,\fP " \-\-custom " FORMAT" - Specify template for custom output format. See \fBCUSTOM FORMATTING\fR for an - explanation of template syntax. Conflicts with \fB\-\-format\fR. -- - .TP - .BI \-s " \fR[\fPSELECTION\fR]\fP\fR,\fP " \-\-selection " \fR[\fPSELECTION\fR]\fP" - Save output to X11 selection. Possible values for \fISELECTION\fR are - \fBprimary\fR and \fBsecondary\fR. If \fISELECTION\fR is not supplied, - \fBprimary\fR is used. -- - .TP - .BR \-n ", " \-\-no\-preview - Disable preview window. -- - .TP - .BR \-v ", " \-\-version - Print version information and exit. -- - .TP - .BR \-h ", " \-\-help - Print help message and exit. -- - .SH FORMATTING - By default, the color values are printed in lowercase hexadecimal format. The - output format can be changed using the \fB\-\-format\fR \fINAME\fR switch. The - possible \fINAME\fR values are: -- - .TP - .B hex - Lowercase hexadecimal (default) -@@ -71,25 +56,20 @@ Decimal RGB - .TP - .B plain - Decimal with semicolon separators -- - .PP - The compact form refers to CSS three-letter color codes as specified by CSS - Color Module Level 3. If the color is not expressible in three-letter form, the - regular six-letter form will be used. -- - .SS CUSTOM FORMATTING -- - The \fB\-\-format\fR switch provides quick access to some commonly used - formatting options. However, if custom output formatting is desired, this can be - achieved using the \fB\-\-custom\fR \fIFORMAT\fR switch. The \fIFORMAT\fR - parameter specifies a template for the output and supports a simple template - language. -- - \fIFORMAT\fR templates can contain special expansions that are written inside - \fB%\fR{\fI...\fR} blocks. These blocks will be expanded into color values - according to the specifiers defined inside the block. Here are examples of valid - format strings and what they might translate to: -- - .RS - .TS - lB lB -@@ -120,24 +100,19 @@ bellow illustrates how we can use these rules to decod - `----- Character to use for padding (\fI0\fR) - .RE - .fi -- - The output is the contents of the red color channel formatted in binary and - padded with zeroes to be sixteen characters long. -- - .SH ENVIRONMENT -- - .TP - .I XCOLOR_FOREGROUND - Disable daemon mode. Because of the way selections work in X11, \fBxcolor\fR - forks into background when \fB\-\-selection\fR mode is used. This behavior can - be disabled by defining \fIXCOLOR_FOREGROUND\fR environment variable. -- - .TP - .I XCOLOR_DISABLE_SHAPE - Disable the use of shaped preview window. By default, \fBxcolor\fR tries to use - a round-shaped preview window for displaying the currently selected color. This - behavior can be disabled by defining \fIXCOLOR_DISABLE_SHAPE\fR environment - variable. -- - .SH AUTHORS - Samuel Laurén