Skip to content

Commit

Permalink
Add MINGW package dependency which is resolved by RubyInstaller
Browse files Browse the repository at this point in the history
There is no package with contains libpq only, but the postgresql package now has less depencies than it had in the past.
Especially python and perl are optional dependecies now, so that the install size is acceptable:

Pakete (5) mingw-w64-clang-aarch64-icu-75.1-2  mingw-w64-clang-aarch64-lz4-1.10.0-1
           mingw-w64-clang-aarch64-openssl-3.4.0-1  winpty-0.4.3-3  mingw-w64-clang-aarch64-postgresql-17.2-1

Gesamtgröße des Downloads:              40,09 MiB
Gesamtgröße der installierten Pakete:  198,79 MiB
  • Loading branch information
larskanis committed Jan 10, 2025
1 parent 0ee61f1 commit 3ac52bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ install:
$env:PATH = 'C:/Program Files/PostgreSQL/' + $env:PGVER + '/bin;' + $env:PATH
$env:PATH = 'C:/Program Files (x86)/PostgreSQL/' + $env:PGVER + '/bin;' + $env:PATH
} else {
c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed `${MINGW_PACKAGE_PREFIX}-postgresql"
}
- echo %PATH%
- pg_config
Expand Down
2 changes: 2 additions & 0 deletions pg.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
spec.metadata["source_code_uri"] = "https://github.com/ged/ruby-pg"
spec.metadata["changelog_uri"] = "https://github.com/ged/ruby-pg/blob/master/History.md"
spec.metadata["documentation_uri"] = "http://deveiate.org/code/pg"
# https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#msys2-library-dependency
spec.metadata["msys2_mingw_dependencies"] = "postgresql"

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand Down

0 comments on commit 3ac52bb

Please sign in to comment.