[Openchrome-devel] [Fwd: Openchrome underlinking patch]

Xavier Bachelot xavier
Fri Jul 18 14:48:27 PDT 2008



-------- Original Message --------
Subject: Openchrome underlinking patch
Date: Tue, 15 Jul 2008 12:18:03 -0700
From: Adam Williamson <awilliamson at mandriva.com>
Organization: Mandriva
To: Xavier Bachelot <xavier at bachelot.org>

Hi, Xavier. I just updated the Mandriva openchrome package to 0.2.902
and synchronized with most of your patches from the Fedora package (all
except the one labelled as experimental).

We've recently started building all Mandriva packages with the
underlinking protection parameters from GCC by default:

--as-needed --no-undefined

with these parameters, build of openchrome fails, indicating
underlinking issues. I am attaching the quick and dirty patch I whipped
up to fix this for MDV. I don't think it's suitable for application
upstream as-is - it would be much cleaner to test for the relevant
libraries via autoconf macros in configure.ac and then add the relevant
flags using the variables you get from the autoconf check, rather than
hardcoding them - but you can see what basically needs to be done from
the patch.

We also have one other patch you don't have, which I'm attaching for
your interest and comments. It predates my involvement with the package.
It apparently came from http://billionmonkeys.net/openchrome , but that
site no longer appears to work.

We also package the unversioned .so in with the driver, not in a devel
package. There is the following comment explaining this:

# (anssi) The unversioned symlink of XvMC library must be present in
# %{_libdir} during normal use, as libXvMC uses that name for dlopening.

maybe you might want to move it in Fedora?

I did this update, BTW, to see if it addresses the following bug:

https://qa.mandriva.com/show_bug.cgi?id=40081

I guess you might be interested in this bug too.

Thanks!
-- 
adamw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86-video-openchrome-0.2.901-billionmokeys.net_modelines.patch
Type: text/x-patch
Size: 4057 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-devel/attachments/20080718/9b33c88a/xf86-video-openchrome-0.2.901-billionmokeys.net_modelines.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86-video-openchrome-0.2.902-underlink.patch
Type: text/x-patch
Size: 980 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-devel/attachments/20080718/9b33c88a/xf86-video-openchrome-0.2.902-underlink.bin



More information about the Openchrome-devel mailing list