Skip to content

Commit

Permalink
[MacOS] pkg-config -> pkgconf
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Nov 18, 2024
1 parent 277110d commit a6cf6cd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash -e -o pipefail
################################################################################
## File: install-pkg-config.sh
## Desc: Install pkg-config
## File: install-pkgconf.sh
## Desc: Install pkgconf
################################################################################

source ~/utils/utils.sh

echo "Installing pkg-config..."
echo "Installing pkgconf..."

brew tap-new my-org/old-formulas
brew extract pkg-config my-org/old-formulas --version=0.29.2
brew install my-org/old-formulas/pkg-config@0.29.2
brew extract pkgconf my-org/old-formulas --version=0.29.2
brew install my-org/old-formulas/pkgconf@0.29.2

invoke_tests "Common" "pkg-config"
invoke_tests "Common" "pkgconf"
2 changes: 1 addition & 1 deletion images/macos/scripts/docs-gen/Generate-SoftwareReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if ((-not $os.IsVentura) -and (-not $os.IsSonoma) -and (-not $os.IsSequoia)) {
}
$utilities.AddToolVersion("OpenSSL", $(Get-OpenSSLVersion))
$utilities.AddToolVersion("Packer", $(Get-PackerVersion))
$utilities.AddToolVersion("pkg-config", $(Get-PKGConfigVersion))
$utilities.AddToolVersion("pkgconf", $(Get-PkgconfVersion))
if ((-not $os.IsVentura) -and (-not $os.IsSonoma) -and (-not $os.IsSequoia)) {
$utilities.AddToolVersion("PostgreSQL", $(Get-PostgresServerVersion))
$utilities.AddToolVersion("psql (PostgreSQL)", $(Get-PostgresClientVersion))
Expand Down
6 changes: 3 additions & 3 deletions images/macos/scripts/docs-gen/SoftwareReport.Common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,9 @@ function Get-ColimaVersion {
return $colimaVersion
}

function Get-PKGConfigVersion {
$pkgconfigVersion = Run-Command "pkg-config --version"
return $pkgconfigVersion
function Get-PkgconfVersion {
$pkgconfVersion = Run-Command "pkgconf --version"
return $pkgconfVersion
}

function Get-XcbeautifyVersion {
Expand Down
6 changes: 3 additions & 3 deletions images/macos/scripts/tests/Common.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ Describe "Unxip" {
}
}

Describe "pkg-config" {
It "pkg-config" {
"pkg-config --version" | Should -ReturnZeroExitCode
Describe "pkgconf" {
It "pkgconf" {
"pkgconf --version" | Should -ReturnZeroExitCode
}
}
2 changes: 1 addition & 1 deletion images/macos/toolsets/toolset-12.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"p7zip",
"packer",
"perl",
"pkg-config",
"pkgconf",
"subversion",
"swiftformat",
"swig",
Expand Down

0 comments on commit a6cf6cd

Please sign in to comment.