Coder Social home page Coder Social logo

homebrew-formulae's Introduction

Homebrew formulae 🍻

Homebrew tap maintained by the Robotology group for released software.
The complete list of formulae can be found here 🍻.

To use our formulae with brew, just

brew tap robotology/formulae
brew install robotology/formulae/<formula name>

and you are ready to go 🍻!

homebrew-formulae's People

Contributors

claudiofantacci avatar drdanz avatar francesco-romano avatar nunoguedelha avatar traversaro avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

claudiofantacci

homebrew-formulae's Issues

icub-main formula

We should create a formula for icub-main since ipopt and opencv3 have been added in brew.

I'm currently using them and they seems to work just fine!

cc: @francesco-romano

Remove unmantained formulas?

A lot of homebrew formulas contained in this repo are currently unmaintained, and some of them are completely unusable (see #25). They are just a source of confusion for users.

Unless we are able to find some forces to mantain these formulas, I propose to remove the following unmantained formulas:

  • yarp
  • gazebo-yarp-plugins
  • icub-main
  • robot-testing

homebrew/science has been deprecated

homebrew/science has been deprecated. For that reason, the installation of YARP dependencies through brew...

brew install robotology/formulae/yarp --only-dependencies

... throws an error when checking opencv formula. The faulty line in the rb definition file is:

depends_on "homebrew/science/opencv" => :optional

Actually, the formula has been moved to homebrew/core.

Update icub-main formula to v1.12.0

We need to update the icub-main formula.
Note that v1.12.0 requires YARP v.3.1.0.
Further, after testing the possible new formula, I found out that compilation fails because it looks for ipopt headers even though --with-ipopt option is not passed.

In particular, here are the files that requires the headers:

/tmp/icub-main-20190611-60623-h8arfq/icub-main-1.12.0/src/libraries/iKin/src/iKinIpOpt.cpp:13:10: fatal error: 'IpTNLP.hpp' file not found
#include <IpTNLP.hpp>
         ^~~~~~~~~~~~

/tmp/icub-main-20190611-60623-h8arfq/icub-main-1.12.0/src/libraries/optimization/src/calibReference.cpp:25:10: fatal error: 'IpTNLP.hpp' file not found
#include <IpTNLP.hpp>
         ^~~~~~~~~~~~

/tmp/icub-main-20190611-60623-h8arfq/icub-main-1.12.0/src/libraries/optimization/src/affinity.cpp:24:10: fatal error: 'IpTNLP.hpp' file not found
#include <IpTNLP.hpp>
         ^~~~~~~~~~~~

/tmp/icub-main-20190611-60623-h8arfq/icub-main-1.12.0/src/libraries/optimization/src/neuralNetworks.cpp:26:10: fatal error: 'IpTNLP.hpp' file not found
#include <IpTNLP.hpp>
         ^~~~~~~~~~~~

robotology/cask/yarp --HEAD is failing

See https://travis-ci.org/robotology/idyntree/jobs/187980631 :

==> Installing robotology/cask/yarp --HEAD
==> Cloning https://github.com/robotology/yarp.git
Cloning into '/Users/travis/Library/Caches/Homebrew/yarp--git'...
remote: Counting objects: 3469, done.
remote: Compressing objects: 100% (2944/2944), done.
remote: Total 3469 (delta 671), reused 1625 (delta 436), pack-reused 0
Receiving objects: 100% (3469/3469), 11.12 MiB | 16.56 MiB/s, done.
Resolving deltas: 100% (671/671), done.
Checking connectivity... done.
Checking out files: 100% (3051/3051), done.
==> Checking out branch master
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D
Last 15 lines from /Users/travis/Library/Logs/Homebrew/yarp/01.cmake:
     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
  but not all the files it references.
Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:141 (include)
  /usr/local/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package)
  cmake/YarpFindDependencies.cmake:348 (find_package)
  CMakeLists.txt:62 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/yarp-20170101-18500-1npxlke/CMakeFiles/CMakeOutput.log".
See also "/tmp/yarp-20170101-18500-1npxlke/CMakeFiles/CMakeError.log".

undent is undefined in Homebrew

def caveats
s = <<-EOS.undent
You need to add in your ~/.bash_profile or similar:
export YARP_DATA_DIRS=#{HOMEBREW_PREFIX}/share/yarp
EOS
s += " export LUA_CPATH=\";;;#{lib}/lua/?.so\"" if build.with? "bindings"
s
end

Installing this formula with homebrew crashes during the "caveats" stage, when printing the caveats. Note that the cask still installs correctly, just doesn't exit cleanly. This function was deprecated and then removed entirely. Some solutions are discussed here: Homebrew/homebrew-cask#49716 (comment)

YARP formula failing on Travis

In several macOS-based Travis builds we are experiencing the following failure of the yarp formula:

==> Installing robotology/formulae/yarp
==> Downloading https://github.com/robotology/yarp/archive/v2.3.70.1.tar.gz
==> Downloading from https://codeload.github.com/robotology/yarp/tar.gz/v2.3.70.
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D
Last 15 lines from /Users/travis/Library/Logs/Homebrew/yarp/01.cmake:
  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
CMake Error in src/yarpmotorgui/CMakeLists.txt:
  Cannot find source file:
main.cpp;flowlayout.cpp;jointitem.cpp;mainwindow.cpp;partitem.cpp;piddlg.cpp;sequencewindow.cpp;sliderOptions.cpp;sliderWithTarget.cpp;startdlg.cpp;flowlayout.h;jointitem.h;log.h;mainwindow.h;partitem.h;piddlg.h;sliderOptions.h;sliderWithTarget.h;yarpmotorgui.h;sequencewindow.h;startdlg.h;res.qrc;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/qrc_res.cpp;jointitem.ui;mainwindow.ui;piddlg.ui;sequencewindow.ui;startdlg.ui;sliderOptions.ui;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/ui_jointitem.h;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/ui_mainwindow.h;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/ui_piddlg.h;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/ui_sequencewindow.h;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/ui_startdlg.h;/tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1/src/yarpmotorgui/ui_sliderOptions.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

-- Generating done
-- Build files have been written to: /tmp/yarp-20171122-14172-1efr2r7/yarp-2.3.70.1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/robotology/homebrew-formulae/issues

This repo’s name is icorrect and confusing

I found this repo because I had a confused user (I’m a Hombrew-Cask maintainer). Casks and Formulae are different things, just as Homebrew and Homebrew-Cask are different. They are similar and have similar goals, but have important differences and (slightly) different ways of being installed.

This repo doesn’t have any casks, it has formulae, and as such the homebrew-cask name is confusing.

Add ycm formula

ycm (https://github.com/robotology/ycm) is used for several robotlogy superbuild and projects.
It is typically bootstrapped by the superbuilds, but this approach has some problems (see for example [1]). It would be convenient if we had an homebrew formula for ycm so macOs user could grab ycm directly from homebrew, avoiding the need for bootstrapping.

[1] robotology/ycm#105

YARP formula

This issue summarizes the pending issues present in the current YARP formula, or in the workflow necessary to generate it.

At the moment of a new Release the following stuff should be performed (in the most automatic possible way):

Other pending issues are the following:

  • where head should point? master or devel branch?

ipopt is not available anymore from homebrew/science

Related issues: RobotLocomotion/drake#7679 , https://github.com/Homebrew/homebrew-science/issues/6365

In a nutshell, homebrew/science was closed, so we should find another solution for our ipopt dependency.
The most straightforward solution is to host a copy of the last ipopt and mumps formula in this repo.

opencv formula was also maintained in homebrew/science, but it has been migrated to homebrew/core https://github.com/Homebrew/homebrew-science/blob/master/tap_migrations.json#L54 . We should update the dependencies to point to the core version of the formula.

cc @claudiofantacci

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.