aboutsummaryrefslogtreecommitdiff
path: root/repos/xorg/rxvt-unicode
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:15:54 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:15:54 +0800
commitae4593e20cef97c7323d522b40994a59425cd6d5 (patch)
tree7b3e8750bbbfa32e917869e325027108ee59ee85 /repos/xorg/rxvt-unicode
parentb5aa76f45da627817380276080b2b8bba6e74f68 (diff)
downloadalicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.tar.gz
alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.zip
added xorg repo
Diffstat (limited to 'repos/xorg/rxvt-unicode')
-rw-r--r--repos/xorg/rxvt-unicode/.files75
-rw-r--r--repos/xorg/rxvt-unicode/abuild11
-rw-r--r--repos/xorg/rxvt-unicode/depends4
-rw-r--r--repos/xorg/rxvt-unicode/perl-5.38.patch13
-rw-r--r--repos/xorg/rxvt-unicode/screen_c_9_30.diff72
5 files changed, 175 insertions, 0 deletions
diff --git a/repos/xorg/rxvt-unicode/.files b/repos/xorg/rxvt-unicode/.files
new file mode 100644
index 00000000..60b8059e
--- /dev/null
+++ b/repos/xorg/rxvt-unicode/.files
@@ -0,0 +1,75 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/urclock
+-rwxr-xr-x root/root usr/bin/urxvt
+-rwxr-xr-x root/root usr/bin/urxvtc
+-rwxr-xr-x root/root usr/bin/urxvtd
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/urxvt/
+drwxr-xr-x root/root usr/lib/urxvt/perl/
+-rw-r--r-- root/root usr/lib/urxvt/perl/background
+-rw-r--r-- root/root usr/lib/urxvt/perl/bell-command
+-rw-r--r-- root/root usr/lib/urxvt/perl/block-graphics-to-ascii
+-rw-r--r-- root/root usr/lib/urxvt/perl/clickthrough
+-rw-r--r-- root/root usr/lib/urxvt/perl/clipboard-osc
+-rw-r--r-- root/root usr/lib/urxvt/perl/confirm-paste
+-rw-r--r-- root/root usr/lib/urxvt/perl/digital-clock
+-rw-r--r-- root/root usr/lib/urxvt/perl/eval
+-rw-r--r-- root/root usr/lib/urxvt/perl/example-refresh-hooks
+-rw-r--r-- root/root usr/lib/urxvt/perl/keysym-list
+-rw-r--r-- root/root usr/lib/urxvt/perl/kuake
+-rw-r--r-- root/root usr/lib/urxvt/perl/matcher
+-rw-r--r-- root/root usr/lib/urxvt/perl/option-popup
+-rw-r--r-- root/root usr/lib/urxvt/perl/overlay-osc
+-rw-r--r-- root/root usr/lib/urxvt/perl/readline
+-rw-r--r-- root/root usr/lib/urxvt/perl/remote-clipboard
+-rw-r--r-- root/root usr/lib/urxvt/perl/searchable-scrollback
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-autotransform
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-pastebin
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-popup
+-rw-r--r-- root/root usr/lib/urxvt/perl/selection-to-clipboard
+-rw-r--r-- root/root usr/lib/urxvt/perl/tabbed
+-rw-r--r-- root/root usr/lib/urxvt/perl/urxvt-popup
+-rw-r--r-- root/root usr/lib/urxvt/perl/xim-onthespot
+-rw-r--r-- root/root usr/lib/urxvt/urxvt.pm
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/urclock.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-background.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-bell-command.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-block-graphics-to-ascii.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-clickthrough.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-clipboard-osc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-confirm-paste.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-digital-clock.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-eval.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-example-refresh-hooks.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-extensions.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-keysym-list.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-kuake.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-matcher.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-option-popup.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-overlay-osc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-readline.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-remote-clipboard.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-searchable-scrollback.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-selection-autotransform.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-selection-pastebin.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-selection-popup.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-selection-to-clipboard.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-selection.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-tabbed.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt-xim-onthespot.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvt.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvtc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/urxvtd.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/urxvtperl.3.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/urxvt.7.gz
+drwxr-xr-x root/root usr/share/terminfo/
+drwxr-xr-x root/root usr/share/terminfo/r/
+-rw-r--r-- root/root usr/share/terminfo/r/rxvt-unicode
+-rw-r--r-- root/root usr/share/terminfo/r/rxvt-unicode-256color
diff --git a/repos/xorg/rxvt-unicode/abuild b/repos/xorg/rxvt-unicode/abuild
new file mode 100644
index 00000000..e9693a34
--- /dev/null
+++ b/repos/xorg/rxvt-unicode/abuild
@@ -0,0 +1,11 @@
+name=rxvt-unicode
+version=9.31
+release=1
+source="http://dist.schmorp.de/${name}/${name}-${version}.tar.bz2
+ screen_c_9_30.diff
+ perl-5.38.patch"
+export TERMINFO=$PKG/usr/share/terminfo
+
+prebuild() {
+ mkdir -p $PKG/usr/share/terminfo
+}
diff --git a/repos/xorg/rxvt-unicode/depends b/repos/xorg/rxvt-unicode/depends
new file mode 100644
index 00000000..46ab1981
--- /dev/null
+++ b/repos/xorg/rxvt-unicode/depends
@@ -0,0 +1,4 @@
+libptytty
+libxext
+fontconfig
+libxft
diff --git a/repos/xorg/rxvt-unicode/perl-5.38.patch b/repos/xorg/rxvt-unicode/perl-5.38.patch
new file mode 100644
index 00000000..948dc963
--- /dev/null
+++ b/repos/xorg/rxvt-unicode/perl-5.38.patch
@@ -0,0 +1,13 @@
+diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
+index 25b1144b..f664f397 100644
+--- a/src/rxvtperl.xs
++++ b/src/rxvtperl.xs
+@@ -399,7 +399,7 @@ rxvt_perl_interp::init ()
+ {
+ if (!perl)
+ {
+- rxvt_push_locale (""); // perl init destroys current locale
++ rxvt_push_locale ("C"); // perl init destroys current locale
+
+ {
+ perl_environ = rxvt_environ;
diff --git a/repos/xorg/rxvt-unicode/screen_c_9_30.diff b/repos/xorg/rxvt-unicode/screen_c_9_30.diff
new file mode 100644
index 00000000..6d7c4c2e
--- /dev/null
+++ b/repos/xorg/rxvt-unicode/screen_c_9_30.diff
@@ -0,0 +1,72 @@
+diff --git a/src/screen.C b/src/screen.C
+index 51c7b410..8fdfad9d 100644
+--- a/src/screen.C
++++ b/src/screen.C
+@@ -293,6 +293,7 @@ rxvt_term::scr_reset ()
+
+ int common_col = min (prev_ncol, ncol);
+
++ // resize swap_buf, blank drawn_buf
+ for (int row = min (nrow, prev_nrow); row--; )
+ {
+ scr_blank_screen_mem (drawn_buf [row], DEFAULT_RSTYLE);
+@@ -306,6 +307,7 @@ rxvt_term::scr_reset ()
+ int pend = MOD (term_start + top_row , prev_total_rows);
+ int q = total_rows; // rewrapped row
+
++#if ENABLE_FRILLS
+ if ((rewrap_always || top_row) && !rewrap_never)
+ {
+ // Re-wrap lines. This is rather ugly, possibly because I am too dumb
+@@ -387,36 +389,35 @@ rxvt_term::scr_reset ()
+ scr_blank_line (*qline, qline->l, ncol - qline->l, DEFAULT_RSTYLE);
+ }
+ while (p != pend && q > 0);
+-
+- term_start = total_rows - nrow;
+- top_row = q - term_start;
+-
+- // make sure all terminal lines exist
+- while (top_row > 0)
+- scr_blank_screen_mem (ROW (--top_row), DEFAULT_RSTYLE);
+ }
+ else
++#endif
+ {
+- // if no scrollback exists (yet), wing, instead of wrap
++ // wing, instead of wrap
++ screen.cur.row += nrow - prev_nrow;
+
+- for (int row = min (nrow, prev_nrow); row--; )
++ do
+ {
+- line_t &src = prev_row_buf [MOD (term_start + row, prev_total_rows)];
+- line_t &dst = row_buf [row];
++ p = MOD (p - 1, prev_total_rows);
++ q--;
+
+- copy_line (dst, src);
++ copy_line (row_buf [q], prev_row_buf [p]);
+ }
++ while (p != pend && q > 0);
++ }
+
+- for (int row = prev_nrow; row < nrow; row++)
+- scr_blank_screen_mem (row_buf [row], DEFAULT_RSTYLE);
++ term_start = total_rows - nrow;
++ top_row = q - term_start;
+
+- term_start = 0;
+- }
++ // make sure all terminal lines exist
++ while (top_row > 0)
++ scr_blank_screen_mem (ROW (--top_row), DEFAULT_RSTYLE);
+
+ clamp_it (screen.cur.row, 0, nrow - 1);
+ clamp_it (screen.cur.col, 0, ncol - 1);
+ }
+
++ // ensure drawn_buf, swap_buf and terminal rows are all initialized
+ for (int row = nrow; row--; )
+ {
+ if (!ROW (row).valid ()) scr_blank_screen_mem (ROW (row), DEFAULT_RSTYLE); \ No newline at end of file