Re: Packaging nouveau
On Sun, May 11, 2008 at 15:44:08 +0200, Vincent Bernat wrote:
> nouveau needs an up-to-date mesa (7.3.0) that we already have in
> Debian. It also needs an up-to-date libdrm (current git, 2.3.0 is not
> ok) that we don't have in Debian. Moreover, from libdrm, we should build
> "nouveau-kernel-source". And at least, there is the driver part that
> should be built and it seems quite easy.
I'm not sure mesa 7.0.3 will be enough. You might need a snapshot of
master instead.
> The hard part is libdrm. I have tried to work from the current git
> repository on alioth, but the modifications done in debian-* branches
> look quite strange to me. If I look at the diff between debian-unstable
> and upstream-unstable (or -experimental, they are almost in sync), I
> discover that some directories are removed (bsd-core, linux-core,
> scripts). Current git of libdrm now uses symbolic links between
> shared-core and linux-core.
Right, the debian branch of libdrm removes the kernel-side parts (we
don't need them, and they aren't in libdrm tarballs). If you need them
back in your branch, 'git checkout upstream/master
{bsd,linux,shared}-core' should do what you want (and the same for any
other files you need too).
> Because of this combination, I have difficulties to simply merge
> upstream-experimental (updated with HEAD from upstream) into
> debian-experimental. I am not good enough with git to
> succeed. Moreover, when a file has been removed and has not been
> changed, it is removed and I need the content of linux-core to be able
> to build nouveau-kernel-source package. Therefore, I am a bit stuck.
>
Don't do that in the libdrm package. Call it drm-snapshot or something
similar. Build the kernel part and the library from that one.
Be careful that the libdrm ABI in master is incompatible with 2.3.0.
Cheers,
Julien
Reply to: