Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gtkgreet-0.7
@ 2023-09-06 16:29 cinerea0
  2023-09-11 15:44 ` [PR PATCH] [Updated] " cinerea0
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: cinerea0 @ 2023-09-06 16:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

There is a new pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/45947

New package: gtkgreet-0.7
#### Testing the changes
- I tested the changes in this PR: **NO**

---

I've had this and `wlgreet` packaged but not tested for a while. Seeing #45918 spooked me so I'm opening this now. I will test this to my satisfaction and then change the above status.


A patch file from https://github.com/void-linux/void-packages/pull/45947.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-45947.patch --]
[-- Type: text/x-diff, Size: 2340 bytes --]

From 6260894164783003d2c68f642c4a7891b23eea4f Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Wed, 6 Sep 2023 12:24:53 -0400
Subject: [PATCH] New package: gtkgreet-0.7

---
 .../patches/update-deprecated-constant.patch    | 17 +++++++++++++++++
 srcpkgs/gtkgreet/template                       | 14 ++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/patches/update-deprecated-constant.patch b/srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
new file mode 100644
index 0000000000000..322b621738ec8
--- /dev/null
+++ b/srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
@@ -0,0 +1,17 @@
+From 725846edf6a22f495fdbb2972bb559563a90262b Mon Sep 17 00:00:00 2001
+From: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
+Date: Thu, 3 Nov 2022 12:45:49 +0100
+Subject: [PATCH] Update reference to deprecated constant
+diff --git a/gtkgreet/gtkgreet.c b/gtkgreet/gtkgreet.c
+index addad5a..1cbed1d 100644
+--- a/gtkgreet/gtkgreet.c
++++ b/gtkgreet/gtkgreet.c
+@@ -93,7 +93,7 @@ static int gtkgreet_update_clocks_handler(gpointer data) {
+ 
+ struct GtkGreet* create_gtkgreet() {
+     gtkgreet = calloc(1, sizeof(struct GtkGreet));
+-    gtkgreet->app = gtk_application_new("wtf.kl.gtkgreet", G_APPLICATION_FLAGS_NONE);
++    gtkgreet->app = gtk_application_new("wtf.kl.gtkgreet", G_APPLICATION_DEFAULT_FLAGS);
+     gtkgreet->windows = g_array_new(FALSE, TRUE, sizeof(struct Window*));
+     gtkgreet->question_cnt = 1;
+     return gtkgreet;
diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 0000000000000..46614d487617a
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -0,0 +1,14 @@
+# Template file for 'gtkgreet'
+pkgname=gtkgreet
+version=0.7
+revision=1
+build_style=meson
+hostmakedepends="pkg-config scdoc"
+makedepends="gtk+3-devel gtk-layer-shell-devel json-c-devel"
+depends="greetd"
+short_desc="Gtk greeter for greetd"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+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=eb4ba0e1e4f9cf888ce7b932b923f97521c2277032628cfc06bb86fecbad9373

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

* Re: [PR PATCH] [Updated] New package: gtkgreet-0.7
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
@ 2023-09-11 15:44 ` cinerea0
  2023-12-11  1:47 ` github-actions
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-09-11 15:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/45947

New package: gtkgreet-0.7
#### Testing the changes
- I tested the changes in this PR: **NO**

---

I've had this and `wlgreet` packaged but not tested for a while. Seeing #45918 spooked me so I'm opening this now. I will test this to my satisfaction and then change the above status.


A patch file from https://github.com/void-linux/void-packages/pull/45947.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-45947.patch --]
[-- Type: text/x-diff, Size: 3694 bytes --]

From 84ac8c8fb0fad629bdf74c64b7f2f4d7faef2766 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 11 Sep 2023 11:44:36 -0400
Subject: [PATCH] New package: gtkgreet-0.7

---
 srcpkgs/gtkgreet/patches/32-bit.patch         | 31 +++++++++++++++++++
 .../patches/update-deprecated-constant.patch  | 17 ++++++++++
 srcpkgs/gtkgreet/template                     | 14 +++++++++
 3 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/patches/32-bit.patch
 create mode 100644 srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/patches/32-bit.patch b/srcpkgs/gtkgreet/patches/32-bit.patch
new file mode 100644
index 0000000000000..f3221b7d8b914
--- /dev/null
+++ b/srcpkgs/gtkgreet/patches/32-bit.patch
@@ -0,0 +1,31 @@
+# Upstream: https://git.sr.ht/~kennylevinsen/gtkgreet/commit/3471aaaaee4619fd4aded85803b27b4a8dff41a6
+diff --git a/gtkgreet/proto.c b/gtkgreet/proto.c
+index 92619494a7..a527e85552 100644
+--- a/gtkgreet/proto.c
++++ b/gtkgreet/proto.c
+@@ -21,9 +21,13 @@ struct header {
+ 
+ static int write_req(int fd, struct json_object* req) {
+     const char* reqstr = json_object_get_string(req);
+-    uint32_t len = strlen(reqstr);
+-    char* headerp = (char*)&len;
+-    ssize_t off = 0;
++    size_t len = strlen(reqstr);
++    if (len > 0xFFFFFFFF) {
++	    goto error;
++    }
++    uint32_t header = len;
++    char* headerp = (char*)&header;
++    uint32_t off = 0;
+ 
+     while (off < 4) {
+         ssize_t n = write(fd, &headerp[off], 4-off);
+@@ -51,7 +55,7 @@ static struct json_object* read_resp(int fd) {
+     struct json_object* resp = NULL;
+     char *respstr = NULL;
+     uint32_t len;
+-    ssize_t off = 0;
++    uint32_t off = 0;
+ 
+     while (off < 4) {
+         char* headerp = (char*)&len;
diff --git a/srcpkgs/gtkgreet/patches/update-deprecated-constant.patch b/srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
new file mode 100644
index 0000000000000..322b621738ec8
--- /dev/null
+++ b/srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
@@ -0,0 +1,17 @@
+From 725846edf6a22f495fdbb2972bb559563a90262b Mon Sep 17 00:00:00 2001
+From: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
+Date: Thu, 3 Nov 2022 12:45:49 +0100
+Subject: [PATCH] Update reference to deprecated constant
+diff --git a/gtkgreet/gtkgreet.c b/gtkgreet/gtkgreet.c
+index addad5a..1cbed1d 100644
+--- a/gtkgreet/gtkgreet.c
++++ b/gtkgreet/gtkgreet.c
+@@ -93,7 +93,7 @@ static int gtkgreet_update_clocks_handler(gpointer data) {
+ 
+ struct GtkGreet* create_gtkgreet() {
+     gtkgreet = calloc(1, sizeof(struct GtkGreet));
+-    gtkgreet->app = gtk_application_new("wtf.kl.gtkgreet", G_APPLICATION_FLAGS_NONE);
++    gtkgreet->app = gtk_application_new("wtf.kl.gtkgreet", G_APPLICATION_DEFAULT_FLAGS);
+     gtkgreet->windows = g_array_new(FALSE, TRUE, sizeof(struct Window*));
+     gtkgreet->question_cnt = 1;
+     return gtkgreet;
diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 0000000000000..46614d487617a
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -0,0 +1,14 @@
+# Template file for 'gtkgreet'
+pkgname=gtkgreet
+version=0.7
+revision=1
+build_style=meson
+hostmakedepends="pkg-config scdoc"
+makedepends="gtk+3-devel gtk-layer-shell-devel json-c-devel"
+depends="greetd"
+short_desc="Gtk greeter for greetd"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+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=eb4ba0e1e4f9cf888ce7b932b923f97521c2277032628cfc06bb86fecbad9373

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

* Re: New package: gtkgreet-0.7
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
  2023-09-11 15:44 ` [PR PATCH] [Updated] " cinerea0
@ 2023-12-11  1:47 ` github-actions
  2023-12-12 21:17 ` [PR PATCH] [Updated] " cinerea0
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: github-actions @ 2023-12-11  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/45947#issuecomment-1849199483

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] New package: gtkgreet-0.7
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
  2023-09-11 15:44 ` [PR PATCH] [Updated] " cinerea0
  2023-12-11  1:47 ` github-actions
@ 2023-12-12 21:17 ` cinerea0
  2023-12-12 21:19 ` New package: gtkgreet-0.8 cinerea0
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-12-12 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/45947

New package: gtkgreet-0.7
#### Testing the changes
- I tested the changes in this PR: **NO**

---

I've had this and `wlgreet` packaged but not tested for a while. Seeing #45918 spooked me so I'm opening this now. I will test this to my satisfaction and then change the above status.


A patch file from https://github.com/void-linux/void-packages/pull/45947.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-45947.patch --]
[-- Type: text/x-diff, Size: 1043 bytes --]

From 8f82235e34423d8df002aa4a876942c1d8b308ee Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 12 Dec 2023 16:16:46 -0500
Subject: [PATCH] New package: gtkgreet-0.8

---
 srcpkgs/gtkgreet/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 0000000000000..c6a874fb67c8c
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -0,0 +1,14 @@
+# Template file for 'gtkgreet'
+pkgname=gtkgreet
+version=0.8
+revision=1
+build_style=meson
+hostmakedepends="pkg-config scdoc"
+makedepends="gtk+3-devel gtk-layer-shell-devel json-c-devel"
+depends="greetd"
+short_desc="Gtk greeter for greetd"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+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=e5c70219da191a60e2e009412603e05c36cee15bbbf7657dbbeaa1d21a692873

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

* Re: New package: gtkgreet-0.8
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
                   ` (2 preceding siblings ...)
  2023-12-12 21:17 ` [PR PATCH] [Updated] " cinerea0
@ 2023-12-12 21:19 ` cinerea0
  2024-01-06 23:37 ` [PR REVIEW] " classabbyamp
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2023-12-12 21:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

New comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/45947#issuecomment-1852827261

Comment:
I have tested this to my satisfaction, and it works as expected. A bit slow on startup, though.

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

* Re: [PR REVIEW] New package: gtkgreet-0.8
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
                   ` (3 preceding siblings ...)
  2023-12-12 21:19 ` New package: gtkgreet-0.8 cinerea0
@ 2024-01-06 23:37 ` classabbyamp
  2024-01-07  5:44 ` [PR PATCH] [Updated] " cinerea0
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-01-06 23:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45947#discussion_r1443874662

Comment:
```suggestion
homepage="https://git.sr.ht/~kennylevinsen/gtkgreet"
changelog="https://git.sr.ht/~kennylevinsen/gtkgreet/refs"
```

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

* Re: [PR PATCH] [Updated] New package: gtkgreet-0.8
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
                   ` (4 preceding siblings ...)
  2024-01-06 23:37 ` [PR REVIEW] " classabbyamp
@ 2024-01-07  5:44 ` cinerea0
  2024-01-07  5:50 ` [PR REVIEW] " cinerea0
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2024-01-07  5:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/45947

New package: gtkgreet-0.8
#### Testing the changes
- I tested the changes in this PR: **YES**

---

I've had this and `wlgreet` packaged but not tested for a while. Seeing #45918 spooked me so I'm opening this now. I will test this to my satisfaction and then change the above status.


A patch file from https://github.com/void-linux/void-packages/pull/45947.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-45947.patch --]
[-- Type: text/x-diff, Size: 1103 bytes --]

From c8b4fa7dd6e3db979282541e99cc99cf348f5e3c Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Sun, 7 Jan 2024 00:44:00 -0500
Subject: [PATCH] New package: gtkgreet-0.8

---
 srcpkgs/gtkgreet/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 0000000000000..565459de3927f
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -0,0 +1,15 @@
+# Template file for 'gtkgreet'
+pkgname=gtkgreet
+version=0.8
+revision=1
+build_style=meson
+hostmakedepends="pkg-config scdoc"
+makedepends="gtk+3-devel gtk-layer-shell-devel json-c-devel"
+depends="greetd"
+short_desc="Gtk greeter for greetd"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://git.sr.ht/~kennylevinsen/gtkgreet"
+changelog="https://git.sr.ht/~kennylevinsen/gtkgreet/refs"
+distfiles="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${version}.tar.gz"
+checksum=e5c70219da191a60e2e009412603e05c36cee15bbbf7657dbbeaa1d21a692873

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

* Re: [PR REVIEW] New package: gtkgreet-0.8
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
                   ` (5 preceding siblings ...)
  2024-01-07  5:44 ` [PR PATCH] [Updated] " cinerea0
@ 2024-01-07  5:50 ` cinerea0
  2024-01-07  5:58 ` [PR PATCH] [Updated] " cinerea0
  2024-01-07  6:03 ` [PR PATCH] [Merged]: " classabbyamp
  8 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2024-01-07  5:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New review comment by cinerea0 on void-packages repository

https://github.com/void-linux/void-packages/pull/45947#discussion_r1443939587

Comment:
Added in the latest push.

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

* Re: [PR PATCH] [Updated] New package: gtkgreet-0.8
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
                   ` (6 preceding siblings ...)
  2024-01-07  5:50 ` [PR REVIEW] " cinerea0
@ 2024-01-07  5:58 ` cinerea0
  2024-01-07  6:03 ` [PR PATCH] [Merged]: " classabbyamp
  8 siblings, 0 replies; 12+ messages in thread
From: cinerea0 @ 2024-01-07  5:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/45947

New package: gtkgreet-0.8
#### Testing the changes
- I tested the changes in this PR: **YES**

---

I've had this and `wlgreet` packaged but not tested for a while. Seeing #45918 spooked me so I'm opening this now. I will test this to my satisfaction and then change the above status.


A patch file from https://github.com/void-linux/void-packages/pull/45947.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-45947.patch --]
[-- Type: text/x-diff, Size: 1103 bytes --]

From 1c9e35468fe7dc1a98440ddca124c5b73bc958c6 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Sun, 7 Jan 2024 00:58:16 -0500
Subject: [PATCH] New package: gtkgreet-0.8

---
 srcpkgs/gtkgreet/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 0000000000000..565459de3927f
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -0,0 +1,15 @@
+# Template file for 'gtkgreet'
+pkgname=gtkgreet
+version=0.8
+revision=1
+build_style=meson
+hostmakedepends="pkg-config scdoc"
+makedepends="gtk+3-devel gtk-layer-shell-devel json-c-devel"
+depends="greetd"
+short_desc="Gtk greeter for greetd"
+maintainer="cinerea0 <cinerea0@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://git.sr.ht/~kennylevinsen/gtkgreet"
+changelog="https://git.sr.ht/~kennylevinsen/gtkgreet/refs"
+distfiles="https://git.sr.ht/~kennylevinsen/gtkgreet/archive/${version}.tar.gz"
+checksum=e5c70219da191a60e2e009412603e05c36cee15bbbf7657dbbeaa1d21a692873

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

* Re: [PR PATCH] [Merged]: New package: gtkgreet-0.8
  2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
                   ` (7 preceding siblings ...)
  2024-01-07  5:58 ` [PR PATCH] [Updated] " cinerea0
@ 2024-01-07  6:03 ` classabbyamp
  8 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-01-07  6:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

There's a merged pull request on the void-packages repository

New package: gtkgreet-0.8
https://github.com/void-linux/void-packages/pull/45947

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

---

I've had this and `wlgreet` packaged but not tested for a while. Seeing #45918 spooked me so I'm opening this now. I will test this to my satisfaction and then change the above status.


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

* Re: [PR PATCH] [Updated] New package: gtkgreet-0.7
  2020-04-11  9:40 [PR PATCH] New package: gtkgreet-0.5 travankor
  2021-01-25 13:23 ` [PR PATCH] [Updated] New package: gtkgreet-0.7 travankor
@ 2021-01-25 13:39 ` travankor
  1 sibling, 0 replies; 12+ messages in thread
From: travankor @ 2021-01-25 13:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/20873

New package: gtkgreet-0.7
None

A patch file from https://github.com/void-linux/void-packages/pull/20873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-20873.patch --]
[-- Type: text/x-diff, Size: 6641 bytes --]

From acb8debb80759706ceb3b7d5792b65cd1369b2ce Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Sat, 11 Apr 2020 12:01:26 -0700
Subject: [PATCH 1/4] New package: greetd-0.7.0

---
 srcpkgs/greetd/INSTALL.msg      |  1 +
 srcpkgs/greetd/files/greetd.pam |  7 +++++
 srcpkgs/greetd/files/greetd/run |  2 ++
 srcpkgs/greetd/template         | 49 +++++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/greetd/INSTALL.msg
 create mode 100644 srcpkgs/greetd/files/greetd.pam
 create mode 100644 srcpkgs/greetd/files/greetd/run
 create mode 100644 srcpkgs/greetd/template

diff --git a/srcpkgs/greetd/INSTALL.msg b/srcpkgs/greetd/INSTALL.msg
new file mode 100644
index 00000000000..64dbef9c4d5
--- /dev/null
+++ b/srcpkgs/greetd/INSTALL.msg
@@ -0,0 +1 @@
+In order for agreety to work correctly, disable the agetty service for the tty
diff --git a/srcpkgs/greetd/files/greetd.pam b/srcpkgs/greetd/files/greetd.pam
new file mode 100644
index 00000000000..1960d9497c0
--- /dev/null
+++ b/srcpkgs/greetd/files/greetd.pam
@@ -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
diff --git a/srcpkgs/greetd/files/greetd/run b/srcpkgs/greetd/files/greetd/run
new file mode 100644
index 00000000000..3dba0cda3ec
--- /dev/null
+++ b/srcpkgs/greetd/files/greetd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec greetd
diff --git a/srcpkgs/greetd/template b/srcpkgs/greetd/template
new file mode 100644
index 00000000000..186cb98cb2b
--- /dev/null
+++ b/srcpkgs/greetd/template
@@ -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
+}
+
+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
+}

From f9b7d52612f8c1fe67e26235668c5a065b0b0e6b Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Sat, 11 Apr 2020 12:01:29 -0700
Subject: [PATCH 2/4] New package: gtkgreet-0.7

---
 srcpkgs/gtkgreet/patches/native_scdoc.patch | 11 +++++++++++
 srcpkgs/gtkgreet/template                   | 14 ++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/patches/native_scdoc.patch
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/patches/native_scdoc.patch b/srcpkgs/gtkgreet/patches/native_scdoc.patch
new file mode 100644
index 00000000000..c8006d4ee5e
--- /dev/null
+++ b/srcpkgs/gtkgreet/patches/native_scdoc.patch
@@ -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')
diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 00000000000..fd2347ef477
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -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

From dec6b96c1e1b1e8f2df1fa4a8533eee2ef91924b Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 25 Jan 2021 06:22:32 -0700
Subject: [PATCH 3/4] New package: wlgreet-0.3

---
 srcpkgs/wlgreet/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/wlgreet/template

diff --git a/srcpkgs/wlgreet/template b/srcpkgs/wlgreet/template
new file mode 100644
index 00000000000..a32ebcb5b5a
--- /dev/null
+++ b/srcpkgs/wlgreet/template
@@ -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

From f21b7d71671c963faecb6873192b545f7e72ff5d Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 25 Jan 2021 06:22:27 -0700
Subject: [PATCH 4/4] New package: tuigreet-0.2.0

---
 srcpkgs/tuigreet/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/tuigreet/template

diff --git a/srcpkgs/tuigreet/template b/srcpkgs/tuigreet/template
new file mode 100644
index 00000000000..5438ac8aead
--- /dev/null
+++ b/srcpkgs/tuigreet/template
@@ -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

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

* Re: [PR PATCH] [Updated] New package: gtkgreet-0.7
  2020-04-11  9:40 [PR PATCH] New package: gtkgreet-0.5 travankor
@ 2021-01-25 13:23 ` travankor
  2021-01-25 13:39 ` travankor
  1 sibling, 0 replies; 12+ messages in thread
From: travankor @ 2021-01-25 13:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages gtkgreet
https://github.com/void-linux/void-packages/pull/20873

New package: gtkgreet-0.7
None

A patch file from https://github.com/void-linux/void-packages/pull/20873.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gtkgreet-20873.patch --]
[-- Type: text/x-diff, Size: 6642 bytes --]

From acb8debb80759706ceb3b7d5792b65cd1369b2ce Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Sat, 11 Apr 2020 12:01:26 -0700
Subject: [PATCH 1/4] New package: greetd-0.7.0

---
 srcpkgs/greetd/INSTALL.msg      |  1 +
 srcpkgs/greetd/files/greetd.pam |  7 +++++
 srcpkgs/greetd/files/greetd/run |  2 ++
 srcpkgs/greetd/template         | 49 +++++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/greetd/INSTALL.msg
 create mode 100644 srcpkgs/greetd/files/greetd.pam
 create mode 100644 srcpkgs/greetd/files/greetd/run
 create mode 100644 srcpkgs/greetd/template

diff --git a/srcpkgs/greetd/INSTALL.msg b/srcpkgs/greetd/INSTALL.msg
new file mode 100644
index 00000000000..64dbef9c4d5
--- /dev/null
+++ b/srcpkgs/greetd/INSTALL.msg
@@ -0,0 +1 @@
+In order for agreety to work correctly, disable the agetty service for the tty
diff --git a/srcpkgs/greetd/files/greetd.pam b/srcpkgs/greetd/files/greetd.pam
new file mode 100644
index 00000000000..1960d9497c0
--- /dev/null
+++ b/srcpkgs/greetd/files/greetd.pam
@@ -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
diff --git a/srcpkgs/greetd/files/greetd/run b/srcpkgs/greetd/files/greetd/run
new file mode 100644
index 00000000000..3dba0cda3ec
--- /dev/null
+++ b/srcpkgs/greetd/files/greetd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec greetd
diff --git a/srcpkgs/greetd/template b/srcpkgs/greetd/template
new file mode 100644
index 00000000000..186cb98cb2b
--- /dev/null
+++ b/srcpkgs/greetd/template
@@ -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
+}
+
+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
+}

From f9b7d52612f8c1fe67e26235668c5a065b0b0e6b Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Sat, 11 Apr 2020 12:01:29 -0700
Subject: [PATCH 2/4] New package: gtkgreet-0.7

---
 srcpkgs/gtkgreet/patches/native_scdoc.patch | 11 +++++++++++
 srcpkgs/gtkgreet/template                   | 14 ++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/gtkgreet/patches/native_scdoc.patch
 create mode 100644 srcpkgs/gtkgreet/template

diff --git a/srcpkgs/gtkgreet/patches/native_scdoc.patch b/srcpkgs/gtkgreet/patches/native_scdoc.patch
new file mode 100644
index 00000000000..c8006d4ee5e
--- /dev/null
+++ b/srcpkgs/gtkgreet/patches/native_scdoc.patch
@@ -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')
diff --git a/srcpkgs/gtkgreet/template b/srcpkgs/gtkgreet/template
new file mode 100644
index 00000000000..fd2347ef477
--- /dev/null
+++ b/srcpkgs/gtkgreet/template
@@ -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

From 8a2fb58186f2d8860c621e8ed2caa29845c9d91d Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 25 Jan 2021 06:22:27 -0700
Subject: [PATCH 3/4] New package: tuigreet-0.2.0

---
 srcpkgs/tuigreet/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/tuigreet/template

diff --git a/srcpkgs/tuigreet/template b/srcpkgs/tuigreet/template
new file mode 100644
index 00000000000..0fe24c99406
--- /dev/null
+++ b/srcpkgs/tuigreet/template
@@ -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

From 1c38bb1bbb63bb508d0434cb73a6a189a1ad3856 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Mon, 25 Jan 2021 06:22:32 -0700
Subject: [PATCH 4/4] New package: wlgreet-0.3

---
 srcpkgs/wlgreet/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/wlgreet/template

diff --git a/srcpkgs/wlgreet/template b/srcpkgs/wlgreet/template
new file mode 100644
index 00000000000..a32ebcb5b5a
--- /dev/null
+++ b/srcpkgs/wlgreet/template
@@ -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

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

end of thread, other threads:[~2024-01-07  6:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 16:29 [PR PATCH] New package: gtkgreet-0.7 cinerea0
2023-09-11 15:44 ` [PR PATCH] [Updated] " cinerea0
2023-12-11  1:47 ` github-actions
2023-12-12 21:17 ` [PR PATCH] [Updated] " cinerea0
2023-12-12 21:19 ` New package: gtkgreet-0.8 cinerea0
2024-01-06 23:37 ` [PR REVIEW] " classabbyamp
2024-01-07  5:44 ` [PR PATCH] [Updated] " cinerea0
2024-01-07  5:50 ` [PR REVIEW] " cinerea0
2024-01-07  5:58 ` [PR PATCH] [Updated] " cinerea0
2024-01-07  6:03 ` [PR PATCH] [Merged]: " classabbyamp
  -- strict thread matches above, loose matches on Subject: below --
2020-04-11  9:40 [PR PATCH] New package: gtkgreet-0.5 travankor
2021-01-25 13:23 ` [PR PATCH] [Updated] New package: gtkgreet-0.7 travankor
2021-01-25 13:39 ` travankor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).