[glfw3] 03/04: Add patch to remove the Requires.private from glfw3.pc

James Cowgill jcowgill at moszumanska.debian.org
Fri Jun 24 21:12:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

jcowgill pushed a commit to branch master
in repository glfw3.

commit 2e151f53968f2111ee842894417a2e1f71dc2e6d
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Fri Jun 24 19:17:55 2016 +0100

    Add patch to remove the Requires.private from glfw3.pc
---
 debian/patches/02_remove-pkgconfig-requires.patch | 20 ++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/02_remove-pkgconfig-requires.patch b/debian/patches/02_remove-pkgconfig-requires.patch
new file mode 100644
index 0000000..a748983
--- /dev/null
+++ b/debian/patches/02_remove-pkgconfig-requires.patch
@@ -0,0 +1,20 @@
+Description: Do not emit the Requires.private line in the pkgconfig file
+ This allows libglfw-dev to drop the dependencies on these packages. The line
+ has no purpose in the Debian package because none of the libraries emit any
+ cflags and we do not ship a static library. Also, since libglfw-dev is shared
+ by the x11 and wayland backends, it is not possible to know which one will be
+ used (and which dependencies are needed) at build time.
+Author: James Cowgill <jcowgill at debian.org>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/glfw3.pc.in
++++ b/src/glfw3.pc.in
+@@ -7,7 +7,6 @@ Name: GLFW
+ Description: A multi-platform library for OpenGL, window and input
+ Version: @GLFW_VERSION_FULL@
+ URL: http://www.glfw.org/
+-Requires.private: @GLFW_PKG_DEPS@
+ Libs: -L${libdir} -l at GLFW_LIB_NAME@
+ Libs.private: @GLFW_PKG_LIBS@
+ Cflags: -I${includedir}
diff --git a/debian/patches/series b/debian/patches/series
index ea312cd..f92fc16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_reproducible-docs.patch
+02_remove-pkgconfig-requires.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/glfw3.git



More information about the Pkg-games-commits mailing list