Commit Graph

15 Commits

Author SHA1 Message Date
Lars Kanis 5c1dd671f2 Update rdoc, to be compatibe to ruby-3.x 2022-01-08 18:32:51 +01:00
Lars Kanis eb25f07de9 Replace Hoe by Bundler
Fixes #383
2021-06-28 16:33:12 +02:00
Lars Kanis b9daa27552
Merge pull request #373 from larskanis/lib-path
Make the library path of libpq available in ruby and add it to the DLL search paths on Windows which lacks rpath.
2021-03-29 21:12:12 +02:00
Lars Kanis ba65eb580f Remove ChangeLog file from gem and fix build from gemspec
The ChangeLog of all release gems was empty since we changed from mercurial to git.
On the other hand this file blocked simple "gem build pg.gemspec".
So let's remove the file.
2021-03-19 18:12:42 +01:00
Lars Kanis 2f6ab32aaf Add patch to rake-compiler-1.1.1 for make install
With this patch rake-compiler executes not just "make" but also "make install" the same way as "gem install" does.
That way postgresql_lib_path.rb is copied into the lib folder as expected.
2021-03-19 10:07:39 +01:00
Lars Kanis c62f5d87d9 Update to rake-compiler-dock-1.0
Version 1.0 switches to per-target docker images.
So there is a specific image for x64-mingw32 and one for x86-mingw32.
However our current logic mixes the build process of x86 and x64 behind several non-platform specific rake tasks.
This fails with rcd-1.0 since each image has only x64 OR x86 tools.

The solution in this commit is to separate each task by the platform value and to reference only the needed platform.

As an advantage we can now execute docker builds in parallel for x64 and x86 per multitask.
Since this conflicts with interactive password prompts, the gem signing key can be entered in advance.

rcd-1.0 does stripping of binaries per default, so our manual tasks are needless.
2020-01-04 18:08:55 +01:00
Lars Kanis a5da6598ee Update and fix windows fat binary gem builds
OpenSSL-1.1.1 doesn't build with latest rake-compiler-dock-0.7.2 which makes use of Ubuntu-16.04.
The temporary fix is to stick at version 0.7.1, which is based on ubuntu-18.04 and which has an newer mingw-w64 toolset.

Also add a patch to openssl for another bug in mingw-w64 regarding _onexit().
2019-09-22 19:01:30 +02:00
Lars Kanis 1f79fe2d3b Update dependencies to latest versions
This adds ruby-2.6 support for Windows fat binary gems.
2018-12-26 13:20:07 +01:00
Michael Granger 57f7daea1e Add gem cert, trying out gemspec-based setup.
Hopefully Travis and Appveyor will work this way.
2016-01-31 12:03:46 -08:00
Lars Kanis c2321fe72d Update hoe-deveiate 2016-01-30 15:27:52 +01:00
Lars Kanis ab7835c621 Enable Windows cross build for Ruby-2.3. 2015-12-26 14:03:44 +01:00
Lars Kanis 7af3e01f83 Update versions of rake-compiler-dock, OpenSSL and PostgreSQL. 2015-06-17 19:12:01 +02:00
Lars Kanis b10ac0d030 Add rake task 'gem:windows' which makes use of the new
rake-compiler-dock.

Also update the Gemfile per 'rake bundler:gemfile' .
2015-06-08 20:32:27 +02:00
Lars Kanis 00e4f56262 Update Gemfile 2014-08-22 23:46:50 +02:00
Lars Kanis bc42ce67f3 Add Gemfile for compat with rake-compiler-dev-box.
Increase version of rake-compiler to 0.9. That is needed for the
x64-mingw32 build.
2013-08-14 23:39:17 +02:00