GithubHelp home page GithubHelp logo

cdalvaro / homebrew-tap Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 2.0 1.11 MB

🍻 @cdalvaro's custom formulae for the @Homebrew package manager

Home Page: https://brew.sh

Ruby 100.00%
homebrew ruby macos package-manager brew tap taps formulae custom-formulae

homebrew-tap's Introduction

Homebrew Custom Tap

cdalvaro's Homebrew tap banner.

hombrew tap cdalvaro

Other languages: 🇪🇸 Español

@cdalvaro's custom formulae for the Homebrew package manager.

What is this?

This is a Homebrew tap containing formulae for software that I use and that is not available in the main Homebrew repository or has been modified to suit my needs.

How to enable this tap?

Just type brew tap cdalvaro/tap. This will allow you to install formulae from this tap.

You can directly type brew install cdalvaro/tap/<formula> to install the specified <formula>.

Available formulae

Formulae list

catboost-cli

Badge Badge

Fast, scalable, high performance Gradient Boosting on Decision Trees cli tool.

brew install cdalvaro/tap/catboost-cli

This formula is not available in homebrew-core repository because it does not meet the acceptance criteria. See Homebrew/homebrew-core#140960 for more information.

clang-format@14

Badge Badge

Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript.

This formula installs: clang-format-14 and git-clang-format-14 to avoid collisions with their latest versions.

brew install cdalvaro/tap/clang-format@14

cpp-jwt

Badge Badge

JSON Web Token library for C++.

brew install cdalvaro/tap/cpp-jwt

This is a header only C++ library, so it is not available in homebrew-core. But, for convenience, it is available in this tap.

cpp-plotly

Badge Badge

Generate html/javascript charts from C++ data using javascript library plotly.js.

brew install cdalvaro/tap/cpp-plotly

This is a header only C++ library, so it is not available in homebrew-core. But, for convenience, it is available in this tap.

cpp-zmq

Badge Badge

Header-only C++ binding for libzmq.

brew install cdalvaro/tap/cpp-zmq

This is a header only C++ library, so it is not available in homebrew-core. But, for convenience, it is available in this tap.

howard-hinnant-date

Badge Badge

A date and time library based on the C++11/14/17 <chrono> header.

brew install cdalvaro/tap/howard-hinnant-date

This formula is available at homebrew-core repository. But I have added the option --without-string-view to disable the use of std::string_view in the library. This is because std::string_view is not available in versions earlier than C++17.

json11

Badge Badge

A tiny JSON library for C++11.

brew install cdalvaro/tap/json11

This is a header only C++ library and the project was archived on March 2020, so it is not available in homebrew-core.

salt

Badge Badge

Software to automate the management and configuration of any infrastructure or application at scale.

brew install cdalvaro/tap/salt

Salt now uses a vendored python, so it was removed from homebrew-core. But I keep it updated for convenience to install it on my Synology NAS.

simple-web-server

Badge Badge

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio.

brew install cdalvaro/tap/simple-web-server

wxwidgets

Badge Badge

Cross-Platform GUI Library.

brew install cdalvaro/tap/wxwidgets

This formula is available at homebrew-core repository. But I have added the option --with-enable-abort to allow aborting a running task using a wxGenericProgressDialog.

Available casks

Casks list

autofirma

Badge Badge

Application for electronic signature developed by the Ministry of Economic Affairs and Digital Transformation of Spain.

This application can be used from the browser, allowing the signature on electronic administration pages when a signature is required in an administrative procedure.

brew install --cask cdalvaro/tap/autofirma

This cask is available at homebrew-cask repository. However, the uninstall postflight script is not working properly, so I've fixed it in this tap. I tried to fix it in the main repository, but it was not accepted.

salt

Badge Badge

Software to automate the management and configuration of any infrastructure or application at scale.

This cask installs salt using the official installation package instead of building the whole package from source as the formula does.

brew install --cask cdalvaro/tap/salt

This cask is available at homebrew-cask repository. However I have added a patch to the .plist files to make salt to work properly with Homebrew out of the box.

The patch adds:

  • HOMEBREW_PREFIX to the environment.
  • PATH env variable containing the HOMEBREW_PREFIX bin directory.
  • HOME env variable containing the root home directory, to avoid an issue with brew command.

More documentation

More documentation is available at: Homebrew - Taps

homebrew-tap's People

Contributors

cdalvaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

macox notfloran

homebrew-tap's Issues

importlib-metadata missing on macosx

Installing the formula on macosx leads to the following error:
pkg_resources.DistributionNotFound: The 'importlib-metadata<3,>=0.12' distribution was not found and is required by virtualenv

~/Library/Logs/Homebrew/salt/06.python3.7:

2020-10-14 14:33:59 +0200

/usr/local/opt/[email protected]/bin/python3.7
-s
/private/tmp/salt--homebrew-virtualenv-20201014-95559-1ooxqxy/target/bin/virtualenv
-p
/usr/local/opt/[email protected]/bin/python3.7
/usr/local/Cellar/salt/3001.1/libexec

Traceback (most recent call last):
  File "/private/tmp/salt--homebrew-virtualenv-20201014-95559-1ooxqxy/target/bin/virtualenv", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3238, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3267, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'importlib-metadata<3,>=0.12' distribution was not found and is required by virtualenv

HOMEBREW_VERSION: 2.5.6-39-g2baabf5
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2baabf58d4abec9febed36bccef6b25fc4bbb802
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 47c855a28f4c4d8f40c28452c785060e4682dab5
Core tap last commit: 10 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_252
macOS: 10.15.7-x86_64
CLT: N/A
Xcode: 12.0.1

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j16
CMAKE_PREFIX_PATH: /usr/local/opt/[email protected]:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/[email protected]:/usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/apache2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/[email protected]/Frameworks:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig:/usr/local/opt/libgit2/lib/pkgconfig:/usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/zeromq/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.15
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/swig/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/zeromq/bin:/usr/bin:/bin:/usr/sbin:/sbin

[FEAT]: Set $HOME in postflight plist modification in salt cask

Description

The process spawned by the minion plist has no HOME environment variable set for the root user it runs as. This is not seen when running from the minion with salt-call.

When running from the master, due to the change in brew in Homebrew/brew@4184546 pkg.installed fails with an error about missing HOME passed in from brew. The lack of a HOME variable can be seen by running salt 'minion' environ.items from a remote master.

I propose setting the HOME variable in the postflight task in addition to the HOMEBREW_PREFIX variable. On an M2 on Sonoma, this is /var/root for the root user. Alternatively, I manually set it to /opt/salt in the plist.

Additional Information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.