Code Monkey home page Code Monkey logo

Comments (12)

magiruuvelvet avatar magiruuvelvet commented on July 28, 2024

Note that some of the libraries where modified and are out of sync with upstream. Some libraries are for unit tests only and sqlite is not used in the latest tagged release which works, the current master is not usable.

For the boost abomination I may consider replacing it with the C++17 filesystem library instead. But this software is currently not maintained by me actively. boost is only used in the CLI version which I think doesn't work at all - only the GUI. The migration tool is also pretty useless as I stopped working on the new GUI.

I will think about it.

EDIT: I just checked the CLI, it only asks for the password and decrypts the database and exits immediately. No functionality implemented at all.

EDIT2: The only thing I noticed which can have an optimal cmake switch is the QtKeychain integration. That one is not modified except its CMake files.

from otpgen.

magiruuvelvet avatar magiruuvelvet commented on July 28, 2024

qt keychain can now be compiled against the shared version using a cmake switch

from otpgen.

magiruuvelvet avatar magiruuvelvet commented on July 28, 2024

zlib has a cmake switch to build it against the shared version

from otpgen.

SCOTT-HAMILTON avatar SCOTT-HAMILTON commented on July 28, 2024

Have you modified cereal? I can't build with the systems one. But maybe the systems one is not well packaged.

from otpgen.

SCOTT-HAMILTON avatar SCOTT-HAMILTON commented on July 28, 2024

It has been pointed out that zxing-cpp is unmaintained and therefore should be replaced by a more mainstream, more maintained library such as zbar.

from otpgen.

magiruuvelvet avatar magiruuvelvet commented on July 28, 2024

cereal just could be heavily outdated in my repo. Don't know if they introduced breaking changes in the past 2 years. Note that OTPGen isn't maintained either, it's in support only mode so I'm not really motivated to change the QR Code backend. Sorry about that.

During adding the new cmake switch I already found another problem with Qt. I used undocumented private APIs and now OTPGen fails to build in Qt 5.14, that's about what I'm fixing. Changing the QR Code backend is just too much work.

from otpgen.

jtojnar avatar jtojnar commented on July 28, 2024

Regarding cereal, as I understand the error:

In file included from /build/source/Source/Core/AppSupport/Authy.cpp:10:
/nix/store/6ky93idh7ms4rsin1dy26jf1fywh7dzr-cereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:88:36: error: expected ';' at end of member declaration
   88 |         virtual const char *what() const CEREAL_NOEXCEPT override
      |                                    ^~~~~
      |                                         ;
/nix/store/6ky93idh7ms4rsin1dy26jf1fywh7dzr-cereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:88:42: error: 'CEREAL_NOEXCEPT' does not name a type
   88 |         virtual const char *what() const CEREAL_NOEXCEPT override
      |                                          ^~~~~~~~~~~~~~~
/nix/store/6ky93idh7ms4rsin1dy26jf1fywh7dzr-cereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:88:29: error: looser throw specifier for 'virtual const char* cereal::rapidxml::parse_error::what() const'
   88 |         virtual const char *what() const CEREAL_NOEXCEPT override
      |                             ^~~~

Either the rapidxml.hpp is internal header and then OTPGen should not use it, or USCiLab/cereal@70754e2 should have added include of cereal's macros.hpp.

from otpgen.

magiruuvelvet avatar magiruuvelvet commented on July 28, 2024

The bundled cereal version is 2 years old which works. Just tried the current master and I get this exact error.

I adapted to the new cereal version. I included header files from the external directory directly instead of using the wrapper.

from otpgen.

jtojnar avatar jtojnar commented on July 28, 2024

Looks like it is already reported: USCiLab/cereal#482

from otpgen.

magiruuvelvet avatar magiruuvelvet commented on July 28, 2024

One question to the NixOS packagers. Does the NixOS package format require a release tag or can it be a branch name or commit hash too? I now made a stable branch with all the fixes and updates. This should make it way easier for packagers.

from otpgen.

jtojnar avatar jtojnar commented on July 28, 2024

We can work with commits too, we use unstable-yyyy-mm-dd as a version then. Targetting non-default branch might be slightly confusing but adding a comment to the package expression would fix that.

from otpgen.

SCOTT-HAMILTON avatar SCOTT-HAMILTON commented on July 28, 2024

Waiting #7 for further packaging, closing this issue.

from otpgen.

Related Issues (6)

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.