From: tibequadorian <tibequadorian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] geoclue2: update to 2.6.0 + enable it for redshift.
Date: Sat, 26 Feb 2022 01:35:43 +0100 [thread overview]
Message-ID: <20220226003543.DdmYjuow3Won93N8PJOmG9woKrmLCXQETViQs8btt38@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35785@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
There is an updated pull request by tibequadorian against master on the void-packages repository
https://github.com/tibequadorian/void-packages geoclue
https://github.com/void-linux/void-packages/pull/35785
geoclue2: update to 2.6.0 + enable it for redshift.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
imo the geoclue2 build option is useless because it's no hard dependency and redshift will work fine without it if you change the provider to "manual" in `redshift.conf`, but I'll leave it for now...
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/35785.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-geoclue-35785.patch --]
[-- Type: text/x-diff, Size: 3219 bytes --]
From d48922d52ea21e731aebe5174a32cd25e25ebe0f Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 22 Feb 2022 18:53:04 +0100
Subject: [PATCH 1/2] geoclue2: update to 2.6.0.
---
srcpkgs/geoclue2/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/geoclue2/template b/srcpkgs/geoclue2/template
index a6563e3aa517..79f0b921c31a 100644
--- a/srcpkgs/geoclue2/template
+++ b/srcpkgs/geoclue2/template
@@ -1,22 +1,23 @@
# Template file for 'geoclue2'
pkgname=geoclue2
-version=2.5.6
+version=2.6.0
revision=1
wrksrc="geoclue-${version}"
build_style=meson
build_helper="gir"
configure_args="-Ddbus-srv-user=_geoclue2 -Dgtk-doc=false
- -Dintrospection=$(vopt_if gir true false)"
+ $(vopt_bool gir introspection)"
conf_files="/etc/geoclue/geoclue.conf"
-hostmakedepends="glib-devel intltool pkg-config"
-makedepends="ModemManager-devel avahi-glib-libs-devel eudev-libudev-devel
+hostmakedepends="glib-devel intltool pkg-config vala"
+makedepends="ModemManager-devel avahi-glib-libs-devel
json-glib-devel libsoup-gnome-devel libnotify-devel"
short_desc="Geoinformation Service (2.x series)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home"
+changelog="https://gitlab.freedesktop.org/geoclue/geoclue/-/raw/master/NEWS"
distfiles="https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${version}/geoclue-${version}.tar.bz2"
-checksum=b310e6ea86c695046e6069a728a2dd65989619827a730f90ec4bfdab4a1f0329
+checksum=cdc9efcb98ce81284d7a6c3c899330481ffdca44bba3c18b9e530618298aa4a0
system_accounts="_geoclue2"
lib32disabled=yes
From 5aaa4f59b219b3fc3e015f7f0639a8ab74f95152 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 22 Feb 2022 19:01:28 +0100
Subject: [PATCH 2/2] redshift: enable geoclue2
remove geoclue2 build option
---
srcpkgs/redshift/template | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/redshift/template b/srcpkgs/redshift/template
index 44749f0e9041..f5ee9d563bd6 100644
--- a/srcpkgs/redshift/template
+++ b/srcpkgs/redshift/template
@@ -1,20 +1,17 @@
# Template file for 'redshift'
pkgname=redshift
version=1.12
-revision=5
+revision=6
build_style=gnu-configure
-configure_args="--enable-gui --disable-geoclue $(vopt_enable geoclue2)"
+configure_args="--enable-gui --enable-geoclue2"
hostmakedepends="gettext-devel intltool pkg-config python3-devel"
-makedepends="libXxf86vm-devel libdrm-devel $(vopt_if geoclue2 'geoclue2
- glib-devel')"
-depends="$(vopt_if geoclue2 'geoclue2')"
+makedepends="libXxf86vm-devel libdrm-devel geoclue2 glib-devel"
short_desc="Adjusts the color temperature of your screen to your surroundings"
maintainer="tibequadorian <tibequadorian@posteo.de>"
license="GPL-3.0-or-later"
homepage="http://jonls.dk/redshift/"
distfiles="https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz"
checksum=d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba
-build_options="geoclue2"
redshift-gtk_package() {
depends="${sourcepkg}-${version}_${revision} gtk+3 python3-gobject
next prev parent reply other threads:[~2022-02-26 0:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 18:10 [PR PATCH] geoclue2: update to 2.6.0. " tibequadorian
2022-02-26 0:27 ` [PR REVIEW] geoclue2: update to 2.6.0 " Piraty
2022-02-26 0:35 ` tibequadorian [this message]
2022-02-26 0:39 ` [PR PATCH] [Updated] " tibequadorian
2022-02-26 0:53 ` [PR PATCH] [Closed]: " Piraty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220226003543.DdmYjuow3Won93N8PJOmG9woKrmLCXQETViQs8btt38@z \
--to=tibequadorian@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).