updating nvidia-settings to 346.47?
Graham Inggs
graham at nerve.org.za
Fri May 1 13:54:39 UTC 2015
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/20150501/fc7421dc/attachment.patch>
More information about the pkg-nvidia-devel
mailing list