public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/ReGreet/, app-text/ReGreet/files/
@ 2023-07-05  7:44 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 2+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-05  7:44 UTC (permalink / raw
  To: gentoo-commits

commit:     6b6c5ccc46104c688f6f0a5ec920ab21bc24e2e9
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jul  5 07:41:54 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jul  5 07:41:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b6c5ccc

app-text/ReGreet: new package, add 9999

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/ReGreet/ReGreet-9999.ebuild    | 68 +++++++++++++++++++++++++++++++++
 app-text/ReGreet/files/config-cage.toml |  6 +++
 app-text/ReGreet/files/config-sway.toml |  6 +++
 app-text/ReGreet/files/sway-config      |  2 +
 app-text/ReGreet/metadata.xml           | 12 ++++++
 5 files changed, 94 insertions(+)

diff --git a/app-text/ReGreet/ReGreet-9999.ebuild b/app-text/ReGreet/ReGreet-9999.ebuild
new file mode 100644
index 000000000..2505acaef
--- /dev/null
+++ b/app-text/ReGreet/ReGreet-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cargo git-r3 
+
+EGIT_REPO_URI="https://github.com/rharish101/ReGreet.git"
+
+DESCRIPTION="A clean and customizable GTK-based greetd greeter written in Rust"
+HOMEPAGE="https://github.com/rharish101/ReGreet"
+
+LICENSE="GPL-3"
+SLOT="0"
+DEPEND="x11-libs/gtk+:3
+        gtk4? ( gui-libs/gtk )
+        cage? ( gui-wm/cage )
+        sway? ( gui-wm/sway )
+        || ( gui-wm/cage gui-wm/sway )"
+RDEPEND="
+	${DEPEND}
+	gui-libs/greetd
+"
+BDEPEND="
+	virtual/rust
+"
+IUSE="gtk4 logs cage sway"
+REQUIRED_USE="|| ( cage sway ) cage? ( !sway ) sway? ( !cage )"
+
+KEYWORDS="~amd64~x86"
+
+src_unpack() {
+    git-r3_src_unpack 
+    cargo_live_src_unpack
+}
+
+src_configure() {
+    if use gtk4; then
+        local myfeatures=(
+            gtk4_8
+        )
+    fi
+    cargo_src_configure
+}
+
+src_compile() {
+    cargo_src_compile
+}
+
+src_install() {
+    newbin ${WORKDIR}/${P}/target/release/regreet regreet
+    if use cage; then
+        insinto /etc/greetd/ && newins ${FILESDIR}/config-cage.toml config.toml
+        echo "Restart cage service to verify if works (Only activate on TTY1)"
+    fi
+    if use sway; then
+        insinto /etc/greetd/ && newins ${FILESDIR}/config-sway.toml config.toml
+        insinto /etc/greetd/ && doins ${FILESDIR}/sway-config
+        echo "Restart cage service to verify if works (Only activate on TTY1)"
+    fi
+}
+
+src_post_install () {
+    if use logs; then
+        insinto /etc/tmpfiles.d/ && newins ${WORKDIR}/${P}/systemd-tmpfiles.conf regreet.conf
+        systemd-tmpfiles --create "$PWD/systemd-tmpfiles.conf"
+    fi
+}
\ No newline at end of file

diff --git a/app-text/ReGreet/files/config-cage.toml b/app-text/ReGreet/files/config-cage.toml
new file mode 100644
index 000000000..f363ab6da
--- /dev/null
+++ b/app-text/ReGreet/files/config-cage.toml
@@ -0,0 +1,6 @@
+[terminal]
+vt = 1
+
+[default_session]
+command = "cage -s -- regreet"
+user = "greetd"
\ No newline at end of file

diff --git a/app-text/ReGreet/files/config-sway.toml b/app-text/ReGreet/files/config-sway.toml
new file mode 100644
index 000000000..d8b8f2c1a
--- /dev/null
+++ b/app-text/ReGreet/files/config-sway.toml
@@ -0,0 +1,6 @@
+[terminal]
+vt = 1
+
+[default_session]
+command = "sway --config /etc/greetd/config-sway"
+user = "greetd"
\ No newline at end of file

diff --git a/app-text/ReGreet/files/sway-config b/app-text/ReGreet/files/sway-config
new file mode 100644
index 000000000..0d9eae454
--- /dev/null
+++ b/app-text/ReGreet/files/sway-config
@@ -0,0 +1,2 @@
+exec "regreet; swaymsg exit"
+include /etc/sway/config.d/*
\ No newline at end of file

diff --git a/app-text/ReGreet/metadata.xml b/app-text/ReGreet/metadata.xml
new file mode 100644
index 000000000..23d69ba06
--- /dev/null
+++ b/app-text/ReGreet/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<use>
+		<flag name="gtk4">Compile with support for gtk4</flag>
+		<flag name="cage">Use cage to start ReGreet</flag>
+		<flag name="sway">Use sway to start ReGreet</flag>
+	</use>
+    <upstream>
+        <remote-id type="github">rharish101/ReGreet</remote-id>
+    </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/ReGreet/, app-text/ReGreet/files/
@ 2023-07-05  8:00 Gonçalo Negrier Duarte
  0 siblings, 0 replies; 2+ messages in thread
From: Gonçalo Negrier Duarte @ 2023-07-05  8:00 UTC (permalink / raw
  To: gentoo-commits

commit:     8b30a89077513fb2bd60d6d2fce9292de62592ab
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jul  5 07:59:35 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jul  5 07:59:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8b30a890

app-text/ReGreet: treeclean

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/ReGreet/ReGreet-9999.ebuild    | 68 ---------------------------------
 app-text/ReGreet/files/config-cage.toml |  6 ---
 app-text/ReGreet/files/config-sway.toml |  6 ---
 app-text/ReGreet/files/sway-config      |  2 -
 app-text/ReGreet/metadata.xml           | 12 ------
 5 files changed, 94 deletions(-)

diff --git a/app-text/ReGreet/ReGreet-9999.ebuild b/app-text/ReGreet/ReGreet-9999.ebuild
deleted file mode 100644
index 2505acaef..000000000
--- a/app-text/ReGreet/ReGreet-9999.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cargo git-r3 
-
-EGIT_REPO_URI="https://github.com/rharish101/ReGreet.git"
-
-DESCRIPTION="A clean and customizable GTK-based greetd greeter written in Rust"
-HOMEPAGE="https://github.com/rharish101/ReGreet"
-
-LICENSE="GPL-3"
-SLOT="0"
-DEPEND="x11-libs/gtk+:3
-        gtk4? ( gui-libs/gtk )
-        cage? ( gui-wm/cage )
-        sway? ( gui-wm/sway )
-        || ( gui-wm/cage gui-wm/sway )"
-RDEPEND="
-	${DEPEND}
-	gui-libs/greetd
-"
-BDEPEND="
-	virtual/rust
-"
-IUSE="gtk4 logs cage sway"
-REQUIRED_USE="|| ( cage sway ) cage? ( !sway ) sway? ( !cage )"
-
-KEYWORDS="~amd64~x86"
-
-src_unpack() {
-    git-r3_src_unpack 
-    cargo_live_src_unpack
-}
-
-src_configure() {
-    if use gtk4; then
-        local myfeatures=(
-            gtk4_8
-        )
-    fi
-    cargo_src_configure
-}
-
-src_compile() {
-    cargo_src_compile
-}
-
-src_install() {
-    newbin ${WORKDIR}/${P}/target/release/regreet regreet
-    if use cage; then
-        insinto /etc/greetd/ && newins ${FILESDIR}/config-cage.toml config.toml
-        echo "Restart cage service to verify if works (Only activate on TTY1)"
-    fi
-    if use sway; then
-        insinto /etc/greetd/ && newins ${FILESDIR}/config-sway.toml config.toml
-        insinto /etc/greetd/ && doins ${FILESDIR}/sway-config
-        echo "Restart cage service to verify if works (Only activate on TTY1)"
-    fi
-}
-
-src_post_install () {
-    if use logs; then
-        insinto /etc/tmpfiles.d/ && newins ${WORKDIR}/${P}/systemd-tmpfiles.conf regreet.conf
-        systemd-tmpfiles --create "$PWD/systemd-tmpfiles.conf"
-    fi
-}
\ No newline at end of file

diff --git a/app-text/ReGreet/files/config-cage.toml b/app-text/ReGreet/files/config-cage.toml
deleted file mode 100644
index f363ab6da..000000000
--- a/app-text/ReGreet/files/config-cage.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[terminal]
-vt = 1
-
-[default_session]
-command = "cage -s -- regreet"
-user = "greetd"
\ No newline at end of file

diff --git a/app-text/ReGreet/files/config-sway.toml b/app-text/ReGreet/files/config-sway.toml
deleted file mode 100644
index d8b8f2c1a..000000000
--- a/app-text/ReGreet/files/config-sway.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[terminal]
-vt = 1
-
-[default_session]
-command = "sway --config /etc/greetd/config-sway"
-user = "greetd"
\ No newline at end of file

diff --git a/app-text/ReGreet/files/sway-config b/app-text/ReGreet/files/sway-config
deleted file mode 100644
index 0d9eae454..000000000
--- a/app-text/ReGreet/files/sway-config
+++ /dev/null
@@ -1,2 +0,0 @@
-exec "regreet; swaymsg exit"
-include /etc/sway/config.d/*
\ No newline at end of file

diff --git a/app-text/ReGreet/metadata.xml b/app-text/ReGreet/metadata.xml
deleted file mode 100644
index 23d69ba06..000000000
--- a/app-text/ReGreet/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<use>
-		<flag name="gtk4">Compile with support for gtk4</flag>
-		<flag name="cage">Use cage to start ReGreet</flag>
-		<flag name="sway">Use sway to start ReGreet</flag>
-	</use>
-    <upstream>
-        <remote-id type="github">rharish101/ReGreet</remote-id>
-    </upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-05  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05  8:00 [gentoo-commits] repo/proj/guru:dev commit in: app-text/ReGreet/, app-text/ReGreet/files/ Gonçalo Negrier Duarte
  -- strict thread matches above, loose matches on Subject: below --
2023-07-05  7:44 Gonçalo Negrier Duarte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox