Skip to content

Draft: Remove urxvt-perls dependency

Hi!

First time contributing to a package so excuse me if I forget something or there is something I doesn't know about contributing to packages.

I just saw #6 and I thought it was a good issue to start contributing, so I tried to install the package removing the urxvt-perls dependency. What I did was:

  • Remove 'urxvt-perls' in depends.
  • Run makepkg -si.
  • Everything finished successfully.

I think there is some testing step I am missing, so if someone could guide me a bit I will be very grateful. As a possible dummy/noob question, should I try to make this but in a clean i3 installation? I just try it with my current environment.

Update

I decided to look or urxvt and I found the desktop settings for i3, in which I found some uses of urxvt:

[manjaro-i3-settings] grep -Rnw '.' -e 'urxvt'                                 remove_urxvt-perl_dep  ✱
./src/desktop-settings/community/i3/skel/.config/libfm/libfm.conf:2:terminal=urxvt
./src/desktop-settings/community/i3/skel/.config/volumeicon/volumeicon:10:onclick=urxvt -e 'alsamixer'
./pkg/manjaro-i3-settings/etc/skel/.config/libfm/libfm.conf:2:terminal=urxvt
./pkg/manjaro-i3-settings/etc/skel/.config/volumeicon/volumeicon:10:onclick=urxvt -e 'alsamixer'

According to the archived repository:

Simply place the scripts you want to install in /usr/lib/urxvt/perl/ for system-wide availability or in ~/.urxvt/ext/ for user-only availability. You can also put them in a folder of your choice, but then you have to add this line to your .Xdefaults/.Xresources

In .Xresources I just found some commented references to urxvt-perls (check lines 81-97 and 190-193):

! Rxvt.perl-ext-common:             ...,clipboard
! URxvt.keysym.M-C-c:               perl:clipboard:copy
! URxvt.keysym.M-v:                 perl:clipboard:paste
! URxvt.keysym.M-C-v:               perl:clipboard:paste_escaped
! URxvt*perl-lib:                   string
! URxvt*perl-eval:                  perl-eval
! URxvt*perl-ext-common:            string
! URxvt*perl-ext:                   string

So it doesn't seem to be used anywhere. Should I make a commit to the desktop-settings proposing the removal of these lines in the .Xresources file too?

Edited by Iván Hernández-Cazorla

Merge request reports