Code Monkey home page Code Monkey logo

Comments (9)

centic9 avatar centic9 commented on July 26, 2024

Seems the build tries to include 2.7.2:

file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js

But the Debian package replaces this with newer version:

https://sources.debian.org/src/laminar/1.1-1/debian/patches/0000-Patch-build-system-to-use-JS-libraries-from-Debian-p.patch/

Do you plan to support newer chart.js or should we report this at Debian?

from laminar.

centic9 avatar centic9 commented on July 26, 2024

See https://www.chartjs.org/docs/latest/getting-started/v3-migration.html for migration steps for Chart.js to 3.x, it mentions "scaleService":

Chart.scaleService was replaced with Chart.registry. Scale defaults are now in Chart.defaults.scales[type].

from laminar.

centic9 avatar centic9 commented on July 26, 2024

I reported this at Debian via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019455

from laminar.

ohwgiles avatar ohwgiles commented on July 26, 2024

Thanks for this. I should support the newer ChartJS, but the API has changed significantly so the porting is not trivial.

Incidentally, Vue has also advanced significantly since the version used here, but Debian haven't updated it yet. So a similar (probably worse) issue will happen when that happens.

from laminar.

centic9 avatar centic9 commented on July 26, 2024

FYI for anybody running into this, I worked around it via a custom Debian package at https://launchpad.net/~dominik-stadler/+archive/ubuntu/ppa/+packages which does not replace the bundled libraries for now until this is fixed.

from laminar.

ohwgiles avatar ohwgiles commented on July 26, 2024

I also make official releases as Debian packages which have fixed versions of these dependencies. See the releases page.

from laminar.

jeromebrunet avatar jeromebrunet commented on July 26, 2024

Hi,

Sorry for posting on a closed topic.
I've also run into the issue just before the package got dropped from debian testing, which seems to have happened today.

I tried installing the package from the laminar webpage.
It does not work on trixie because of libcapnp

The following packages have unmet dependencies:
 laminar : Depends: libcapnp-0.7.0 but it is not installable

At the moment, trixie provides libcapnp-1.0.1
Manually installing libcapnp-0.7.0 from the bullseye repo seem to work though.

from laminar.

ohwgiles avatar ohwgiles commented on July 26, 2024

package got dropped from debian testing, which seems to have happened today

Thanks for the notification, I'll see what I can do here

I tried installing the package from the laminar webpage.

Those are for Debian 11 (bullseye), trixie is 13, I would expect this kind of error.

from laminar.

jeromebrunet avatar jeromebrunet commented on July 26, 2024

Those are for Debian 11 (bullseye), trixie is 13, I would expect this kind of error.

No worries, I was not expecting compatibility with testing from this package.
The only problem was libcapnp. I don't know anything about it to be honest. Do you think it would be compatible with version 1.0 ?

It's likely to be necessary to get back in debian testing I suppose.

from laminar.

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.