diff --git a/x11-terms/rxvt-unicode/Manifest b/x11-terms/rxvt-unicode/Manifest index 21c9bab..00027d7 100644 --- a/x11-terms/rxvt-unicode/Manifest +++ b/x11-terms/rxvt-unicode/Manifest @@ -8,9 +8,10 @@ AUX rxvt-unicode-9.22-line-spacing-fix.patch 911 BLAKE2B fcd71e94b979987e56459f5 AUX rxvt-unicode-9.22-sgr-mouse-mode-flag.patch 5613 BLAKE2B 28cf8af70841027ba254704b3bb94e2bcf7f8f6743963056c046279aeef4fc8f866711144880ac6a3ad6acd4ed86332f497dff905f3836775579ba5e90328218 SHA512 b6bf180cd25f46fd22841aa8322839886712312341950e3abeeec1a44d73bbec8e7467ce09878c84b86263ab7067443529a89f017e54dceb84b189477e58f10e AUX rxvt-unicode-9.26-enable-wide-glyphs.patch 9040 BLAKE2B d3b722e81b20c0ff83dc8cfbe39554a6428d11ac8c41b60488935c529818bcf09fae6c0b0b0af9f1ff2e34050dda90d73955d5489b0e8db3262d4497638e0e0a SHA512 4b6b373deed4365cd91d3066453720c5a7a8373f90edfab5a25d5dfaedfbc753b9cfb37b615472dce876d44e9260290a1841bde97c5128c396193449cb8c070d AUX urxvtd.service 145 BLAKE2B 9199c81f02ff161caf6f72bac95808d4ba584bf09fb68cf7fef1bdf883873fe360816d8736835987a61c1cf0ac1be469aa47f2b74e96d8215a3ac17de896d6a5 SHA512 a77606d11e80c8d117917ab34a6d2ca430c667372ee713cf8519e49df4d972f289399d49bd808a9d31fa343d11c2fd2eb761b813be3f2892784d1dd9c281fc38 +AUX urxvtd.socket 133 BLAKE2B d685c78de25a3f2d661f180a6a5cc227c500e873dab049587f0742330910c3867f60871a96a237787d85f66b8999b397281b36ed9b92bda2422e1e2295accfee SHA512 20c7d7a00bd41deefb738b6795ecbea8098ec81d3356cceab4de39408de3552d385fc48ef74a087f3724d436b77de54adb67d0858a0949b9595820ee3d9cf7e4 DIST rxvt-unicode-9.22.tar.bz2 931198 BLAKE2B ea9a12e4a8396ed6be12b4d50ae260a0376902dbd47b0628bb14ce0509c5d89f5a80370b413fdb9df9b8b81728ec26e115cbf0d88ab6e9cb2a87b03b5d79c432 SHA512 b39f1b2cbe6dd3fbd2a0ad6a9d391a2b6f49d7c5e67bc65fe44a9c86937f8db379572c67564c6e21ff6e09b447cdfd4e540544e486179e94da0e0db679c04dd9 DIST rxvt-unicode-9.22_24-bit-color_cpixl-20201108.patch.xz 8116 BLAKE2B 27940ad42ee3f26c357a50b7fae1e1539acec71f5ff43e7ed16167d0adb175c4de20ba84880f25eec0817703d937d097fda228541d16511811efe5816109e71b SHA512 2b8bbb90c6bb223f622c1e99d62a70a812604d1f8e57cea37a8faf0af578588d3888ea8009568d623710cc03e020a69269770e23476fd9ff9e46dbd9ea23f540 DIST rxvt-unicode-9.26.tar.bz2 904950 BLAKE2B 1790d02eeadf630cc9bc718288af2f6bd19c3e320d3dbfa44c8cef516c8e790e0abfbfe4e557795749ddd3ec41b8358f6eac623c060240f091b3e84a549151ad SHA512 35560b57730e17c9542ea4a615fd86ce703c4e6421323e8fe1570007737a880fde90d17943e5af9e170be4111b9769f4aa7e57efca5428421fdc1c299112f8e0 DIST rxvt-unicode-9.26_24-bit-color_aur-20210516+eautoreconf.patch.xz 11716 BLAKE2B 7e18b0f884dbb9574515db8cfb4e1521e1e3287ac194750db288409c7e4d0bb120964e4559ce7e3b91e169935ded93f3af3045fc7c1737a5a6de2710ee2e107b SHA512 8cbcc1c04bdb83996ce08ece559ef9e7f5f530140a2a66291e0ffd049808da60787a68520b4a990dc12e1272de861a85b199ddd10ac8b245eafbfe16dc521199 EBUILD rxvt-unicode-9.22-r10.ebuild 3405 BLAKE2B 6babcef442d1438f50f55acdd27e9750c3264f5dd46dbf794b2d62c75e58163fdb2d4a0eb0ec145615d395407777504790b56410cb6bc7907a385be32169cd91 SHA512 32b9435c7ff7df0f160eab21cea494de7c755045861f439133170a32e78216d4bc365a1825d09bfd5e56ceca314303e51bfe1e0547cd383143fadda7988c0389 -EBUILD rxvt-unicode-9.26-r10.ebuild 3414 BLAKE2B 7cd995add40946f67cf6b8b4179bd1bf17656a8f531d55b2579400670e57c64c3a1e493d35938562569b8b79a63bdba66918439ca2239de78980240de3d2edc8 SHA512 25cc1bb5932f7d93bbaba9bd7b11318ddc517c5a25273ddeccf31c2c620b83cea66c2ccac6b71ba7cd4ea00a69075a5039a652f3339caa233a745cb31f34a183 +EBUILD rxvt-unicode-9.26-r10.ebuild 4298 BLAKE2B 098e96d91281611d85422a566010e6cd6963337061249c6693cef3a4c81b4daaf661a3c93704ff24347dd82cd0f92a02b1efb89f5c97455beff35b0c2ed1060c SHA512 195daa5986cfe2393c65189852f3cee72777bc3591735cd93030e98443723be4a51374df03231b9f702365401d50bd3328fedf273042480c5fb5666945525ba8 diff --git a/x11-terms/rxvt-unicode/files/urxvtd.socket b/x11-terms/rxvt-unicode/files/urxvtd.socket new file mode 100644 index 0000000..4da0499 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/urxvtd.socket @@ -0,0 +1,8 @@ +[Unit] +Description=rxvt-unicode terminal daemon socket + +[Socket] +ListenStream=%h/.urxvt/urxvtd-%H + +[Install] +WantedBy=sockets.target diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r10.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r10.ebuild index 991b538..d93192b 100644 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r10.ebuild +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r10.ebuild @@ -15,8 +15,22 @@ SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2 LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" -IUSE="-24-bit-color 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel - +perl smart-resize startup-notification unicode3 +utmp +wide-glyphs +wtmp xft" +# NOTE(gryf): this ebuild differ from official one by using 3rd party patches, +# and configuration options, which are absent in official ebuild, but are +# accepted by configure script: +# enabled options as a use flags: +# - smart-resize +# 3rd party patches (by flags): +# - font-width - use xOff instead of width attribute for a glyph. +# - line-spacing - use ascent, descent and height from XftFont *f instead of +# FT_Face face. +# - use-space - add space for characters to figure out width and height of +# chars +# - wide-glyphs - add support for wide glyphs +IUSE="-24-bit-color 256-color blink fading-colors +font-styles -font-width + gdk-pixbuf iso14755 -line-spacing +mousewheel +perl -smart-resize + -use-space startup-notification unicode3 +utmp -wide-glyphs +wtmp + xft" RDEPEND=">=sys-libs/ncurses-5.7-r6:= media-libs/fontconfig @@ -36,10 +50,6 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch "${FILESDIR}"/${PN}-9.21-xsubpp.patch - "${FILESDIR}"/${PN}-9.22-font-width-fix.patch - "${FILESDIR}"/${PN}-9.22-line-spacing-fix.patch - "${FILESDIR}"/${PN}-9.26-enable-wide-glyphs.patch - "${FILESDIR}"/${PN}-9.22-add-space-to-extent_test_chars.patch ) DOCS=( Changes @@ -58,6 +68,20 @@ src_prepare() { eapply "${WORKDIR}"/${COLOUR_PATCH_NAME} fi + # custom patches + if use font-width; then + eapply "${FILESDIR}"/${PN}-9.22-font-width-fix.patch + fi + if use line-spacing; then + eapply "${FILESDIR}"/${PN}-9.22-line-spacing-fix.patch + fi + if use wide-glyphs; then + eapply "${FILESDIR}"/${PN}-9.26-enable-wide-glyphs.patch + fi + if use use-space; then + eapply "${FILESDIR}"/${PN}-9.22-add-space-to-extent_test_chars.patch + fi + # kill the rxvt-unicode terminfo file - #192083 sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" @@ -69,7 +93,6 @@ src_configure() { # --enable-everything goes first: the order of the arguments matters local myconf=( --enable-everything - $(use_enable 24-bit-color) $(use_enable 256-color) $(use_enable blink text-blink) $(use_enable fading-colors fading) @@ -78,14 +101,20 @@ src_configure() { $(use_enable iso14755) $(use_enable mousewheel) $(use_enable perl) - $(use_enable smart-resize) \ + $(use_enable smart-resize) $(use_enable startup-notification) $(use_enable unicode3) $(use_enable utmp) - $(use_enable wide-glyphs) \ + $(use_enable wide-glyphs) $(use_enable wtmp) $(use_enable xft) ) + if use 24-bit-color; then + myconf+=( --enable-24-bit-color ) + fi + if use wide-glyphs; then + myconf+=( --enable-wide-glyphs ) + fi econf "${myconf[@]}" }