Skip to content

Commit

Permalink
New package: gtkgreet-0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
cinerea0 committed Sep 6, 2023
1 parent 49771ba commit 6260894
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions srcpkgs/gtkgreet/patches/update-deprecated-constant.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
From 725846edf6a22f495fdbb2972bb559563a90262b Mon Sep 17 00:00:00 2001
From: Hugo Osvaldo Barrera <[email protected]>
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;
14 changes: 14 additions & 0 deletions srcpkgs/gtkgreet/template
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+3-devel gtk-layer-shell-devel json-c-devel"
depends="greetd"
short_desc="Gtk greeter for greetd"
maintainer="cinerea0 <[email protected]>"
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

0 comments on commit 6260894

Please sign in to comment.