forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vcpkg-tool-meson] fix pkgconfig data file installation on FreeBSD (m…
…icrosoft#35003) * [fontconfig] fix pkgconfig file installation (microsoft#35002) move pkgconfig script into the path indicated by the diagnositic emitted by vcpkg (see comment 1 of microsoft#35002). * [fontconfig] force installation of pc files (microsoft#35002) Undo the last commit and patch meson to force the pc file installation paths demanded by `vcpkg_fixup_pkgconfig` * [fontconfig] bump portrevision (microsoft#35002) * [fontconfig] regenerate versions (microsoft#35002) * Revert "[fontconfig] regenerate versions (microsoft#35002)" This reverts commit 8daf0e1. * Revert "[fontconfig] bump portrevision (microsoft#35002)" This reverts commit a9727bc. * Revert "[fontconfig] force installation of pc files (microsoft#35002)" This reverts commit c0c6e01. * Revert "[fontconfig] fix pkgconfig file installation (microsoft#35002)" This reverts commit 616d4ce. * [vcpkg-tool-meson] fix pc-file installation paths on FreeBSD (microsoft#35002) * [vcpkg-tool-meson] bump portversion (microsoft#35002) * [vcpkg-tool-meson] regenerate versions (microsoft#35002) * [vcpkg-tool-meson] Use vcpkg_from_github to obtain source (microsoft#35002) * [vcpkg-tool-meson] Regenerate versions (microsoft#35002) * [vcpkg-tool-meson] Use adverticed version of meson (microsoft#35002) vcpkg@ce9f50f7 has bumped vcpkg-tool-meson's adverticed version to 0.63, but not updated the `ref` variable, which still points to 0.62.1. Update meson to 0.63 and use ${VERSION} to avoid similar issues in the future, and regenerate patches/hashes accordingly. * [vcpkg-tool-meson] regenerate versions (microsoft#35002) * Revert "[vcpkg-tool-meson] regenerate versions (microsoft#35002)" This reverts commit e9a424e. * Revert "[vcpkg-tool-meson] Use adverticed version of meson (microsoft#35002)" Meson 0.63 can't build gobject-introspection on a tier 1 supported target. Upgrading meson to 0.63 and handling regressions of that update is out of scope of microsoft#35002 anyways, and should be handled either on it's own PR, microsoft#28084 or microsoft#35348 .
- Loading branch information
1 parent
c869686
commit ff68673
Showing
6 changed files
with
42 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
ports/vcpkg-tool-meson/remove-freebsd-pcfile-specialization.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- a/mesonbuild/modules/pkgconfig.py | ||
+++ b/mesonbuild/modules/pkgconfig.py | ||
@@ -583,12 +583,8 @@ class PkgConfigModule(ExtensionModule): | ||
pcfile = filebase + '.pc' | ||
pkgroot = pkgroot_name = kwargs.get('install_dir', default_install_dir) | ||
if pkgroot is None: | ||
- if mesonlib.is_freebsd(): | ||
- pkgroot = os.path.join(state.environment.coredata.get_option(mesonlib.OptionKey('prefix')), 'libdata', 'pkgconfig') | ||
- pkgroot_name = os.path.join('{prefix}', 'libdata', 'pkgconfig') | ||
- else: | ||
- pkgroot = os.path.join(state.environment.coredata.get_option(mesonlib.OptionKey('libdir')), 'pkgconfig') | ||
- pkgroot_name = os.path.join('{libdir}', 'pkgconfig') | ||
+ pkgroot = os.path.join(state.environment.coredata.get_option(mesonlib.OptionKey('libdir')), 'pkgconfig') | ||
+ pkgroot_name = os.path.join('{libdir}', 'pkgconfig') | ||
if not isinstance(pkgroot, str): | ||
raise mesonlib.MesonException('Install_dir must be a string.') | ||
self._generate_pkgconfig_file(state, deps, subdirs, name, description, url, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters