mini_portile

mini_portile and mini_portile2 - Simple autoconf and cmake builder for developers

MIT License

Downloads
564.1M
Stars
115
Committers
26

Bot releases are hidden (Show)

mini_portile - 2.8.6 / 2024-04-14 Latest Release

Published by flavorjones 6 months ago

2.8.6 / 2024-04-14

Added

  • When using CMake on FreeBSD, default to clang's "cc" and "c++" compilers. (#139 by @mudge)
mini_portile - 2.8.5 / 2023-10-22

Published by flavorjones 12 months ago

2.8.5 / 2023-10-22

Added

  • New methods #lib_path and #include_path which point at the installed directories under ports. (by @flavorjones)
  • Add config param for CMAKE_BUILD_TYPE, which now defaults to Release. (#136 by @Watson1978)

Experimental

Introduce experimental support for MiniPortile#mkmf_config which sets up MakeMakefile variables to properly link against the recipe. This should make it easier for C extensions to package third-party libraries. (by @flavorjones)

  • With no arguments, will set up just $INCFLAGS, $libs, and $LIBPATH.
  • Optionally, if provided a pkg-config file, will use that config to more precisely set $INCFLAGS, $libs, $LIBPATH, and $CFLAGS/$CXXFLAGS.
  • Optionally, if provided the name of a static archive, will rewrite linker flags to ensure correct linkage.

Note that the behavior may change slightly before official support is announced. Please comment on #118 if you have feedback.

mini_portile - 2.8.4 / 2023-07-18

Published by flavorjones over 1 year ago

2.8.4 / 2023-07-18

  • cmake: set CMAKE compile flags to configure cross-compilation similarly to autotools --host flag: SYSTEM_NAME, SYSTEM_PROCESSOR, C_COMPILER, and CXX_COMPILER. [#130] (Thanks, @stanhu!)
mini_portile - 2.8.3 / 2023-07-18

Published by flavorjones over 1 year ago

2.8.3 / 2023-07-18

Fixed

  • cmake: only use MSYS/NMake generators when available. [#129] (Thanks, @stanhu!)
mini_portile - 2.8.2 / 2023-04-30

Published by flavorjones over 1 year ago

2.8.2 / 2023-04-30

Fixed

  • Ensure that the source_directory option will work when given a Windows path to an autoconf directory. [#126]
mini_portile - 2.8.1 / 2022-12-24

Published by flavorjones almost 2 years ago

2.8.1 / 2022-12-24

Fixed

  • Support applying patches via git apply even when the working directory resembles a git directory. [#119] (Thanks, @h0tw1r3!)
mini_portile - 2.8.0 / 2022-02-20

Published by flavorjones over 2 years ago

2.8.0 / 2022-02-20

Added

  • Support xz-compressed archives (recognized by an .xz file extension).
  • When downloading a source archive, default open_timeout and read_timeout to 10 seconds, but allow configuration via open_timeout and read_timeout config parameters.
mini_portile - 2.7.1 / 2021-10-20

Published by flavorjones almost 3 years ago

2.7.1 / 2021-10-20

Packaging

A test artifact that has been included in the gem was being flagged by some users' security scanners because it wasn't a real tarball. That artifact has been updated to be a real tarball. [#108]

mini_portile - 2.7.0 / 2021-08-31

Published by flavorjones about 3 years ago

2.7.0 / 2021-08-31

Added

The commands used for "make", "compile", and "cmake" are configurable via keyword arguments. [#107] (Thanks, @cosmo0920!)

mini_portile - 2.6.1 / 2021-05-31

Published by flavorjones over 3 years ago

2.6.1 / 2021-05-31

Dependencies

Make net-ftp an optional dependency, since requiring it as a hard dependency in v2.5.2 caused warnings to be emitted by Ruby 2.7 and earlier. A warning message is emitted if FTP functionality is called and net-ftp isn't available; this should only happen in Ruby 3.1 and later.

mini_portile - 2.6.0 / 2021-05-31

Published by flavorjones over 3 years ago

2.6.0 / 2021-05-31

Added

Recipes may build against a local directory by specifying source_directory instead of files. In
particular, this may be useful for debugging problems with the upstream dependency (e.g., use git bisect in a local clone) or for continuous integration with upstream HEAD.

mini_portile - 2.5.3 / 2021-05-31

Published by flavorjones over 3 years ago

2.5.3 / 2021-05-31

Make net-ftp an optional dependency, since requiring it as a hard dependency in v2.5.2 caused warnings to be emitted by Ruby 2.7 and earlier. A warning message is emitted if FTP functionality is called and net-ftp isn't available; this should only happen in Ruby 3.1 and later.

mini_portile - 2.5.2 / 2021-05-28

Published by flavorjones over 3 years ago

2.5.2 / 2021-05-28

Dependencies

Add net-ftp as an explicit dependency to accommodate the upcoming Ruby 3.1 changes that move this and other gems out of the "default" gem set and into the "bundled" gem set. See https://bugs.ruby-lang.org/issues/17873 [#101]

mini_portile - 2.5.1 / 2021-04-28

Published by flavorjones over 3 years ago

2.5.1 / 2021-04-28

Dependencies

This release ends support for ruby < 2.3.0. If you're on 2.2.x or earlier, we strongly suggest that you find the time to upgrade, because official support for Ruby 2.2 ended on 2018-03-31.

Enhancements

  • MiniPortile.execute now takes an optional :env hash, which is merged into the environment variables for the subprocess. Likely this is only useful for specialized use cases. [#99]
  • Experimental support for cmake-based projects extended to Windows. (Thanks, @larskanis!)
mini_portile - 2.5.0 / 2020-02-24

Published by flavorjones over 4 years ago

2.5.0 / 2020-02-24

Enhancements

  • When verifying GPG signatures, remove all imported pubkeys from keyring [#90] (Thanks, @hanazuki!)
mini_portile - Release 0.6.0 - Better encoding support and HTTPS improvements

Published by luislavena over 10 years ago

  • Enhancements:
    • Add default cert store and custom certs from SSL_CERT_FILE if present.
      This increases compatibility with Ruby 1.8.7.
  • Bugfixes:
    • Specify Accept-Encoding to make sure a raw file content is downloaded.
      Pull #30. [knu]
  • Internal:
    • Improve examples and use them as test harness.
mini_portile - Release 0.5.3 - Improved compatibility

Published by luislavena over 10 years ago

  • Bugfixes:
    • Shell escape paths in tar command. Pull #29. [quickshiftin]
    • Support older versions of tar that cannot auto-detect
      the compression type. Pull #27. Closes #21. [b-dean]
    • Try RbConfig's CC before fall back to 'gcc'. Ref #28.
mini_portile - Release 0.5.2 - Bunch of bugfixes

Published by luislavena almost 11 years ago

  • Bugfixes:
    • Change tar detection order to support NetBSD 'gtar'. Closes #24
    • Trick 'git-apply' when applying patches on nested Git checkouts. [larskanis]
    • Respect ENV's MAKE before fallback to 'make'. [larskanis]
    • Respect ENV's CC variable before fallback to 'gcc'.
    • Avoid non-ASCII output of GCC cause host detection issues. Closes #22
Package Rankings
Top 11.05% on Alpine-v3.14
Top 11.82% on Alpine-v3.10
Top 10.27% on Alpine-v3.15
Top 6.83% on Alpine-v3.8
Top 10.84% on Alpine-edge
Top 7.76% on Alpine-v3.9
Top 1.61% on Rubygems.org
Top 8.77% on Alpine-v3.18
Top 7.83% on Alpine-v3.13
Top 6.66% on Alpine-v3.11
Top 10.13% on Alpine-v3.12
Top 9.36% on Alpine-v3.7
Top 14.78% on Alpine-v3.17
Top 13.5% on Alpine-v3.16
Top 28.1% on Conda-forge.org
Top 8.17% on Proxy.golang.org
Top 9.6% on Alpine-v3.6
Badges
Extracted from project README
Continuous Integration Tidelift dependencies