Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libgweather: update to 4.4.2.
@ 2024-04-19  9:49 oreo639
  2024-04-19 10:18 ` [PR PATCH] [Updated] " oreo639
  2024-04-19 12:01 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: oreo639 @ 2024-04-19  9:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oreo639/void-packages libgweather
https://github.com/void-linux/void-packages/pull/49902

libgweather: update to 4.4.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/49902.patch is attached

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

From 2f93133067d19bbe588c2b84893ef73670e5235d Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Fri, 19 Apr 2024 02:45:11 -0700
Subject: [PATCH] libgweather: update to 4.4.2.

---
 srcpkgs/libgweather/patches/metar.patch | 45 -------------------------
 srcpkgs/libgweather/patches/vdsa.patch  |  8 +++--
 srcpkgs/libgweather/template            |  8 ++---
 3 files changed, 10 insertions(+), 51 deletions(-)
 delete mode 100644 srcpkgs/libgweather/patches/metar.patch

diff --git a/srcpkgs/libgweather/patches/metar.patch b/srcpkgs/libgweather/patches/metar.patch
deleted file mode 100644
index 0e099d3dd76a54..00000000000000
--- a/srcpkgs/libgweather/patches/metar.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From e62b4f1790c525af6d565a2d6adf8a178e9e7153 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
-Date: Mon, 20 Nov 2023 12:24:45 +0200
-Subject: [PATCH] metar: update dataserver URL
-
-Info about URL change:
-https://github.com/mate-desktop/libmateweather/pull/79#issuecomment-1765810415
-
-https://gitlab.gnome.org/GNOME/libgweather/-/issues/232
-https://gitlab.gnome.org/GNOME/libgweather/-/issues/236
----
- libgweather/weather-metar.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/libgweather/weather-metar.c b/libgweather/weather-metar.c
-index c0e8a6e5..3cb5ecc5 100644
---- a/libgweather/weather-metar.c
-+++ b/libgweather/weather-metar.c
-@@ -675,7 +675,7 @@ metar_start_open (GWeatherInfo *info)
-     if (!loc->latlon_valid)
-         return;
- 
--    g_debug ("metar_start_open, requesting: https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=%s", loc->code);
-+    g_debug ("metar_start_open, requesting: https://aviationweather.gov/cgi-bin/data/dataserver.php?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=%s", loc->code);
-     query = soup_form_encode (
-         "dataSource",
-         "metars",
-@@ -696,14 +696,14 @@ metar_start_open (GWeatherInfo *info)
-     uri = g_uri_build (SOUP_HTTP_URI_FLAGS,
-                        "https",
-                        NULL,
--                       "www.aviationweather.gov",
-+                       "aviationweather.gov",
-                        -1,
--                       "/adds/dataserver_current/httpparam",
-+                       "/cgi-bin/data/dataserver.php",
-                        query,
-                        NULL);
-     g_free (query);
- #else
--    uri = soup_uri_new ("https://www.aviationweather.gov/adds/dataserver_current/httpparam");
-+    uri = soup_uri_new ("https://aviationweather.gov/cgi-bin/data/dataserver.php");
-     uri->query = query;
- #endif
-     msg = soup_message_new_from_uri ("GET", uri);
diff --git a/srcpkgs/libgweather/patches/vdsa.patch b/srcpkgs/libgweather/patches/vdsa.patch
index 397297d3f128b5..ee9cc5c606fc96 100644
--- a/srcpkgs/libgweather/patches/vdsa.patch
+++ b/srcpkgs/libgweather/patches/vdsa.patch
@@ -1,3 +1,8 @@
+Submitted upstream: https://gitlab.gnome.org/GNOME/libgweather/-/merge_requests/292
+
+From bfcd8332f45d9e15ad0b8623d5835e06c36dc1f4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
+ <congdanhqx@gmail.com>
 Date: Tue, 21 Nov 2023 17:51:29 +0700
 Subject: [PATCH] Locations: Siem Reap changes its international airport
 
@@ -20,5 +25,4 @@ index f4d1e6c6..c42e9508 100644
        </location>
        <city>
 -- 
-2.42.0
-
+GitLab
diff --git a/srcpkgs/libgweather/template b/srcpkgs/libgweather/template
index e93fcbe836cdc5..f824176f370fff 100644
--- a/srcpkgs/libgweather/template
+++ b/srcpkgs/libgweather/template
@@ -1,7 +1,7 @@
 # Template file for 'libgweather'
 pkgname=libgweather
 reverts="40.0_1"
-version=4.4.0
+version=4.4.2
 revision=1
 build_style=meson
 build_helper="gir"
@@ -9,7 +9,7 @@ configure_args="$(vopt_bool gir enable_vala) $(vopt_bool gir introspection)
  $(vopt_bool gtk_doc gtk_doc) -Dzoneinfo_dir=/usr/share/zoneinfo"
 hostmakedepends="glib-devel gettext pkg-config python3-gobject-devel
  $(vopt_if gir vala) $(vopt_if gtk_doc gi-docgen)"
-makedepends="geocode-glib-devel gtk+3-devel libsoup3-devel json-glib-devel"
+makedepends="geocode-glib-devel libsoup3-devel json-glib-devel libxml2-devel"
 depends="tzdata"
 short_desc="GNOME Weather information access library"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,7 +17,7 @@ license="LGPL-2.1-or-later"
 homepage="https://wiki.gnome.org/Projects/LibGWeather"
 changelog="https://gitlab.gnome.org/GNOME/libgweather/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/libgweather/${version%.*}/libgweather-${version}.tar.xz"
-checksum=366e866ff2a708b894cfea9475b8e8ff54cb3e2b477ea72a8ade0dabee5f48a4
+checksum=a6e427b4770ada48945f3aa906af710fc833cff0d42df91f1828302740d794ec
 
 build_options="gir gtk_doc"
 build_options_default="gir gtk_doc"
@@ -29,7 +29,7 @@ post_patch() {
 }
 
 libgweather-devel_package() {
-	depends="${makedepends} ${sourcepkg}>=${version}_${revision} gtk+3-devel"
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include

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

* Re: [PR PATCH] [Updated] libgweather: update to 4.4.2.
  2024-04-19  9:49 [PR PATCH] libgweather: update to 4.4.2 oreo639
@ 2024-04-19 10:18 ` oreo639
  2024-04-19 12:01 ` [PR PATCH] [Merged]: " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: oreo639 @ 2024-04-19 10:18 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oreo639/void-packages libgweather
https://github.com/void-linux/void-packages/pull/49902

libgweather: update to 4.4.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/49902.patch is attached

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

From 50a879ec1633c3677a5e5dc7c970ddcac317c7e7 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Fri, 19 Apr 2024 02:45:11 -0700
Subject: [PATCH] libgweather: update to 4.4.2.

---
 srcpkgs/libgweather/patches/metar.patch | 45 -------------------------
 srcpkgs/libgweather/patches/vdsa.patch  |  7 +++-
 srcpkgs/libgweather/template            |  8 ++---
 3 files changed, 10 insertions(+), 50 deletions(-)
 delete mode 100644 srcpkgs/libgweather/patches/metar.patch

diff --git a/srcpkgs/libgweather/patches/metar.patch b/srcpkgs/libgweather/patches/metar.patch
deleted file mode 100644
index 0e099d3dd76a54..00000000000000
--- a/srcpkgs/libgweather/patches/metar.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From e62b4f1790c525af6d565a2d6adf8a178e9e7153 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
-Date: Mon, 20 Nov 2023 12:24:45 +0200
-Subject: [PATCH] metar: update dataserver URL
-
-Info about URL change:
-https://github.com/mate-desktop/libmateweather/pull/79#issuecomment-1765810415
-
-https://gitlab.gnome.org/GNOME/libgweather/-/issues/232
-https://gitlab.gnome.org/GNOME/libgweather/-/issues/236
----
- libgweather/weather-metar.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/libgweather/weather-metar.c b/libgweather/weather-metar.c
-index c0e8a6e5..3cb5ecc5 100644
---- a/libgweather/weather-metar.c
-+++ b/libgweather/weather-metar.c
-@@ -675,7 +675,7 @@ metar_start_open (GWeatherInfo *info)
-     if (!loc->latlon_valid)
-         return;
- 
--    g_debug ("metar_start_open, requesting: https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=%s", loc->code);
-+    g_debug ("metar_start_open, requesting: https://aviationweather.gov/cgi-bin/data/dataserver.php?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=%s", loc->code);
-     query = soup_form_encode (
-         "dataSource",
-         "metars",
-@@ -696,14 +696,14 @@ metar_start_open (GWeatherInfo *info)
-     uri = g_uri_build (SOUP_HTTP_URI_FLAGS,
-                        "https",
-                        NULL,
--                       "www.aviationweather.gov",
-+                       "aviationweather.gov",
-                        -1,
--                       "/adds/dataserver_current/httpparam",
-+                       "/cgi-bin/data/dataserver.php",
-                        query,
-                        NULL);
-     g_free (query);
- #else
--    uri = soup_uri_new ("https://www.aviationweather.gov/adds/dataserver_current/httpparam");
-+    uri = soup_uri_new ("https://aviationweather.gov/cgi-bin/data/dataserver.php");
-     uri->query = query;
- #endif
-     msg = soup_message_new_from_uri ("GET", uri);
diff --git a/srcpkgs/libgweather/patches/vdsa.patch b/srcpkgs/libgweather/patches/vdsa.patch
index 397297d3f128b5..7c57c21205dc29 100644
--- a/srcpkgs/libgweather/patches/vdsa.patch
+++ b/srcpkgs/libgweather/patches/vdsa.patch
@@ -1,3 +1,8 @@
+Submitted upstream: https://gitlab.gnome.org/GNOME/libgweather/-/merge_requests/292
+
+From bfcd8332f45d9e15ad0b8623d5835e06c36dc1f4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
+ <congdanhqx@gmail.com>
 Date: Tue, 21 Nov 2023 17:51:29 +0700
 Subject: [PATCH] Locations: Siem Reap changes its international airport
 
@@ -20,5 +25,5 @@ index f4d1e6c6..c42e9508 100644
        </location>
        <city>
 -- 
-2.42.0
+GitLab
 
diff --git a/srcpkgs/libgweather/template b/srcpkgs/libgweather/template
index e93fcbe836cdc5..f824176f370fff 100644
--- a/srcpkgs/libgweather/template
+++ b/srcpkgs/libgweather/template
@@ -1,7 +1,7 @@
 # Template file for 'libgweather'
 pkgname=libgweather
 reverts="40.0_1"
-version=4.4.0
+version=4.4.2
 revision=1
 build_style=meson
 build_helper="gir"
@@ -9,7 +9,7 @@ configure_args="$(vopt_bool gir enable_vala) $(vopt_bool gir introspection)
  $(vopt_bool gtk_doc gtk_doc) -Dzoneinfo_dir=/usr/share/zoneinfo"
 hostmakedepends="glib-devel gettext pkg-config python3-gobject-devel
  $(vopt_if gir vala) $(vopt_if gtk_doc gi-docgen)"
-makedepends="geocode-glib-devel gtk+3-devel libsoup3-devel json-glib-devel"
+makedepends="geocode-glib-devel libsoup3-devel json-glib-devel libxml2-devel"
 depends="tzdata"
 short_desc="GNOME Weather information access library"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,7 +17,7 @@ license="LGPL-2.1-or-later"
 homepage="https://wiki.gnome.org/Projects/LibGWeather"
 changelog="https://gitlab.gnome.org/GNOME/libgweather/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/libgweather/${version%.*}/libgweather-${version}.tar.xz"
-checksum=366e866ff2a708b894cfea9475b8e8ff54cb3e2b477ea72a8ade0dabee5f48a4
+checksum=a6e427b4770ada48945f3aa906af710fc833cff0d42df91f1828302740d794ec
 
 build_options="gir gtk_doc"
 build_options_default="gir gtk_doc"
@@ -29,7 +29,7 @@ post_patch() {
 }
 
 libgweather-devel_package() {
-	depends="${makedepends} ${sourcepkg}>=${version}_${revision} gtk+3-devel"
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include

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

* Re: [PR PATCH] [Merged]: libgweather: update to 4.4.2.
  2024-04-19  9:49 [PR PATCH] libgweather: update to 4.4.2 oreo639
  2024-04-19 10:18 ` [PR PATCH] [Updated] " oreo639
@ 2024-04-19 12:01 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2024-04-19 12:01 UTC (permalink / raw)
  To: ml

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

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

libgweather: update to 4.4.2.
https://github.com/void-linux/void-packages/pull/49902

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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] 3+ messages in thread

end of thread, other threads:[~2024-04-19 12:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  9:49 [PR PATCH] libgweather: update to 4.4.2 oreo639
2024-04-19 10:18 ` [PR PATCH] [Updated] " oreo639
2024-04-19 12:01 ` [PR PATCH] [Merged]: " sgn

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