sddm2rpm

Crates.iosddm2rpm
lib.rssddm2rpm
version1.2.0
sourcesrc
created_at2023-02-08 18:27:43.835729
updated_at2023-03-05 05:10:31.293609
descriptiona simple cli tool to genrate rpms for sddm form tar.gz
homepagehttps://github.com/Lunarequest/sddm2rpm/blob/mistress/README.md
repositoryhttps://github.com/Lunarequest/sddm2rpm/
max_upload_size
id780089
size104,718
Luna (Lunarequest)

documentation

https://github.com/Lunarequest/sddm2rpm/blob/mistress/README.md

README

A simple script to genrate rpms from sddm theme tar files from pling.

Background

When using this one a read-only distro like OpenSUSE MicroOS or Fedora Kinonite, you can't install sddm theme's through the KCM as /usr/share is readonly. My solution for this was sddm2rpm a tool that reads the archives used by KDE plasma and the pling store to produce a working rpm that allows the sddm theme to be install and configured in the KCM.

Building

I recommend using toolbox for building sddm2rpm as it is preinstalled on OpenSUSE MicroOS and Fedora Kinoite.

Dependencies

You will need rust as well as gcc or clang.

cargo install --path ~/sddm2rpm/

or

cargo install sddm2rpm

for stable releases.

If you want to host rpms produced by this project I recomend using the --output-spec option to produce a working spec file you can use to produce rpms in open build service & copr.

Arguments

takes sddm theme as tar.gz files and repacks them to rpms

Usage: sddm2rpm [OPTIONS] <source> [dest]

Arguments:
  <source>  path to sddm archive
  [dest]    directory to unpack too

Options:
      --pkg-version <VERSION>  version of package, defaults to 1.0.0
      --license <LICENSE>      license of package, defaults to GPLv3
  -s, --output-spec            output spec file
      --url <URL>              upstream url for rpm
  -h, --help                   Print help
  -V, --version                Print version

Commit count: 33

cargo fmt