GithubHelp home page GithubHelp logo

data/ is not installed about vsgexamples HOT 6 CLOSED

vsg-dev avatar vsg-dev commented on September 27, 2024
data/ is not installed

from vsgexamples.

Comments (6)

robertosfield avatar robertosfield commented on September 27, 2024

The data is under the same license. The right thing to do is to install the data if you want to install. Thought if we install the data does that also mean we have to encode paths to the data? Otherwise developers still need to set VSG_FILE_PATH to the installed directory.

However, vsgExamples are examples, they aren't applications that would be normal to install. Personally, I don't install the examples, or would recommend not installing, instead they should just be a used as a teaching material.

Another possibility would be to not have a install target, thus avoid the tangled web that it can cause.

Also, worth noting that while vsgExamples is going to 1.0.0 I don't view this repo as one that's appropriate for package maintainers to wrap up and provide.

from vsgexamples.

fcami avatar fcami commented on September 27, 2024

I agree with you that from a VSG developer's point of view, packaging vsgExamples has no value.

However, there is a good reason for distributions to provide this particular repo: testing. If examples work, package maintainers and in general distribution users can easily check whether a VSG update works well.
Also, since VSG's behavior could arguably expose bugs in specific Vulkan implementations, there is still value in packaging vsgExamples. As long as this redistribution is done according to the terms of the license, of course.

... and I was only pointing out a discrepancy in the "make install" routine here ;)

from vsgexamples.

robertosfield avatar robertosfield commented on September 27, 2024

I have added an install target for data that places it in share/vsgExamples/data and checked it into vsgExamples master.

Appreciate some testing it by 3rd parties before I merge with vsgExamples-1.0 branch.

from vsgexamples.

fcami avatar fcami commented on September 27, 2024

Thanks, much appreciated. Tested with:

$ VSG_FILE_PATH=/usr/share/vsgExamples/data/ vsgviewer models/teapot.vsgt
$ vsgviewer /usr/share/vsgExamples/data/models/teapot.vsgt

Both invocations work.

from vsgexamples.

robertosfield avatar robertosfield commented on September 27, 2024

Thanks for the testing will merge with vsgExamples,. then later with 1.0 branch,

from vsgexamples.

robertosfield avatar robertosfield commented on September 27, 2024

Already merged with vsgExamples master...

from vsgexamples.

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.