Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rhythmbox: update to 3.4.7.
@ 2024-04-20  0:55 oreo639
  2024-04-20 20:29 ` [PR PATCH] [Merged]: " oreo639
  0 siblings, 1 reply; 2+ messages in thread
From: oreo639 @ 2024-04-20  0:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oreo639/void-packages rhythmbox
https://github.com/void-linux/void-packages/pull/49930

rhythmbox: update to 3.4.7.
<!-- 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/49930.patch is attached

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

From 0c8f2437d596b13d5bbdf1eda9a1b9d3ea8dc2f7 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Fri, 19 Apr 2024 17:54:15 -0700
Subject: [PATCH] rhythmbox: update to 3.4.7.

---
 .../rhythmbox/patches/fix-missing-icons.patch | 74 -------------------
 srcpkgs/rhythmbox/template                    | 38 +++-------
 2 files changed, 11 insertions(+), 101 deletions(-)
 delete mode 100644 srcpkgs/rhythmbox/patches/fix-missing-icons.patch

diff --git a/srcpkgs/rhythmbox/patches/fix-missing-icons.patch b/srcpkgs/rhythmbox/patches/fix-missing-icons.patch
deleted file mode 100644
index 21cb1cf248d926..00000000000000
--- a/srcpkgs/rhythmbox/patches/fix-missing-icons.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 829ba7f6807f6da409fe266e8d027654ae1c179b Mon Sep 17 00:00:00 2001
-From: crvi <crvisqr@gmail.com>
-Date: Thu, 20 Feb 2020 18:36:23 +0530
-Subject: [PATCH 1/2] update app icon name
-
-Fixes: #1775
----
- lib/rb-stock-icons.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git lib/rb-stock-icons.c lib/rb-stock-icons.c
-index cf52c7a38..cbc221a7d 100644
---- a/lib/rb-stock-icons.c
-+++ b/lib/rb-stock-icons.c
-@@ -37,7 +37,7 @@
- #include "rb-file-helpers.h"
- #include "rb-stock-icons.h"
- 
--const char RB_APP_ICON[] = "rhythmbox";
-+const char RB_APP_ICON[] = "org.gnome.Rhythmbox";
- const char RB_STOCK_SET_STAR[] = "rhythmbox-set-star";
- const char RB_STOCK_UNSET_STAR[] = "rhythmbox-unset-star";
- const char RB_STOCK_NO_STAR[] = "rhythmbox-no-star";
--- 
-2.24.1
-
-
-From b2c73c7efe28eefb89388bfe3dd0bc55a91a0bf4 Mon Sep 17 00:00:00 2001
-From: crvi <crvisqr@gmail.com>
-Date: Thu, 20 Feb 2020 18:39:23 +0530
-Subject: [PATCH 2/2] use RB_APP_ICON instead of hardcoding icon names
-
----
- shell/main.c           | 3 ++-
- shell/rb-application.c | 2 +-
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git shell/main.c shell/main.c
-index 5060f6545..7170f29d5 100644
---- a/shell/main.c
-+++ b/shell/main.c
-@@ -45,6 +45,7 @@
- #include "rb-util.h"
- #include "rb-debug.h"
- #include "rb-application.h"
-+#include "rb-stock-icons.h"
- 
- int
- main (int argc, char **argv)
-@@ -76,7 +77,7 @@ main (int argc, char **argv)
- #endif
- 
- 	g_set_application_name (_("Rhythmbox"));
--	gtk_window_set_default_icon_name ("rhythmbox");
-+	gtk_window_set_default_icon_name (RB_APP_ICON);
- 
- #if defined(USE_UNINSTALLED_DIRS)
- 	g_irepository_prepend_search_path (SHARE_UNINSTALLED_BUILDDIR "/../bindings/gi");
-diff --git shell/rb-application.c shell/rb-application.c
-index 37afb36fb..8492bb03b 100644
---- a/shell/rb-application.c
-+++ b/shell/rb-application.c
-@@ -205,7 +205,7 @@ about_action_cb (GSimpleAction *action, GVariant *parameters, gpointer user_data
- 			       "authors", (const char **) authors,
- 			       "documenters", (const char **) documenters,
- 			       "translator-credits", strcmp (translator_credits, "translator-credits") != 0 ? translator_credits : NULL,
--			       "logo-icon-name", "rhythmbox",
-+			       "logo-icon-name", RB_APP_ICON,
- 			       NULL);
- 	g_string_free (comment, TRUE);
- 	g_free (license_trans);
--- 
-2.24.1
-
diff --git a/srcpkgs/rhythmbox/template b/srcpkgs/rhythmbox/template
index 4a2508c722921d..f18c138010cccc 100644
--- a/srcpkgs/rhythmbox/template
+++ b/srcpkgs/rhythmbox/template
@@ -1,27 +1,25 @@
 # Template file for 'rhythmbox'
 pkgname=rhythmbox
-version=3.4.4
-revision=7
-build_style=gnu-configure
+version=3.4.7
+revision=1
+build_style=meson
 build_helper=gir
-configure_args="--disable-static --with-gudev --without-hal
- $(vopt_if gir --enable-vala)
- ac_cv_strftime_supports_E_O=yes"
-hostmakedepends="pkg-config intltool itstool glib-devel python3-setuptools
- $(vopt_if gir 'gobject-introspection vala')"
-makedepends="gtk+3-devel libsoup-gnome-devel totem-pl-parser-devel
+configure_args="-Dgudev=enabled $(vopt_feature gir plugins_vala)"
+hostmakedepends="pkg-config gettext itstool glib-devel
+ gtk-update-icon-cache desktop-file-utils $(vopt_if gir 'gobject-introspection vala')"
+makedepends="gtk+3-devel libsoup3-devel totem-pl-parser-devel
  json-glib-devel libgudev-devel libdiscid-devel vala-devel
  libmtp-devel avahi-glib-libs-devel libpeas-devel $(vopt_if brasero brasero-devel)
  libnotify-devel tdb-devel libsecret-devel libSM-devel grilo-devel
  gst-plugins-base1-devel clutter-gtk-devel python3-devel python3-gobject-devel
  libdmapsharing-devel"
-depends="gir-freedesktop desktop-file-utils hicolor-icon-theme"
+depends="desktop-file-utils hicolor-icon-theme"
 short_desc="GNOME integrated music management application"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.rhythmbox.org"
-distfiles="${GNOME_SITE}/${pkgname}/${version::3}/${pkgname}-${version}.tar.xz"
-checksum=ee0eb0d7d7bdf696ac9471b19ff3bea3240d63b6cb8a134bf632054af8665d90
+distfiles="${GNOME_SITE}/rhythmbox/${version::3}/rhythmbox-${version}.tar.xz"
+checksum=2f6d56c13fc1a64c534f500788fb482936ce547b343ed90c67de1f2bce0cfa7e
 
 python_version=3
 pycompile_dirs="/usr/lib/rhythmbox/plugins /usr/lib/rhythmbox/sample-plugins"
@@ -30,26 +28,13 @@ build_options="gir brasero"
 desc_option_brasero="Enable CD burning support"
 build_options_default="gir"
 
-post_extract() {
-	# The py-compile helper uses the imp module, removed in Python 3.12;
-	# besides, we don't want the module pre-compiled anyway, so just drop it
-	: > py-compile
-	cat > py-compile <<-'EOF'
-		#!/bin/sh
-		: "$@"
-		EOF
-}
-
-pre_build() {
-	export GIR_EXTRA_LIBS_PATH="$wrksrc/shell/.libs"
-}
-
 librhythmbox_package() {
 	short_desc+=" - shared library"
 	pkg_install() {
 		vmove "usr/lib/*.so.*"
 	}
 }
+
 rhythmbox-devel_package() {
 	depends="gtk+3-devel librhythmbox-${version}_${revision}"
 	short_desc+=" - development files"
@@ -59,7 +44,6 @@ rhythmbox-devel_package() {
 		if [ "$build_option_gir" ]; then
 			vmove usr/share/gir-1.0
 		fi
-		vmove usr/share/gtk-doc
 		vmove "usr/lib/*.so"
 	}
 }

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

* Re: [PR PATCH] [Merged]: rhythmbox: update to 3.4.7.
  2024-04-20  0:55 [PR PATCH] rhythmbox: update to 3.4.7 oreo639
@ 2024-04-20 20:29 ` oreo639
  0 siblings, 0 replies; 2+ messages in thread
From: oreo639 @ 2024-04-20 20:29 UTC (permalink / raw)
  To: ml

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

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

rhythmbox: update to 3.4.7.
https://github.com/void-linux/void-packages/pull/49930

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:[~2024-04-20 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-20  0:55 [PR PATCH] rhythmbox: update to 3.4.7 oreo639
2024-04-20 20:29 ` [PR PATCH] [Merged]: " oreo639

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