Bug#667572: libdrm: please provide OMAP API on armel and armhf

2012-06-15 Thread Sebastian Reichel
ping!

xf86-video-omap is currently broken in experimental and can easily
be fixed by using a newer upstream release, which requires omap
support in libdrm.

-- Sebastian


signature.asc
Description: Digital signature


Bug#667572: libdrm: please provide OMAP API on armel and armhf

2012-05-07 Thread Sebastian Reichel
tags 667572 patch
thanks

Hi,

The attached patch is tested on armhf. It works together
with the 3.3 kernel available from Debian experimental (after
applying small changes to it, so that the KMS API is built)
and the latest xf86-video-omap stable release.

Please upload it sometime soon, so that I can upload a new
version of xf86-video-omap using the DRM API.

-- Sebastian
commit 5b2984f5fc8f268c721ba30cfe1569aeeea4cd2e
Author: Sebastian Reichel s...@debian.org
Date:   Sun May 6 00:59:16 2012 +0200

add omap binding

diff --git a/debian/changelog b/debian/changelog
index a8131f0..7c2d846 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdrm (2.4.33-1.1) unstable; urgency=low
+
+  * Add omap binding
+
+ -- Sebastian Reichel s...@debian.org  Sun, 06 May 2012 00:55:13 +0200
+
 libdrm (2.4.33-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 71d057b..2225858 100644
--- a/debian/control
+++ b/debian/control
@@ -101,6 +101,36 @@ Description: Userspace interface to intel-specific kernel DRM services -- debugg
  .
  This package provides the debugging symbols for the libdrm-intel1 package.
 
+Package: libdrm-omap1
+Section: libs
+Architecture: armel armhf
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: Userspace interface to omap-specific kernel DRM services -- runtime
+ This library implements the userspace interface to the omap-specific kernel
+ DRM services.  DRM stands for Direct Rendering Manager, which is the
+ kernelspace portion of the Direct Rendering Infrastructure (DRI). The DRI is
+ currently used on Linux to provide hardware-accelerated OpenGL drivers.
+
+Package: libdrm-omap1-dbg
+Section: debug
+Priority: extra
+Architecture: armel armhf
+Depends:
+ libdrm-omap1 (= ${binary:Version}),
+ ${misc:Depends},
+Multi-Arch: same
+Description: Userspace interface to omap-specific kernel DRM services -- debugging symbols
+ This library implements the userspace interface to the kernel DRM services.
+ DRM stands for Direct Rendering Manager, which is the kernelspace portion
+ of the Direct Rendering Infrastructure (DRI). The DRI is currently used on
+ Linux to provide hardware-accelerated OpenGL drivers.
+ .
+ This package provides the debugging symbols for the libdrm-omap1 package.
+
 Package: libdrm-nouveau1a
 Section: libs
 Architecture: linux-any
diff --git a/debian/libdrm-omap1.install b/debian/libdrm-omap1.install
new file mode 100644
index 000..b775d44
--- /dev/null
+++ b/debian/libdrm-omap1.install
@@ -0,0 +1 @@
+usr/lib/*/libdrm_omap.so.1*
diff --git a/debian/libdrm-omap1.symbols b/debian/libdrm-omap1.symbols
new file mode 100644
index 000..5ad0f17
--- /dev/null
+++ b/debian/libdrm-omap1.symbols
@@ -0,0 +1,15 @@
+libdrm_omap.so.1 libdrm-omap1 #MINVER#
+ omap_bo_cpu_fini@Base 2.4.33
+ omap_bo_cpu_prep@Base 2.4.33
+ omap_bo_del@Base 2.4.33
+ omap_bo_from_name@Base 2.4.33
+ omap_bo_get_name@Base 2.4.33
+ omap_bo_handle@Base 2.4.33
+ omap_bo_map@Base 2.4.33
+ omap_bo_new@Base 2.4.33
+ omap_bo_new_tiled@Base 2.4.33
+ omap_bo_size@Base 2.4.33
+ omap_device_del@Base 2.4.33
+ omap_device_new@Base 2.4.33
+ omap_get_param@Base 2.4.33
+ omap_set_param@Base 2.4.33
diff --git a/debian/rules b/debian/rules
index 4c296ea..b3cf2dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,18 @@ else
 	RADEON = no
 endif
 
+# Omap is only on arm
+ifneq (,$(filter arm,$(DEB_HOST_ARCH_CPU)))
+ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
+	OMAP = yes
+endif
+endif
+ifeq ($(OMAP), yes)
+	confflags += --enable-omap-experimental-api
+else
+	confflags += --disable-omap-experimental-api
+endif
+
 # Intel is only on x86:
 ifneq (,$(filter amd64 i386,$(DEB_HOST_ARCH_CPU)))
 ifneq (,$(filter linux kfreebsd,$(DEB_HOST_ARCH_OS)))
@@ -69,6 +81,9 @@ endif
 ifeq ($(RADEON), yes)
 	dh_strip -plibdrm-radeon1 --dbg-package=libdrm-radeon1-dbg
 endif
+ifeq ($(OMAP), yes)
+	dh_strip -plibdrm-omap1 --dbg-package=libdrm-omap1-dbg
+endif
 ifeq ($(LIBKMS), yes)
 	dh_strip -p libkms1 --dbg-package=libkms1-dbg
 endif
@@ -85,6 +100,9 @@ endif
 ifeq ($(RADEON), yes)
 	dh_makeshlibs -plibdrm-radeon1 -V'libdrm-radeon1 (= 2.4.31)' -- -c4
 endif
+ifeq ($(OMAP), yes)
+	dh_makeshlibs -plibdrm-omap1 -V'libdrm-omap1 (= 2.4.33)' -- -c4
+endif
 ifeq ($(LIBKMS), yes)
 	dh_makeshlibs -plibkms1 -V'libkms1' -- -c4
 endif


signature.asc
Description: Digital signature


Processed: Re: Bug#667572: libdrm: please provide OMAP API on armel and armhf

2012-05-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 667572 patch
Bug #667572 [src:libdrm] libdrm: please provide OMAP API on armel and armhf
Added tag(s) patch.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
667572: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667572
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.133642701512598.transcr...@bugs.debian.org



Bug#667572: libdrm: please provide OMAP API on armel and armhf

2012-04-04 Thread Sebastian Reichel
Source: libdrm
Version: 2.4.33-1
Severity: wishlist

Hi,

newer upstream releases of xf86-video-omap [0] depend on the OMAP
API in libdrm. Please enable it by adding --enable-omap-experimental-api
to the dh_auto_configure statement.

[0] http://packages.qa.debian.org/x/xf86-video-omap.html

-- Sebastian



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120405000606.30185.92273.reportbug@earth.universe



Bug#667572: libdrm: please provide OMAP API on armel and armhf

2012-04-04 Thread Cyril Brulebois
Sebastian Reichel s...@debian.org (05/04/2012):
 newer upstream releases of xf86-video-omap [0] depend on the OMAP
 API in libdrm. Please enable it by adding --enable-omap-experimental-api
 to the dh_auto_configure statement.
 
 [0] http://packages.qa.debian.org/x/xf86-video-omap.html

I saw the addition on the libdrm side, but preferred waiting for
somebody to pop up before merging that. ;)

Will see for the next upload.

Mraw,
KiBi.


signature.asc
Description: Digital signature