aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Aaltonen <tjaalton@debian.org>2019-07-01 16:08:04 +0300
committerTimo Aaltonen <tjaalton@debian.org>2019-07-01 16:08:04 +0300
commitccde12fcf86badd9cb5e1535f8d57d97775f93d7 (patch)
tree156970c55bcb557c8a95945c86837005328f811f
parentfff9842e3cc6e0388ac7c64759d4c4da0d8fbba2 (diff)
rules, libgles2-mesa-dev.install: Re-add the pkgconfig file for now. (Closes: #930514)
-rw-r--r--debian/changelog2
-rw-r--r--debian/libgles2-mesa-dev.install1
-rw-r--r--debian/patches/Revert-meson-don-t-build-libGLES-.so-with-GLVND.patch34
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules3
5 files changed, 41 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 4e178b9ebc5..0daf0fe0b89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ mesa (19.1.1-1) UNRELEASED; urgency=medium
#930879)
* control, rules: Enable vulkan-overlay, add glslang-tools to build-depends.
(Closes: #930945)
+ * rules, libgles2-mesa-dev.install: Re-add the pkgconfig file for now.
+ (Closes: #930514)
-- Timo Aaltonen <tjaalton@debian.org> Thu, 27 Jun 2019 10:41:51 +0300
diff --git a/debian/libgles2-mesa-dev.install b/debian/libgles2-mesa-dev.install
index b6dca94089c..3d40e9a4699 100644
--- a/debian/libgles2-mesa-dev.install
+++ b/debian/libgles2-mesa-dev.install
@@ -1,2 +1,3 @@
usr/include/GLES2
usr/include/GLES3
+usr/lib/*/pkgconfig/glesv2.pc
diff --git a/debian/patches/Revert-meson-don-t-build-libGLES-.so-with-GLVND.patch b/debian/patches/Revert-meson-don-t-build-libGLES-.so-with-GLVND.patch
new file mode 100644
index 00000000000..c4d04dc304f
--- /dev/null
+++ b/debian/patches/Revert-meson-don-t-build-libGLES-.so-with-GLVND.patch
@@ -0,0 +1,34 @@
+From 11ed91495759f0f86c0eb6a9d799d8ce31bbffc3 Mon Sep 17 00:00:00 2001
+From: Timo Aaltonen <tjaalton@debian.org>
+Date: Mon, 1 Jul 2019 15:57:47 +0300
+Subject: [PATCH] Revert "meson: don't build libGLES*.so with GLVND"
+
+This reverts commit b01524fff05eef66e8cd24f1c5aacefed4209f03.
+---
+ src/mapi/meson.build | 12 +++++-------
+ 1 file changed, 5 insertions(+), 7 deletions(-)
+
+diff --git a/src/mapi/meson.build b/src/mapi/meson.build
+index 2c79a04f1df..c2dbbf02f08 100644
+--- a/src/mapi/meson.build
++++ b/src/mapi/meson.build
+@@ -35,11 +35,9 @@ if with_shared_glapi
+ else
+ libglapi = []
+ endif
+-if not with_glvnd
+- if with_gles1
+- subdir('es1api')
+- endif
+- if with_gles2
+- subdir('es2api')
+- endif
++if with_gles1
++ subdir('es1api')
++endif
++if with_gles2
++ subdir('es2api')
+ endif
+--
+2.20.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 9f0749f28f3..255a8ef1e77 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
07_gallium-fix-build-failure-on-powerpcspe.diff
+Revert-meson-don-t-build-libGLES-.so-with-GLVND.patch
diff --git a/debian/rules b/debian/rules
index de43adcc86b..90171e9371c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -196,6 +196,9 @@ override_dh_install:
rm debian/tmp/usr/lib/*/libEGL_mesa.so
rm debian/tmp/usr/lib/*/libGLX_mesa.so
+ # we only need the pkgconfig file
+ rm debian/tmp/usr/lib/*/libGLESv2*
+
# Copy the hardlinked *_dri.so correctly.
install -m755 -d debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/dri/
mv debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/dri/*_dri.so \