commit guake for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package guake for openSUSE:Factory checked in at 2023-06-30 19:59:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guake (Old) and /work/SRC/openSUSE:Factory/.guake.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "guake" Fri Jun 30 19:59:42 2023 rev:18 rq:1096081 version:3.10 Changes: -------- --- /work/SRC/openSUSE:Factory/guake/guake.changes 2023-05-22 13:14:28.830853780 +0200 +++ /work/SRC/openSUSE:Factory/.guake.new.13546/guake.changes 2023-06-30 20:00:00.606049538 +0200 @@ -1,0 +2,39 @@ +Tue Jun 27 16:09:20 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com> + +- Update to version 3.10: + * Fix 0 timestamp #1857 #1950 [gh#Guake/guake#2102]. + * search engine can be set to preference [gh#Guake/guake#2125]. + * Added custom search engine input #2088 [gh#Guake/guake#2134]. + * Include names of processes in PromptQuitDialog + [gh#Guake/guake#2135]. + * Add new hotkey to open new tab in same directory + [gh#Guake/guake#2136]. + * Add pin button to temporarily prevent hiding when losing focus + [gh#Guake/guake#2138]. + * Add pre-commit config and apply all fixes + [gh#Guake/guake#2139]. + * Add a new hotkey to select all text in the current terminal + [gh#Guake/guake#2145]. + * Run -e in new tabs generated by split vertical/horizontal + [gh#Guake/guake#2172]. + * Add global hotkey instructions to docs [gh#Guake/guake#2173]. + * Open a new guake tab if guake is called with guake [PATH] and + no other flags. [gh#Guake/guake#2174]. + * Save font size when changing zoom level with keyboard + shortcuts [gh#Guake/guake#2175]. +- Add guake-Makefile-generate-install-paths.patch: Modify paths in + the Makefile to reflect actual paths installed to by rpm + package. +- Build and install workflow overhaul based on upstream Makefile: + * Run make targets to generate desktop, locale files, and set-up + the correct system paths in paths.py (generate-paths) + * Use pyproject_wheel and pyproject_install to build guake + python modules. + * Run make install-schemas to install desktop app data. + * Build and install documentation in the form of HTML (split out + separate doc package) and man. +- Drop outdated NEWS.rst package from installed files. +- Add guake.rpmlintrc file to suppress false positive + warnings and errors. + +------------------------------------------------------------------- Old: ---- guake-3.9.0.tar.gz New: ---- guake-3.10.tar.gz guake-Makefile-generate-install-paths.patch guake.rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guake.spec ++++++ --- /var/tmp/diff_new_pack.OtmLiV/_old 2023-06-30 20:00:01.390054201 +0200 +++ /var/tmp/diff_new_pack.OtmLiV/_new 2023-06-30 20:00:01.394054224 +0200 @@ -16,83 +16,101 @@ # +# Need to re-define pythons to get pyproject_* macros working +%define pythons python3 Name: guake -Version: 3.9.0 +Version: 3.10 Release: 0 Summary: Drop-down terminal for GNOME -License: GPL-2.0-only -Group: System/X11/Terminals +License: GPL-2.0-or-later URL: http://guake-project.org/ -# Use PyPI source, not GitHub tag-ref tarballs, see https://guake.readthedocs.io/en/latest/user/installing.html#install-from-sou... -Source0: https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz -# PyPI tarball missed this file +Source0: https://files.pythonhosted.org/packages/source/g/guake/guake-%{version}.tar.gz +# Needed to install desktop app supporting files to FHS location; the PyPI +# source misses this, being geared towards installing everything to python module dir Source1: https://raw.githubusercontent.com/Guake/guake/%{version}/guake/paths.py.in -BuildRequires: desktop-file-utils +Source2: %{name}.rpmlintrc +# PATCH-FEATURE-OPENSUSE guake-Makefile-generate-install-paths.patch badshah400@gmail.com -- Ensure data paths in python script point to the correct system installed paths +Patch0: guake-Makefile-generate-install-paths.patch BuildRequires: fdupes -BuildRequires: gettext-tools BuildRequires: glib2-tools BuildRequires: gobject-introspection +BuildRequires: python-rpm-macros BuildRequires: python3-pip BuildRequires: python3-setuptools >= 57.5.0 BuildRequires: python3-setuptools_scm BuildRequires: python3-wheel BuildRequires: update-desktop-files -BuildRequires: pkgconfig(libwnck-3.0) +Requires: libutempter0 Requires: python3-cairo Requires: python3-dbus-python Requires: python3-gobject-Gdk Requires: python3-pyaml -Recommends: libutempter0 -Suggests: gtk3-metatheme-numix +Requires: python3-typing +Recommends: %{name}-doc BuildArch: noarch -# Other requirements documented upstream but apparently not needed: -# dconf-editor -# glade -# gnome-tweak-tool -# gsettings-desktop-schemas +# SECTION BuildRequires for documentation +BuildRequires: python3-Sphinx +BuildRequires: python3-reno +BuildRequires: python311-sphinxcontrib-programoutput +# /SECTION %lang_package %description Guake is a dropdown terminal made for the GNOME desktop environment. -%prep -%autosetup -p1 -cp %{SOURCE1} ./guake/ -# Remove a useless placeholder dir from docs -rm -fr ./docs/source/_static +%package doc +Summary: Documentation for Guake +Requires: %{name} + +%description doc +Guake is a dropdown terminal made for the GNOME desktop environment. -sed -i 's/\r$//' ./docs/make.bat +This package provides the HTML documentation for Guake. + +%prep +%autosetup -p1 -n guake-%{version} +cp %{SOURCE1} guake/ %build -%make_build -# docs cannot be built as they require a local git repository +# Note: At least `make generate-paths` needs to run before pyproject_wheel to set up the correct paths in guake/paths.py +%make_build PREFIX=%{_prefix} generate-desktop generate-mo generate-paths +%pyproject_wheel + +# Build documentation +%make_build -C docs html man +rm docs/_build/html/.buildinfo %install -%make_install PREFIX=%{_prefix} +%pyproject_install +%make_build DESTDIR=%{buildroot} PREFIX=%{_prefix} install-locale install-schemas -rm -fr %{buildroot}%{_datadir}/%{name}/po +# Install documentation +mkdir -p %{buildroot}%{_docdir}/guake +cp -r docs/_build/html %{buildroot}%{_docdir}/guake/ +mkdir -p %{buildroot}%{_mandir}/man1 +install -m0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/guake.1 -# conflicts with libgio-2_0-0 -rm %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled -%fdupes %{buildroot} -%suse_update_desktop_file -G "Guake Preferences" %{name}-prefs Settings DesktopSettings -%suse_update_desktop_file -G "Guake Terminal" %{name} System TerminalEmulator %find_lang %{name} %{?no_lang_C} +%fdupes %{buildroot}%{python3_sitelib}/guake/ %files -%doc README.rst NEWS.rst docs/ +%doc README.rst %license COPYING -%{python3_sitelib}/guake/ -%{python3_sitelib}/guake-%{version}-py%{python3_version}.egg-info/ %{_bindir}/guake %{_bindir}/guake-toggle -%{_datadir}/applications/guake-prefs.desktop -%{_datadir}/applications/guake.desktop -%{_datadir}/glib-2.0/schemas/org.guake.gschema.xml -%{_datadir}/metainfo/guake.desktop.metainfo.xml -%{_datadir}/pixmaps/guake.png +%{_mandir}/man1/guake.1%{?ext_man} +%{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/* %{_datadir}/guake/ +%{_datadir}/metainfo/*.metainfo.xml +%{_datadir}/pixmaps/*.png +%{python3_sitelib}/guake/ +%{python3_sitelib}/guake-%{version}.dist-info + +%files doc +%license COPYING +%doc %{_docdir}/guake/html %files lang -f %{name}.lang %license COPYING ++++++ guake-3.9.0.tar.gz -> guake-3.10.tar.gz ++++++ ++++ 4031 lines of diff (skipped) ++++++ guake-Makefile-generate-install-paths.patch ++++++ Index: guake-3.10/Makefile =================================================================== --- guake-3.10.orig/Makefile +++ guake-3.10/Makefile @@ -388,15 +388,14 @@ generate-desktop: generate-paths: @echo "Generating path.py..." @cp -f guake/paths.py.in guake/paths.py - @# Generic - @sed -i -e 's|{{ LOGIN_DESTOP_PATH }}|""|g' guake/paths.py - @sed -i -e 's|{{ AUTOSTART_FOLDER }}|""|g' guake/paths.py - @# Dev environment: - @sed -i -e 's|{{ LOCALE_DIR }}|get_default_locale_dir()|g' guake/paths.py - @sed -i -e 's|{{ IMAGE_DIR }}|get_default_image_dir()|g' guake/paths.py - @sed -i -e 's|{{ GUAKE_THEME_DIR }}|get_default_theme_dir()|g' guake/paths.py - @sed -i -e 's|{{ GLADE_DIR }}|get_default_glade_dir()|g' guake/paths.py - @sed -i -e 's|{{ SCHEMA_DIR }}|get_default_schema_dir()|g' guake/paths.py + @sed -i -e 's|{{ LOCALE_DIR }}|"$(localedir)"|g' guake/paths.py + @sed -i -e 's|{{ IMAGE_DIR }}|"$(IMAGE_DIR)"|g' guake/paths.py + @sed -i -e 's|{{ GLADE_DIR }}|"$(GLADE_DIR)"|g' guake/paths.py + @sed -i -e 's|{{ GUAKE_THEME_DIR }}|"$(GUAKE_THEME_DIR)"|g' guake/paths.py + @sed -i -e 's|{{ SCHEMA_DIR }}|"$(SCHEMA_DIR)"|g' guake/paths.py + @sed -i -e 's|{{ LOGIN_DESTOP_PATH }}|"$(LOGIN_DESTOP_PATH)"|g' guake/paths.py + @sed -i -e 's|{{ AUTOSTART_FOLDER }}|"$(AUTOSTART_FOLDER)"|g' guake/paths.py + reno: PIPENV_IGNORE_VIRTUALENVS=1 pipenv run reno new $(SLUG) --edit ++++++ guake.rpmlintrc ++++++ # libumtempter0 is dlopen-ed by a python script; cannot be auto-detected by rpm build addFilter("E: explicit-lib-dependency") # Outdated requirements.txt file does not list the following required python modules addFilter("W: python-leftover-require python3-cairo") addFilter("W: python-leftover-require python3-dbus-python") addFilter("W: python-leftover-require python3-gobject-Gdk") addFilter("W: python-leftover-require python3-pyaml") addFilter("W: python-missing-require importlib-metadata")
participants (1)
-
Source-Sync