Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] geoclue2: update to 2.6.0. + enable it for redshift
@ 2022-02-22 18:10 tibequadorian
  2022-02-26  0:27 ` [PR REVIEW] geoclue2: update to 2.6.0 " Piraty
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tibequadorian @ 2022-02-22 18:10 UTC (permalink / raw)
  To: ml

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

There is a new 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 will work fine 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: 3003 bytes --]

From b365beba71f68fce4ef1d1aa7914e5a83d01141a 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 af8f988ebd6eb01f1d327e33a42799fbb8ca5482 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

---
 srcpkgs/redshift/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/redshift/template b/srcpkgs/redshift/template
index 44749f0e9041..a62fd63a712e 100644
--- a/srcpkgs/redshift/template
+++ b/srcpkgs/redshift/template
@@ -1,9 +1,9 @@
 # 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 $(vopt_enable geoclue2)"
 hostmakedepends="gettext-devel intltool pkg-config python3-devel"
 makedepends="libXxf86vm-devel libdrm-devel $(vopt_if geoclue2 'geoclue2
  glib-devel')"
@@ -14,7 +14,9 @@ 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"
+build_options_default="geoclue2"
 
 redshift-gtk_package() {
 	depends="${sourcepkg}-${version}_${revision} gtk+3 python3-gobject

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

* Re: [PR REVIEW] geoclue2: update to 2.6.0 + enable it for redshift.
  2022-02-22 18:10 [PR PATCH] geoclue2: update to 2.6.0. + enable it for redshift tibequadorian
@ 2022-02-26  0:27 ` Piraty
  2022-02-26  0:35 ` [PR PATCH] [Updated] " tibequadorian
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Piraty @ 2022-02-26  0:27 UTC (permalink / raw)
  To: ml

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

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/35785#discussion_r815235111

Comment:
as geoglue is an optional runtime dependency, please remove the build_option for it.
`redshift.conf.sample` might be handy to have in the package 

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

* Re: [PR PATCH] [Updated] geoclue2: update to 2.6.0 + enable it for redshift.
  2022-02-22 18:10 [PR PATCH] geoclue2: update to 2.6.0. + enable it for redshift tibequadorian
  2022-02-26  0:27 ` [PR REVIEW] geoclue2: update to 2.6.0 " Piraty
@ 2022-02-26  0:35 ` tibequadorian
  2022-02-26  0:39 ` tibequadorian
  2022-02-26  0:53 ` [PR PATCH] [Closed]: " Piraty
  3 siblings, 0 replies; 5+ messages in thread
From: tibequadorian @ 2022-02-26  0:35 UTC (permalink / raw)
  To: ml

[-- 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

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

* Re: [PR PATCH] [Updated] geoclue2: update to 2.6.0 + enable it for redshift.
  2022-02-22 18:10 [PR PATCH] geoclue2: update to 2.6.0. + enable it for redshift tibequadorian
  2022-02-26  0:27 ` [PR REVIEW] geoclue2: update to 2.6.0 " Piraty
  2022-02-26  0:35 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-26  0:39 ` tibequadorian
  2022-02-26  0:53 ` [PR PATCH] [Closed]: " Piraty
  3 siblings, 0 replies; 5+ messages in thread
From: tibequadorian @ 2022-02-26  0:39 UTC (permalink / raw)
  To: ml

[-- 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

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

* Re: [PR PATCH] [Closed]: geoclue2: update to 2.6.0 + enable it for redshift.
  2022-02-22 18:10 [PR PATCH] geoclue2: update to 2.6.0. + enable it for redshift tibequadorian
                   ` (2 preceding siblings ...)
  2022-02-26  0:39 ` tibequadorian
@ 2022-02-26  0:53 ` Piraty
  3 siblings, 0 replies; 5+ messages in thread
From: Piraty @ 2022-02-26  0:53 UTC (permalink / raw)
  To: ml

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

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

geoclue2: update to 2.6.0 + enable it for redshift.
https://github.com/void-linux/void-packages/pull/35785

Description:
<!-- 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
-->


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

end of thread, other threads:[~2022-02-26  0:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 18:10 [PR PATCH] geoclue2: update to 2.6.0. + enable it for redshift tibequadorian
2022-02-26  0:27 ` [PR REVIEW] geoclue2: update to 2.6.0 " Piraty
2022-02-26  0:35 ` [PR PATCH] [Updated] " tibequadorian
2022-02-26  0:39 ` tibequadorian
2022-02-26  0:53 ` [PR PATCH] [Closed]: " Piraty

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).