diff options
author | Albert Vaca Cintora | 2023-05-08 12:32:31 +0200 |
---|---|---|
committer | Albert Vaca Cintora | 2023-05-08 12:47:08 +0200 |
commit | 5ccc2b24dd46db4028d40f5d73909e7bd9821e29 (patch) | |
tree | 7cee664cc4bb544f50995e3ffead79b3c294c4d0 | |
parent | f0a66becad376b36c1c60cb3093ab0c6232dda6a (diff) | |
download | aur-5ccc2b24dd46db4028d40f5d73909e7bd9821e29.tar.gz |
Release 44.1
-rw-r--r-- | .SRCINFO | 47 | ||||
-rw-r--r-- | PKGBUILD | 61 | ||||
-rw-r--r-- | nautilus-restore-typeahead.patch | 44 |
3 files changed, 90 insertions, 62 deletions
@@ -1,59 +1,58 @@ pkgbase = nautilus-typeahead pkgdesc = Default file manager for GNOME - Patched to bring back the 'typeahead find' feature - pkgver = 43.4 + pkgver = 44.1 pkgrel = 1 url = https://wiki.gnome.org/Apps/Files arch = x86_64 license = GPL checkdepends = python-gobject - makedepends = gobject-introspection - makedepends = git - makedepends = meson makedepends = appstream-glib + makedepends = git + makedepends = gobject-introspection makedepends = meson makedepends = ninja - depends = libgexiv2 + makedepends = tracker3-miners + depends = dconf depends = gdk-pixbuf2 - depends = gst-plugins-base-libs + depends = gnome-autoar depends = gnome-desktop-4 + depends = gst-plugins-base-libs depends = gvfs - depends = dconf - depends = tracker3 - depends = tracker3-miners - depends = gnome-autoar depends = libadwaita - depends = libportal-gtk4 depends = libcloudproviders - source = git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=4528b76e2f470e836f79f22a77817ed895bf1d8f + depends = libgexiv2 + depends = libportal-gtk4 + depends = tracker3 + source = git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=a3fda22858ad6186ace1b22bc466e4087d67ca8e source = nautilus-restore-typeahead.patch - sha256sums = SKIP - sha256sums = 4f1d3b76d400bd91102bad35b873115d595216df5360cf60fe41c6428c6d09c1 + b2sums = SKIP + b2sums = c5c44954bff8f73ddb89f7fa4375c626db532565142f5e95e817a7796f0ace0d6da8839734d633b7daa2b3b619cc03158ec4e3d1969974d74a18e1843271a493 pkgname = nautilus-typeahead install = post.install groups = gnome - depends = libgexiv2 + depends = dconf depends = gdk-pixbuf2 - depends = gst-plugins-base-libs + depends = gnome-autoar depends = gnome-desktop-4 + depends = gst-plugins-base-libs depends = gvfs - depends = dconf - depends = tracker3 - depends = tracker3-miners - depends = gnome-autoar depends = libadwaita - depends = libportal-gtk4 depends = libcloudproviders + depends = libgexiv2 + depends = libportal-gtk4 + depends = tracker3 depends = libnautilus-extension-typeahead - optdepends = nautilus-sendto: to share files from the right click menu - optdepends = python-nautilus: to use extensions written in python + optdepends = nautilus-sendto: Share files from the right click menu + optdepends = tracker3-miners: Full text search and metadata-based renaming + optdepends = python-nautilus: Use extensions written in python provides = nautilus conflicts = nautilus pkgname = libnautilus-extension-typeahead pkgdesc = Extension interface for Nautilus - depends = glib2 depends = gcc-libs + depends = glib2 provides = libnautilus-extension provides = libnautilus-extension.so conflicts = libnautilus-extension @@ -4,28 +4,50 @@ # Contributor (current patch code): Xavier Claessens <xavier.claessens@collabora.com> # Contributor (fix for backspace going to parent folder): Jeremy Bicha <jbicha@debian.org> # Contributor (updated patch for 43.2): Bryan Lai <bryanlais@gmail.com> +# Contributor (updated patch for 44.1): DragoonAethis <dragoon@dragonic.eu> # Maintainer: Albert Vaca Cintora <albertvaka@gmail.com> -_pkgbase=nautilus pkgbase=nautilus-typeahead -pkgname=(nautilus-typeahead libnautilus-extension-typeahead) +pkgname=( + nautilus-typeahead + libnautilus-extension-typeahead +) packager="Albert Vaca Cintora <albertvaka@gmail.com>" -pkgver=43.4 +pkgver=44.1 pkgrel=1 pkgdesc="Default file manager for GNOME - Patched to bring back the 'typeahead find' feature" url="https://wiki.gnome.org/Apps/Files" arch=(x86_64) license=(GPL) -depends=(libgexiv2 gdk-pixbuf2 gst-plugins-base-libs gnome-desktop-4 gvfs dconf - tracker3 tracker3-miners gnome-autoar libadwaita libportal-gtk4 - libcloudproviders) -makedepends=(gobject-introspection git meson appstream-glib meson ninja) +depends=( + dconf + gdk-pixbuf2 + gnome-autoar + gnome-desktop-4 + gst-plugins-base-libs + gvfs + libadwaita + libcloudproviders + libgexiv2 + libportal-gtk4 + tracker3 +) +makedepends=( + appstream-glib + git + gobject-introspection + meson + ninja + tracker3-miners +) checkdepends=(python-gobject) -_commit=4528b76e2f470e836f79f22a77817ed895bf1d8f # tags/43.4^0 -source=("git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=$_commit" - nautilus-restore-typeahead.patch) -sha256sums=('SKIP' - '4f1d3b76d400bd91102bad35b873115d595216df5360cf60fe41c6428c6d09c1') +_commit=a3fda22858ad6186ace1b22bc466e4087d67ca8e # tags/44.1^0 +source=( + "git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=$_commit" + nautilus-restore-typeahead.patch +) +b2sums=('SKIP' + 'c5c44954bff8f73ddb89f7fa4375c626db532565142f5e95e817a7796f0ace0d6da8839734d633b7daa2b3b619cc03158ec4e3d1969974d74a18e1843271a493') pkgver() { cd nautilus @@ -34,6 +56,8 @@ pkgver() { prepare() { cd nautilus + + # Apply Typeahead patch patch -p1 -i ../nautilus-restore-typeahead.patch } @@ -67,8 +91,11 @@ _pick() { package_nautilus-typeahead() { depends+=(libnautilus-extension-typeahead) - optdepends=('nautilus-sendto: to share files from the right click menu' - 'python-nautilus: to use extensions written in python') + optdepends=( + 'nautilus-sendto: Share files from the right click menu' + 'tracker3-miners: Full text search and metadata-based renaming' + 'python-nautilus: Use extensions written in python' + ) install='post.install' conflicts=(nautilus) provides=(nautilus) @@ -78,7 +105,6 @@ package_nautilus-typeahead() { cd "$pkgdir" - # Split libnautilus-extension _pick libne usr/include _pick libne usr/lib/{girepository-1.0,libnautilus-extension*,pkgconfig} _pick libne usr/share/gir-1.0 @@ -86,7 +112,10 @@ package_nautilus-typeahead() { package_libnautilus-extension-typeahead() { pkgdesc="Extension interface for Nautilus" - depends=(glib2 gcc-libs) + depends=( + gcc-libs + glib2 + ) conflicts=(libnautilus-extension libnautilus-extension.so) provides=(libnautilus-extension libnautilus-extension.so) diff --git a/nautilus-restore-typeahead.patch b/nautilus-restore-typeahead.patch index 4e364265eb86..996b503157e2 100644 --- a/nautilus-restore-typeahead.patch +++ b/nautilus-restore-typeahead.patch @@ -1,5 +1,5 @@ diff --git a/data/org.gnome.nautilus.gschema.xml b/data/org.gnome.nautilus.gschema.xml -index b91a90c842..8910774a02 100644 +index 253bc67a1..1d216539b 100644 --- a/data/org.gnome.nautilus.gschema.xml +++ b/data/org.gnome.nautilus.gschema.xml @@ -77,6 +77,11 @@ @@ -15,7 +15,7 @@ index b91a90c842..8910774a02 100644 <default>'local-only'</default> <summary>Where to perform recursive search</summary> diff --git a/src/nautilus-global-preferences.h b/src/nautilus-global-preferences.h -index 5a73717b30..31e22aa7b6 100644 +index 5a73717b3..31e22aa7b 100644 --- a/src/nautilus-global-preferences.h +++ b/src/nautilus-global-preferences.h @@ -119,6 +119,7 @@ typedef enum @@ -27,7 +27,7 @@ index 5a73717b30..31e22aa7b6 100644 /* Context menu options */ #define NAUTILUS_PREFERENCES_SHOW_DELETE_PERMANENTLY "show-delete-permanently" diff --git a/src/nautilus-preferences-window.c b/src/nautilus-preferences-window.c -index e8d66639c5..a7c4a43edd 100644 +index 4a6477d29..6f1542cdf 100644 --- a/src/nautilus-preferences-window.c +++ b/src/nautilus-preferences-window.c @@ -45,6 +45,8 @@ @@ -50,7 +50,7 @@ index e8d66639c5..a7c4a43edd 100644 bind_builder_combo_row (builder, nautilus_preferences, NAUTILUS_PREFERENCES_DIALOG_OPEN_ACTION_COMBO, diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c -index a7fe84f0af..0fffcddc0b 100644 +index 7de9dddd6..dee287660 100644 --- a/src/nautilus-query-editor.c +++ b/src/nautilus-query-editor.c @@ -52,6 +52,9 @@ struct _NautilusQueryEditor @@ -63,7 +63,7 @@ index a7fe84f0af..0fffcddc0b 100644 GFile *location; NautilusQuery *query; -@@ -90,6 +93,9 @@ G_DEFINE_TYPE (NautilusQueryEditor, nautilus_query_editor, GTK_TYPE_WIDGET); +@@ -86,6 +89,9 @@ G_DEFINE_TYPE (NautilusQueryEditor, nautilus_query_editor, GTK_TYPE_WIDGET); * so wait 400ms after typing, to improve performance by not spamming search engines: */ #define SEARCH_CHANGED_TIMEOUT 400 @@ -73,7 +73,7 @@ index a7fe84f0af..0fffcddc0b 100644 static void update_fts_sensitivity (NautilusQueryEditor *editor) { -@@ -143,6 +149,7 @@ nautilus_query_editor_dispose (GObject *object) +@@ -139,6 +145,7 @@ nautilus_query_editor_dispose (GObject *object) editor = NAUTILUS_QUERY_EDITOR (object); g_clear_handle_id (&editor->search_changed_timeout_id, g_source_remove); @@ -81,7 +81,7 @@ index a7fe84f0af..0fffcddc0b 100644 gtk_widget_unparent (gtk_widget_get_first_child (GTK_WIDGET (editor))); g_clear_pointer (&editor->tags_box, gtk_widget_unparent); -@@ -407,6 +414,25 @@ entry_changed_internal (NautilusQueryEditor *editor) +@@ -403,6 +410,25 @@ entry_changed_internal (NautilusQueryEditor *editor) return G_SOURCE_REMOVE; } @@ -107,7 +107,7 @@ index a7fe84f0af..0fffcddc0b 100644 static void entry_changed_cb (GtkWidget *entry, NautilusQueryEditor *editor) -@@ -416,10 +442,24 @@ entry_changed_cb (GtkWidget *entry, +@@ -412,10 +438,24 @@ entry_changed_cb (GtkWidget *entry, return; } @@ -135,7 +135,7 @@ index a7fe84f0af..0fffcddc0b 100644 } static GtkWidget * -@@ -676,6 +716,8 @@ nautilus_query_editor_init (NautilusQueryEditor *editor) +@@ -673,6 +713,8 @@ nautilus_query_editor_init (NautilusQueryEditor *editor) G_CALLBACK (search_popover_time_type_changed_cb), editor); g_signal_connect (editor->popover, "notify::fts-enabled", G_CALLBACK (search_popover_fts_changed_cb), editor); @@ -144,7 +144,7 @@ index a7fe84f0af..0fffcddc0b 100644 } static void -@@ -842,3 +884,15 @@ nautilus_query_editor_handle_event (NautilusQueryEditor *self, +@@ -828,3 +870,15 @@ nautilus_query_editor_handle_event (NautilusQueryEditor *self, return gtk_event_controller_key_forward (controller, self->text); } @@ -161,10 +161,10 @@ index a7fe84f0af..0fffcddc0b 100644 + } +} diff --git a/src/nautilus-query-editor.h b/src/nautilus-query-editor.h -index e071f94f1b..1cf0da8135 100644 +index 39b1f5e62..18eb4c9df 100644 --- a/src/nautilus-query-editor.h +++ b/src/nautilus-query-editor.h -@@ -77,3 +77,6 @@ nautilus_query_editor_handle_event (NautilusQueryEditor *self, +@@ -69,3 +69,6 @@ nautilus_query_editor_handle_event (NautilusQueryEditor *self, GtkEventControllerKey *controller, guint keyval, GdkModifierType state); @@ -172,7 +172,7 @@ index e071f94f1b..1cf0da8135 100644 +void nautilus_query_editor_set_searching (NautilusQueryEditor *editor, + gboolean searching); diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c -index 64dc5fc485..dd8574e629 100644 +index 785386ea1..d8ffb09cc 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -105,10 +105,6 @@ struct _NautilusWindowSlot @@ -310,7 +310,7 @@ index 64dc5fc485..dd8574e629 100644 { nautilus_window_slot_set_search_visible (self, TRUE); } -@@ -685,6 +697,7 @@ nautilus_window_slot_set_searching (NautilusWindowSlot *self, +@@ -684,6 +696,7 @@ nautilus_window_slot_set_searching (NautilusWindowSlot *self, { self->searching = searching; g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SEARCHING]); @@ -318,8 +318,8 @@ index 64dc5fc485..dd8574e629 100644 } static void -@@ -921,6 +934,15 @@ nautilus_window_slot_constructed (GObject *object) - gtk_widget_show (extras_vbox); +@@ -917,6 +930,15 @@ nautilus_window_slot_constructed (GObject *object) + gtk_box_append (GTK_BOX (self), extras_vbox); self->query_editor = NAUTILUS_QUERY_EDITOR (nautilus_query_editor_new ()); + g_signal_connect (self->query_editor, "changed", @@ -335,18 +335,18 @@ index 64dc5fc485..dd8574e629 100644 * UI, specifically when the toolbar adds or removes it */ g_object_ref_sink (self->query_editor); diff --git a/src/nautilus-window.c b/src/nautilus-window.c -index 0b966c0d89..b603362b27 100644 +index 0033dcf5d..0f1c1004e 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c -@@ -1458,6 +1458,7 @@ const GActionEntry win_entries[] = +@@ -1531,6 +1531,7 @@ const GActionEntry win_entries[] = { "forward", action_forward }, { "back-n", action_back_n, "u" }, { "forward-n", action_forward_n, "u" }, + { "backspaceup", action_up }, { "up", action_up }, - { "view-menu", action_toggle_state_view_button, NULL, "false", NULL }, { "current-location-menu", action_show_current_location_menu }, -@@ -1513,6 +1514,7 @@ nautilus_window_initialize_actions (NautilusWindow *window) + { "open-location", action_open_location, "s" }, +@@ -1587,6 +1588,7 @@ nautilus_window_initialize_actions (NautilusWindow *window) /* Only accesible by shorcuts */ nautilus_application_set_accelerators (app, "win.bookmark-current-location", ACCELS ("<control>d", "AddFavorite")); nautilus_application_set_accelerator (app, "win.up", "<alt>Up"); @@ -355,10 +355,10 @@ index 0b966c0d89..b603362b27 100644 nautilus_application_set_accelerator (app, "win.go-starred", "Favorites"); nautilus_application_set_accelerator (app, "win.tab-move-left", "<shift><control>Page_Up"); diff --git a/src/resources/ui/nautilus-preferences-window.ui b/src/resources/ui/nautilus-preferences-window.ui -index abee4f2af9..1453d4c2ea 100644 +index 9b2cd2edc..6ba51aaae 100644 --- a/src/resources/ui/nautilus-preferences-window.ui +++ b/src/resources/ui/nautilus-preferences-window.ui -@@ -51,6 +51,21 @@ +@@ -50,6 +50,21 @@ <property name="visible">True</property> </object> </child> |