[mutter/bilelmoussaoui/wayland-server-subproject: 1/2] build: Drop requires from pkgconfig.generate
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/bilelmoussaoui/wayland-server-subproject: 1/2] build: Drop requires from pkgconfig.generate
- Date: Wed, 27 Jul 2022 13:21:09 +0000 (UTC)
commit e400216ef6403870f9786c7f52d551a2082913df
Author: Bilal Elmoussaoui <belmouss redhat com>
Date: Wed Jul 27 14:43:14 2022 +0200
build: Drop requires from pkgconfig.generate
Quoting ebassi from #hackers
"requires is mainly used for two reasons:
- legacy (the project was ported a long time ago and nobody kept up with
changes in idiomatic Meson)
- Or because the old pkg-config file had a Requires clause that included
libraries, and people don't want to break older code that relies on the
transitive dependency"
The change was needed for making wayland-server/wayland-client a
subproject
See next commit
clutter/clutter/meson.build | 1 -
cogl/cogl-pango/meson.build | 1 -
cogl/cogl/meson.build | 1 -
src/meson.build | 1 -
src/tests/meson.build | 1 -
5 files changed, 5 deletions(-)
---
diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build
index b4ee4b7827..549ed39b4a 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -403,7 +403,6 @@ pkg.generate(libmutter_clutter,
description: 'Mutters Clutter Private Library',
libraries: [m_dep],
subdirs: join_paths(pkgname, 'clutter'),
- requires: [clutter_pkg_deps, libmutter_cogl_name],
version: meson.project_version(),
variables: [
'apiversion=' + libmutter_api_version,
diff --git a/cogl/cogl-pango/meson.build b/cogl/cogl-pango/meson.build
index ba8fe70bad..56b81e1fa7 100644
--- a/cogl/cogl-pango/meson.build
+++ b/cogl/cogl-pango/meson.build
@@ -72,7 +72,6 @@ pkg.generate(libmutter_cogl_pango,
filebase: 'mutter-cogl-pango-' + libmutter_api_version,
description: 'A text rendering for Cogl in mutter',
subdirs: join_paths(pkgname, 'cogl'),
- requires: [cogl_pkg_deps, libmutter_cogl_name],
version: meson.project_version(),
variables: [
'apiversion=' + libmutter_api_version,
diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
index 0bbf58bb97..10e414aa43 100644
--- a/cogl/cogl/meson.build
+++ b/cogl/cogl/meson.build
@@ -492,7 +492,6 @@ pkg.generate(libmutter_cogl,
description: 'An object oriented GL/GLES Abstraction/Utility Layer in mutter',
libraries: [m_dep],
subdirs: join_paths(pkgname, 'cogl'),
- requires: [cogl_pkg_deps],
version: meson.project_version(),
variables: [
'apiversion=' + libmutter_api_version,
diff --git a/src/meson.build b/src/meson.build
index 6dda94b696..e41c934688 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1128,7 +1128,6 @@ pkg.generate(libmutter,
filebase: 'libmutter-' + libmutter_api_version,
description: 'Mutter compositor and window manager library',
subdirs: pkgname,
- requires: [mutter_pkg_deps, libmutter_clutter_name],
version: meson.project_version(),
variables: [
'apiversion=' + libmutter_api_version,
diff --git a/src/tests/meson.build b/src/tests/meson.build
index b58636c551..ae62662dd7 100644
--- a/src/tests/meson.build
+++ b/src/tests/meson.build
@@ -59,7 +59,6 @@ pkg.generate(libmutter_test,
filebase: 'libmutter-test-' + libmutter_api_version,
description: 'Mutter test framework',
subdirs: pkgname,
- requires: ['libmutter-' + libmutter_api_version],
version: meson.project_version(),
variables: [
'apiversion=' + libmutter_api_version,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]