* [PR PATCH] gtklock: update to 1.4.0
@ 2022-09-26 19:44 jovanlanik
2022-09-28 17:11 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: jovanlanik @ 2022-09-26 19:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
There is a new pull request by jovanlanik against master on the void-packages repository
https://github.com/jovanlanik/void-packages master
https://github.com/void-linux/void-packages/pull/39482
gtklock: update to 1.4.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/39482.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-39482.patch --]
[-- Type: text/x-diff, Size: 2854 bytes --]
From 307d653e3bcf6cf90bcd199b2604958750b741b9 Mon Sep 17 00:00:00 2001
From: Jovan Lanik <jox969@gmail.com>
Date: Mon, 26 Sep 2022 21:42:50 +0200
Subject: [PATCH] gtklock: update to 1.4.0
---
...7d5083b28ae955352710a2daf30d3497d229.patch | 31 -------------------
srcpkgs/gtklock/template | 6 ++--
2 files changed, 3 insertions(+), 34 deletions(-)
delete mode 100644 srcpkgs/gtklock/patches/45877d5083b28ae955352710a2daf30d3497d229.patch
diff --git a/srcpkgs/gtklock/patches/45877d5083b28ae955352710a2daf30d3497d229.patch b/srcpkgs/gtklock/patches/45877d5083b28ae955352710a2daf30d3497d229.patch
deleted file mode 100644
index 0f117cf02e04..000000000000
--- a/srcpkgs/gtklock/patches/45877d5083b28ae955352710a2daf30d3497d229.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 45877d5083b28ae955352710a2daf30d3497d229 Mon Sep 17 00:00:00 2001
-From: Jovan Lanik <jox969@gmail.com>
-Date: Thu, 22 Sep 2022 00:33:01 +0200
-Subject: [PATCH] fix old glib2 versions
-
----
- src/gtklock.c | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/src/gtklock.c b/src/gtklock.c
-index cc047ce..2faf66d 100644
---- a/src/gtklock.c
-+++ b/src/gtklock.c
-@@ -94,10 +94,16 @@ void gtklock_idle_show(struct GtkLock *gtklock) {
- gtklock->idle_hide_source = g_timeout_add_seconds(gtklock->idle_timeout, gtklock_idle_handler, gtklock);
- }
-
-+#if GLIB_CHECK_VERSION(2, 74, 0)
-+ #define GTKLOCK_FLAGS G_APPLICATION_DEFAULT_FLAGS
-+#else
-+ #define GTKLOCK_FLAGS G_APPLICATION_FLAGS_NONE
-+#endif
-+
- struct GtkLock* create_gtklock(void) {
- struct GtkLock *gtklock = g_malloc0(sizeof(struct GtkLock));
- if(!gtklock) report_error_and_exit("Failed allocation");
-- gtklock->app = gtk_application_new(NULL, G_APPLICATION_DEFAULT_FLAGS);
-+ gtklock->app = gtk_application_new(NULL, GTKLOCK_FLAGS);
- if(gtklock->use_layer_shell) g_application_hold(G_APPLICATION(gtklock->app));
- gtklock->windows = g_array_new(FALSE, TRUE, sizeof(struct Window *));
- gtklock->messages = g_array_new(FALSE, TRUE, sizeof(char *));
diff --git a/srcpkgs/gtklock/template b/srcpkgs/gtklock/template
index abb435f32844..d05a710dd6e2 100644
--- a/srcpkgs/gtklock/template
+++ b/srcpkgs/gtklock/template
@@ -1,7 +1,7 @@
# Template file for 'gtklock'
pkgname=gtklock
-version=1.3.7
-revision=2
+version=1.4.0
+revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config wayland-devel scdoc"
@@ -11,7 +11,7 @@ maintainer="Jovan Lanik <jox969@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/jovanlanik/gtklock"
distfiles="https://github.com/jovanlanik/gtklock/archive/refs/tags/v${version}.tar.gz"
-checksum=38dd6a37311aa080eb9508a8f485c290edbd5b8baeb2e43cdbdc268004a85833
+checksum=4aebf519c187eaf9dbfa1e4ecef69a806324ed287553a7a17ee8bbe7d555de29
post_install() {
# copying CSS example provided
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: gtklock: update to 1.4.0
2022-09-26 19:44 [PR PATCH] gtklock: update to 1.4.0 jovanlanik
@ 2022-09-28 17:11 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-09-28 17:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
There's a merged pull request on the void-packages repository
gtklock: update to 1.4.0
https://github.com/void-linux/void-packages/pull/39482
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-28 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 19:44 [PR PATCH] gtklock: update to 1.4.0 jovanlanik
2022-09-28 17:11 ` [PR PATCH] [Merged]: " classabbyamp
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).