Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2014-03-26 Thread Pali Rohár
Right, it does not make sense to have in debian repository free
applications with enabled xvmc support and disabled (not included)
free xvmc drivers in repository.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: R: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2014-03-25 Thread Fabio Pedretti
2014-03-23 21:19 GMT+01:00 Julien Cristau jcris...@debian.org:
 On Sat, Mar 22, 2014 at 19:03:52 +0100, Pali Rohár wrote:

 Hello!

 It looks like nouveau, r600 and radeonsi vdpau drivers are already in
 debian repository. But not xvmc libraries. See:

 Correct, we're probably not going to be enabling xvmc.

 Cheers,
 Julien

Can I ask for reason why not to enable also xvmc?

-- 
Pali Rohár
pali.ro...@gmail.com

There are apparently only two Debian packages that can leverage XvMC support: 
mplayer and gxine. Other not packaged software may also use it anyway. Other 
packages (not many, however) can use VDPAU (supported by open source mesa 
drivers).

However the current status doesn't make a lot of sense: some software could 
use XvMC but free mesa drivers are not provided. Since xvmc library is 
supported in Debian I suppose free mesa drivers should also be provided. If we 
don't want to support open source XvMC drivers we should also consider 
deprecating libxvmc and recompiling software packages without it.

There may be also other technical (bugs or missing features) or non technical 
(no developer care enough to do it or is able to test it or whatever was the 
reason VDPAU took over 2 years to be packaged or glamor is still not) reasons 
not to provide xvmc mesa drivers but I don't know them.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2014-03-23 Thread Julien Cristau
On Sat, Mar 22, 2014 at 19:03:52 +0100, Pali Rohár wrote:

 Hello!
 
 It looks like nouveau, r600 and radeonsi vdpau drivers are already in
 debian repository. But not xvmc libraries. See:
 
Correct, we're probably not going to be enabling xvmc.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2014-03-23 Thread Pali Rohár
2014-03-23 21:19 GMT+01:00 Julien Cristau jcris...@debian.org:
 On Sat, Mar 22, 2014 at 19:03:52 +0100, Pali Rohár wrote:

 Hello!

 It looks like nouveau, r600 and radeonsi vdpau drivers are already in
 debian repository. But not xvmc libraries. See:

 Correct, we're probably not going to be enabling xvmc.

 Cheers,
 Julien

Can I ask for reason why not to enable also xvmc?

-- 
Pali Rohár
pali.ro...@gmail.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2014-03-22 Thread Pali Rohár
Hello!

It looks like nouveau, r600 and radeonsi vdpau drivers are already in
debian repository. But not xvmc libraries. See:

https://packages.debian.org/sid/mesa-vdpau-drivers
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705558#24

-- 
Pali Rohár
pali.ro...@gmail.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2014-01-29 Thread Alexander Sitnik
Hi, mesa maintainers,

I've tried to rebuild mesa 10.0.2-1 from experimental with Michal's patch.
I were interested only in VDPAU and after week of testing I can say that it
works fine on my Radeon HD5670. Both mplayer and flashplugin-nonfree use it
and there is no visual glitches with it. CPU load also much lower as it was
expected.

Please enable VDPAU in mesa packages.
Thanks.


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2013-12-24 Thread Michal Suchanek
Source: mesa
Followup-For: Bug #656719

Hello,

Sending the debdiff updated for mesa 10.

Both mesa 9.2.2 and mesa 10 work for vdpau playback on Cedar (radeon).

Thanks

Michal

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable'), (171, 'unstable'), (151, 'experimental'), (121, 
'precise-updates'), (121, 'precise-security'), (121, 'precise'), (101, 
'stable'), (101, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u mesa-10.0.1/debian/changelog mesa-10.0.1/debian/changelog
--- mesa-10.0.1/debian/changelog
+++ mesa-10.0.1/debian/changelog
@@ -1,3 +1,13 @@
+mesa (10.0.1-1.1) experimental; urgency=low
+
+  [ Mikhail Kshevetskiy ]
+
+  * debian: Add libxvmc1-gallium-drivers and libvdpau1-gallium-drivers
+packages to provide xvmc and vdpau video acceleration for nouveau,
+radeon and softpipe drivers.
+
+ -- Mikhail Kshevetskiy mikhail.kshevets...@gmail.com  Sun, 09 Jun 2013 02:14:05 +0400
+
 mesa (10.0.1-1) experimental; urgency=low
 
   * New upstream release.
diff -u mesa-10.0.1/debian/control mesa-10.0.1/debian/control
--- mesa-10.0.1/debian/control
+++ mesa-10.0.1/debian/control
@@ -33,6 +33,8 @@
  llvm-3.3-dev (= 1:3.3-4) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf],
  libelf-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf],
  libwayland-dev (= 1.0.2) [linux-any],
+ libxvmc-dev,
+ libvdpau-dev,
 Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
 Homepage: http://mesa3d.sourceforge.net/
@@ -784,2 +786,76 @@
 
+Package: libvdpau1-gallium-drivers
+Section: libs
+Priority: optional
+Architecture: linux-any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ firmware-linux-nonfree
+Recommends: libgl1-mesa-dri, libxvmc-mesa-drivers
+Multi-Arch: same
+Description: VDPAU Gallium3D video acceleration drivers
+ This package provide vdpau gallium drivers to accelerate video decoding
+ on r300/r600/radeonsi (AMD Radeon chips), nouveau (NVidia chips) and
+ softpipe.
+ .
+ Features:
+   r300:  MPEG1, MPEG2
+   r600/radeonsi: MPEG1, MPEG2, H264, VC1, MPEG4 (see note)
+   nouveau:   ???
+   softpipe:  ???
+ .
+ Recent MPlayer versions use the provided library automatically. But you
+ can manually use it using for example the following command line.
+ .
+ .mplayer -vo vdpau -vc ffmpeg12vdpau example.mpeg2
+ .
+ Note: you'll need UVD support in your kernel to get H264/VC1/MPEG4
+   video decoding on AMD Radeon chips (linux = 3.10 and latest
+   radeon firmware files required).
+ .
+ Beware that this is work in progress and might not work as expected.
+
+Package: libvdpau1-gallium-drivers-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libvdpau1-gallium-drivers (= ${binary:Version}),
+ ${misc:Depends}
+Multi-Arch: same
+Description: debugging symbols for VDPAU Gallium3D video acceleration drivers
+ This package contains the debugging symbols for the VDPAU gallium drivers.
+
+Package: libxvmc1-gallium-drivers
+Section: libs
+Priority: optional
+Architecture: linux-any
+Depends:
+ libxvmc1,
+ ${shlibs:Depends},
+ ${misc:Depends},
+Recommends: libgl1-mesa-dri, libvdpau1-gallium-drivers
+Multi-Arch: same
+Description: XvMC Gallium3D video acceleration drivers
+ This package provide accelerated XvMC gallium drivers for
+ r300/r600/radeonsi (AMD Radeon chips), nouveau (NVidia chips) and
+ softpipe.
+ .
+ You have to edit `/etc/X11/XvMCConfig` and list your hardware specific
+ library in there, for example `libXvMCr600.so.1`.
+ .
+ Beware that this is work in progress and might not work as expected.
+
+Package: libxvmc1-gallium-drivers-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libxvmc1-gallium-drivers (= ${binary:Version}),
+ ${misc:Depends}
+Multi-Arch: same
+Description: debugging symbols for XvMC Gallium3D video acceleration drivers
+ This package contains the debugging symbols for the XvMCV gallium libraries.
+
 # vim: tw=0
diff -u mesa-10.0.1/debian/rules mesa-10.0.1/debian/rules
--- mesa-10.0.1/debian/rules
+++ mesa-10.0.1/debian/rules
@@ -115,7 +115,6 @@
 	--enable-shared-glapi \
 	--enable-texture-float \
 	--enable-xa \
-	--disable-xvmc --disable-vdpau \
 	$(confflags_DIRECT_RENDERING) \
 	$(confflags_EGL) \
 	$(confflags_GALLIUM) \
@@ -130,22 +129,25 @@
 	--enable-xlib-glx \
 	--disable-egl \
 	--disable-shared-glapi \
+	--disable-gallium-g3dvl \
 	$(buildflags)
 
 confflags-swx11-static = \
 	--disable-dri \
 	--disable-egl \
 	--with-gallium-drivers= \
+	--disable-shared-glapi \
+	--disable-gallium-g3dvl \
 	--enable-xlib-glx \
 	--enable-static \
 	--disable-egl \
-	--disable-shared-glapi \
 	$(buildflags)
 
 confflags-swx11-i386-i686 = \
 	--disable-dri \
 	--disable-egl \
 	--with-gallium-drivers= \
+	--disable-gallium-g3dvl \
 	

Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2013-07-12 Thread Goswin von Brederlow
Package: mesa
Version: 9.1.4
Followup-For: Bug #656719

The dependency on linux-firmware-nonfree should be firmware-linux-nonfree
instead.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Paul Menzel
forcemerge 656719 677886
quit

Dear Fabio,


thank you very much for that report and your patch. I overlooked your
report and submitted the separate report #677886 [1] and therefore merge
both.

Just as a side note, could you make sure the `Reply-to` and `References`
header fields are set in your messages so that threading is not broken.

Am Sonntag, den 29.01.2012, 21:00 +0100 schrieb Fabio Pedretti:

[…]

 Updated patch reflecting that xorg-server dependency was dropped in master 
 and 
 8.0 branches of mesa. Note that, of course, non-linux support is incomplete, 
 but I'll leave it to someone else since it's probably broken anyway (e.g. 
 radeon and r200 drivers since mesa 8.0 require dri2 available only on linux).

Today your patch was merged in Ubuntu [2][3].

But cherry-picking that patch to the branch `debian-unstable`

--- begin diff ---
From 6c4b5852646e2f8981d7b186c15180c2680adb3a Mon Sep 17 00:00:00 2001
From: Bryce Harrington br...@canonical.com
Date: Thu, 21 Jun 2012 15:35:03 -0700
Subject: [PATCH] Add gallium vdpau and xvmc driver support

Conflicts:
debian/changelog
---
 debian/changelog|8 
 debian/control  |   22 ++
 debian/libg3dvl-mesa.install.in |4 
 debian/not-installed|5 -
 debian/rules|5 -
 5 files changed, 42 insertions(+), 2 deletions(-)
 create mode 100644 debian/libg3dvl-mesa.install.in

diff --git a/debian/changelog b/debian/changelog
index 0eb66a1..83a87ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mesa (8.0.3-2) unstable; urgency=low
+
+  * Add g3dvl.diff from Debian bug 656719: Enables gallium vdpau and xvmc
+driver support on at least Radeon r300+ and r600+.
+(LP: #1002224)
+
+ -- Timo timo.jyri...@iki.fi  Mon, 21 May 2012 12:46:40 +0300
+
 mesa (8.0.3-1) unstable; urgency=low
 
   [ Robert Hooker ]
diff --git a/debian/control b/debian/control
index ec59840..a9fcdd3 100644
--- a/debian/control
+++ b/debian/control
@@ -32,6 +32,8 @@ Build-Depends:
  bison,
  llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
  libwayland-dev (= 0.85.0) [linux-any],
+ libvdpau-dev (= 0.4.1) [linux-any],
+ libxvmc-dev (= 1.0.6) [linux-any],
 Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
 Homepage: http://mesa3d.sourceforge.net/
@@ -803,4 +805,24 @@ Description: Mesa OpenGL utility library -- development 
files
  For a complete description of GLU, please look at the libglu1-mesa
  package.
 
+Package: libg3dvl-mesa
+Section: libs
+Architecture: linux-any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+
+Package: libg3dvl-mesa-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libg3dvl-mesa (= ${binary:Version}),
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+ .
+ This package contains the debugging symbols for the g3dvl libraries.
+
+
 # vim: tw=0
diff --git a/debian/libg3dvl-mesa.install.in b/debian/libg3dvl-mesa.install.in
new file mode 100644
index 000..e013276
--- /dev/null
+++ b/debian/libg3dvl-mesa.install.in
@@ -0,0 +1,4 @@
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libvdpau_* usr/lib/vdpau
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libXvMC* usr/lib/dri
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig usr/lib
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig etc
diff --git a/debian/not-installed b/debian/not-installed
index afbf7dc..0221b94 100644
--- a/debian/not-installed
+++ b/debian/not-installed
@@ -18,7 +18,10 @@ NOT_INSTALLED := \
usr/include/GL/glx_mangle.h \
usr/include/GL/vms_x_fix.h \
usr/include/GL/wglext.h \
-   usr/include/GL/wmesa.h
+   usr/include/GL/wmesa.h \
+   dri/usr/lib/*/libXvMC* \
+   dri/usr/*/libXvMC* \
+   dri/usr/lib/*/vdpau/
 
 # Architecture-specific additional files:
 NOT_INSTALLED_i386 = \
diff --git a/debian/rules b/debian/rules
index 3bf3702..b3c0396 100755
--- a/debian/rules
+++ b/debian/rules
@@ -119,6 +119,7 @@ confflags-dri = \
--enable-glx-tls \
--enable-shared-glapi \
--enable-texture-float \
+   --enable-gallium-g3dvl \
--enable-xa \
$(confflags_DIRECT_RENDERING) \
$(confflags_EGL) \
@@ -214,6 +215,8 @@ $(STAMP_DIR)/stamp:
 $(QUILT_STAMPFN): $(STAMP_DIR)/stamp
 
 build: build-stamp
+   # XvMCConfig configuration file:
+   ln -s /etc/X11/XvMCConfig 
build/dri/$(DEB_HOST_MULTIARCH)/gallium/XvMCConfig
 
 build-stamp: $(BUILD_STAMPS)
$@
@@ -294,7 +297,7 @@ binary-arch: install
 
# Also get rid of other files which aren't installed. Do not
# use -f to ensure we notice disappearing files:
-   set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done
+   set -e; for file in $(NOT_INSTALLED); do rm -r debian/tmp/$$file; done
# Files only in 

Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Michel Dänzer
On Fre, 2012-06-22 at 14:29 +0200, Paul Menzel wrote: 
 
 $ sudo aptitude install llvm # currently depends on LLVM 3.1

In general, build dependencies are on *-dev packages. The mesa source
package already build-depends on llvm-2.9-dev on some architectures, is
that not enough?


 4. Lastly, should the AMD DDX(?) driver somehow depend on these new
 packages?

Maybe in Suggests:, don't think anything more makes sense.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Paul Menzel
Am Freitag, den 22.06.2012, 14:51 +0200 schrieb Michel Dänzer:
 On Fre, 2012-06-22 at 14:29 +0200, Paul Menzel wrote: 
  
  $ sudo aptitude install llvm # currently depends on LLVM 3.1
 
 In general, build dependencies are on *-dev packages. The mesa source
 package already build-depends on llvm-2.9-dev on some architectures, is
 that not enough?

Well it looks like LLVM compiler is needed and GCC is not enough.

$ more configure.ac
[…]
gallium_require_llvm() {
if test x$MESA_LLVM = x0; then
case $host_cpu in
i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on x86 
and x86_64]);;
esac
fi
}
[…]

  4. Lastly, should the AMD DDX(?) driver somehow depend on these new
  packages?
 
 Maybe in Suggests:, don't think anything more makes sense.

Ok, I guess I can make such a patch and send it in after this problem is
solved.


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Julien Cristau
On Fri, Jun 22, 2012 at 22:59:37 +0200, Paul Menzel wrote:

 Well it looks like LLVM compiler is needed and GCC is not enough.
 
 $ more configure.ac
 […]
 gallium_require_llvm() {
 if test x$MESA_LLVM = x0; then
 case $host_cpu in
 i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on 
 x86 and x86_64]);;
 esac
 fi
 }
 […]
 
Read again.  In particular what MESA_LLVM means.  Hint: it has nothing
to do with what compiler is used.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Paul Menzel
Am Freitag, den 22.06.2012, 23:18 +0200 schrieb Julien Cristau:
 On Fri, Jun 22, 2012 at 22:59:37 +0200, Paul Menzel wrote:
 
  Well it looks like LLVM compiler is needed and GCC is not enough.
  
  $ more configure.ac
  […]
  gallium_require_llvm() {
  if test x$MESA_LLVM = x0; then
  case $host_cpu in
  i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on 
  x86 and x86_64]);;
  esac
  fi
  }
  […]

 Read again.  In particular what MESA_LLVM means.  Hint: it has nothing
 to do with what compiler is used.

Strange. `dpkg-buildpackage` really aborted with this error. Doing
`aptitude install llvm` which also installed the following packages

[INSTALLIEREN, ABHÄNGIGKEITEN] llvm-3.1:i386
[INSTALLIEREN, ABHÄNGIGKEITEN] llvm-3.1-dev:i386
[INSTALLIEREN, ABHÄNGIGKEITEN] llvm-3.1-runtime:i386
[INSTALLIEREN, ABHÄNGIGKEITEN] llvm-runtime:i386

and executing `dpkg-buildpackage again solved this issue for me.

Looking at the definition of `MESA_LLVM` it checks for `llvm-config`

if test x$enable_gallium_llvm = xyes; then
AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no])

if test x$LLVM_CONFIG != xno; then
LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'`
LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\//g' 
-e 's/-pedantic//g'`
LLVM_LIBS=`$LLVM_CONFIG --libs`

LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
DEFINES=$DEFINES -D__STDC_CONSTANT_MACROS
MESA_LLVM=1
else
MESA_LLVM=0
fi
else
MESA_LLVM=0
fi

which is only in package `llvm-3.1`.

$ dpkg -S llvm-config
llvm-3.1: /usr/lib/llvm-3.1/bin/llvm-config
llvm-3.1-dev: /usr/lib/llvm-3.1/include/llvm/Config/llvm-config.h
llvm-2.9: /usr/bin/llvm-config-2.9
llvm-2.9-dev: /usr/lib/llvm-2.9/include/llvm/Config/llvm-config.h
llvm-3.1: /usr/share/man/man1/llvm-config-3.1.1.gz
llvm: /usr/share/man/man1/llvm-config.1.gz
llvm-3.1: /usr/bin/llvm-config-3.1
llvm-2.9: /usr/lib/llvm-2.9/bin/llvm-config
llvm: /usr/bin/llvm-config
llvm-2.9: /usr/share/man/man1/llvm-config-2.9.1.gz

In llvm-2.9 it is named llvm-config-2.9.1 and therefore is not picked up
I guess.

$ ls -l /usr/bin/llvm-config
lrwxrwxrwx 1 root root 31 Jun 22 00:25 /usr/bin/llvm-config - 
../lib/llvm-3.1/bin/llvm-config
$ ls -l /usr/lib/llvm-3.1/bin/llvm-config 
-rwxr-xr-x 1 root root 237356 Mai 21 14:14 
/usr/lib/llvm-3.1/bin/llvm-config

But being a symlink it should have pointed to the 2.9 version before the 
installation.

$ ls -l /usr/lib/llvm-2.9/bin/llvm-config 
-rwxr-xr-x 1 root root 24058 Mai 20 16:39 
/usr/lib/llvm-2.9/bin/llvm-config

So I am not sure what went wrong here. One idea might be, that to get
these symlinks is to have `llvm` installed.

$ dpkg -L llvm
/.
/usr
/usr/bin
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/doc
/usr/bin/llvm-extract
/usr/bin/llc
/usr/bin/llvm-link
/usr/bin/llvm-nm
/usr/bin/llvm-dis
/usr/bin/llvm-bcanalyzer
/usr/bin/llvm-ld
/usr/bin/opt
/usr/bin/llvmc
/usr/bin/llvm-ar
/usr/bin/llvm-ranlib
/usr/bin/llvm-as
/usr/bin/bugpoint
/usr/bin/llvm-prof
/usr/bin/tblgen
/usr/bin/llvm-config
/usr/share/man/man1/llvm-nm.1.gz
/usr/share/man/man1/tblgen.1.gz
/usr/share/man/man1/llvmc.1.gz
/usr/share/man/man1/llvm-config.1.gz
/usr/share/man/man1/llvm-extract.1.gz
/usr/share/man/man1/llvmgxx.1.gz
/usr/share/man/man1/llvm-prof.1.gz
/usr/share/man/man1/llvm-ld.1.gz
/usr/share/man/man1/llc.1.gz
/usr/share/man/man1/opt.1.gz
/usr/share/man/man1/llvm-ar.1.gz
/usr/share/man/man1/lit.1.gz
/usr/share/man/man1/llvm-dis.1.gz
/usr/share/man/man1/llvm-as.1.gz
/usr/share/man/man1/llvmgcc.1.gz
/usr/share/man/man1/llvm-bcanalyzer.1.gz
/usr/share/man/man1/llvm-link.1.gz
/usr/share/man/man1/bugpoint.1.gz
/usr/share/man/man1/llvm-ranlib.1.gz
/usr/share/doc/llvm


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Paul Menzel
Am Freitag, den 22.06.2012, 23:40 +0200 schrieb Paul Menzel:
 Am Freitag, den 22.06.2012, 23:18 +0200 schrieb Julien Cristau:
  On Fri, Jun 22, 2012 at 22:59:37 +0200, Paul Menzel wrote:
  
   Well it looks like LLVM compiler is needed and GCC is not enough.
   
   $ more configure.ac
   […]
   gallium_require_llvm() {
   if test x$MESA_LLVM = x0; then
   case $host_cpu in
   i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 
   on x86 and x86_64]);;
   esac
   fi
   }
   […]
 
  Read again.  In particular what MESA_LLVM means.  Hint: it has nothing
  to do with what compiler is used.
 
 Strange. `dpkg-buildpackage` really aborted with this error. Doing
 `aptitude install llvm` which also installed the following packages
 
 [INSTALLIEREN, ABHÄNGIGKEITEN] llvm-3.1:i386
 [INSTALLIEREN, ABHÄNGIGKEITEN] llvm-3.1-dev:i386
 [INSTALLIEREN, ABHÄNGIGKEITEN] llvm-3.1-runtime:i386
 [INSTALLIEREN, ABHÄNGIGKEITEN] llvm-runtime:i386
 
 and executing `dpkg-buildpackage again solved this issue for me.
 
 Looking at the definition of `MESA_LLVM` it checks for `llvm-config`
 
 if test x$enable_gallium_llvm = xyes; then
 AC_PATH_PROG([LLVM_CONFIG], [llvm-config], [no])
 
 if test x$LLVM_CONFIG != xno; then
   LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'`
   LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\//g' 
 -e 's/-pedantic//g'`
   LLVM_LIBS=`$LLVM_CONFIG --libs`
 
   LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
   DEFINES=$DEFINES -D__STDC_CONSTANT_MACROS
   MESA_LLVM=1
 else
   MESA_LLVM=0
 fi
 else
 MESA_LLVM=0
 fi
 
 which is only in package `llvm-3.1`.
 
 $ dpkg -S llvm-config
 llvm-3.1: /usr/lib/llvm-3.1/bin/llvm-config
 llvm-3.1-dev: /usr/lib/llvm-3.1/include/llvm/Config/llvm-config.h
 llvm-2.9: /usr/bin/llvm-config-2.9
 llvm-2.9-dev: /usr/lib/llvm-2.9/include/llvm/Config/llvm-config.h
 llvm-3.1: /usr/share/man/man1/llvm-config-3.1.1.gz
 llvm: /usr/share/man/man1/llvm-config.1.gz
 llvm-3.1: /usr/bin/llvm-config-3.1
 llvm-2.9: /usr/lib/llvm-2.9/bin/llvm-config
 llvm: /usr/bin/llvm-config
 llvm-2.9: /usr/share/man/man1/llvm-config-2.9.1.gz
 
 In llvm-2.9 it is named llvm-config-2.9.1 and therefore is not picked up
 I guess.
 
 $ ls -l /usr/bin/llvm-config
 lrwxrwxrwx 1 root root 31 Jun 22 00:25 /usr/bin/llvm-config - 
 ../lib/llvm-3.1/bin/llvm-config
 $ ls -l /usr/lib/llvm-3.1/bin/llvm-config 
 -rwxr-xr-x 1 root root 237356 Mai 21 14:14 
 /usr/lib/llvm-3.1/bin/llvm-config
 
 But being a symlink it should have pointed to the 2.9 version before the 
 installation.
 
 $ ls -l /usr/lib/llvm-2.9/bin/llvm-config 
 -rwxr-xr-x 1 root root 24058 Mai 20 16:39 
 /usr/lib/llvm-2.9/bin/llvm-config
 
 So I am not sure what went wrong here. One idea might be, that to get
 these symlinks is to have `llvm` installed.
 
 $ dpkg -L llvm
 /.
 /usr
 /usr/bin
 /usr/share
 /usr/share/man
 /usr/share/man/man1
 /usr/share/doc
 /usr/bin/llvm-extract
 /usr/bin/llc
 /usr/bin/llvm-link
 /usr/bin/llvm-nm
 /usr/bin/llvm-dis
 /usr/bin/llvm-bcanalyzer
 /usr/bin/llvm-ld
 /usr/bin/opt
 /usr/bin/llvmc
 /usr/bin/llvm-ar
 /usr/bin/llvm-ranlib
 /usr/bin/llvm-as
 /usr/bin/bugpoint
 /usr/bin/llvm-prof
 /usr/bin/tblgen
 /usr/bin/llvm-config
 /usr/share/man/man1/llvm-nm.1.gz
 /usr/share/man/man1/tblgen.1.gz
 /usr/share/man/man1/llvmc.1.gz
 /usr/share/man/man1/llvm-config.1.gz
 /usr/share/man/man1/llvm-extract.1.gz
 /usr/share/man/man1/llvmgxx.1.gz
 /usr/share/man/man1/llvm-prof.1.gz
 /usr/share/man/man1/llvm-ld.1.gz
 /usr/share/man/man1/llc.1.gz
 /usr/share/man/man1/opt.1.gz
 /usr/share/man/man1/llvm-ar.1.gz
 /usr/share/man/man1/lit.1.gz
 /usr/share/man/man1/llvm-dis.1.gz
 /usr/share/man/man1/llvm-as.1.gz
 /usr/share/man/man1/llvmgcc.1.gz
 /usr/share/man/man1/llvm-bcanalyzer.1.gz
 /usr/share/man/man1/llvm-link.1.gz
 /usr/share/man/man1/bugpoint.1.gz
 /usr/share/man/man1/llvm-ranlib.1.gz
 /usr/share/doc/llvm

So the build dependency should be on `llvm-dev` which pulls in `llvm`
with `llvm-config` the configure script is looking for.


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Cyril Brulebois
Paul Menzel pm.deb...@googlemail.com (22/06/2012):
 So the build dependency should be on `llvm-dev` which pulls in `llvm`
 with `llvm-config` the configure script is looking for.

13-llvm-config-pick-a-version.diff disagrees.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-06-22 Thread Paul Menzel
Am Freitag, den 22.06.2012, 23:52 +0200 schrieb Cyril Brulebois:
 Paul Menzel pm.deb...@googlemail.com (22/06/2012):
  So the build dependency should be on `llvm-dev` which pulls in `llvm`
  with `llvm-config` the configure script is looking for.
 
 13-llvm-config-pick-a-version.diff disagrees.

Interesting. `configure.ac` in my current build directory does not have
that patch applied. So it could be a result of the option `-nc`

$ dpkg-buildpackage -us -uc -B -j2 -nc

which does not clean the directory before the build again. But all
patches from `debian/patches` should have been applied.

But I do not know and this is just a guess. I will try to reproduce the
issue tomorrow and clean the working directory before. Using
`llvm-2.9-dev` could also fix the build error I got.


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part


Bug#656719: R: Re: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-29 Thread Fabio Pedretti
 --- mesa-debian-originale/debian//control2012-01-23 13:39:09.471085849 
+0100
 +++ mesa-debian-test/debian//control 2012-01-21 20:29:38.350117156 +0100
 @@ -32,6 +32,9 @@ Build-Depends:
   bison,
   llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
  # libwayland-dev,
 + xserver-xorg-dev,
 + libvdpau-dev,
 + libxvmc-dev,

outch, introducing a build-dep-loop between mesa and xorg-server… :/

Updated patch reflecting that xorg-server dependency was dropped in master and 
8.0 branches of mesa. Note that, of course, non-linux support is incomplete, 
but I'll leave it to someone else since it's probably broken anyway (e.g. 
radeon and r200 drivers since mesa 8.0 require dri2 available only on linux).diff -purN mesa-debian-originale/debian//control mesa-debian-test/debian//control
--- mesa-debian-originale/debian//control	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//control	2012-01-25 18:20:20.398120851 +0100
@@ -32,6 +32,8 @@ Build-Depends:
  bison,
  llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
 # libwayland-dev,
+ libvdpau-dev (= 0.4.1) [linux-any],
+ libxvmc-dev (= 1.0.6) [linux-any],
 Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
 Homepage: http://mesa3d.sourceforge.net/
@@ -753,4 +755,23 @@ Description: Mesa OpenGL utility library
  For a complete description of GLU, please look at the libglu1-mesa
  package.
 
+Package: libg3dvl-mesa
+Section: libs
+Architecture: linux-any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+
+Package: libg3dvl-mesa-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libg3dvl-mesa (= ${binary:Version}),
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+ .
+ This package contains the debugging symbols for the g3dvl libraries.
+
 # vim: tw=0
diff -purN mesa-debian-originale/debian//libg3dvl-mesa.install.in mesa-debian-test/debian//libg3dvl-mesa.install.in
--- mesa-debian-originale/debian//libg3dvl-mesa.install.in	1970-01-01 01:00:00.0 +0100
+++ mesa-debian-test/debian//libg3dvl-mesa.install.in	2012-01-21 20:30:50.778476318 +0100
@@ -0,0 +1,4 @@
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libvdpau_* usr/lib/vdpau
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libXvMC* usr/lib/dri
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig usr/lib
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig etc
diff -purN mesa-debian-originale/debian//not-installed mesa-debian-test/debian//not-installed
--- mesa-debian-originale/debian//not-installed	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//not-installed	2012-01-21 20:33:27.303252476 +0100
@@ -18,7 +18,10 @@ NOT_INSTALLED := \
 	usr/include/GL/glx_mangle.h \
 	usr/include/GL/vms_x_fix.h \
 	usr/include/GL/wglext.h \
-	usr/include/GL/wmesa.h
+	usr/include/GL/wmesa.h \
+	dri/usr/lib/*/libXvMC* \
+	dri/usr/*/libXvMC* \
+	dri/usr/lib/*/vdpau/
 
 # Architecture-specific additional files:
 NOT_INSTALLED_i386 = \
diff -purN mesa-debian-originale/debian//rules mesa-debian-test/debian//rules
--- mesa-debian-originale/debian//rules	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//rules	2012-01-23 13:32:38.901149146 +0100
@@ -113,6 +113,7 @@ confflags-dri = \
 	--enable-glx-tls \
 	--enable-shared-glapi \
 	--enable-texture-float \
+	--enable-gallium-g3dvl \
 	$(confflags_DIRECT_RENDERING) \
 	$(confflags_EGL) \
 	$(confflags_GALLIUM) \
@@ -204,6 +205,8 @@ $(STAMP_DIR)/stamp:
 $(QUILT_STAMPFN): $(STAMP_DIR)/stamp
 
 build: build-stamp
+	# XvMCConfig configuration file:
+	ln -s /etc/X11/XvMCConfig build/dri/$(DEB_HOST_MULTIARCH)/gallium/XvMCConfig
 
 build-stamp: $(BUILD_STAMPS)
 	$@
@@ -286,7 +289,7 @@ endif
 
 	# Also get rid of other files which aren't installed. Do not
 	# use -f to ensure we notice disappearing files:
-	set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done
+	set -e; for file in $(NOT_INSTALLED); do rm -r debian/tmp/$$file; done
 	# Files only in git, not in tarballs, OK to use rm -f here:
 	set -e; for file in $(NOT_INSTALLED_EITHER); do rm -f debian/tmp/$$file; done
 	# No need for this .so, libglapi is just a convenience library:


Bug#656719: R: Re: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-24 Thread Michel Dänzer
On Mon, 2012-01-23 at 18:06 +0100, Fabio Pedretti wrote: 
 Fabio Pedretti fabio@libero.it (23/01/2012):
 
  --- mesa-debian-originale/debian//control  2012-01-23 13:39:09.471085849 
 +0100
  +++ mesa-debian-test/debian//control   2012-01-21 20:29:38.350117156 
  +0100
  @@ -32,6 +32,9 @@ Build-Depends:
bison,
llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
   # libwayland-dev,
  + xserver-xorg-dev,
  + libvdpau-dev,
  + libxvmc-dev,
 
 outch, introducing a build-dep-loop between mesa and xorg-server… :/
 
 Without it, it fails to configure:
 configure: error: Package requirements (xvmc = 1.0.6 xorg-server) were not 
 met:
 No package 'xorg-server' found
 
 It's explicitly required by configure.ac:
 if test x$enable_xvmc = xyes; then
 PKG_CHECK_MODULES([XVMC], [xvmc = 1.0.6 xorg-server])
 GALLIUM_STATE_TRACKERS_DIRS=$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc
 HAVE_ST_XVMC=yes
 fi

AFAICT the only thing needed from xserver-xorg-dev is the fourcc.h
header. This dependency could easily be removed by copying the used
definitions instead, especially as
src/gallium/state_trackers/xorg/xvmc/subpicture.c already defines
FOURCC_RGB itself.

Christian?


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: R: Re: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-24 Thread Christian König

On 24.01.2012 11:39, Michel Dänzer wrote:

On Mon, 2012-01-23 at 18:06 +0100, Fabio Pedretti wrote:

Fabio Pedrettifabio@libero.it  (23/01/2012):


--- mesa-debian-originale/debian//control   2012-01-23 13:39:09.471085849

+0100

+++ mesa-debian-test/debian//control2012-01-21 20:29:38.350117156 +0100
@@ -32,6 +32,9 @@ Build-Depends:
   bison,
   llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
  # libwayland-dev,
+ xserver-xorg-dev,
+ libvdpau-dev,
+ libxvmc-dev,

outch, introducing a build-dep-loop between mesa and xorg-server… :/

Without it, it fails to configure:
configure: error: Package requirements (xvmc= 1.0.6 xorg-server) were not
met:
No package 'xorg-server' found

It's explicitly required by configure.ac:
if test x$enable_xvmc = xyes; then
 PKG_CHECK_MODULES([XVMC], [xvmc= 1.0.6 xorg-server])
 GALLIUM_STATE_TRACKERS_DIRS=$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc
 HAVE_ST_XVMC=yes
fi

AFAICT the only thing needed from xserver-xorg-dev is the fourcc.h
header. This dependency could easily be removed by copying the used
definitions instead, especially as
src/gallium/state_trackers/xorg/xvmc/subpicture.c already defines
FOURCC_RGB itself.

Christian?
This indeed sounds like the correct solution, and the fix is actually 
trivial, since we only need to defines from fourcc.h. Patch is on the 
way to the maillinglist.


But the xorg state tracker also depends on xorg-server, so I'm wondering 
why xorg-server depends on mesa in the first place?


Christian.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: [Mesa-dev] Bug#656719: R: Re: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-24 Thread Michel Dänzer
On Die, 2012-01-24 at 13:07 +0100, Christian König wrote: 
 On 24.01.2012 11:39, Michel Dänzer wrote:
  On Mon, 2012-01-23 at 18:06 +0100, Fabio Pedretti wrote:
  Fabio Pedrettifabio@libero.it  (23/01/2012):
 
  --- mesa-debian-originale/debian//control2012-01-23 
  13:39:09.471085849
  +0100
  +++ mesa-debian-test/debian//control 2012-01-21 20:29:38.350117156 
  +0100
  @@ -32,6 +32,9 @@ Build-Depends:
 bison,
 llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
# libwayland-dev,
  + xserver-xorg-dev,
  + libvdpau-dev,
  + libxvmc-dev,
  outch, introducing a build-dep-loop between mesa and xorg-server… :/
  Without it, it fails to configure:
  configure: error: Package requirements (xvmc= 1.0.6 xorg-server) were not
  met:
  No package 'xorg-server' found
 
  It's explicitly required by configure.ac:
  if test x$enable_xvmc = xyes; then
   PKG_CHECK_MODULES([XVMC], [xvmc= 1.0.6 xorg-server])
   GALLIUM_STATE_TRACKERS_DIRS=$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc
   HAVE_ST_XVMC=yes
  fi
  AFAICT the only thing needed from xserver-xorg-dev is the fourcc.h
  header. This dependency could easily be removed by copying the used
  definitions instead, especially as
  src/gallium/state_trackers/xorg/xvmc/subpicture.c already defines
  FOURCC_RGB itself.
 
  Christian?
 This indeed sounds like the correct solution, and the fix is actually 
 trivial, since we only need to defines from fourcc.h. Patch is on the 
 way to the maillinglist.

Great, thanks.


 But the xorg state tracker also depends on xorg-server, so I'm wondering 
 why xorg-server depends on mesa in the first place?

The xserver GLX code uses various GL/* headers.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-23 Thread Fabio Pedretti
Patch is attached.

Note:
1) untested since debian-experimental mesa branch doesn't build on my Ubuntu;
2) VDPAU works out of the box supposed you have a recent enough -ati and -
nouveau, i.e. including these commits:
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?
id=f6f1b4f7789cfef763c063e671b76b60be8bdd8e
http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?
id=d575a28a5020ff083836d3d1cf50018a99f49c9f
3) for XVMC to work users are supposed to create a file at 
/etc/X11/XvMCConfig. Since I found out that some applications
expects it at /etc/XvMCConfig or /usr/lib/XvMCConfig I added two symlinks 
there.diff -purN mesa-debian-originale/debian//control mesa-debian-test/debian//control
--- mesa-debian-originale/debian//control	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//control	2012-01-21 20:29:38.350117156 +0100
@@ -32,6 +32,9 @@ Build-Depends:
  bison,
  llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
 # libwayland-dev,
+ xserver-xorg-dev,
+ libvdpau-dev,
+ libxvmc-dev,
 Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
 Homepage: http://mesa3d.sourceforge.net/
@@ -753,4 +756,23 @@ Description: Mesa OpenGL utility library
  For a complete description of GLU, please look at the libglu1-mesa
  package.
 
+Package: libg3dvl-mesa
+Section: libs
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+
+Package: libg3dvl-mesa-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends:
+ libg3dvl-mesa (= ${binary:Version}),
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+ .
+ This package contains the debugging symbols for the g3dvl libraries.
+
 # vim: tw=0
diff -purN mesa-debian-originale/debian//libg3dvl-mesa.install.in mesa-debian-test/debian//libg3dvl-mesa.install.in
--- mesa-debian-originale/debian//libg3dvl-mesa.install.in	1970-01-01 01:00:00.0 +0100
+++ mesa-debian-test/debian//libg3dvl-mesa.install.in	2012-01-21 20:30:50.778476318 +0100
@@ -0,0 +1,4 @@
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libvdpau_* usr/lib/vdpau
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libXvMC* usr/lib/dri
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig usr/lib
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig etc
diff -purN mesa-debian-originale/debian//not-installed mesa-debian-test/debian//not-installed
--- mesa-debian-originale/debian//not-installed	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//not-installed	2012-01-21 20:33:27.303252476 +0100
@@ -18,7 +18,10 @@ NOT_INSTALLED := \
 	usr/include/GL/glx_mangle.h \
 	usr/include/GL/vms_x_fix.h \
 	usr/include/GL/wglext.h \
-	usr/include/GL/wmesa.h
+	usr/include/GL/wmesa.h \
+	dri/usr/lib/*/libXvMC* \
+	dri/usr/*/libXvMC* \
+	dri/usr/lib/*/vdpau/
 
 # Architecture-specific additional files:
 NOT_INSTALLED_i386 = \
diff -purN mesa-debian-originale/debian//rules mesa-debian-test/debian//rules
--- mesa-debian-originale/debian//rules	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//rules	2012-01-23 13:32:38.901149146 +0100
@@ -113,6 +113,7 @@ confflags-dri = \
 	--enable-glx-tls \
 	--enable-shared-glapi \
 	--enable-texture-float \
+	--enable-gallium-g3dvl \
 	$(confflags_DIRECT_RENDERING) \
 	$(confflags_EGL) \
 	$(confflags_GALLIUM) \
@@ -204,6 +205,8 @@ $(STAMP_DIR)/stamp:
 $(QUILT_STAMPFN): $(STAMP_DIR)/stamp
 
 build: build-stamp
+	# XvMCConfig configuration file:
+	ln -s /etc/X11/XvMCConfig build/dri/$(DEB_HOST_MULTIARCH)/gallium/XvMCConfig
 
 build-stamp: $(BUILD_STAMPS)
 	$@
@@ -286,7 +289,7 @@ endif
 
 	# Also get rid of other files which aren't installed. Do not
 	# use -f to ensure we notice disappearing files:
-	set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done
+	set -e; for file in $(NOT_INSTALLED); do rm -r debian/tmp/$$file; done
 	# Files only in git, not in tarballs, OK to use rm -f here:
 	set -e; for file in $(NOT_INSTALLED_EITHER); do rm -f debian/tmp/$$file; done
 	# No need for this .so, libglapi is just a convenience library:


Bug#656719: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-23 Thread Cyril Brulebois
Fabio Pedretti fabio@libero.it (23/01/2012):
 Patch is attached.

Thanks.

Just a quick comment:

 --- mesa-debian-originale/debian//control 2012-01-23 13:39:09.471085849 
 +0100
 +++ mesa-debian-test/debian//control  2012-01-21 20:29:38.350117156 +0100
 @@ -32,6 +32,9 @@ Build-Depends:
   bison,
   llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
  # libwayland-dev,
 + xserver-xorg-dev,
 + libvdpau-dev,
 + libxvmc-dev,

outch, introducing a build-dep-loop between mesa and xorg-server… :/

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#656719: R: Re: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-23 Thread Fabio Pedretti
Fabio Pedretti fabio@libero.it (23/01/2012):
 Patch is attached.

Thanks.

Just a quick comment:

 --- mesa-debian-originale/debian//control2012-01-23 13:39:09.471085849 
+0100
 +++ mesa-debian-test/debian//control 2012-01-21 20:29:38.350117156 +0100
 @@ -32,6 +32,9 @@ Build-Depends:
   bison,
   llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
  # libwayland-dev,
 + xserver-xorg-dev,
 + libvdpau-dev,
 + libxvmc-dev,

outch, introducing a build-dep-loop between mesa and xorg-server… :/

Without it, it fails to configure:
configure: error: Package requirements (xvmc = 1.0.6 xorg-server) were not 
met:
No package 'xorg-server' found

It's explicitly required by configure.ac:
if test x$enable_xvmc = xyes; then
PKG_CHECK_MODULES([XVMC], [xvmc = 1.0.6 xorg-server])
GALLIUM_STATE_TRACKERS_DIRS=$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc
HAVE_ST_XVMC=yes
fi

Attached, updated patch with added minimum version for libvdpau-dev and 
libxvmc-dev (as required by configure.ac).

Also, I restricted the Architecture for libg3dvl-mesa and for the 3 new 
dependencies to linux-any (they should have the same restriction as the gallium 
drivers).diff -purN mesa-debian-originale/debian//control mesa-debian-test/debian//control
--- mesa-debian-originale/debian//control	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//control	2012-01-23 18:02:24.305408215 +0100
@@ -32,6 +32,9 @@ Build-Depends:
  bison,
  llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
 # libwayland-dev,
+ xserver-xorg-dev [linux-any],
+ libvdpau-dev (= 0.4.1) [linux-any],
+ libxvmc-dev (= 1.0.6) [linux-any],
 Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
 Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
 Homepage: http://mesa3d.sourceforge.net/
@@ -753,4 +756,23 @@ Description: Mesa OpenGL utility library
  For a complete description of GLU, please look at the libglu1-mesa
  package.
 
+Package: libg3dvl-mesa
+Section: libs
+Architecture: linux-any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+
+Package: libg3dvl-mesa-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libg3dvl-mesa (= ${binary:Version}),
+ ${misc:Depends},
+Description: xvmc and vdpau Gallium3D video acceleration drivers
+ .
+ This package contains the debugging symbols for the g3dvl libraries.
+
 # vim: tw=0
diff -purN mesa-debian-originale/debian//libg3dvl-mesa.install.in mesa-debian-test/debian//libg3dvl-mesa.install.in
--- mesa-debian-originale/debian//libg3dvl-mesa.install.in	1970-01-01 01:00:00.0 +0100
+++ mesa-debian-test/debian//libg3dvl-mesa.install.in	2012-01-21 20:30:50.778476318 +0100
@@ -0,0 +1,4 @@
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libvdpau_* usr/lib/vdpau
+build/dri/${DEB_HOST_MULTIARCH}/gallium/libXvMC* usr/lib/dri
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig usr/lib
+build/dri/${DEB_HOST_MULTIARCH}/gallium/XvMCConfig etc
diff -purN mesa-debian-originale/debian//not-installed mesa-debian-test/debian//not-installed
--- mesa-debian-originale/debian//not-installed	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//not-installed	2012-01-21 20:33:27.303252476 +0100
@@ -18,7 +18,10 @@ NOT_INSTALLED := \
 	usr/include/GL/glx_mangle.h \
 	usr/include/GL/vms_x_fix.h \
 	usr/include/GL/wglext.h \
-	usr/include/GL/wmesa.h
+	usr/include/GL/wmesa.h \
+	dri/usr/lib/*/libXvMC* \
+	dri/usr/*/libXvMC* \
+	dri/usr/lib/*/vdpau/
 
 # Architecture-specific additional files:
 NOT_INSTALLED_i386 = \
diff -purN mesa-debian-originale/debian//rules mesa-debian-test/debian//rules
--- mesa-debian-originale/debian//rules	2012-01-23 13:39:09.471085849 +0100
+++ mesa-debian-test/debian//rules	2012-01-23 13:32:38.901149146 +0100
@@ -113,6 +113,7 @@ confflags-dri = \
 	--enable-glx-tls \
 	--enable-shared-glapi \
 	--enable-texture-float \
+	--enable-gallium-g3dvl \
 	$(confflags_DIRECT_RENDERING) \
 	$(confflags_EGL) \
 	$(confflags_GALLIUM) \
@@ -204,6 +205,8 @@ $(STAMP_DIR)/stamp:
 $(QUILT_STAMPFN): $(STAMP_DIR)/stamp
 
 build: build-stamp
+	# XvMCConfig configuration file:
+	ln -s /etc/X11/XvMCConfig build/dri/$(DEB_HOST_MULTIARCH)/gallium/XvMCConfig
 
 build-stamp: $(BUILD_STAMPS)
 	$@
@@ -286,7 +289,7 @@ endif
 
 	# Also get rid of other files which aren't installed. Do not
 	# use -f to ensure we notice disappearing files:
-	set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done
+	set -e; for file in $(NOT_INSTALLED); do rm -r debian/tmp/$$file; done
 	# Files only in git, not in tarballs, OK to use rm -f here:
 	set -e; for file in $(NOT_INSTALLED_EITHER); do rm -f debian/tmp/$$file; done
 	# No need for this .so, libglapi is just a convenience library:


Bug#656719: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-23 Thread Julien Cristau
On Mon, Jan 23, 2012 at 14:49:28 +0100, Cyril Brulebois wrote:

 Fabio Pedretti fabio@libero.it (23/01/2012):
  Patch is attached.
 
 Thanks.
 
 Just a quick comment:
 
  --- mesa-debian-originale/debian//control   2012-01-23 13:39:09.471085849 
  +0100
  +++ mesa-debian-test/debian//control2012-01-21 20:29:38.350117156 
  +0100
  @@ -32,6 +32,9 @@ Build-Depends:
bison,
llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
   # libwayland-dev,
  + xserver-xorg-dev,
  + libvdpau-dev,
  + libxvmc-dev,
 
 outch, introducing a build-dep-loop between mesa and xorg-server… :/
 
That's a no-go as far as I'm concerned.

Cheers,
Julien



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-21 Thread Fabio Pedretti
Source: mesa
Severity: wishlist

Since 8.0 mesa provides xvmc and vdpau Gallium3D video acceleration drivers. 
In my Ubuntu PPA I added libg3dvl-mesa package to provide these drivers:
https://launchpad.net/~oibaf/+archive/graphics-drivers/+packages

It would be nice if you can include it directly in the Debian package, since 
it may also be useul to Debian users.

Fabio Pedretti



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

2012-01-21 Thread Cyril Brulebois
Hi,

Fabio Pedretti fabio@libero.it (21/01/2012):
 Since 8.0 mesa provides xvmc and vdpau Gallium3D video acceleration drivers. 
 In my Ubuntu PPA I added libg3dvl-mesa package to provide these drivers:
 https://launchpad.net/~oibaf/+archive/graphics-drivers/+packages

8.0-rc* packages are being prepared in the debian-experimental branch of
the Debian/Ubuntu repository (debcheckout mesa)…

 It would be nice if you can include it directly in the Debian package,
 since it may also be useul to Debian users.

… so if you want to speed up things, feel free to submit patches against
that branch (git format-patch $revspec  git send-email --to
656...@bugs.debian.org $thepatches); we would then only have to review /
merge the patches that you already tested.

Thanks already.

Mraw,
KiBi.


signature.asc
Description: Digital signature