diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-24 06:30:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-24 06:30:58 +0000 |
commit | 17e417b73cb3e25edbc6541bd107bc9c593d66bd (patch) | |
tree | 866f98b73f846149d0c9e7e5a1cf0527b7c54e08 /gnome-extra | |
parent | 338095605b6c9c82690f77f27a32490c9a57bdcb (diff) |
gentoo auto-resync : 24:12:2024 - 06:30:57
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/Manifest.gz | bin | 11234 -> 11235 bytes | |||
-rw-r--r-- | gnome-extra/cjs/Manifest | 3 | ||||
-rw-r--r-- | gnome-extra/cjs/cjs-6.2.0.ebuild | 4 | ||||
-rw-r--r-- | gnome-extra/cjs/files/cjs-6.2.0-glib-closure.patch | 103 |
4 files changed, 109 insertions, 1 deletions
diff --git a/gnome-extra/Manifest.gz b/gnome-extra/Manifest.gz Binary files differindex 4bd0f954efd2..89800f8ed322 100644 --- a/gnome-extra/Manifest.gz +++ b/gnome-extra/Manifest.gz diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest index 1be302677a88..d27306b3c201 100644 --- a/gnome-extra/cjs/Manifest +++ b/gnome-extra/cjs/Manifest @@ -1,3 +1,4 @@ +AUX cjs-6.2.0-glib-closure.patch 4161 BLAKE2B 5c13ab48391a9f60d54de6d80a9dc9c0844e8957c5b3de623d440ceae29591b6af0cdae6abc65b0bf19b584098b6a774d53bfae77a31326c5b5f524263c30def SHA512 1ae50a1fa32db0b093682ae57f179abf173799f67ce4bba6d681d4e170b02395d7fbe4dcea2ada2b91a8f20525a4994f0d040462614a608f72cf857880810b7f DIST cjs-6.2.0.tar.gz 874457 BLAKE2B 7b1afda55bc0b5da165a20afa7be58382b8f03f1421bde960f6a3f134d7bdb2bdd44320b0b613f4f710258379da6666383a20d92556a1172971ca8340ae6d348 SHA512 5f7ce7f1ba648db834d7703e909ef65cf369d47147ca02e90b8844c31b4360dcc0fb94bbd3265632c3de8ef2b026934dd799b94a2ff3895442a2f9fc469f53db -EBUILD cjs-6.2.0.ebuild 2308 BLAKE2B a4b05f2b53a94f82b8de9791507ef73683eafb80ef3c077383ffad30a6efaa8e3eba929c7c83cacb2b52ab2d2e2a2a79d397cafb2610e485fc4482e11413b84f SHA512 bb7113c9118526e4a240038efa0294ad8255c6e88a0966fff8c314943cfd4b1db9ef5eea38a87f9d79d9185eeba2453613831d2b6bee9a7d6af47b209be0fd6c +EBUILD cjs-6.2.0.ebuild 2367 BLAKE2B 1443f14a3f093c25be89ce4fc1ba7b9a34d6c29adaad632cdc3da081fe4b046bc6a87764b9b10bffc4628ba7102282817d6e470e3be39093e7295f21321e3f3c SHA512 babd5e44c148313452ccf06f50b34bea6084747edfc21f20742b68dacd2a62c917d3594f62cd950a60e83f9a636b0b87975142c9ae829a7fdfeeb70caa433f0e MISC metadata.xml 608 BLAKE2B 7cc55145357fc7b4b46e1a77f19570b60f5dc6207c81efc3b92adf7d5fdb025296d4e6b8b927f193ed7bd0a929274e61c9bdddad2371ca78a497b94fdbe87737 SHA512 672923005e936fd3d08367a8db65318f63217841e6f841623d469c21ce354724f6c2cea853ecca928280b21011d6aa0e133a7830841c9fa44dd8c36402b28066 diff --git a/gnome-extra/cjs/cjs-6.2.0.ebuild b/gnome-extra/cjs/cjs-6.2.0.ebuild index d3f71d0fde95..84138b961eaf 100644 --- a/gnome-extra/cjs/cjs-6.2.0.ebuild +++ b/gnome-extra/cjs/cjs-6.2.0.ebuild @@ -41,6 +41,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-6.2.0-glib-closure.patch +) + src_prepare() { default python_fix_shebang build diff --git a/gnome-extra/cjs/files/cjs-6.2.0-glib-closure.patch b/gnome-extra/cjs/files/cjs-6.2.0-glib-closure.patch new file mode 100644 index 000000000000..300e01ea477f --- /dev/null +++ b/gnome-extra/cjs/files/cjs-6.2.0-glib-closure.patch @@ -0,0 +1,103 @@ +https://bugs.gentoo.org/946055 +https://github.com/linuxmint/cjs/commit/a4d0b0241582fdc5357a6bfc2b0ef2e05fea4893 + +From a4d0b0241582fdc5357a6bfc2b0ef2e05fea4893 Mon Sep 17 00:00:00 2001 +From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> +Date: Mon, 18 Nov 2024 13:16:15 -0500 +Subject: [PATCH] gjs-util: Backport private closure annotations patch (#126) + +From: Philip Chimento <philip.chimento@gmail.com> +Date: Sat, 27 Jul 2024 20:17:39 -0700 +Subject: GjsPrivate: Fix closure annotations + +Apparently the closure annotation can be omitted if the parameter is named +user_data. If it is needed because the parameter is not named +user_data then the annotation should be on the callback argument and +refer to the user data argument. + +Ref: +https://gitlab.gnome.org/GNOME/gjs/-/commit/1df5d72d8df383199dcd88cd1d16209617bf32ca + +Co-authored-by: Fabio Fantoni <fantonifabio@tiscali.it> +--- a/libgjs-private/gjs-util.c ++++ b/libgjs-private/gjs-util.c +@@ -235,7 +235,7 @@ void gjs_gtk_container_child_set_property(GObject* container, GObject* child, + * @store: a #GListStore + * @item: the new item + * @compare_func: (scope call): pairwise comparison function for sorting +- * @user_data: (closure): user data for @compare_func ++ * @user_data: user data for @compare_func + * + * Inserts @item into @store at a position to be determined by the + * @compare_func. +@@ -258,7 +258,7 @@ unsigned int gjs_list_store_insert_sorted(GListStore *store, GObject *item, + * gjs_list_store_sort: + * @store: a #GListStore + * @compare_func: (scope call): pairwise comparison function for sorting +- * @user_data: (closure): user data for @compare_func ++ * @user_data: user data for @compare_func + * + * Sort the items in @store according to @compare_func. + */ +@@ -270,7 +270,7 @@ void gjs_list_store_sort(GListStore *store, GjsCompareDataFunc compare_func, + /** + * gjs_gtk_custom_sorter_new: + * @sort_func: (nullable) (scope call): function to sort items +- * @user_data: (closure): user data for @compare_func ++ * @user_data: user data for @sort_func + * @destroy: destroy notify for @user_data + * + * Creates a new `GtkSorter` that works by calling @sort_func to compare items. +@@ -305,7 +305,7 @@ GObject* gjs_gtk_custom_sorter_new(GjsCompareDataFunc sort_func, + * gjs_gtk_custom_sorter_set_sort_func: + * @sorter: a `GtkCustomSorter` + * @sort_func: (nullable) (scope call): function to sort items +- * @user_data: (closure): user data to pass to @sort_func ++ * @user_data: user data to pass to @sort_func + * @destroy: destroy notify for @user_data + * + * Sets (or unsets) the function used for sorting items. +@@ -423,7 +423,7 @@ void gjs_log_set_writer_default() { + /** + * gjs_log_set_writer_func: + * @func: (scope notified): callback with log data +- * @user_data: (closure): user data for @func ++ * @user_data: user data for @func + * @user_data_free: (destroy user_data_free): destroy for @user_data + * + * Sets a given function as the writer function for structured logging, +--- a/libgjs-private/gjs-util.h ++++ b/libgjs-private/gjs-util.h +@@ -124,11 +124,11 @@ typedef gboolean (*GjsBindingTransformFunc)(GBinding* binding, + * @target: + * @target_property: + * @flags: +- * @to_callback: (scope notified) (nullable): +- * @to_data: (closure to_callback): ++ * @to_callback: (scope notified) (nullable) (closure to_data): ++ * @to_data: + * @to_notify: (destroy to_data): +- * @from_callback: (scope notified) (nullable): +- * @from_data: (closure from_callback): ++ * @from_callback: (scope notified) (nullable) (closure from_data): ++ * @from_data: + * @from_notify: (destroy from_data): + * + * Returns: (transfer none): +@@ -149,11 +149,11 @@ GBinding* gjs_g_object_bind_property_full( + * @target: + * @target_property: + * @flags: +- * @to_callback: (scope notified) (nullable): +- * @to_data: (closure to_callback): ++ * @to_callback: (scope notified) (nullable) (closure to_data): ++ * @to_data: + * @to_notify: (destroy to_data): +- * @from_callback: (scope notified) (nullable): +- * @from_data: (closure from_callback): ++ * @from_callback: (scope notified) (nullable) (closure from_data): ++ * @from_data: + * @from_notify: (destroy from_data): + */ + GJS_EXPORT + |