GithubHelp home page GithubHelp logo

Comments (11)

ohdearaugustin avatar ohdearaugustin commented on July 27, 2024 1

JFYI: This is also a issue for the AUR package. Looking forward to a new release.

from memento.

ripose-jp avatar ripose-jp commented on July 27, 2024 1

I've updated the PKGBUILD in the AUR with a band aid that will fix the build until I get a new release out.

@teto Here's the change if you want to use it as a stopgap. It's apparently important that cmake -E env be followed by a normal configure call to cmake in the same command.

cmake -E env \
    CFLAGS="-Wno-error=deprecated-declarations" \
    CXXFLAGS="-Wno-error=deprecated-declarations" \
cmake ..

from memento.

nyxkn avatar nyxkn commented on July 27, 2024 1

Works fine, thanks!

from memento.

ripose-jp avatar ripose-jp commented on July 27, 2024 1

@teto v1.2.0 has just been published and I've removed -Werror from the compiler flags so something like this doesn't happen again.

from memento.

ripose-jp avatar ripose-jp commented on July 27, 2024

Thanks for the report, but this has already fixed on master with 267e4a4

from memento.

teto avatar teto commented on July 27, 2024

is there going to be a release soon ? to know when to update the package

from memento.

ripose-jp avatar ripose-jp commented on July 27, 2024

The bug fixes since the last release are very minor and there's only one new feature. I don't see the point at the moment.

from memento.

ripose-jp avatar ripose-jp commented on July 27, 2024

Is it just a warning or is it actually preventing compilation?
I will say my opinion on making a new release has changed since I just found out that mpv made a new release in the past few weeks. Since most people use the Windows version, new releases of Memento are really the only way to get out new versions of mpv to those users.

from memento.

nyxkn avatar nyxkn commented on July 27, 2024

With the Archlinux aur package, build does fail, not just a warning. (because of -Werror=deprecated-declarations?)

.../memento/src/Memento-1.1.0/src/dict/yomidbbuilder.c: In function ‘extract_resources’:
.../memento/src/Memento-1.1.0/src/dict/yomidbbuilder.c:1878:5: error: ‘zip_get_num_files’ is deprecated: use 'zip_get_num_entries' instead [-Werror=deprecated-declarations]
 1878 |     for (zip_int64_t i = 0; i < zip_get_num_files(dict_archive); ++i)
      |     ^~~
In file included from .../memento/src/Memento-1.1.0/src/dict/yomidbbuilder.c:31:
/usr/include/zip.h:379:68: note: declared here
  379 | ZIP_DEPRECATED("use 'zip_get_num_entries' instead") ZIP_EXTERN int zip_get_num_files(zip_t *_Nonnull);
      |                                                                    ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [src/dict/CMakeFiles/yomidbbuilder.dir/build.make:90: src/dict/CMakeFiles/yomidbbuilder.dir/yomidbbuilder.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:686: src/dict/CMakeFiles/yomidbbuilder.dir/all] Error 2

from memento.

ohdearaugustin avatar ohdearaugustin commented on July 27, 2024

Thank you (=

from memento.

teto avatar teto commented on July 27, 2024

@ripose-jp thanks. No one complained about the broken package yet so till it happens, I'll wait for a release.

from memento.

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.