Skip to content

Update README with openSUSE installation instructions - #23

Open
itachi-re wants to merge 1 commit into
Netflate:mainfrom
itachi-re:patch-1
Open

itachi-re wants to merge 1 commit into
Netflate:mainfrom
itachi-re:patch-1

Conversation

@itachi-re

Copy link
Copy Markdown

Adds an install section for openSUSE Tumbleweed. It’s a binary repack of the official x86_64 release RPM, published on OBS under home:itachi_re, so Tumbleweed users can install and update via zypper. The package is community-maintained and unofficial.

Adds an install section for openSUSE Tumbleweed. It’s a binary repack of the official x86_64 release RPM, published on OBS under home:itachi_re, so Tumbleweed users can install and update via zypper. The package is community-maintained and unofficial.
@Netflate

Copy link
Copy Markdown
Owner

Sorry for late response, and thanks a lot for packaging it, I really appreciate it

But is there any particular reason to add your home repo rather than getting it into Factory? I looked into it, and apart from the time it takes, it looks pretty straightforward. So I'm leaning towards doing Factory, so users can install it directly without adding a repo with a lot of other packages. But maybe I'm missing something, so I'd like to hear your thoughts first

@itachi-re

Copy link
Copy Markdown
Author

Thanks for the kind words, and for asking first!

No strong reason for the home repo. It was just the quickest way to get something out. Factory is definitely the better outcome for users. I can't take on the Factory submission myself right now, but here's how you can do it:

What Factory requires

The package I made is a binary repack of your release RPM, and Factory only accepts packages built from source. So it would need a new spec that builds from your tagged release tarball.

How to do it

  1. Make an OBS account at build.opensuse.org, then create a package in your home project to work on.
  2. Write a source-based spec. For a Rust project, the usual approach is the obs-service-cargo service. It generates a vendor.tar.zst with all crate dependencies, so the build works offline, which OBS requires. Fetch the source from your GitHub tag with download_files or the obs_scm service.
  3. Check the build works offline. If any dependency downloads prebuilt binaries during the build (ONNX runtime crates sometimes do this), that will need a workaround. Downloading OCR models at runtime, like you do now, should be fine.
  4. Get it building cleanly on Tumbleweed first.
  5. Submit it. New packages go to a devel project first (something like X11:Utilities or devel:languages:rust), and from there you send a submit request to openSUSE:Factory with osc sr. The reviewers will check licensing, so keep the SPDX License: tag accurate.

Useful docs:

Once it's in Factory, the README can just say sudo zypper install lumine-capture. Until then, feel free to close this PR or hold off on merging it. Happy to answer questions if you get stuck.

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

Successfully merging this pull request may close these issues.

2 participants