diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-terms/rxvt-unicode |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-terms/rxvt-unicode')
14 files changed, 739 insertions, 0 deletions
diff --git a/x11-terms/rxvt-unicode/Manifest b/x11-terms/rxvt-unicode/Manifest new file mode 100644 index 000000000000..81e51e4650ee --- /dev/null +++ b/x11-terms/rxvt-unicode/Manifest @@ -0,0 +1,17 @@ +AUX rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch 1230 SHA256 59eb0b72ef05be7e7d9071ec5f05a349359768daa3c5893b14917c50e5e10175 SHA512 233e9af5179468f74c4c0c5dfffe9d41bcd270561354f1feec59feb8a50c12d3d79ac3a5e117c46e24b3eed5c0f62697a440d2fac26b4effdd64b3ceb98302af WHIRLPOOL f3735da4c7645f18531cf4e4b8344bbcbd5e625f5f227552573245e1309b7580f3514ee7eaca971e342d1d06b9a89474301a54be4129d26fe780119c81c32e29 +AUX rxvt-unicode-9.06-case-insensitive-fs.patch 238 SHA256 160a1d88b64ddc4c12c982e11fc61bbc79ab91852e82bd9a5b281a63b9687b9a SHA512 5257b1d33e25a6a390da2f23100fc3a2b8dcc4787205273933c2ba64ecf72e663cdc0cb86273a1ffa1a87b04bbeeff9edbc8c028c521ae612722f21cf6c40762 WHIRLPOOL 1f22c6201042240df6fe4994814366fb5da34b44ed1b02ce7b64fd75d89caf516ad3fa774458a01ab3e8a6519d07dc3954d3b62f18ec641c4e6f554e88299b4e +AUX rxvt-unicode-9.06-font-width.patch 790 SHA256 fc241d7c11b86f589f41a0f488e8f04875ca6ca937e57bc2347c19dff423a38a SHA512 d2fb68b3e11a78328ded4d2d646ffbaae657e9f23f3b4b81e11bc4350dd3e1e7585eeaeee47a70246bdfb7e12fbb667e40a7766989154235064f56ed4ad0a987 WHIRLPOOL 470399ecdbbb08e13c04d4ca6d814ea4798d0e38f73a2b206e228d4beaef72a03717e0ca267d25b7aa1f9ba28a4af905f6c5b24ed4c0c716fa65b34f171233ef +AUX rxvt-unicode-9.06-no-urgency-if-focused.diff 287 SHA256 00fc63035890be675e6485277053c8bd0ba4b2253f81af15741a79c5f259fa79 SHA512 3f270ac762c82e678c023e370c1b2ee2fbc1e505243a8aeb91ebcfa70917d0a28c2346657dd75b2fc5869ff1831b23798a292d92c30faebb3acdb29575416025 WHIRLPOOL 30f17087bd0c508d5611305047341299343ae63e9c10890188cd87d833040b93dbdf265b4eb6b32e0d4fcd0b83e34192521dea090a236fd903fc567a8cdd14cc +AUX rxvt-unicode-9.06-popups-hangs.patch 447 SHA256 34126249d44f55aa74e7b0929994821543fe2d0ec2d789496344a23426532642 SHA512 2f544e686e0e07185ef5bb13c4a511aa417a76b52657ec9d56aed71ea29da28c0fbf7023a2a14690c27660474b4d1c562a5ce6af1111cdaaeec7ea8956bd7055 WHIRLPOOL 983444a94aaa8747f738041d2f3ad4185074a8144d7cd2cab7ec161a1f24345091e1f12a684be002e64b0be5a6901d0c8fad068096034fd2e720eb1eb7ce3fa2 +AUX rxvt-unicode-9.14-clear.patch 937 SHA256 c1010b15d74f56671351e8314264d76f638230e94d4e334691af29a9353a9540 SHA512 fcec6a10359939b6aa9263c5e175893477115ea0e28971283859d3c891fa8f66247dea908883bc712aa044648ef2abb8749697229ea8375dbbc2ca851b0ae527 WHIRLPOOL a3f430b81d46d55c15173ea94d5f30c87b3d023ae1e4d767ef64f36253006d41bad3b3620bea156be23be976fe5f4142aa518ced531e335a8c118bb38cb773e4 +AUX rxvt-unicode-9.19-secondary-wheel.patch 5009 SHA256 1fcc9ecb433fe4ab7568d2ac66199ad112b2f5d685489b7f5fd8b4a9dbf3827a SHA512 adf2b3e48041fddec1ebd617e5d15226d40bfa55e9fb57af3d70084ef44d1110641f393921932c0613a03fe9cba34cf78f0e022b56c522610fc5cd8e24ec0db9 WHIRLPOOL 3a7d0231f843b3949cbfe274c4d95bc8d0041e9258b2cad04a9ec39155d5ed6ed3957453c1a6980e47d133a94cc2fc504e4bddfdb74e0b9345b9d34390a8c07a +AUX rxvt-unicode-9.21-xsubpp.patch 640 SHA256 845d753be1c61a881344700f4b5b2e4e21f2d49f04f5c80350d4c8d7f2834992 SHA512 70f4c5cb7b6a440f009f693c4dc2f8595051e198250d375cd18704c35059596d77938a3d062740bd26f947bfebdb67ea7d46f59f8cbf08fc73193a62267723ec WHIRLPOOL af26cf6e4da79ee73f4d346bb410a863d075223e4ab410532ac41c3de5ea6188ba6a3fb06183065c429d2335caae932a5e46f0071a55e2ba920dcf13260e67b0 +DIST rxvt-unicode-9.21.tar.bz2 925293 SHA256 75270ed72bc5895a64a1d7392bf45a622204192371c3965bd3dd978dc088956b SHA512 d50adf6b1e6ae3b13492b4f40455d3a56bb174a7c6db4d4525a1277736994adfb74a2cd1e7d3e8a8cfdc4509a9ae32c05a627829e295dc1bd4a5ba7cc2f80776 WHIRLPOOL 92499cfa0ca154d3cbe1d7b6525e01de6a5d14677a28c605a6b676c88f1d9bc0f6cd663a1f1d8b003ac7cc46a9c6fbe49ff9adc7b3dd63eb345c80de9038a6ad +DIST rxvt-unicode-9.22.tar.bz2 931198 SHA256 e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd SHA512 b39f1b2cbe6dd3fbd2a0ad6a9d391a2b6f49d7c5e67bc65fe44a9c86937f8db379572c67564c6e21ff6e09b447cdfd4e540544e486179e94da0e0db679c04dd9 WHIRLPOOL 46758c75a86ab82feaec1fb49c3920db87b55865daabb6f576503f2c7ba0cc1e147fb8de74c9fae422512378e31e0c2133f73fb23c2129c68b2d84f47cc85522 +EBUILD rxvt-unicode-9.21.ebuild 3867 SHA256 2c4b54fcab44e3e955c97d9ac0f08d7c07c65557e3a1d884f8abd31ba650171a SHA512 19e003ac52950eca3904e011d7c92a2990c2f3b23781414b8d89d6f6265c957bccb8dedcab4bb7cfa2cbd8debbaab378f906c41bad453b2ef4ecf45f7157c8a3 WHIRLPOOL 74c310b0cb608fe7d16e520724cb7e7d99518076703864b00598c412ffe52e744f2810c9a81ebae83464a4c1ac0682300c3be26792f61c49d0584765a4fa64b8 +EBUILD rxvt-unicode-9.22-r1.ebuild 2051 SHA256 954c2d876b33f7262ef3b570255769ad8e96a834fecf543200bff73a4eaf356d SHA512 1c2706e2378fa7888e2c50115387add5ce7aa81d2cf77f0c7655b19dad0c07a495d4d797c18dd2f7954af3e22816decd0a62e5aedd10ebc328d54371ace4dce4 WHIRLPOOL f1ccca968cfa880bdc755fb0bfe8276cd370cda668005c1105f69bb17ae0aac856ece199fe3daaa8e7f527cc68ca59194242a48dc7e8173b22b583ddd2bd0046 +EBUILD rxvt-unicode-9.22.ebuild 3878 SHA256 4d02bee925e8c46e5d3c2488175ffc4f3a5675760e941e6b391e33115608dfa0 SHA512 7e56cbd35101381acb8133d264ac7724f27d82bd2902217ed2488af59b83a68faf43c1e00beea2261601806e7cc1a2f9095deb10c20dd6e733bd6a3f77d61c9c WHIRLPOOL 32e7beb9d3d5a3931aacf222450a76f1a3a0027815db475e7ff20a0f74db633a67d59c0a3c1e2dde6974246bef6bb66f25bd3eb6f631de28e80a4646d3637da5 +EBUILD rxvt-unicode-9999.ebuild 2015 SHA256 664f782360d2a72053920ee4bf1eb518dbe02d7e21c68c8b347002108072fdff SHA512 882253208d6e089a4294c71e09711b601c3155b2b5dabd7a6e43330f7949c2e9a85c9d1f98da121c159ef61c014bd04eb5574eb8f3fdf2b43a5dfd6b1cd676fb WHIRLPOOL 5ff874505138f14ea67638b5421ad8dcf1a3c6d834af18c1ad95c23b584a594fb24fe931b9a9d674bd14eeed67e679a3aa76c308c93b245c05edafc9b0dd8595 +MISC ChangeLog 3395 SHA256 cd61d8c9958c19050337324a4f82a25ab76517500037107b716cf1aef71291a1 SHA512 8625b6f629b3c076fd091af58e8104dc4d428204d87c0817169dea2f92cf25e6a5110125b236b90b31ab7f33f06e9ecfa4323c5c98ac4b02e76e4619700185ef WHIRLPOOL 7a8010298d8b3207c9548941d333b9b793fc5f998fa9c879b9157a3d898c97a25111f3fbdac93912d50c539d72df36bb7b6efd456427dbf7c5c63e9c5991e950 +MISC ChangeLog-2015 40296 SHA256 1e3bc3d3d42a2415233e6dfd9db9915bd9c6dfdf181add5ab6d57f11756c2485 SHA512 713140bf88fad2f88cc6e6131d263f7cde55a4e6936809b3504b41eb4b9ef8a992c021f2dc12205daad7e949a68eb38d11a60401d715c6095930deffbab32cda WHIRLPOOL 3e7102fda93c10e87a9669feef2d3a72ee43412b26a9d43e4e6c8932036343076ccc3032e8c0e0df492ab6810f1ee78c69b617d94fb7780f40da23f1d26d995d +MISC metadata.xml 1603 SHA256 a006d48cfe14a165418a9361f6dae1204a6b43ce48d3a2f115ceac3f04709306 SHA512 26bf3b229ba3ec60ee18779d8b4a67f23c8cc7358687adf1434fb3b9d4807187d22514467ce3cfeee1d82c925418b2e2f6efde691109897cd7d5b401b9e1d979 WHIRLPOOL 434d3653ceb534a280b5bcded929179772592cc429d551b72068eb141d16be38ac0398e3060dc782591a7c7708a90e249f54943e83cabc28ccd930e3fad30fbf diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch new file mode 100644 index 000000000000..0e8d256f9219 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch @@ -0,0 +1,33 @@ +While setting MWM_HINTS_DECORATIONS to disable window decorations +seems to work with most window managers, using _MOTIF_WM_INFO seems +not to, and in some cases can lead to severe problems with focus +management. Therefore this patch here disables the _MOTIF_WM_INFO +check and always attempts to have the window manager honour the +decorations hint. + +If your window manager does not honour MWM_HINTS_DECORATIONS, and you +are determined that you want to have borderless windows nevertheless, +you are still free to enable override-redirect manually, using the +corresponding command line option or X resource. + +See also: http://bugs.gentoo.org/show_bug.cgi?id=237271 +2008-09-10 Martin von Gagern + +--- a/src/init.C 15 Jul 2008 16:41:22 -0000 1.253 ++++ b/src/init.C 10 Sep 2008 08:07:09 -0000 +@@ -1078,15 +1078,7 @@ + #if ENABLE_FRILLS + if (option (Opt_borderLess)) + { +- if (XInternAtom (dpy, "_MOTIF_WM_INFO", True) == None) +- { +- // rxvt_warn("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n"); +- attributes.override_redirect = true; +- } +- else +- { + mwmhints.flags = MWM_HINTS_DECORATIONS; +- } + } + #endif + diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch new file mode 100644 index 000000000000..916e24aab385 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch @@ -0,0 +1,10 @@ +Avoid "make: `install' is up to date." on case insensitive filesystems + +--- a/Makefile.in ++++ b/Makefile.in +@@ -86,3 +86,5 @@ + dist: tar.bz2 + + # ------------------------------------------------------------------------ ++ ++.PHONY: install diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-font-width.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-font-width.patch new file mode 100644 index 000000000000..2c803335d64f --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-font-width.patch @@ -0,0 +1,21 @@ +--- a/src/rxvtfont.C 2008-07-09 12:21:45.000000000 +0400 ++++ b/src/rxvtfont.C 2009-10-30 14:32:53.000000000 +0300 +@@ -1195,12 +1195,14 @@ + XGlyphInfo g; + XftTextExtents16 (disp, f, &ch, 1, &g); + +- g.width -= g.x; +- ++/* ++ * bukind: don't use g.width as a width of a character! ++ * instead use g.xOff, see e.g.: http://keithp.com/~keithp/render/Xft.tutorial ++ */ + int wcw = WCWIDTH (ch); +- if (wcw > 0) g.width = (g.width + wcw - 1) / wcw; ++ if (wcw > 1) g.xOff = g.xOff / wcw; ++ if (width < g.xOff) width = g.xOff; + +- if (width < g.width ) width = g.width; + if (height < g.height ) height = g.height; + if (glheight < g.height - g.y) glheight = g.height - g.y; + } diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff new file mode 100644 index 000000000000..3408d73731c9 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff @@ -0,0 +1,15 @@ +--- a/src/screen.C ++++ b/src/screen.C +@@ -1927,11 +1927,11 @@ + # endif + XMapWindow (dpy, parent[0]); + # endif + + # if ENABLE_FRILLS +- if (option (Opt_urgentOnBell)) ++ if (option (Opt_urgentOnBell) && !focus) + set_urgency (1); + # endif + + if (option (Opt_visualBell)) + { diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-popups-hangs.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-popups-hangs.patch new file mode 100644 index 000000000000..cad5a793d378 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-popups-hangs.patch @@ -0,0 +1,13 @@ +--- a/src/rxvtperl.xs 30 May 2009 08:51:23 -0000 1.127 ++++ b/src/rxvtperl.xs 30 Jul 2009 22:19:33 -0000 +@@ -929,7 +929,9 @@ + rxvt_term::grab (Time eventtime, int sync = 0) + CODE: + { +- int mode = sync ? GrabModeSync : GrabModeAsync; ++ // TA: 20090730: Always assume Async mode here -- recent Xorg ++ // Servers don't appreciate being put in Sync mode. ++ int mode = GrabModeAsync; + + THIS->perl.grabtime = 0; + diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.14-clear.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.14-clear.patch new file mode 100644 index 000000000000..050907cea435 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.14-clear.patch @@ -0,0 +1,25 @@ +store visible lines to buffer before clearing the screen when pressing ctrl-l + +patch by rlblaster +https://bbs.archlinux.org/viewtopic.php?id=129302 + +--- a/src/command.C ++++ b/src/command.C +@@ -2932,6 +2932,17 @@ + + case CSI_CUP: /* 8.3.21: (1,1) CURSOR POSITION */ + case CSI_HVP: /* 8.3.64: (1,1) CHARACTER AND LINE POSITION */ ++ if (nargs == 1 && current_screen == 0) ++ { ++ // This is usually followed with clear screen so add some extra ++ // lines to avoid deleting the lines already on screen. If we are ++ // already at the top, add an extra screen height of lines. ++ int extra_lines = nrow-1; ++ if (screen.cur.row == 0) ++ extra_lines += nrow; ++ for (int i = 0; i < extra_lines; ++i) ++ scr_add_lines (L"\r\n", 2); ++ } + scr_gotorc (arg[0] - 1, nargs < 2 ? 0 : (arg[1] - 1), 0); + break; + diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.19-secondary-wheel.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.19-secondary-wheel.patch new file mode 100644 index 000000000000..3a4d4a409814 --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.19-secondary-wheel.patch @@ -0,0 +1,123 @@ +secondary wheel support: +when using the mouse wheel, if you’re on secondary screen then no scrolling +will occur, and instead some (3, to be exact) “fake” keystrokes will be sent to +the running application. + +patch by jacky +i.am.jack.mail@gmail.com +http://lists.schmorp.de/pipermail/rxvt-unicode/2011q4/001491.html + +diff -r d5f9ea7306c4 -r cca1997c1a85 doc/rxvt.1.pod +--- a/doc/rxvt.1.pod Wed Dec 21 22:59:04 2011 +0100 ++++ b/doc/rxvt.1.pod Wed Dec 21 23:01:28 2011 +0100 +@@ -455,6 +455,11 @@ + Turn on/off secondary screen scroll (default enabled); resource + B<secondaryScroll>. + ++=item B<-ssw>|B<+ssw> ++ ++Turn on/off secondary screen wheel support (default disabled); resource ++B<secondaryWheel>. ++ + =item B<-hold>|B<+hold> + + Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ +@@ -1167,6 +1172,13 @@ + scrollback buffer and, when secondaryScreen is off, switching + to/from the secondary screen will instead scroll the screen up. + ++=item B<secondaryWheel:> I<boolean> ++ ++Turn on/off secondary wheel (default disabled). If enabled, when on ++secondary screen, using the mouse wheel will not scroll in the buffer ++but instead send 3 "fake" keystrokes (Up/Down arrow) to the running ++application (allows e.g. natural scrolling in B<man>, B<less>, etc). ++ + =item B<hold>: I<boolean> + + Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ +diff -r d5f9ea7306c4 -r cca1997c1a85 src/command.C +--- a/src/command.C Wed Dec 21 22:59:04 2011 +0100 ++++ b/src/command.C Wed Dec 21 23:01:28 2011 +0100 +@@ -2197,10 +2197,46 @@ + } + else + # endif ++#ifndef NO_SECONDARY_SCREEN + { +- scr_page (dirn, lines); +- scrollBar.show (1); ++ /* on SECONDARY screen, we send "fake" UP/DOWN keys instead ++ * (this allows to scroll within man, less, etc) */ ++ if (option (Opt_secondaryWheel) && current_screen != PRIMARY) ++ { ++ XKeyEvent event; ++ event.display = ev.display; ++ event.window = ev.window; ++ event.root = ev.root; ++ event.subwindow = ev.subwindow; ++ event.time = ev.time; ++ event.x = ev.x; ++ event.y = ev.y; ++ event.x_root = ev.x_root; ++ event.y_root = ev.y_root; ++ event.same_screen = ev.same_screen; ++ event.state = 0; ++ event.keycode = XKeysymToKeycode(ev.display, ++ (dirn == UP) ? XK_Up : XK_Down); ++ for (lines = 0; lines < 3; ++lines) ++ { ++ event.type = KeyPress; ++ XSendEvent (event.display, event.window, True, ++ KeyPressMask, (XEvent *) &event); ++ event.type = KeyRelease; ++ XSendEvent (event.display, event.window, True, ++ KeyPressMask, (XEvent *) &event); ++ } ++ } ++ /* on PRIMARY screen, we scroll in the buffer */ ++ else ++#endif ++ { ++ scr_page (dirn, lines); ++ scrollBar.show (1); ++ } ++#ifndef NO_SECONDARY_SCREEN + } ++#endif + } + break; + #endif +diff -r d5f9ea7306c4 -r cca1997c1a85 src/optinc.h +--- a/src/optinc.h Wed Dec 21 22:59:04 2011 +0100 ++++ b/src/optinc.h Wed Dec 21 23:01:28 2011 +0100 +@@ -26,6 +26,7 @@ + def(cursorBlink) + def(secondaryScreen) + def(secondaryScroll) ++ def(secondaryWheel) + def(pastableTabs) + def(cursorUnderline) + #if ENABLE_FRILLS +diff -r d5f9ea7306c4 -r cca1997c1a85 src/rsinc.h +--- a/src/rsinc.h Wed Dec 21 22:59:04 2011 +0100 ++++ b/src/rsinc.h Wed Dec 21 23:01:28 2011 +0100 +@@ -102,6 +102,7 @@ + #ifndef NO_SECONDARY_SCREEN + def (secondaryScreen) + def (secondaryScroll) ++ def (secondaryWheel) + #endif + #ifdef OFF_FOCUS_FADING + def (fade) +diff -r d5f9ea7306c4 -r cca1997c1a85 src/xdefaults.C +--- a/src/xdefaults.C Wed Dec 21 22:59:04 2011 +0100 ++++ b/src/xdefaults.C Wed Dec 21 23:01:28 2011 +0100 +@@ -261,6 +261,7 @@ + #ifndef NO_SECONDARY_SCREEN + BOOL (Rs_secondaryScreen, "secondaryScreen", "ssc", Opt_secondaryScreen, 0, "enable secondary screen"), + BOOL (Rs_secondaryScroll, "secondaryScroll", "ssr", Opt_secondaryScroll, 0, "enable secondary screen scroll"), ++ BOOL (Rs_secondaryWheel, "secondaryWheel", "ssw", Opt_secondaryWheel, 0, "enable secondary screen wheel"), + #endif + #if ENABLE_PERL + RSTRG (Rs_perl_lib, "perl-lib", "string"), //, "colon-separated directories with extension scripts"),TODO diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.21-xsubpp.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.21-xsubpp.patch new file mode 100644 index 000000000000..1d71e96c86dd --- /dev/null +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.21-xsubpp.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -136,7 +136,7 @@ + $(PERL) -MExtUtils::Embed -e xsinit -- -std urxvt + + rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom +- PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@ ++ PERL="$(PERL)" $(PERL) /usr/bin/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@ + + rxvtperl.o: rxvtperl.C perlxsi.c + $(COMPILE) $(PERLFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $< diff --git a/x11-terms/rxvt-unicode/metadata.xml b/x11-terms/rxvt-unicode/metadata.xml new file mode 100644 index 000000000000..7d1c93339ec7 --- /dev/null +++ b/x11-terms/rxvt-unicode/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jer@gentoo.org</email> + <name>Jeroen Roovers</name> + </maintainer> + <use> + <flag name="256-color">Enable 256 color support</flag> + <flag name="alt-font-width">Calculate the font width using a different method</flag> + <flag name="blink">Enable blinking text</flag> + <flag name="buffer-on-clear">Store visible output to history buffer when clearing the screen with ctrl-l. + Read https://bbs.archlinux.org/viewtopic.php?id=129302</flag> + <flag name="fading-colors">Enable colors fading when off focus</flag> + <flag name="focused-urgency">Enable the urgent flag when a terminal window is focused</flag> + <flag name="font-styles">Enable support for bold and italic fonts</flag> + <flag name="iso14755">Enable ISO-14755 support</flag> + <flag name="mousewheel">Enable scrolling via mouse wheel or buttons 4 and 5</flag> + <flag name="perl">Enable perl script support. You can still disable this at runtime with -pe ""</flag> + <flag name="pixbuf">Enable transparency support using gtk's pixbuf</flag> + <flag name="secondary-wheel">Support for wheel scrolling on secondary screens (like mutt). + Read http://lists.schmorp.de/pipermail/rxvt-unicode/2011q4/001491.html</flag> + <flag name="unicode3">Use 21 instead of 16 bits to represent unicode characters</flag> + <flag name="wcwidth">Enable wide char width support</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/a:rxvt-unicode:rxvt-unicode</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.21.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.21.ebuild new file mode 100644 index 000000000000..089a6cb89b44 --- /dev/null +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.21.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE=" + 256-color alt-font-width blink buffer-on-clear +focused-urgency + fading-colors +font-styles iso14755 +mousewheel +perl pixbuf secondary-wheel + startup-notification xft unicode3 +vanilla wcwidth +" + +RDEPEND=" + >=sys-libs/ncurses-5.7-r6 + kernel_Darwin? ( dev-perl/Mac-Pasteboard ) + media-libs/fontconfig + perl? ( dev-lang/perl:= ) + pixbuf? ( x11-libs/gdk-pixbuf x11-libs/gtk+:2 ) + startup-notification? ( x11-libs/startup-notification ) + x11-libs/libX11 + x11-libs/libXrender + xft? ( x11-libs/libXft ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xproto +" + +RESTRICT="test" +REQUIRED_USE="vanilla? ( !alt-font-width !buffer-on-clear focused-urgency !secondary-wheel !wcwidth )" + +src_prepare() { + # fix for prefix not installing properly + epatch \ + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch \ + "${FILESDIR}"/${PN}-9.21-xsubpp.patch + + if ! use vanilla; then + ewarn "You are going to include unsupported third-party bug fixes/features." + ewarn "If you want even more control over patches, then set USE=vanilla" + ewarn "and store your patch set in /etc/portage/patches/${CATEGORY}/${PF}/" + + use wcwidth && epatch doc/wcwidth.patch + + # bug #240165 + use focused-urgency || epatch "${FILESDIR}"/${PN}-9.06-no-urgency-if-focused.diff + + # bug #263638 + epatch "${FILESDIR}"/${PN}-9.06-popups-hangs.patch + + # bug #237271 + epatch "${FILESDIR}"/${PN}-9.05_no-MOTIF-WM-INFO.patch + + # support for wheel scrolling on secondary screens + use secondary-wheel && epatch "${FILESDIR}"/${PN}-9.19-secondary-wheel.patch + + # ctrl-l buffer fix + use buffer-on-clear && epatch "${FILESDIR}"/${PN}-9.14-clear.patch + + use alt-font-width && epatch "${FILESDIR}"/${PN}-9.06-font-width.patch + fi + + # kill the rxvt-unicode terminfo file - #192083 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" + + epatch_user + + eautoreconf +} + +src_configure() { + local myconf='' + + use iso14755 || myconf='--disable-iso14755' + + econf --enable-everything \ + $(use_enable 256-color) \ + $(use_enable blink text-blink) \ + $(use_enable fading-colors fading) \ + $(use_enable font-styles) \ + $(use_enable mousewheel) \ + $(use_enable perl) \ + $(use_enable pixbuf) \ + $(use_enable startup-notification) \ + $(use_enable xft) \ + $(use_enable unicode3) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" + + sed -i \ + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ + "${S}"/doc/rxvt-tabbed || die "tabs sed failed" +} + +src_install() { + default + + dodoc \ + README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed + + make_desktop_entry urxvt rxvt-unicode utilities-terminal \ + "System;TerminalEmulator" +} + +pkg_postinst() { + if use buffer-on-clear; then + ewarn "You have enabled the buffer-on-clear USE flag." + ewarn "Please note that, although this works well for most prompts," + ewarn "there have been cases with fancy prompts, like bug #397829," + ewarn "where it caused issues. Proceed with caution." + ewarn " (keep this terminal open until you make sure it works)" + fi + if use secondary-wheel; then + elog "You have enabled the secondary-wheel USE flag." + elog "This allows you to scroll in secondary screens" + elog "(like mutt's message list/view or nano) using the mouse wheel." + elog + elog "To actually enable the feature you have to add" + elog " URxvt*secondaryWheel: true" + elog "in your ~/.Xdefaults file" + fi +} diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild new file mode 100644 index 000000000000..e7b929cafa03 --- /dev/null +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE=" + 256-color blink fading-colors +font-styles iso14755 +mousewheel +perl + pixbuf startup-notification unicode3 xft +" +RESTRICT="test" + +RDEPEND=" + >=sys-libs/ncurses-5.7-r6:= + kernel_Darwin? ( dev-perl/Mac-Pasteboard ) + media-libs/fontconfig + perl? ( dev-lang/perl:= ) + pixbuf? ( x11-libs/gdk-pixbuf x11-libs/gtk+:2 ) + startup-notification? ( x11-libs/startup-notification ) + x11-libs/libX11 + x11-libs/libXrender + xft? ( x11-libs/libXft ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xproto +" +PATCHES=( + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch + "${FILESDIR}"/${PN}-9.21-xsubpp.patch +) + +src_prepare() { + default + + # kill the rxvt-unicode terminfo file - #192083 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" + + 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 iso14755) \ + $(use_enable mousewheel) \ + $(use_enable perl) \ + $(use_enable pixbuf) \ + $(use_enable startup-notification) \ + $(use_enable unicode3) \ + $(use_enable xft) +} + +src_compile() { + default + + sed -i \ + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ + "${S}"/doc/rxvt-tabbed || die +} + +src_install() { + default + + dodoc \ + README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed + + make_desktop_entry urxvt rxvt-unicode utilities-terminal \ + "System;TerminalEmulator" +} diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild new file mode 100644 index 000000000000..d690b6b09cd5 --- /dev/null +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE=" + 256-color alt-font-width blink buffer-on-clear +focused-urgency + fading-colors +font-styles iso14755 +mousewheel +perl pixbuf secondary-wheel + startup-notification xft unicode3 +vanilla wcwidth +" + +RDEPEND=" + >=sys-libs/ncurses-5.7-r6:= + kernel_Darwin? ( dev-perl/Mac-Pasteboard ) + media-libs/fontconfig + perl? ( dev-lang/perl:= ) + pixbuf? ( x11-libs/gdk-pixbuf x11-libs/gtk+:2 ) + startup-notification? ( x11-libs/startup-notification ) + x11-libs/libX11 + x11-libs/libXrender + xft? ( x11-libs/libXft ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xproto +" + +RESTRICT="test" +REQUIRED_USE="vanilla? ( !alt-font-width !buffer-on-clear focused-urgency !secondary-wheel !wcwidth )" + +src_prepare() { + # fix for prefix not installing properly + epatch \ + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch \ + "${FILESDIR}"/${PN}-9.21-xsubpp.patch + + if ! use vanilla; then + ewarn "You are going to include unsupported third-party bug fixes/features." + ewarn "If you want even more control over patches, then set USE=vanilla" + ewarn "and store your patch set in /etc/portage/patches/${CATEGORY}/${PF}/" + + use wcwidth && epatch doc/wcwidth.patch + + # bug #240165 + use focused-urgency || epatch "${FILESDIR}"/${PN}-9.06-no-urgency-if-focused.diff + + # bug #263638 + epatch "${FILESDIR}"/${PN}-9.06-popups-hangs.patch + + # bug #237271 + epatch "${FILESDIR}"/${PN}-9.05_no-MOTIF-WM-INFO.patch + + # support for wheel scrolling on secondary screens + use secondary-wheel && epatch "${FILESDIR}"/${PN}-9.19-secondary-wheel.patch + + # ctrl-l buffer fix + use buffer-on-clear && epatch "${FILESDIR}"/${PN}-9.14-clear.patch + + use alt-font-width && epatch "${FILESDIR}"/${PN}-9.06-font-width.patch + fi + + # kill the rxvt-unicode terminfo file - #192083 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" + + epatch_user + + eautoreconf +} + +src_configure() { + local myconf='' + + use iso14755 || myconf='--disable-iso14755' + + econf --enable-everything \ + $(use_enable 256-color) \ + $(use_enable blink text-blink) \ + $(use_enable fading-colors fading) \ + $(use_enable font-styles) \ + $(use_enable mousewheel) \ + $(use_enable perl) \ + $(use_enable pixbuf) \ + $(use_enable startup-notification) \ + $(use_enable xft) \ + $(use_enable unicode3) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" + + sed -i \ + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ + "${S}"/doc/rxvt-tabbed || die "tabs sed failed" +} + +src_install() { + default + + dodoc \ + README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed + + make_desktop_entry urxvt rxvt-unicode utilities-terminal \ + "System;TerminalEmulator" +} + +pkg_postinst() { + if use buffer-on-clear; then + ewarn "You have enabled the buffer-on-clear USE flag." + ewarn "Please note that, although this works well for most prompts," + ewarn "there have been cases with fancy prompts, like bug #397829," + ewarn "where it caused issues. Proceed with caution." + ewarn " (keep this terminal open until you make sure it works)" + fi + if use secondary-wheel; then + elog "You have enabled the secondary-wheel USE flag." + elog "This allows you to scroll in secondary screens" + elog "(like mutt's message list/view or nano) using the mouse wheel." + elog + elog "To actually enable the feature you have to add" + elog " URxvt*secondaryWheel: true" + elog "in your ~/.Xdefaults file" + fi +} diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild new file mode 100644 index 000000000000..43645a40943a --- /dev/null +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools cvs eutils + +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 iso14755 +mousewheel +perl + pixbuf startup-notification xft unicode3 +" +RESTRICT="test" + +RDEPEND=" + media-libs/fontconfig + sys-libs/ncurses:* + x11-libs/libX11 + x11-libs/libXrender + kernel_Darwin? ( dev-perl/Mac-Pasteboard ) + perl? ( dev-lang/perl:= ) + pixbuf? ( x11-libs/gdk-pixbuf x11-libs/gtk+:2 ) + startup-notification? ( x11-libs/startup-notification ) + xft? ( x11-libs/libXft ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xproto +" + +S=${WORKDIR}/${PN} +PATCHES=( + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch + "${FILESDIR}"/${PN}-9.21-xsubpp.patch + +) + +src_prepare() { + ecvs_clean + + # kill the rxvt-unicode terminfo file - #192083 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die + + eapply_user + + eautoreconf +} + +src_configure() { + local myconf='' + + use iso14755 || myconf='--disable-iso14755' + + # --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 iso14755) \ + $(use_enable mousewheel) \ + $(use_enable perl) \ + $(use_enable pixbuf) \ + $(use_enable startup-notification) \ + $(use_enable unicode3) \ + $(use_enable xft) +} + +src_compile() { + default + + sed -i \ + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ + "${S}"/doc/rxvt-tabbed || die +} + +src_install() { + default + + dodoc \ + README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed + + make_desktop_entry urxvt rxvt-unicode utilities-terminal \ + "System;TerminalEmulator" +} |