baduhai / Koi

Koi - Theme scheduling for the KDE Plasma Desktop
GNU Lesser General Public License v3.0
270 stars 20 forks source link

[Packaging] RPM packages for openSUSE TW and Fedora #27

Closed cyclinggeorgian closed 2 years ago

cyclinggeorgian commented 4 years ago

Hi i have built RPMs for openSUSE Tumbleweed and Fedora 32. User, if desired, can use repos to install and keep updated Koi through native package managers. RPMs are built against master branch of @baduhai git repo. RPM are built on OBS (openSUSE build service) and are fully reproducible.

Installing Lightly from RPM repository on openSUSE Tumbleweed:

  1. Add "sputnik-look-and-feel" repository: sudo zypper ar -ef https://download.opensuse.org/repositories/home:/sputnik:/look-and-feel/openSUSE_Tumbleweed/ sputnik-look-and-feel
  2. Refresh repository list: sudo zypper ref
  3. You will be notified about received new repository key. And you will be asked if you want to accept the key. This repository is created on OBS. All builds are reproducible. Type "a" and press enter.
  4. Install Lightly: sudo zypper in Lightly

Installing Lightly from RPM repository on Fedora 32:

  1. Create repo file:
    echo  "[sputnik-look-and-feel]
    name=Look And Feel (Fedora_32)
    type=rpm-md
    baseurl=https://download.opensuse.org/repositories/home:/sputnik:/look-and-feel/Fedora_32/
    gpgcheck=1
    gpgkey=https://download.opensuse.org/repositories/home:/sputnik:/look-and-feel/Fedora_32/repodata/repomd.xml.key
    enabled=1" | sudo tee -a /etc/yum.repos.d/sputnik-look-and-feel.repo
  2. Install Lightly: sudo dnf install Lightly
baduhai commented 4 years ago

This looks great! Though I'm not sure building from the master branch is the best of ideas, it can get pretty experimental. Building from the latest release would be optimal. I don't mind adding the Sptunik look and feel repo if it builds from the latest release instead.

cyclinggeorgian commented 4 years ago

OK..i assumed latest would be more interesting to users... but i have changed it, so RPMs now are being built against 0.1.1 release. If you would consider creating "release" branch RPM builds will be automated. Otherwise we need to find a way to notify me about new releases so i could schedule rpm builds.

VaiTon commented 2 years ago

Since the openSUSE TW repo is now obsolete, I've created an updated version at https://build.opensuse.org/package/show/home:VaiTon/koi

h3o66 commented 2 years ago

I created a repo for fedora 35+ as well. https://copr.fedorainfracloud.org/coprs/birkch/Koi/ I uploaded as well the latest version there.

baduhai commented 2 years ago

@VaiTon @h3o66 added links to readme :smile:.