You are not logged in.

#1 2013-05-25 00:13:59

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

urxvt won't use background images after upgrade

Hi all,

I just did a big system upgrade and now none of my urxvt windows have any background images!  I use different background images for each system I am logged in to so there's no confusion about what machine I am working on.

Did something change?  My ~/.Xresources file is still being loaded because the other settings like fonts and colour tweaks are still being applied, and the background image in .xpm format is still accessible and working.

I can't find any mention of this on Google or the forums, other than issues with .Xdefaults or .Xresources but in my case I have confirmed the .Xresources file is being read.

Does anyone know what would just cause this to stop working after a large system upgrade?

Offline

#2 2013-05-25 01:39:51

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: urxvt won't use background images after upgrade

Something did change I believe. I think this may be related:

https://bugs.archlinux.org/task/34862

Read from post #2287 to #2294 and it should make sense

https://bbs.archlinux.org/viewtopic.php?pid=1261545

Offline

#3 2013-05-25 07:32:55

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

Re: urxvt won't use background images after upgrade

Ah yes indeed, thanks for the pointer.  Someone else's gripe was fixed which has now caused a gripe for me.

I think they have a valid point though.  You don't want all those dependencies pulled in if you're not going to use the functionality.  But I really do need that functionality, and now it's gone :-(

It's a shame there's nothing similar to Gentoo's USE flags where you can pick which features you do/don't want, without having to resort to AUR and dealing with out-of-date PKGBUILDs.

Offline

#4 2013-05-25 08:08:40

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: urxvt won't use background images after upgrade

You can recompile the repo package changing the options you want in the PKGBUILD like it used to be. There is no need to use aur for this one. After that if you wish you can add it to  "IgnorePkg = " in /etc/pacman.conf That's what I do. Then when an update comes out and I get that warning message about package being ignored I make my edits to the PKGBUILD and source code as necessary before building and installing the newer version. The downside of this I guess would be needing to compile it yourself but I cannot imagine rxvt-unicode taking long to compile either way. I suppose another downside would be doing this with system critical packages or libraries but this package does not seem to fall into that category either.

Offline

#5 2013-05-25 08:16:42

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: urxvt won't use background images after upgrade

Here is a working PKGBUILD for you:

# $Id: PKGBUILD 90167 2013-05-07 19:14:34Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org

pkgname=rxvt-unicode
pkgver=9.18
pkgrel=3
pkgdesc='An unicode enabled rxvt-clone terminal emulator (urxvt)'
arch=('i686' 'x86_64')
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
license=('GPL')
depends=('libxft' 'perl' 'startup-notification' 'gdk-pixbuf2')
optdepends=('gtk2-perl: to use the urxvt-tabbed')
source=(
  "http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2"
  'urxvt.desktop'
  'urxvtc.desktop'
  'urxvt-tabbed.desktop'
)
md5sums=('963ccc748fe5bca925e7b92c0404d68b'
         'fec94dc986fa37ec380079d81de3e0b2'
         'fac55f0a8404c86dad3e702146762332'
         '8a5599197568c63720e282b9722a7990')

build() {
  cd $pkgname-$pkgver
  ./configure \
    --prefix=/usr \
    --with-terminfo=/usr/share/terminfo \
    --enable-256-color \
    --enable-combining \
    --enable-fading \
    --enable-font-styles \
    --enable-pixbuf \
    --enable-iso14755 \
    --enable-keepscrolling \
    --enable-lastlog \
    --enable-mousewheel \
    --enable-next-scroll \
    --enable-perl \
    --enable-pointer-blank \
    --enable-rxvt-scroll \
    --enable-selectionscrolling \
    --enable-slipwheeling \
    --enable-smart-resize \
    --enable-startup-notification \
    --enable-transparency \
    --enable-unicode3 \
    --enable-utmp \
    --enable-wtmp \
    --enable-xft \
    --enable-xim \
    --enable-xterm-scroll \
    --disable-frills
  make
}

package() {
  pushd $pkgname-$pkgver
  # workaround terminfo installation
  export TERMINFO="$pkgdir/usr/share/terminfo"
  install -d "$TERMINFO"
  make DESTDIR="$pkgdir" install
  # install the tabbing wrapper ( requires gtk2-perl! )
  sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
  install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
  popd
  # install freedesktop menu
  for _f in urxvt urxvtc urxvt-tabbed; do
    install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
  done
}

# vim:set ts=2 sw=2 et:

Took about makepkg  21.70s user 1.60s system 105% cpu 22.097 total to download and build on my system.

Last edited by dodo3773 (2013-05-26 02:51:51)

Offline

#6 2013-05-25 08:22:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: urxvt won't use background images after upgrade

Malvineous wrote:

It's a shame there's nothing similar to Gentoo's USE flags where you can pick which features you do/don't want, without having to resort to AUR and dealing with out-of-date PKGBUILDs.


Like this?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-05-26 02:29:53

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

Re: urxvt won't use background images after upgrade

@dodo3773: Thanks for that!  I had to remove --disable-pixbuf before I got my backgrounds back though.

@jasonwryan: Yes, similar to ABS, except Gentoo's system is much more integrated.  ABS seems to use rsync to keep the local files up to date, but IMHO it would be better if it used a version control system like git.  This would allow you to change the original PKGBUILD files (no need to make copies), and upstream updates (like version bumps) would be automatically merged in with your local changes (providing no direct conflicts occur.)  It would also make it easier to revert changes like this one when there are problems.  If you could then tie it in so that customised packages were automatically rebuilt after changes, and pacman would install those preferentially when using -Su, *then* it would be as good as Gentoo's USE flags ;-)  (actually better because you wouldn't have to compile the 99% of software you aren't changing.)

Offline

#8 2013-05-26 02:52:38

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: urxvt won't use background images after upgrade

Ah gotcha. Your welcome. I edited post for anyone else who comes across this issue / this thread.

Offline

#9 2013-05-26 04:12:17

progandy
Member
Registered: 2012-05-17
Posts: 5,259

Re: urxvt won't use background images after upgrade

ABS seems to use rsync to keep the local files up to date, but IMHO it would be better if it used a version control system like git

You can always clone the git repositories: https://projects.archlinux.org/svntogit/packages.git https://projects.archlinux.org/svntogit/community.git
or create a local repository from your abs copy, rsync the abs, then commit all modified files.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB