Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nautilus-terminal for openSUSE:Factory checked in at 2021-07-05 22:23:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nautilus-terminal (Old) and /work/SRC/openSUSE:Factory/.nautilus-terminal.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nautilus-terminal" Mon Jul 5 22:23:20 2021 rev:18 rq:904176 version:4.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/nautilus-terminal/nautilus-terminal.changes 2021-05-01 00:47:00.731368214 +0200 +++ /work/SRC/openSUSE:Factory/.nautilus-terminal.new.2625/nautilus-terminal.changes 2021-07-05 22:24:08.181185050 +0200 @@ -1,0 +2,14 @@ +Thu Jul 1 12:05:09 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 4.0.2 + + Support Nautilus 40 + + Adds an "About" window + + Adds a context menu to copy/paste, run dconf-editor and + display the "About" window + + Adds a CLI to check, install, uninstall, print debug, etc + + Fixes Nautilus Terminal stealing the focus in new Nautilus windows + + Adds an option to clear the terminal after each navigation +- Add do-not-install-compiled-schemas.patch + + Do not install the precompiled schemas but the sources only + +------------------------------------------------------------------- Old: ---- nautilus_terminal-3.5.0.tar.gz New: ---- do-not-install-compiled-schemas.patch nautilus_terminal-4.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nautilus-terminal.spec ++++++ --- /var/tmp/diff_new_pack.6jaQ4Y/_old 2021-07-05 22:24:08.629181583 +0200 +++ /var/tmp/diff_new_pack.6jaQ4Y/_new 2021-07-05 22:24:08.633181552 +0200 @@ -17,17 +17,19 @@ Name: nautilus-terminal -Version: 3.5.0 +Version: 4.0.2 Release: 0 Summary: A terminal embedded in Nautilus, the GNOME's file browser License: GPL-3.0-only URL: https://github.com/flozz/nautilus-terminal Source: https://files.pythonhosted.org/packages/source/n/nautilus-terminal/nautilus_terminal-%{version}.tar.gz -BuildRequires: python3-psutil >= 5.6.6 -BuildRequires: python3-setuptools +# PATCH-FIX-OPENSUSE do-not-install-compiled-schemas.patch -- On SUSE we must not installed the pre compiled schemas but the sources +Patch0: do-not-install-compiled-schemas.patch BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: python-nautilus-common-devel +BuildRequires: python-rpm-macros +BuildRequires: python3-psutil >= 5.6.6 +BuildRequires: python3-setuptools BuildRequires: pkgconfig(glib-2.0) Requires: nautilus Requires: python3-psutil >= 5.6.6 @@ -37,17 +39,23 @@ Nautilus Terminal is an integrated terminal for the Nautilus file browser. %prep -%setup -q -n nautilus_terminal-%{version} +%autosetup -p1 -n nautilus_terminal-%{version} +# See README +rm -v nautilus_terminal/not_packaged.py %build +export SKIP_SCHEMA_COMPILE=1 %python3_build %install +export SKIP_SCHEMA_COMPILE=1 %python3_install %fdupes %{buildroot}%{python3_sitelib} %files +%license COPYING %doc README.rst +%{_bindir}/%{name} %{python3_sitelib}/nautilus_terminal* %{_datadir}/glib-2.0/schemas/org.flozz.nautilus-terminal.gschema.xml %{_datadir}/nautilus-python/extensions/nautilus_terminal_extension.py ++++++ do-not-install-compiled-schemas.patch ++++++ diff -Nur nautilus_terminal-4.0.2/nautilus_terminal/install_nautilus_extension.py patched/nautilus_terminal/install_nautilus_extension.py --- nautilus_terminal-4.0.2/nautilus_terminal/install_nautilus_extension.py 2021-05-23 12:55:51.000000000 +0200 +++ patched/nautilus_terminal/install_nautilus_extension.py 2021-07-01 14:18:39.584927329 +0200 @@ -80,14 +80,15 @@ os.path.join(SYSTEM_GLIB_SCHEMA_DIR, GLIB_SCHEMA_FILE), ) # Compile schemas - if is_glib_compile_schema_installed(): - subprocess.call([GLIB_COMPILE_SCHEMA, SYSTEM_GLIB_SCHEMA_DIR]) - print("GLib schema successfully compiled.") - else: - print( - "GLib schema cannot be compiled. Please install GLib schema compiler and run the following command (as root):" - ) - print(" ".join([GLIB_COMPILE_SCHEMA, SYSTEM_GLIB_SCHEMA_DIR])) + if not "SKIP_SCHEMA_COMPILE" in os.environ: + if is_glib_compile_schema_installed(): + subprocess.call([GLIB_COMPILE_SCHEMA, SYSTEM_GLIB_SCHEMA_DIR]) + print("GLib schema successfully compiled.") + else: + print( + "GLib schema cannot be compiled. Please install GLib schema compiler and run the following command (as root):" + ) + print(" ".join([GLIB_COMPILE_SCHEMA, SYSTEM_GLIB_SCHEMA_DIR])) # print("Nautilus Terminal extension successfully installed on the system.") @@ -139,14 +140,15 @@ os.path.join(USER_GLIB_SCHEMA_DIR, GLIB_SCHEMA_FILE), ) # Compile schemas - if is_glib_compile_schema_installed(): - subprocess.call([GLIB_COMPILE_SCHEMA, USER_GLIB_SCHEMA_DIR]) - print("GLib schema successfully compiled.") - else: - print( - "GLib schema cannot be compiled. Please install GLib schema compiler and run the following command:" - ) - print(" ".join([GLIB_COMPILE_SCHEMA, USER_GLIB_SCHEMA_DIR])) + if not "SKIP_SCHEMA_COMPILE" in os.environ: + if is_glib_compile_schema_installed(): + subprocess.call([GLIB_COMPILE_SCHEMA, USER_GLIB_SCHEMA_DIR]) + print("GLib schema successfully compiled.") + else: + print( + "GLib schema cannot be compiled. Please install GLib schema compiler and run the following command:" + ) + print(" ".join([GLIB_COMPILE_SCHEMA, USER_GLIB_SCHEMA_DIR])) # print( "Nautilus Terminal extension successfully installed on the current user." diff -Nur nautilus_terminal-4.0.2/README.rst patched/README.rst --- nautilus_terminal-4.0.2/README.rst 2021-05-23 12:55:51.000000000 +0200 +++ patched/README.rst 2021-07-01 14:20:20.877808624 +0200 @@ -318,6 +318,8 @@ its installation (``--install-*`` and ``--uninstall-*`` options of the ``nautilus-terminal`` command). +* You can set ``SKIP_SCHEMA_COMPILE`` environment variable to prevent the pip + install command from compiling the GLib schemas. Supporting this project ----------------------- diff -Nur nautilus_terminal-4.0.2/setup.py patched/setup.py --- nautilus_terminal-4.0.2/setup.py 2021-05-23 12:55:51.000000000 +0200 +++ patched/setup.py 2021-07-01 14:17:52.096514159 +0200 @@ -25,6 +25,7 @@ print(" is_system_install: %s" % str(is_system_install)) print(" is_user_install: %s" % str(is_user_install)) print(" data_prefix: %s" % data_prefix) + print(" skip GLib compilation: %s" % str("SKIP_SCHEMA_COMPILE" in os.environ)) if is_system_install: os.environ["XDG_DATA_DIR"] = data_prefix ++++++ nautilus_terminal-3.5.0.tar.gz -> nautilus_terminal-4.0.2.tar.gz ++++++ ++++ 2991 lines of diff (skipped)