-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
New package: gtkgreet-0.7 #20873
New package: gtkgreet-0.7 #20873
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
In order for agreety to work correctly, disable the agetty service for the tty | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#%PAM-1.0 | ||
|
||
auth required pam_securetty.so | ||
auth requisite pam_nologin.so | ||
auth include system-local-login | ||
account include system-local-login | ||
session include system-local-login |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
exec greetd |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Template file for 'greetd' | ||
pkgname=greetd | ||
version=0.7.0 | ||
revision=1 | ||
build_style=cargo | ||
conf_files="/etc/greetd/greetd.conf" | ||
hostmakedepends="scdoc" | ||
makedepends="pam-devel" | ||
short_desc="Minimal and flexible login manager daemon" | ||
maintainer="travankor <travankor@tuta.io>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://git.sr.ht/~kennylevinsen/greetd" | ||
distfiles="https://git.sr.ht/~kennylevinsen/greetd/archive/${version}.tar.gz" | ||
checksum=c84214490479f291ed3f27424e6c020a9f3115f5745c90a05f7508999b1b69a3 | ||
|
||
system_accounts="_greeter" | ||
_greeter_groups="video" | ||
|
||
pre_build() { | ||
# Void accounts are prefixed with underscore | ||
vsed -i "16s/greeter/_greeter/" config.toml | ||
|
||
for i in man/*.scd; do | ||
scdoc < "$i" > "${i:: -4}" | ||
done | ||
|
||
for f in man/*-[0-9]; do | ||
num="${f: -1}" | ||
mv "$f" "${f/-$num/.$num}" | ||
done | ||
Comment on lines
+23
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Ah, cargo |
||
} | ||
|
||
do_install() { | ||
vbin "target/${RUST_TARGET}/release/agreety" | ||
vbin "target/${RUST_TARGET}/release/fakegreet" | ||
vbin "target/${RUST_TARGET}/release/greetd" | ||
vinstall ${FILESDIR}/greetd.pam 644 etc/pam.d/ | ||
vinstall config.toml 644 etc/greetd/ greetd.conf | ||
vsv greetd | ||
|
||
for i in man/*.[0-9]; do | ||
vman "$i" | ||
done | ||
} | ||
|
||
post_install() { | ||
rm -f "${DESTDIR}"/usr/.crates.toml | ||
rm -f "${DESTDIR}"/usr/.crates2.json | ||
Comment on lines
+47
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How is this ever copied there?? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is normally part of |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- meson.build 2020-05-26 00:34:49.046352613 -0700 | ||
+++ meson.build 2020-05-26 00:36:29.910154222 -0700 | ||
@@ -16,7 +16,7 @@ | ||
|
||
subdir('gtkgreet') | ||
|
||
-scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7') | ||
+scdoc = dependency('scdoc', native:true, required: get_option('man-pages'), version: '>= 1.9.7') | ||
|
||
if scdoc.found() | ||
sh = find_program('sh') |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Template file for 'gtkgreet' | ||
pkgname=gtkgreet | ||
version=0.7 | ||
revision=1 | ||
build_style=meson | ||
hostmakedepends="pkg-config scdoc" | ||
makedepends="gtk-layer-shell-devel json-c-devel" | ||
depends="greetd" | ||
short_desc="GTK based greeter for greetd" | ||
maintainer="travankor <travankor@tuta.io>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://git.sr.ht/~kennylevinsen/gtkgreet" | ||
distfiles="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${version}.tar.gz" | ||
checksum=85b76deb53899ae322f729aaae2065c788a7acd03fef4f7bd4b5d75b6158b921 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Template file for 'tuigreet' | ||
pkgname=tuigreet | ||
version=0.2.0 | ||
revision=1 | ||
build_style=cargo | ||
depends="greetd" | ||
short_desc="Graphical console greeter for greetd" | ||
maintainer="travankor <travankor@tuta.io>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://github.com/apognu/tuigreet" | ||
distfiles="https://github.com/apognu/tuigreet/archive/${version}.tar.gz" | ||
checksum=40784a8eb2d44e956b31d3a36604e6ae0b740938eb4d94134b9881e570caa551 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Template file for 'wlgreet' | ||
pkgname=wlgreet | ||
version=0.3 | ||
revision=1 | ||
build_style=cargo | ||
depends="greetd" | ||
short_desc="Raw wayland greeter for greetd" | ||
maintainer="travankor <travankor@tuta.io>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://git.sr.ht/~kennylevinsen/wlgreet" | ||
distfiles="https://git.sr.ht/~kennylevinsen/wlgreet/archive/${version}.tar.gz" | ||
checksum=d484411c8f61648901a4e8f8de6f0424a6bf2c9a951b4ff97e234318febaecac |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this is relevant on the latest version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe should be added to
README.voidlinux
instead of INSTALL.msg