Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rxvt-unicode patch for urxvt-resize-font
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2949

PostPosted: Mon Aug 01, 2022 1:34 am    Post subject: rxvt-unicode patch for urxvt-resize-font Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2949

PostPosted: Mon Aug 01, 2022 4:21 pm    Post subject: Reply with quote

Unsure what the benefit of
Code:
x11-apps/xlsfonts
is.
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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2949

PostPosted: Mon Aug 01, 2022 5:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2949

PostPosted: Thu Aug 04, 2022 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2949

PostPosted: Tue Jan 24, 2023 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum