Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gnome-podcasts: update to 0.6.1
Date: Tue, 05 Mar 2024 16:42:07 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49131@inbox.vuxu.org> (raw)

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

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

https://github.com/cinerea0/void-packages podcasts
https://github.com/void-linux/void-packages/pull/49131

gnome-podcasts: update to 0.6.1
#### Testing the changes
- I tested the changes in this PR: **YES**



A patch file from https://github.com/void-linux/void-packages/pull/49131.patch is attached

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

From 2621235b6080e6fe4a90da0c99c1c1c7ae519df3 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 5 Mar 2024 10:41:33 -0500
Subject: [PATCH] gnome-podcasts: update to 0.6.1

---
 .../gnome-podcasts/patches/meson-0.61.patch   | 38 -------------------
 srcpkgs/gnome-podcasts/template               | 20 +++++-----
 2 files changed, 10 insertions(+), 48 deletions(-)
 delete mode 100644 srcpkgs/gnome-podcasts/patches/meson-0.61.patch

diff --git a/srcpkgs/gnome-podcasts/patches/meson-0.61.patch b/srcpkgs/gnome-podcasts/patches/meson-0.61.patch
deleted file mode 100644
index b5ad823b70cf60..00000000000000
--- a/srcpkgs/gnome-podcasts/patches/meson-0.61.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 6614bb62ecbec7c3b18ea7fe44beb50fe7942b27 Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich@FreeBSD.org>
-Date: Thu, 20 Jan 2022 01:27:48 +0000
-Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
-
-Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
-
-podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments.
-podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments.
----
- podcasts-gtk/resources/meson.build | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/podcasts-gtk/resources/meson.build b/podcasts-gtk/resources/meson.build
-index c1f1ee9f..87148087 100644
---- a/podcasts-gtk/resources/meson.build
-+++ b/podcasts-gtk/resources/meson.build
-@@ -2,7 +2,7 @@ subdir('icons')
- 
- desktop_conf = configuration_data()
- desktop_conf.set('icon', application_id)
--desktop_file = i18n.merge_file ('desktop-file',
-+desktop_file = i18n.merge_file (
-   type: 'desktop',
-   input: configure_file(
-     input: files('org.gnome.Podcasts.desktop.in.in'),
-@@ -27,7 +27,7 @@ endif
- 
- appdata_conf = configuration_data()
- appdata_conf.set('appid', application_id)
--appdata_file = i18n.merge_file ('appdata-file',
-+appdata_file = i18n.merge_file (
-   input: configure_file(
-     input: files('org.gnome.Podcasts.appdata.xml.in.in'),
-     output: 'org.gnome.Podcasts.appdata.xml.in',
--- 
-GitLab
-
diff --git a/srcpkgs/gnome-podcasts/template b/srcpkgs/gnome-podcasts/template
index bc98d3507f2213..34446db89e214e 100644
--- a/srcpkgs/gnome-podcasts/template
+++ b/srcpkgs/gnome-podcasts/template
@@ -1,29 +1,29 @@
 # Template file for 'gnome-podcasts'
 pkgname=gnome-podcasts
-version=0.5.1
-revision=2
+version=0.6.1
+revision=1
 build_style=meson
 build_helper="rust"
-hostmakedepends="cargo gettext glib-devel pkg-config sqlite-devel"
+hostmakedepends="cargo desktop-file-utils gettext glib-devel
+ gtk-update-icon-cache pkg-config"
 makedepends="gstreamer1-devel gst-plugins-bad1-devel gst-plugins-base1-devel
- gtk+3-devel libhandy1-devel openssl-devel sqlite-devel texinfo rust-std"
+ gtk4-devel libadwaita-devel openssl-devel sqlite-devel texinfo rust-std"
 short_desc="Listen to your favorite podcasts"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Podcasts"
 changelog="https://gitlab.gnome.org/World/podcasts/-/raw/master/CHANGELOG.md"
 distfiles="https://gitlab.gnome.org/World/podcasts/-/archive/${version}/podcasts-${version}.tar.gz"
-checksum=73c2d6422e4084e389f07d6daee2339512f68d5b7e38cfc7db35466b16c13500
+checksum=1f4cfc05e2db278f6ab5d309a4f84590ee3e97f0c50f1cbd4637be26526eac63
 make_check=no # Unable to init server: Could not connect: Connection refused
 
 export GETTEXT_BIN_DIR=/usr/bin
 export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"
 export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
 
-
 post_patch() {
-	[ -z "$CROSS_BUILD" ] && return 0
-	vsed -i scripts/cargo.sh \
-		-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
-		-e '/CARGO_HOME/d'
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i podcasts-gtk/src/meson.build \
+		 	-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
+	fi
 }

             reply	other threads:[~2024-03-05 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05 15:42 cinerea0 [this message]
2024-03-05 20:00 ` [PR PATCH] [Merged]: " cinerea0

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49131@inbox.vuxu.org \
    --to=cinerea0@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).