Giter VIP home page Giter VIP logo

Comments (7)

sam9032 avatar sam9032 commented on May 27, 2024 1

Your workaround works fine for me! Libsoup 2.74 which provides libsoup-2.4 was already installed so I only need to change the line of code in your extension.

from hue-lights.

nmenetrier avatar nmenetrier commented on May 27, 2024 1

Can confirm the issue, and yes, the temporary fix is working :)

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

Hi @sam9032! Thank you for reporting the issue! I can confirm the issue. As I can see, Arch Linux has just updated the libsoup2.4 to the new libsoup3. It brings major changes and backward incompatibilities. I am going to fix it as soon as possible (depends on my free time). Unfortunately, It requires a significant amount of work.

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

@sam9032 I have a workaround for you or others with the same issue... You can install the package libsoup 2 like this:

sudo pacman -S libsoup

and run following command:

sed -i '/const Soup = imports.gi.Soup;/i imports.gi.versions.Soup = "2.4";' ~/.local/share/gnome-shell/extensions/hue-lights\@chlumskyvaclav.gmail.com/*.js

...and logout and login

from hue-lights.

sam9032 avatar sam9032 commented on May 27, 2024

Hi @vchlum,
thank you! I'll try that tomorrow, but had the same thought, to force the use of the older libsoup version.
Your extension looks really cool, so that would be amazing!
Thank you for your time.

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

I did some research. libsoup 3 seems to be very rare in Linux distributions yet. Seems like Arch and ALT provide it only (today), and the libsoup 2 is not removed yet. I added the preference to use version 2.4 and partial implementation of libsoup 3.

Seems like libsoup 3 can be used only in the settings, which works with the last patch. In the extension menu, I wasn't able to use and debug libsoup 3 even with imports.gi.versions.Soup = "3.0". It uses version 2 anyway. (on arch linux)

The libsoup 3 proper support will come once needed. For now, this is resolved. I will keep an eye on libsoup 3 spreading. Thanks again for reporting.

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

Fixed in version 16.

from hue-lights.

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.