drawio-desktop
drawio-desktop copied to clipboard
[RPM] Not detect libuuid on opensuse
Preflight Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe the bug
Hello, i was trying to install drawio-desktop on opensuse tw/leap, and give me that not found libuuid, but is installed:
To Reproduce Steps to reproduce the behavior:
- Download the RPM installer
- Try to install
- Warning dependency about libuuid
- See error
Expected behavior smoothly install
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version [e.g. 12.6.7]
Desktop (please complete the following information):
- OS: OpenSUSe TW (last-snapshot) / Leap 15.2
Additional context if i continue breaking the dependency and execute the program will work normally.
We do not have the resources to set this environment up and investigate. If nobody is going to look, we'll close the issue.
Hi @davidjgraph I just found this issue, and it is still happening in openSUSE Tumbleweed. I did some research, and it seems to be the same problem other electron-based project have and adding the following to package.json (in this case electron-builder-linux-mac.json) seems to make it work.
"rpm":{
"depends":[
"/usr/lib64/libuuid.so.1"
]
},
As seen here: https://github.com/BoostIO/BoostNote-App/pull/1228/files
I would be willing to test the change (and make a PR) and it helps and if it makes sense for you. As I saw on the README "Open-source, not open-contribution" I am asking first :smile:
Yup, we'll accept a PR for this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.