Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian packaging patches. #157

Open
petterreinholdtsen opened this issue Aug 27, 2023 · 15 comments
Open

Debian packaging patches. #157

petterreinholdtsen opened this issue Aug 27, 2023 · 15 comments

Comments

@petterreinholdtsen
Copy link

Dear developer,

You might want to have a look at the patches used in the Debian package I just uploaded for NEW approval, https://ftp-master.debian.org/new.html. The patches are available from https://salsa.debian.org/science-team/opencamlib/-/tree/master/debian/patches. I am not sure which ones would be useful to include upstream.

@vespakoen
Copy link
Collaborator

Hi Peter!

Thanks for working on this, it is greatly appreciated!

I looked through the patches and here are my thoughts:

  1. 0000-disable-git-check.patch We seem to have a lot of code for getting a VERSION_STRING, for which there is already a CMake option, I am thinking we should probably get rid of all of it, and use the -DVERSION_STRING argument to pass something in.
  2. 1000-fix-python-paths.patch The "import site; print(site.getsitepackages()[-2])" command is not very portable, for that reason, we got rid of the "automagic site-packages folder finding", you can set CMAKE_INSTALL_PREFIX to a place where you want to install the library, I think I prefer this way more.
    However, it looks like you are using the site-packages path, and got rid of the "opencamlib" postfix, this will probably put the files in the root of site-packages, in stead of in the opencamlib sub-folder. Please double check this!
  3. 1010-no-static-boost.patch This should definitely be a CMake option on our side, sorry for forcing static builds on everyone ;)
  4. 1011-Fix-doxygen-INPUT-paths-for-out-of-tree-build.patch This will make the Doxyfile only usable through CMake I think? I think I prefer the relative paths, just make sure to run Doxygen from the right folder ;)

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Aug 29, 2023 via email

@vespakoen
Copy link
Collaborator

Sorry for misspelling your name, that all seems reasonable to me.
I am working on a patch over here:

#158

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Sep 1, 2023 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Sep 2, 2023 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Sep 3, 2023 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Sep 10, 2023 via email

@vespakoen
Copy link
Collaborator

That's great!
I am working on the develop branch right now so I can test the CD github action. It seems to almost work again now.
Will work on in this week and hope I can get a release out.

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Sep 11, 2023 via email

@vespakoen
Copy link
Collaborator

I would say the library is in maintenance mode.
But it is the only library of it's kind (afaik).
I tried to make the compilation / installation a bit easier by providing precompiled libraries and added a nodejs and emscripten module so it can be used in JavaScript.
The core functionality didn't change.

The homepage is correct. It contains the most information about the algo's.

Api docs are over here: https://opencamlib.readthedocs.io/en/latest/api.html

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Nov 11, 2023 via email

@vespakoen
Copy link
Collaborator

Hi Peter,

I think I got pretty far with these fixes and it got kinda stuck on a single failing windows build which i was unable to resolve, after that, a startup i worked for got merged with another company and things got pretty busy over here with other things, I cannot promise anything but I will try to take another stab at this next week.

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Dec 3, 2023 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Jan 31, 2024 via email

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Apr 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants