Fwd: updating nvidia-settings to 346.47?
Graham Inggs
graham at nerve.org.za
Mon Jun 29 18:35:36 UTC 2015
Hi
I didn't receive any comments to the email below.
Bumping in case it fell through the cracks.
Regards
Graham
---------- Forwarded message ----------
From: Graham Inggs <graham at nerve.org.za>
Date: 1 May 2015 at 15:54
Subject: Re: updating nvidia-settings to 346.47?
To: Andreas Beckmann <anbe at debian.org>
Cc: Debian NVIDIA Maintainers <pkg-nvidia-devel at lists.alioth.debian.org>
On 28 April 2015 at 20:40, Graham Inggs <graham at nerve.org.za> wrote:
> We could do some post-processing of nvidia-settings.substvars so we
> don't end up depending on gtk2 *and* gtk3 as the Ubuntu package
> currently does. :(
> I have something that shows how this could work, but I think it is on
> another computer. I'll post it soon.
My idea was along the lines of adding the following:
override_dh_gencontrol:
sed -i -e 's/libgtk2.0-0\([^,]*, \)//'
$(CURDIR)/debian/nvidia-settings.substvars
sed -i -e 's/libgtk-3-0/libgtk2.0-0 (>= 2.8.0) | libgtk-3-0/'
$(CURDIR)/debian/nvidia-settings.substvars
dh_gencontrol
That is assuming we want to prefer gtk2 over gtk3.
I was able to get rid of of some additional dependencies for gtk3:
libcairo-gobject2 (>= 1.10.0), and for gtk2: libfontconfig1 (>=
2.9.0), libfreetype6 (>= 2.2.1), libpangoft2-1.0-0 (>= 1.14.0) by
making changes to GTK2_LDFLAGS and GTK3_LDFLAGS and placing LIBS after
the objects as per the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: as-needed-v2.patch
Type: text/x-diff
Size: 1410 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150629/0430fd14/attachment.patch>
More information about the pkg-nvidia-devel
mailing list