Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: containers, nix, appman, flatseal and redshift #68

Merged
merged 35 commits into from
Aug 14, 2024

Conversation

D-Brox
Copy link
Member

@D-Brox D-Brox commented Jun 21, 2024

plus some small fixes and QoL improvements

plus some small fixes and QoL improvements
Copy link
Member Author

@D-Brox D-Brox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still requires some testing of the nix setup.

And replacing Zap with AppMan.

src/containers.rs Outdated Show resolved Hide resolved
src/containers.rs Outdated Show resolved Hide resolved
src/containers.rs Outdated Show resolved Hide resolved
src/containers.rs Outdated Show resolved Hide resolved
@ajstrongdev
Copy link
Member

To be discussed: When Flatpak (regular/beta channel) is enabled, give the user an option to install flatseal from flathub?

https://flathub.org/apps/com.github.tchx84.Flatseal - Flatseal is an application used to manage flatpak permissions.

@D-Brox D-Brox changed the title feat: containers, nix, zap and redshift feat: containers, nix, appman, flatseal and redshift Jul 26, 2024
@oklopfer
Copy link
Member

oklopfer commented Aug 9, 2024

pkgname="rhino-setup-git"
source=("https://github.com/D-Brox/rhino-setup.git#branch=feat/containers")
pkgver="2024.1"
pkgrel="1"
makedepends=("libgtk-4-dev" "libadwaita-1-dev" "gettext" "desktop-file-utils" "rustc" "cargo" "meson" "ninja-build")
depends=("libgtk-4-dev" "libadwaita-1-dev" "gettext" "desktop-file-utils")
gives="rhino-setup"
replaces="${gives}-bin"
pkgdesc="Rhino Linux Setup Prompt"
maintainer=("Oren Klopfer <[email protected]>")
external_connection=true
incompatible=("debian:*")

build() {
  cd "${gives}"
  meson build
  mkdir -p "${pkgdir}/etc/skel/.config/autostart"
}

package() {
  cd "${gives}"
  DESTDIR="${pkgdir}" ninja -C build install
  ln -sf "/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop" "${pkgdir}/etc/skel/.config/autostart/rhino-setup.desktop"
}

post_install() {
  mkdir -p "${homedir}/.config/autostart"
  if ! [[ -f "${homedir}/.config/autostart/rhino-setup.desktop" ]]; then
    sudo ln -sf "/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop" "${homedir}/.config/autostart/rhino-setup.desktop"
  fi
}

post_remove() {
  if [[ -L "${homedir}/.config/autostart/rhino-setup.desktop" ]]; then
    sudo rm -f "${homedir}/.config/autostart/rhino-setup.desktop"
  fi
}

@oklopfer oklopfer changed the base branch from master to 2024.2 August 14, 2024 01:14
@oklopfer oklopfer marked this pull request as ready for review August 14, 2024 01:16
@oklopfer oklopfer merged commit e16f48d into rhino-linux:2024.2 Aug 14, 2024
5 checks passed
oklopfer added a commit that referenced this pull request Aug 14, 2024
* feat: containers, nix, zap and redshift (#68)
plus some small fixes and QoL improvements

* chore: update versions

* chore: cargo fmt

* chore: cargo clippy

* fix: cargo clippy again
I hate clippy pedantic

* fix: cargo fmt once more
Did I mention I hate clippy pedantic?

* chan: replace zap with appman

* fix: arch and apt/pacstall container packages

* fix: `-Q` flag

* feat: add flatseal
also fmt, clippy and devel profile fixes

* ref: no need to git clone

* fix: cargo fmt, yet again

* upd: relm4 v0.9

* fix: `time` on rust 1.80 regression

* fix: docker as user, remove docker-desktop

* fix: shell commands

* fix: `tabs` command issue on `pacstall -U`

* fix: cleanups

* fix: yeet theme page

* add: old english runes (#71)

---------

Co-authored-by: David Brochero <[email protected]>
Co-authored-by: Elsie <[email protected]>
Co-authored-by: oklopfer <[email protected]>
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.

3 participants