Bug#894880: ruby-graphviz: please use HOME (or do not override) instead of G_HOME

2019-06-26 Thread Iain Lane
Control: severity -1 minor

On Thu, Apr 05, 2018 at 09:07:09AM +0100, Simon McVittie wrote:
> Package: ruby-graphviz
> Version: 1.2.3-1
> Severity: normal
> User: pkg-gnome-maintain...@lists.alioth.debian.org
> Usertags: g-home
> 
> ruby-graphviz has this in d/rules:
> 
> > # Tests try to read /root/.pangorc and fail if we don't set this variable.
> > # See #570313 for more details
> > export G_HOME=/
> 
> […]
> Please investigate whether this is still needed, and if it is, set HOME=/
> instead.

I just test-built with libglib2.0-0 2.60.4-1 from experimental. This
version of glib2.0 does not respect G_HOME. The build ran the upstream
testsuite, and it all passed, so I believe the above portion of
debian/rules is likely to be obsolete and can be removed.

Cheers,

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]


signature.asc
Description: PGP signature


Bug#894880: ruby-graphviz: please use HOME (or do not override) instead of G_HOME

2018-04-05 Thread Simon McVittie
Package: ruby-graphviz
Version: 1.2.3-1
Severity: normal
User: pkg-gnome-maintain...@lists.alioth.debian.org
Usertags: g-home

ruby-graphviz has this in d/rules:

> # Tests try to read /root/.pangorc and fail if we don't set this variable.
> # See #570313 for more details
> export G_HOME=/

G_HOME was a Debian-specific workaround for old versions of GLib not
respecting HOME. Since GLib 2.36, GLib functions that look for the home
directory *do* respect HOME. GLib >= 2.36 is available in oldstable, so
I'd like to remove the G_HOME hack now.

Please investigate whether this is still needed, and if it is, set HOME=/
instead.

Thanks,
smcv