Giter Site home page Giter Site logo

Comments (14)

c0r73x avatar c0r73x commented on June 6, 2024

Sounds like it could be that ncurses with widecharacter support isn't available in Alpine Linux, maybe we should add a fallback to look for the default version of ncurses if the widecharacter support dosn't exist.

@rendom what do you think?

from ncpamixer.

rendom avatar rendom commented on June 6, 2024

The ncurses package in alphine seems to be built with --enable-widec or maybe its not used by default?

https://git.alpinelinux.org/aports/tree/main/ncurses/APKBUILD#n42

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

Ahh, I just noticed Could NOT find Curses (missing: CURSES_INCLUDE_PATH) seems that for some reason Alpine is missing the FindCurses.cmake file. But it's very strange because it should be in the cmake package.

We could fix it by adding the FindCurses.cmake file to ncpamixer, but that just feels wrong. It's better to solve this on Alpine Linux side.

from ncpamixer.

z3ntu avatar z3ntu commented on June 6, 2024

https://pkgs.alpinelinux.org/contents?file=FindCurses.cmake&path=&name=&branch=edge
The cmake package has that file

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

Seems we are using our own FindCursesW for some reason. Thats probably why it's not working, we are trying to find out the reason why we created our own file.

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

https://imgur.com/4etUR8f

Hummm, we need to add an option for enabling ncursesw though...

from ncpamixer.

z3ntu avatar z3ntu commented on June 6, 2024

image

What distro is that? For me it looks fine on Arch

edit: alpine is also fine

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

It's on gentoo, I need to add the flag set(CURSES_NEED_WIDE TRUE) to enable ncursesw. Otherwise it will only use ncurses.

I've added a new flag to the cmake file USE_WIDE, so it looks fine on gentoo now with that flag on.

Humm but now it seems it fails to build on Arch xD something is strang with the CURSES_NEED_WIDE flag on Arch Linux.

from ncpamixer.

z3ntu avatar z3ntu commented on June 6, 2024

On Alpine it also fails with CURSES_NEED_WIDE ... I'd rather say Gentoo / CMake is weird :P

EDIT: On Fedora it succeeds with CURSES_NEED_WIDE

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

Hehe, maybe.. I will fix it ;)

from ncpamixer.

z3ntu avatar z3ntu commented on June 6, 2024

And Ubuntu is the best because it looks like in your screenshot but fails with CURSES_NEED_WIDE...

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

Fantastic -_- is it Ubuntu specific or is it debian in general?

from ncpamixer.

c0r73x avatar c0r73x commented on June 6, 2024

Now it's fixed on Gentoo at least. Not sure if it's worth to spend time to fix Ubuntu (or Debian) since i don't use any of those distros. Better if someone who uses it can do some testing.

from ncpamixer.

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.