drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

[RPM] Not detect libuuid on opensuse

Open DevDorrejo opened this issue 4 years ago • 3 comments

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: image

To Reproduce Steps to reproduce the behavior:

  1. Download the RPM installer
  2. Try to install
  3. Warning dependency about libuuid
  4. See error

Expected behavior smoothly install

Screenshots If applicable, add screenshots to help explain your problem. image

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.

DevDorrejo avatar Feb 08 '21 04:02 DevDorrejo

We do not have the resources to set this environment up and investigate. If nobody is going to look, we'll close the issue.

davidjgraph avatar Nov 29 '21 16:11 davidjgraph

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:

dacog avatar Jul 15 '22 21:07 dacog

Yup, we'll accept a PR for this.

davidjgraph avatar Aug 16 '22 11:08 davidjgraph

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.

stale[bot] avatar Mar 25 '23 12:03 stale[bot]