tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc and XAPPLRESDIR



joerg@ wrote:

> On Sun, Nov 13, 2011 at 06:59:43PM +0100, Bernd Ernesti wrote:
> > On Mon, Nov 14, 2011 at 02:36:18AM +0900, Izumi Tsutsui wrote:
> > > Most users don't have any interest in how it works (or sucks)
> > > but just want to know what's required to make it work.
> > > 
> > > So my suggestion is to apply patch in xsrc/26357, or
> > > add a MESSAGE file that mentions XAPPLRESDIR for pkg_add users.
> > > 
> > > Any thought?
> > 
> > My vote would be to apply a modified patch based on xsrc/26357,
> > because the old one was for the xfree tree and not for the 'new'
> > xorg one.
> 
> xpkgwedge has such a message.

How does xpkgwedge help pkg_add users?

---
# uname -mrs
NetBSD 5.1 i386
# pkg_info
# pkg_add 
ftp://ftp.jp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/5.0.2_2011Q3/All/kterm
pkg_add: Warning: package `kterm-6.2.0nb17' was built for a platform:
pkg_add: NetBSD/i386 5.0.2 (pkg) vs. NetBSD/i386 5.1 (this host)
kterm-6.2.0nb17: setting permissions on /usr/pkg/bin/kterm (o=root, g=wheel, 
m=4511)
# /usr/pkg/bin/kterm
kterm:  unable to open font "", trying "fixed"....
[..wrong fonts..]
# env XAPPLRESDIR=/usr/pkg/lib/X11/app-defaults /usr/pkg/bin/kterm
[..proper fonts..]
# 

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index