[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#521253: libdrm: libdrm-dev uninstallable on GNU/kFreeBSD (depends on linux specific package)





On Thu, 26 Mar 2009, Julien Cristau wrote:

On Thu, 2009-03-26 at 10:02 +0100, Petr Salinger wrote:
Please could you either

1) depend on linux-libc-dev only on linux architectures,
    it should suffice to use something like
    "linux-libc-dev [linux-any] >= 2.6.28" in debian/control

done, but note that you'll have to fix kfreebsd-kernel-headers to
provide the headers that have been removed from libdrm-dev:
/usr/include/drm/sis_drm.h
/usr/include/drm/i915_drm.h
/usr/include/drm/mga_drm.h
/usr/include/drm/savage_drm.h
/usr/include/drm/i830_drm.h
/usr/include/drm/drm.h
/usr/include/drm/drm_mode.h
/usr/include/drm/i810_drm.h
/usr/include/drm/via_drm.h
/usr/include/drm/drm_sarea.h
/usr/include/drm/radeon_drm.h
/usr/include/drm/r128_drm.h

as provided by linux-libc-dev 2.6.29 (there are recent changes that will
be required to build mesa and xserver-xorg-video-intel).

We already have some in /usr/include/dev/drm/
i.e. on kfreebsd-amd64:  ls -l /usr/include/dev/drm
total 584
-rw-r--r-- 1 root root  22090 Jan  6 12:02 drm.h
-rw-r--r-- 1 root root  32947 Jan  6 12:02 drmP.h
-rw-r--r-- 1 root root   3968 Jan  6 12:02 drm_atomic.h
-rw-r--r-- 1 root root   2468 Jan  6 12:02 drm_linux_list.h
-rw-r--r-- 1 root root  26061 Jan  6 12:02 drm_pciids.h
-rw-r--r-- 1 root root   2666 Jan  6 12:02 drm_sarea.h
-rw-r--r-- 1 root root   8408 Jan  6 12:02 i915_drm.h
-rw-r--r-- 1 root root   9047 Jan  6 12:02 i915_drv.h
-rw-r--r-- 1 root root   8005 Jan  6 12:02 mach64_drm.h
-rw-r--r-- 1 root root  35804 Jan  6 12:02 mach64_drv.h
-rw-r--r-- 1 root root  13061 Jan  6 12:02 mga_drm.h
-rw-r--r-- 1 root root  19748 Jan  6 12:02 mga_drv.h
-rw-r--r-- 1 root root 181469 Jan  6 12:02 mga_ucode.h
-rw-r--r-- 1 root root  10527 Jan  6 12:02 r128_drm.h
-rw-r--r-- 1 root root  16489 Jan  6 12:02 r128_drv.h
-rw-r--r-- 1 root root  69976 Jan  6 12:02 r300_reg.h
-rw-r--r-- 1 root root  26625 Jan  6 12:02 radeon_drm.h
-rw-r--r-- 1 root root  41421 Jan  6 12:02 radeon_drv.h
-rw-r--r-- 1 root root   7182 Jan  6 12:02 savage_drm.h
-rw-r--r-- 1 root root  19696 Jan  6 12:02 savage_drv.h
-rw-r--r-- 1 root root   2653 Jan  6 12:02 sis_drm.h
-rw-r--r-- 1 root root   2061 Jan  6 12:02 sis_drv.h
-rw-r--r-- 1 root root   4714 Jan  6 12:02 sis_ds.h
-rw-r--r-- 1 root root   1820 Jan  6 12:02 tdfx_drv.h

Would be this sufficient or should we add symlink "drm -> dev/drm"
in /usr/include/ ?

Thanks

	Petr




Reply to: