]> git.pld-linux.org Git - packages/Mesa.git/commitdiff
This commit was manufactured by cvs2git to create branch 'DEVEL'.
authorcvs2git <feedback@pld-linux.org>
Sun, 11 Mar 2012 20:17:42 +0000 (20:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Cherrypick from master 2012-03-11 20:17:42 UTC Jakub Bogusz <qboosh@pld-linux.org> '- added wayland patch to fix EGL wayland platform build':
    Mesa-link.patch -> 1.1
    Mesa-wayland.patch -> 1.1

Mesa-link.patch [new file with mode: 0644]
Mesa-wayland.patch [new file with mode: 0644]

diff --git a/Mesa-link.patch b/Mesa-link.patch
new file mode 100644 (file)
index 0000000..a07e1af
--- /dev/null
@@ -0,0 +1,76 @@
+--- Mesa-8.0.1/src/gallium/targets/vdpau-nouveau/Makefile.orig 2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/gallium/targets/vdpau-nouveau/Makefile      2012-03-11 12:26:44.906377873 +0100
+@@ -19,7 +19,7 @@
+       $(COMMON_GALLIUM_SOURCES) \
+       $(DRIVER_SOURCES)
+-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm_nouveau --libs) -lXfixes
++DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm_nouveau libdrm --libs) -lXfixes
+ LINK_WITH_CXX=1
+--- Mesa-8.0.1/src/gallium/targets/xvmc-nouveau/Makefile.orig  2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/gallium/targets/xvmc-nouveau/Makefile       2012-03-11 12:34:15.799733412 +0100
+@@ -19,7 +19,7 @@
+       $(COMMON_GALLIUM_SOURCES) \
+       $(DRIVER_SOURCES)
+-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm_nouveau --libs) -lXfixes
++DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm_nouveau libdrm --libs) -lXfixes -lXvMC
+ LINK_WITH_CXX=1
+--- Mesa-8.0.1/src/gallium/targets/xvmc-r300/Makefile.orig     2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/gallium/targets/xvmc-r300/Makefile  2012-03-11 12:34:46.519728247 +0100
+@@ -15,7 +15,7 @@
+       $(COMMON_GALLIUM_SOURCES) \
+       $(DRIVER_SOURCES)
+-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes
++DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes -lXvMC
+ include ../Makefile.xvmc
+--- Mesa-8.0.1/src/gallium/targets/xvmc-r600/Makefile.orig     2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/gallium/targets/xvmc-r600/Makefile  2012-03-11 12:35:23.323061190 +0100
+@@ -15,7 +15,7 @@
+       $(COMMON_GALLIUM_SOURCES) \
+       $(DRIVER_SOURCES)
+-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes
++DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes -lXvMC
+ include ../Makefile.xvmc
+--- Mesa-8.0.1/src/gallium/targets/xvmc-softpipe/Makefile.orig 2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/gallium/targets/xvmc-softpipe/Makefile      2012-03-11 12:35:53.273062913 +0100
+@@ -14,7 +14,7 @@
+ C_SOURCES = \
+       $(TOP)/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
+-DRIVER_LIBS =
++DRIVER_LIBS = -lXvMC -lXext
+ include ../Makefile.xvmc
+--- Mesa-8.0.1/src/gallium/targets/xa-vmwgfx/Makefile.orig     2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/gallium/targets/xa-vmwgfx/Makefile  2012-03-11 12:43:05.479747729 +0100
+@@ -30,6 +30,9 @@
+ SOURCES = vmw_target.c
+ OBJECTS = $(SOURCES:.c=.o)
++XA_LIBS = $(shell $(PKG_CONFIG) libdrm --libs)
++XA_PC_REQ_PRIV = libdrm
++
+ ifeq ($(MESA_LLVM),1)
+ LDFLAGS += $(LLVM_LDFLAGS)
+ GALLIUM_AUXILIARIES += $(LLVM_LIBS)
+@@ -64,7 +67,7 @@
+               $(MKLIB_OPTIONS) \
+               -exports xa_symbols \
+                -install $(TOP)/$(LIB_DIR)/gallium \
+-              $(OBJECTS) $(XA_LIB_DEPS) $(GALLIUM_AUXILIARIES)
++              $(OBJECTS) $(XA_LIB_DEPS) $(GALLIUM_AUXILIARIES) $(XA_LIBS)
+ # xa pkgconfig file
+ pcedit = sed \
diff --git a/Mesa-wayland.patch b/Mesa-wayland.patch
new file mode 100644 (file)
index 0000000..d8cd149
--- /dev/null
@@ -0,0 +1,13 @@
+--- Mesa-8.0.1/src/egl/wayland/wayland-drm/Makefile.orig       2012-02-15 00:44:00.000000000 +0100
++++ Mesa-8.0.1/src/egl/wayland/wayland-drm/Makefile    2012-03-11 20:50:16.884057197 +0100
+@@ -17,8 +17,8 @@
+ # Generate protocol sources
+ prefix=$(shell $(PKG_CONFIG) --variable=prefix wayland-server)
+-exec_prefx=$(shell $(PKG_CONFIG) --variable=exec_prefix wayland-server)
+-wayland_protocoldir = $(PWD)/protocol
++exec_prefix=$(shell $(PKG_CONFIG) --variable=exec_prefix wayland-server)
++wayland_protocoldir = $(TOP)/src/egl/wayland/wayland-drm/protocol
+ wayland_scanner=$(exec_prefix)/bin/wayland-scanner
+ default: depend libwayland-drm.a $(GEN_SOURCES) $(GEN_HEADERS)
This page took 0.157444 seconds and 4 git commands to generate.