From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- x11-terms/rxvt-unicode/Manifest | 14 +- .../rxvt-unicode-9.22-perl-segfault-on-exit.patch | 36 ----- ...rxvt-unicode-9.22-query-graphics-insecure.patch | 11 -- .../rxvt-unicode-9.22-sgr-mouse-mode-flag.patch | 165 --------------------- x11-terms/rxvt-unicode/metadata.xml | 47 +++--- x11-terms/rxvt-unicode/rxvt-unicode-9.22-r9.ebuild | 120 --------------- x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild | 3 +- x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild | 115 ++++++++++++++ x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild | 96 ------------ 9 files changed, 143 insertions(+), 464 deletions(-) delete mode 100644 x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-perl-segfault-on-exit.patch delete mode 100644 x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-query-graphics-insecure.patch delete mode 100644 x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-sgr-mouse-mode-flag.patch delete mode 100644 x11-terms/rxvt-unicode/rxvt-unicode-9.22-r9.ebuild create mode 100644 x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild delete mode 100644 x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild (limited to 'x11-terms/rxvt-unicode') diff --git a/x11-terms/rxvt-unicode/Manifest b/x11-terms/rxvt-unicode/Manifest index 440f1e514917..0bfa21a5473e 100644 --- a/x11-terms/rxvt-unicode/Manifest +++ b/x11-terms/rxvt-unicode/Manifest @@ -1,15 +1,11 @@ AUX rxvt-unicode-9.06-case-insensitive-fs.patch 238 BLAKE2B 887eec8ec419900765ede1a8b75ea0acde945275af0e524e4382610a40d1e42b2f0be9879bf7c25cb00da6ae410e554567efdcc2f43ceff52e37c44060e6c4a7 SHA512 5257b1d33e25a6a390da2f23100fc3a2b8dcc4787205273933c2ba64ecf72e663cdc0cb86273a1ffa1a87b04bbeeff9edbc8c028c521ae612722f21cf6c40762 AUX rxvt-unicode-9.21-xsubpp.patch 640 BLAKE2B 51b9f626436153239ca98df1094c5bbadaca463cf3624d39094cf5dce75a42c23568584292cd55b891439a45bc7d9e3fbf098ec80743b44267e6c3c1d0b339ca SHA512 70f4c5cb7b6a440f009f693c4dc2f8595051e198250d375cd18704c35059596d77938a3d062740bd26f947bfebdb67ea7d46f59f8cbf08fc73193a62267723ec -AUX rxvt-unicode-9.22-perl-segfault-on-exit.patch 996 BLAKE2B bdabdeda2b12e8466dd134899e7aef45c74ef41fc96e15b762b16ad59e74e2fe1036d129c8daf3d9c20f7014ae5dba768afd5b4f3150a4894cc648178113052f SHA512 1640ab12379ebd6a7f0dff0ef6a680a1bf014f6c20e4db0e4d4e05e1725858c42bf8333d5eb1b176dfc35fc695adddc7a3b08665e9b7a8dea06f8d2566ce300a -AUX rxvt-unicode-9.22-query-graphics-insecure.patch 403 BLAKE2B 306fab801001368ddde73eba4fab460b454bfacee36565ebf3211ebb1383ab8f4d42972c15c479b731771fa012daa73556a0406da7dc55331eb7428970134d47 SHA512 d3574abb33cd099f66d8080b93d897966ce7133dc38a3f280aaa791cc8b11372dc569371e2dce7ed40222a406f593d3c3ddd4c91849aa2fd6396bbae6fed7a7a -AUX rxvt-unicode-9.22-sgr-mouse-mode-flag.patch 5613 BLAKE2B 28cf8af70841027ba254704b3bb94e2bcf7f8f6743963056c046279aeef4fc8f866711144880ac6a3ad6acd4ed86332f497dff905f3836775579ba5e90328218 SHA512 b6bf180cd25f46fd22841aa8322839886712312341950e3abeeec1a44d73bbec8e7467ce09878c84b86263ab7067443529a89f017e54dceb84b189477e58f10e 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-r9.ebuild 3305 BLAKE2B 10fa2f2fc53f8da9a499703af03be15e464775ed0f0411de2da90ba669061fa846a3a0bb3f75c61da5de6c71e950e9d79c657f9bc5f542be6e0dd6e420982786 SHA512 0907a7236e52c83777d76dbc758d655b27a78778e42d5c0965715b0f3dd60dd717356dce745cf9bb557a5ee1c4ffe55cad8c2d5d599b1bac6855fe6671dc70d9 -EBUILD rxvt-unicode-9.26-r2.ebuild 3155 BLAKE2B 60e04597647df85cdca4011792947a72be04749fda41b295715bad1dcd1bf377138a6f103a93995504f38119d1c7da4f75adc976325476a250377c957c517f6d SHA512 f6b0e3c175c3c800e965c63d63f819d08c1279d7ebc02214ca2918444782462ff9dfaa15f6636db5701f58893480d783e776c6b60014c3853b4a26dae70b92d5 -EBUILD rxvt-unicode-9999.ebuild 2163 BLAKE2B bbad76d956512288ef1284526f8ea4d1c039df62868e74078a93640dae7e95361f05d0062e2cf7dcf74e6b5f799e99cf6bd0712263290d9caef92dfd058507e5 SHA512 0b8d154abbc49368df6cbe4efa50e482f7b4226507f2babcc7932ed7ff39dc7d666e544e8f80d797de0f1a1a0047e1763c81254005ca319009a568b87ce84a89 -MISC metadata.xml 1790 BLAKE2B c9ada6e7379ee5cbeaa4ca0353fabeb4c5a7426f7e5658a18873ca610394f4937806a177084170fc357626a7921eecaca5d0c12f0e44973d6a6e7254d5a0f7b6 SHA512 eb3224e3915991373b02ace258b0f6f918003e78dd07541134ba72010b233d8dd8877942cdea79a308585b38a139dbbca089cad2c688d0f99a825df2cc2724f4 +DIST rxvt-unicode-9.29_24-bit-color_aur-9.26-20210712.patch.xz 7568 BLAKE2B 8ea5d813e00fd4012d145acf70e3d9b0974dddffd203fbec4bf06a0da1c9368ec316fc2903dccae3a5d71d684fd93b2a09ed208f26be1e85f77c702494db4e54 SHA512 baa226ca9adf6025a72dea925ec3be16186502bb4aab21dd61ef1f7c3e2eb793e7a1dc9619ed8228166758daa2879a465da2ace3f3b14545808955388bd2b74b +DIST rxvt-unicode-9.30.tar.bz2 877186 BLAKE2B 645164e37e9e484c66f5047836689e4e4727575dfdcbefc64affb70d9110497529fdcc7d476f77737efed5cee4af314e1e1ccbcb42b506bb7e653b827c24a0c7 SHA512 048d5f635a61bc1a739d5cbc09e7a9f77cee18c81df468ce1ff0a62866ced06fc4ec258bb015d2484a7e7bad2339f0bdd79bd824d649c2553a80bdef9f199e99 +EBUILD rxvt-unicode-9.26-r2.ebuild 3021 BLAKE2B 80d258c5d5e5319b98370e9d59d0200e5a7fa8540a4c0b1a3884004d7399e0d3c22c0555554cd81c8a23a5f854c322451adfd447f549cb5fe268d2816fec8070 SHA512 ed19df722eb87d6c18bbe0155e8a5e15738d3353a7fbfccf95baf769eb0ca39bc5e3b24b75acbab086cdd65a1c181bbe1c3f1f15a9b0848f99602d332ed50369 +EBUILD rxvt-unicode-9.30.ebuild 3022 BLAKE2B 06b57918a115940d0ca696e44c4904d1f8200a537872da9639b8d74724d927b8e4db85b714c9b674ff947ebadc28798ef4b30043c021085c8db8cfac89eca725 SHA512 379f1753ffd3a741d625ea07dfeb6612b3df51484f5f896b53ec0c046bfd50ccce541db9a6d59707d2839e29a2eb8d6b861086e9479d5123aae966ea4f847fe6 +MISC metadata.xml 1577 BLAKE2B ca4f7c5d7697dd6a3bb087b59a1fa76501372cb802061285b0c35c55a014cd044a2c1a67db94d4f5c3cf86afc5307e3052dbd533287664fa3f855f79bd575e77 SHA512 65ee848f71db806ae5e8016243d328b786b2135705e4d2d5fae30e8b018b1d215327a8310be2845b0958c6af92be75082bc16e5007f1f2b888dba74e9f8e74b8 diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-perl-segfault-on-exit.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-perl-segfault-on-exit.patch deleted file mode 100644 index 0a3cb1ec4cd5..000000000000 --- a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-perl-segfault-on-exit.patch +++ /dev/null @@ -1,36 +0,0 @@ -Backported from the upstream CVS repository, see: -http://cvs.schmorp.de/rxvt-unicode/src/rxvtperl.h?r1=1.28&r2=1.29 -http://cvs.schmorp.de/rxvt-unicode/src/rxvtperl.xs?r1=1.246&r2=1.247 - ---- rxvt-unicode/src/rxvtperl.h 2012/06/12 10:45:53 1.28 -+++ rxvt-unicode/src/rxvtperl.h 2020/06/30 07:31:24 1.29 -@@ -51,7 +51,9 @@ - { - char **perl_environ; - -+ #if 0 // see rxvtperl.xs - ~rxvt_perl_interp (); -+ #endif - - void init (); - void init (rxvt_term *term); ---- rxvt-unicode/src/rxvtperl.xs 2020/01/20 09:35:12 1.246 -+++ rxvt-unicode/src/rxvtperl.xs 2020/06/30 07:31:24 1.247 -@@ -372,6 +372,9 @@ - - static PerlInterpreter *perl; - -+#if 0 /* we are not a library anymore, so doing this is just not worth it */ -+/*THINK/TODO: this has the side effect of, of course, not calling destructors. */ -+/* but therse are not guaranteed anyway... */ - rxvt_perl_interp::~rxvt_perl_interp () - { - if (perl) -@@ -381,6 +384,7 @@ - PERL_SYS_TERM (); - } - } -+#endif - - void - rxvt_perl_interp::init () diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-query-graphics-insecure.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-query-graphics-insecure.patch deleted file mode 100644 index 52a8c8297050..000000000000 --- a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-query-graphics-insecure.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/command.C -+++ b/src/command.C -@@ -2695,7 +2695,7 @@ - /* kidnapped escape sequence: Should be 8.3.48 */ - case C1_ESA: /* ESC G */ - // used by original rxvt for rob nations own graphics mode -- if (cmd_getc () == 'Q') -+ if (cmd_getc () == 'Q' && option (Opt_insecure)) - tt_printf ("\033G0\012"); /* query graphics - no graphics */ - break; - diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-sgr-mouse-mode-flag.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-sgr-mouse-mode-flag.patch deleted file mode 100644 index 3f6f5d90618e..000000000000 --- a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.22-sgr-mouse-mode-flag.patch +++ /dev/null @@ -1,165 +0,0 @@ -diff --git a/config.h.in b/config.h.in -index 914d606..b869bfb 100644 ---- a/config.h.in -+++ b/config.h.in -@@ -9,6 +9,9 @@ - /* Define if you want handling for rarely used but handy features */ - #undef ENABLE_FRILLS - -+/* Define if you want support for SGR mouse mode 1006 */ -+#undef ENABLE_SGRMOUSE -+ - /* Define if you can embed a perl interpreter */ - #undef ENABLE_PERL - -diff --git a/configure.ac b/configure.ac -index 0da3b59..c8b9c80 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -76,6 +76,7 @@ AC_SEARCH_LIBS(gethostbyname, nsl) - AC_SEARCH_LIBS(socket, socket) - - support_frills=yes -+support_sgrmouse=yes - support_inheritpixmap=yes - support_fading=yes - support_keepscrolling=yes -@@ -109,6 +110,7 @@ AC_ARG_ENABLE(everything, - [ - if test x$enableval = xno; then - support_frills=no -+ support_sgrmouse=no - support_inheritpixmap=no - support_fading=no - support_keepscrolling=no -@@ -137,6 +139,7 @@ AC_ARG_ENABLE(everything, - fi - if test x$enableval = xyes; then - support_frills=yes -+ support_sgrmouse=yes - support_inheritpixmap=yes - support_fading=yes - support_keepscrolling=yes -@@ -359,6 +362,12 @@ AC_ARG_ENABLE(frills, - support_frills=$enableval - fi]) - -+AC_ARG_ENABLE(sgrmouse, -+ [ --enable-sgrmouse enable support for SGR mouse mode 1006], -+ [if test x$enableval = xyes -o x$enableval = xno; then -+ support_sgrmouse=$enableval -+ fi]) -+ - AC_ARG_ENABLE(keepscrolling, - [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press], - [if test x$enableval = xyes -o x$enableval = xno; then -@@ -666,6 +675,9 @@ fi - if test x$support_frills = xyes; then - AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) - fi -+if test x$support_sgrmouse = xyes; then -+ AC_DEFINE(ENABLE_SGRMOUSE, 1, Define if you want support for SGR mouse mode 1006) -+fi - if test x$support_mousewheel = xyes; then - AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) - fi -diff --git a/src/command.C b/src/command.C -index 7b79f51..a62ef87 100644 ---- a/src/command.C -+++ b/src/command.C -@@ -1282,6 +1282,13 @@ rxvt_term::mouse_report (XButtonEvent &ev) - int button_number, key_state = 0; - int x, y; - int code = 32; -+ bool mode_sgr = false; -+ -+#if ENABLE_SGRMOUSE -+ if (priv_modes & PrivMode_ExtMouseSgr) mode_sgr = true; -+#endif -+ -+ if (mode_sgr) code = 0; - - x = Pixel2Col (ev.x) + 1; - y = Pixel2Row (ev.y) + 1; -@@ -1296,11 +1303,18 @@ rxvt_term::mouse_report (XButtonEvent &ev) - code += 32; - } - -- if (MEvent.button == AnyButton) -+ if (!(mode_sgr) && MEvent.button == AnyButton) - button_number = 3; - else - { -- button_number = MEvent.button - Button1; -+ if (ev.type == MotionNotify) { -+ if (ev.state & Button1Mask) button_number = 0; -+ else if (ev.state & Button2Mask) button_number = 1; -+ else if (ev.state & Button3Mask) button_number = 2; -+ else return; -+ } else { -+ button_number = ev.button - Button1; -+ } - /* add 0x3D for wheel events, like xterm does */ - if (button_number >= 3) - button_number += 64 - 3; -@@ -1361,6 +1375,15 @@ rxvt_term::mouse_report (XButtonEvent &ev) - wint_t (32 + x), - wint_t (32 + y)); - else -+#endif -+#if ENABLE_SGRMOUSE -+ if (mode_sgr) -+ tt_printf ("\033[<%d;%d;%d%c", -+ code + button_number + key_state, -+ x, -+ y, -+ (ev.type == ButtonRelease ? 'm' : 'M')); -+ else - #endif - tt_printf ("\033[M%c%c%c", - code + button_number + key_state, -@@ -2904,7 +2927,7 @@ rxvt_term::process_csi_seq () - scr_soft_reset (); - - static const int pm_h[] = { 7, 25 }; -- static const int pm_l[] = { 1, 3, 4, 5, 6, 9, 66, 1000, 1001, 1005, 1015, 1049 }; -+ static const int pm_l[] = { 1, 3, 4, 5, 6, 9, 66, 1000, 1001, 1002, 1003, 1005, 1006, 1015, 1049 }; - - process_terminal_mode ('h', 0, ecb_array_length (pm_h), pm_h); - process_terminal_mode ('l', 0, ecb_array_length (pm_l), pm_l); -@@ -3710,6 +3733,9 @@ rxvt_term::process_terminal_mode (int mode, int priv ecb_unused, unsigned int na - { 1003, PrivMode_MouseAnyEvent }, - #if ENABLE_FRILLS - { 1005, PrivMode_ExtModeMouse }, -+#endif -+#if ENABLE_SGRMOUSE -+ { 1006, PrivMode_ExtMouseSgr }, - #endif - { 1010, PrivMode_TtyOutputInh }, // rxvt extension - { 1011, PrivMode_Keypress }, // rxvt extension -diff --git a/src/rxvt.h b/src/rxvt.h -index 5c7cf66..2ffd3fb 100644 ---- a/src/rxvt.h -+++ b/src/rxvt.h -@@ -645,6 +645,7 @@ enum { - #define PrivMode_ExtModeMouse (1UL<<23) // xterm pseudo-utf-8 hack - #define PrivMode_ExtMouseRight (1UL<<24) // xterm pseudo-utf-8, but works in non-utf-8-locales - #define PrivMode_BlinkingCursor (1UL<<25) -+#define PrivMode_ExtMouseSgr (1UL<<27) // sgr mouse extension - - #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent) - -diff --git a/src/xdefaults.C b/src/xdefaults.C -index 894aa8d..e5952b7 100644 ---- a/src/xdefaults.C -+++ b/src/xdefaults.C -@@ -359,6 +359,9 @@ static const char optionsstring[] = "options: " - #if defined(ENABLE_FRILLS) - "frills," - #endif -+#if defined(ENABLE_SGRMOUSE) -+ "sgrmouse," -+#endif - #if defined(SELECTION_SCROLLING) - "selectionscrolling," - #endif diff --git a/x11-terms/rxvt-unicode/metadata.xml b/x11-terms/rxvt-unicode/metadata.xml index 6cd6906d211f..fc597b93c849 100644 --- a/x11-terms/rxvt-unicode/metadata.xml +++ b/x11-terms/rxvt-unicode/metadata.xml @@ -6,29 +6,26 @@ Marek Szuba - -Enable 24-bit color support. Note that this feature - is unofficial, may cause visual glitches due to the fact there is no - termcap/terminfo definition for rxvt-unicode-24bit yet so it is necessary - to use the one for 256 colours, visibly increases memory usage, and might - slow urxvt down dramatically when more than six fonts are in use in a terminal - instance. -Enable 256 color support -Enable blinking text -Enable colors fading when off focus -Enable support for bold and italic fonts -Enable transparency support using x11-libs/gdk-pixbuf -Enable ISO-14755 support -Enable scrolling via mouse wheel or buttons 4 and 5 -Enable perl script support. You can still disable this at runtime with -pe "" -Enable unofficial support for the xterm SGR 1006 mouse-tracking extension. - Needed to properly support mouse events for terminals with more than 223 - rows or columns, in applications not supporting the urxvt 1015 extension. -Use 21 instead of 16 bits to represent unicode characters -Enable utmp support -Enable wtmp support - - -cpe:/a:rxvt-unicode:rxvt-unicode - + + Enable 24-bit color support. Note that this feature + is unofficial, may cause visual glitches due to the fact there is no + termcap/terminfo definition for rxvt-unicode-24bit yet so it is necessary + to use the one for 256 colours, visibly increases memory usage, and might + slow urxvt down dramatically when more than six fonts are in use in a terminal + instance. + Enable 256 color support + Enable blinking text + Enable colors fading when off focus + Enable support for bold and italic fonts + Enable transparency support using x11-libs/gdk-pixbuf + Enable ISO-14755 support + Enable scrolling via mouse wheel or buttons 4 and 5 + Enable perl script support. You can still disable this at runtime with -pe "" + Use 21 instead of 16 bits to represent unicode characters + Enable utmp support + Enable wtmp support + + + cpe:/a:rxvt-unicode:rxvt-unicode + diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r9.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r9.ebuild deleted file mode 100644 index 2e9acbe9987a..000000000000 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r9.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools desktop flag-o-matic systemd prefix - -COLOUR_PATCH_NAME="${PN}-9.22_24-bit-color_cpixl-20201108.patch" - -DESCRIPTION="rxvt clone with xft and unicode support" -HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html" -SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2 - https://dev.gentoo.org/~marecki/dists/${PN}/${COLOUR_PATCH_NAME}.xz" - -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 sgrmouse startup-notification unicode3 +utmp +wtmp xft" - -RESTRICT="test" - -RDEPEND=">=sys-libs/ncurses-5.7-r6:= - media-libs/fontconfig - x11-libs/libX11 - x11-libs/libXrender - gdk-pixbuf? ( x11-libs/gdk-pixbuf ) - kernel_Darwin? ( dev-perl/Mac-Pasteboard ) - perl? ( dev-lang/perl:= ) - startup-notification? ( x11-libs/startup-notification ) - xft? ( x11-libs/libXft )" -DEPEND="${RDEPEND} - x11-base/xorg-proto" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch - "${FILESDIR}"/${PN}-9.21-xsubpp.patch - "${FILESDIR}"/${PN}-9.22-perl-segfault-on-exit.patch - "${FILESDIR}"/${PN}-9.22-query-graphics-insecure.patch - "${FILESDIR}"/${PN}-9.22-sgr-mouse-mode-flag.patch - "${WORKDIR}"/${COLOUR_PATCH_NAME} -) -DOCS=( - Changes - README.FAQ - doc/README.xvt - doc/changes.txt - doc/etc/${PN}.term{cap,info} - doc/rxvt-tabbed -) - -src_prepare() { - # Bug #787104 - append-cxxflags -std=c++14 - - default - - # kill the rxvt-unicode terminfo file - #192083 - sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" - - # use xsubpp from Prefix - #506500 - hprefixify -q '"' -w "/xsubpp/" src/Makefile.in - - eautoreconf -} - -src_configure() { - # --enable-everything goes first: the order of the arguments matters - econf --enable-everything \ - $(use_enable 24-bit-color) \ - $(use_enable 256-color) \ - $(use_enable blink text-blink) \ - $(use_enable fading-colors fading) \ - $(use_enable font-styles) \ - $(use_enable gdk-pixbuf pixbuf) \ - $(use_enable iso14755) \ - $(use_enable mousewheel) \ - $(use_enable perl) \ - $(use_enable sgrmouse) \ - $(use_enable startup-notification) \ - $(use_enable unicode3) \ - $(use_enable utmp) \ - $(use_enable wtmp) \ - $(use_enable xft) -} - -src_compile() { - default - - sed -i \ - -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ - "${S}"/doc/rxvt-tabbed || die -} - -src_install() { - default - - systemd_douserunit "${FILESDIR}"/urxvtd.service - - make_desktop_entry urxvt rxvt-unicode utilities-terminal \ - "System;TerminalEmulator" -} - -pkg_postinst() { - if use 24-bit-color; then - ewarn - ewarn "You have enabled 24-bit colour support in ${PN}, which is UNOFFICIAL and INCOMPLETE." - ewarn "You may or may not encounter visual glitches or stability issues. When in doubt," - ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the default setting)." - ewarn - fi - - if use sgrmouse; then - ewarn - ewarn "Support for the SGR 1006 mouse extension in ${PN} is UNOFFICIAL and provided as-is." - ewarn "When in doubt, rebuild =${CATEGORY}/${PF} with USE=-sgrmouse (the default setting)." - ewarn - fi -} diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild index 0802f81d5097..131c98ce2cc3 100644 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools desktop flag-o-matic systemd prefix +inherit desktop systemd prefix COLOUR_PATCH_NAME="${PN}-9.26_24-bit-color_aur-20210516+eautoreconf.patch" @@ -31,7 +31,6 @@ RDEPEND=">=sys-libs/ncurses-5.7-r6:= DEPEND="${RDEPEND} x11-base/xorg-proto" BDEPEND="virtual/pkgconfig" -# WARNING: will bdepend on >=sys-devel/autoconf-2.71 (masked as of 2021-07-07) if eautoreconf has to be called PATCHES=( "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild new file mode 100644 index 000000000000..1ad87ebf9625 --- /dev/null +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop systemd prefix + +COLOUR_PATCH_NAME="${PN}-9.29_24-bit-color_aur-9.26-20210712.patch" + +DESCRIPTION="rxvt clone with xft and unicode support" +HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html" +SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2 + https://dev.gentoo.org/~marecki/dists/${PN}/${COLOUR_PATCH_NAME}.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="24-bit-color 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel + +perl startup-notification unicode3 xft" + +RDEPEND=">=sys-libs/ncurses-5.7-r6:= + dev-libs/libptytty + media-libs/fontconfig + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXt + gdk-pixbuf? ( x11-libs/gdk-pixbuf ) + kernel_Darwin? ( dev-perl/Mac-Pasteboard ) + perl? ( dev-lang/perl:= ) + startup-notification? ( x11-libs/startup-notification ) + xft? ( x11-libs/libXft )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +# autoconf dependency hopefully temporary, see Bug #827852 +BDEPEND="virtual/pkgconfig + >=sys-devel/autoconf-2.71" + +PATCHES=( + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch + "${FILESDIR}"/${PN}-9.21-xsubpp.patch +) +DOCS=( + Changes + README.FAQ + doc/README.xvt + doc/changes.txt + doc/etc/${PN}.term{cap,info} + doc/rxvt-tabbed +) + +src_prepare() { + default + + # Current patch is too aggressive to apply unconditionally, see Bug #801571 + if use 24-bit-color; then + eapply "${WORKDIR}"/${COLOUR_PATCH_NAME} + eautoreconf + fi + + # kill the rxvt-unicode terminfo file - #192083 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" + + # use xsubpp from Prefix - #506500 + hprefixify -q '"' -w "/xsubpp/" src/Makefile.in +} + +src_configure() { + # --enable-everything goes first: the order of the arguments matters + local myconf=( + --enable-everything + $(use_enable 256-color) + $(use_enable blink text-blink) + $(use_enable fading-colors fading) + $(use_enable font-styles) + $(use_enable gdk-pixbuf pixbuf) + $(use_enable iso14755) + $(use_enable mousewheel) + $(use_enable perl) + $(use_enable startup-notification) + $(use_enable unicode3) + $(use_enable xft) + ) + if use 24-bit-color; then + myconf+=( --enable-24-bit-color ) + fi + econf "${myconf[@]}" +} + +src_compile() { + default + + sed -i \ + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ + "${S}"/doc/rxvt-tabbed || die +} + +src_install() { + default + + systemd_douserunit "${FILESDIR}"/urxvtd.service + systemd_douserunit "${FILESDIR}"/urxvtd.socket + + make_desktop_entry urxvt rxvt-unicode utilities-terminal \ + "System;TerminalEmulator" +} + +pkg_postinst() { + if use 24-bit-color; then + ewarn + ewarn "You have enabled 24-bit colour support in ${PN}, which is UNOFFICIAL and INCOMPLETE." + ewarn "You may or may not encounter visual glitches or stability issues. When in doubt," + ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the default setting)." + ewarn + fi +} diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild deleted file mode 100644 index 71119ddbc14a..000000000000 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools cvs desktop vcs-clean prefix - -DESCRIPTION="rxvt clone with xft and unicode support" -HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html" -ECVS_SERVER="cvs.schmorp.de/schmorpforge" -ECVS_USER="anonymous" -ECVS_MODULE="rxvt-unicode" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="" -IUSE=" - 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel - +perl startup-notification unicode3 +utmp +wtmp xft -" -RESTRICT="test" - -RDEPEND=" - >=sys-libs/ncurses-5.7-r6:= - media-libs/fontconfig - x11-libs/libX11 - x11-libs/libXrender - gdk-pixbuf? ( x11-libs/gdk-pixbuf ) - kernel_Darwin? ( dev-perl/Mac-Pasteboard ) - perl? ( dev-lang/perl:= ) - startup-notification? ( x11-libs/startup-notification ) - xft? ( x11-libs/libXft ) -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig - x11-base/xorg-proto -" -DOCS=( - Changes - README.FAQ - doc/README.xvt - doc/changes.txt - doc/etc/${PN}.term{cap,info} - doc/rxvt-tabbed -) -S=${WORKDIR}/${PN} - -src_prepare() { - ecvs_clean - eapply \ - "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch \ - "${FILESDIR}"/${PN}-9.21-xsubpp.patch - - eapply_user - - # kill the rxvt-unicode terminfo file - #192083 - sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" - - # use xsubpp from Prefix - #506500 - hprefixify -q '"' -w "/xsubpp/" src/Makefile.in - - eautoreconf -} - -src_configure() { - # --enable-everything goes first: the order of the arguments matters - econf --enable-everything \ - $(use_enable 256-color) \ - $(use_enable blink text-blink) \ - $(use_enable fading-colors fading) \ - $(use_enable font-styles) \ - $(use_enable gdk-pixbuf pixbuf) \ - $(use_enable iso14755) \ - $(use_enable mousewheel) \ - $(use_enable perl) \ - $(use_enable startup-notification) \ - $(use_enable unicode3) \ - $(use_enable utmp) \ - $(use_enable wtmp) \ - $(use_enable xft) -} - -src_compile() { - default - - sed -i \ - -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ - "${S}"/doc/rxvt-tabbed || die -} - -src_install() { - default - - make_desktop_entry urxvt rxvt-unicode utilities-terminal \ - "System;TerminalEmulator" -} -- cgit v1.2.3