View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 2949
|
Posted: Mon Aug 01, 2022 1:34 am Post subject: rxvt-unicode patch for urxvt-resize-font |
|
|
Code: | cat u/var/db/repos/local-repo/x11-misc/urxvt-resize-font/rxvt-resize-font-9999.ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/simmel/${PN}.git"
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/simmel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="Perl extension for rxvt-unicode to resize the font on the fly"
HOMEPAGE="https://github.com/simmel/urxvt-resize-font"
LICENSE="MIT"
SLOT="0"
RDEPEND="
x11-terms/rxvt-unicode[perl]
"
src_install() {
insinto /usr/$(get_libdir)/urxvt/perl
doins resize-font
# dodoc README.markdown
} |
Code: | cat /etc/portage/package.accept_keywords/04-stage3-urxvt-resize-font-monolithic.conf
=x11-misc/urxvt-resize-font-9999 ** | Sample configuration with rxplicit default key binfings Code: | URxvt.perl-ext-common: default,fullscreen,keyboard-select,matcher,resize-font,tabbed,vtwheel
...
URxvt.keysym.C-Up: resize-font:smaller
URxvt.keysym.C-Down: resize-font:bigger
URxvt.keysym.C-equal: resize-font:reset
URxvt.keysym.C-question: resize-font:show |
Unfortunately resizing shrinks window dimension
Luckily a gentoo user's patch on github works great here out of the box in /etc/portage/patches on x11-terms/rxvt-unicode-9.30.
EDIT: ebuild update for xlsfonts removal & new Manifest
EDIT2: Manifest removal source file tab chars are misinterpreted here, plz ebuild digest manually.
Thks 4 ur attention, interest & support. _________________ Unique LP assert induced thought agreed upon here: Poor testing hurts everyone... climate diversity included. 
Last edited by CaptainBlood on Wed Jan 25, 2023 12:21 am; edited 6 times in total |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 2949
|
Posted: Mon Aug 01, 2022 4:21 pm Post subject: |
|
|
Unsure what the benefit ofis.
Leaving it for now.
EDIT only required in the alternate package named below.
Thks 4 ur attention, interest & support. _________________ Unique LP assert induced thought agreed upon here: Poor testing hurts everyone... climate diversity included. 
Last edited by CaptainBlood on Mon Aug 01, 2022 5:21 pm; edited 1 time in total |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 2949
|
Posted: Mon Aug 01, 2022 5:02 pm Post subject: |
|
|
Patch should fix window resizing in Code: | x11-misc/urxvt-font-size | too.
Thks 4 ur attention, interest & support. _________________ Unique LP assert induced thought agreed upon here: Poor testing hurts everyone... climate diversity included.  |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 2949
|
Posted: Thu Aug 04, 2022 2:45 pm Post subject: |
|
|
Patch currently cancels scrollbar display.
Thks 4 ur attention, interest & support. _________________ Unique LP assert induced thought agreed upon here: Poor testing hurts everyone... climate diversity included.  |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 2949
|
Posted: Tue Jan 24, 2023 11:51 pm Post subject: |
|
|
Patch works fine with latest x11-terms/rxvt-unicode-9.31
Thks 4 ur attention, interest & support. _________________ Unique LP assert induced thought agreed upon here: Poor testing hurts everyone... climate diversity included.  |
|
Back to top |
|
 |
|