Giter Site home page Giter Site logo

Comments (5)

sletz avatar sletz commented on May 16, 2024

So if "other distros may vary" what are we supposed to do? Is there any real generic location that would be more appropriate?

from faust.

umlaeute avatar umlaeute commented on May 16, 2024

no, I don't think that there is a generic installation directory for w32 dlls on linux systems (which is fair enough: there isn't even a generic installation directory for w32 dlls on windows systems).

however, there are a few places which I think are definitely wrong, and /usr/include is quite on top of this list.

  • use a directory that is not in contradiction to the Filesytem Hierarchy Standard
  • possibly use a directory that matches the location of other dlls on your linux system.
  • make it configurable (either via some configuration file or via an environment variable, or both)

from faust.

umlaeute avatar umlaeute commented on May 16, 2024

so here's a suggestion:

  • use a PDBINPATH (or FAUST_PDBINPATH) variable
  • use a sane default value like /usr/lib/i686-w64-mingw32/pd/
  • have faust2w32puredata include faustpath (after setting the variable to the default value; before using it)
  • have faustpath include optional configuration files: /etc/faust/defaults and ~/.faust/defaults (if you allow both system-wide and per-user config, allow the per-user configuration to override the system-wide config, by including it later)
  • in these config-files you (and any potential user of faust2w32puredata) can adjust the actual installation path to match their system (and distribution packagers might provide defaults in the system-wide config that matches the distribution expectations.
  • rinse and repeat for other cross-compilation targets

from faust.

sletz avatar sletz commented on May 16, 2024

Thanks but well... either you can can send us a patch to do all this stuff, or just forget packaging this faust2w32puredata script...

from faust.

umlaeute avatar umlaeute commented on May 16, 2024

i'll come up with a patch...

from faust.

Related Issues (20)

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.