Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package guake for openSUSE:Factory checked 
in at 2022-02-15 00:12:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/guake (Old)
 and      /work/SRC/openSUSE:Factory/.guake.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "guake"

Tue Feb 15 00:12:13 2022 rev:15 rq:954401 version:3.8.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/guake/guake.changes      2021-11-10 
21:48:02.551853140 +0100
+++ /work/SRC/openSUSE:Factory/.guake.new.1956/guake.changes    2022-02-15 
00:12:14.647540632 +0100
@@ -1,0 +2,77 @@
+Mon Feb 14 17:38:06 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 3.8.5:
+  * Fixed readthedoc system.
+  * Fix system font only being applied to last tab
+    [gh#Guake/guake#1954].
+  * Use keycode for keybindings [gh#Guake/guake#1953].
+  * Replace ??? with non unicode dependent | [gh#Guake/guake#1966].
+  * Add pbr fallback [gh#Guake/guake#1964].
+  * Fix vte spawn_sync runtime check failed [gh#Guake/guake#1974].
+  * Add GUAKE_ENABLE_WAYLAND environment variable
+    [gh#Guake/guake#1975].
+  * Switch default for hide tab bar if only one tab to disabled
+    [gh#Guake/guake#1983].
+  * Changed default keybindig to toggle hide on lose focus. Fix
+    gh#Guake/guake#1719 [gh#Guake/guake#1988].
+  * Drop pbr [gh#Guake/guake#1991].
+  * Fix translation file inclusion [gh#Guake/guake#2004].
+  * feature: --is-visible option [gh#Guake/guake#2008].
+  * Reinstate double click to open tabs [gh#Guake/guake#2010].
+  * Fix deepsource complaints [gh#Guake/guake#2009].
+  * Fix arbitrary execution via dbus security flaw
+    [gh#Guake/guake#2017].
+  * Eliminate redundant terminal spawning [gh#Guake/guake#2020].
+  * Translation and documentation updates.
+- Use PyPI source tarball instead of GitHub tag-ref'ed ones to
+  avoid incorrect reading of the version by build scripts; see
+  
<https://guake.readthedocs.io/en/latest/user/installing.html#install-from-source>
+- Add 'paths.py.in' as additional source; missed by PyPI tarball.
+- Drop remove_setuptools_scm.patch: No longer needed in light of
+  above; also drop associated workaround in %setup.
+- New BuildRequires: python3-setuptools_scm needed for proper
+  version determination.
+- Explicitly list egg-info dir in file-list to ensure proper
+  versioning has been applied during build.
+- Enforce python3-setuptools >= 57.5 for BuildRequires as required
+  by upstream.
+- Drop PBR_VERSION workaround from make install: No longer needed.
+- Fix an EOL encoding.
+- Drop a useless placeholder dir from docs.
+
+-------------------------------------------------------------------
+Fri Feb  4 10:56:32 UTC 2022 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- add new patch remove_setuptools_scm.patch to remove the dependency on 
setuptools_scm
+- write the version guake/_version.py in prep step.
+- Update to version 3.8.2:
+ - Fix system font only being applied to last tab by @Davidy22 in #1954
+ - Use keycode for keybindings by @vantu5z in #1953
+ - Replace ??? with non unicode dependent | by @Davidy22 in #1966
+ - Update news file by @Davidy22 in #1951
+ - Add pbr fallback by @Davidy22 in #1964
+ - Fix vte spawn_sync runtime check failed by @mlouielu in #1974
+ - Add GUAKE_ENABLE_WAYLAND environment variable by @VitalyAnkh in #1975
+ - Add instructions for PPA install by @Davidy22 in #1961
+ - Switch default for hide tab bar if only one tab to disabled by @Davidy22 in 
#1983
+ - Changed default keybindig to toggle hide on lose focus. Fix #1719 by 
@jcfstabile in #1988
+ - Fix module gi not found when make run by @jcfstabile in #1989
+ - Revert "Fix module gi not found when make run " by @mlouielu in #1992
+ - Drop pbr by @eli-schwartz in #1991
+ - Bump pipenv from 2021.5.29 to 2022.1.8 by @dependabot in #2005
+ - Fix upload to pypi test by @Davidy22 in #2002
+ - Fix translation file inclusion by @Davidy22 in #2004
+ - feature: --is-visible option #1926 by @rjeb in #2008
+ - Reinstate double click to open tabs by @Davidy22 in #2010
+ - Fix deepsource complaints by @Davidy22 in #2009
+ - ci: enable upload to pypi by @Davidy22 in #2007
+ - Generate release notes for 3.8.2 by @Davidy22 in #2012
+ - Update translation from Weblate by @gsemet in #2013
+ - Revert "doc: update NEWS.rst" by @Davidy22 in #2014
+ - ci: no pipeline on pull_request by @gsemet in #2016
+ - Revert "ci: no pipeline on pull_request" by @Davidy22 in #2018
+ - Fix arbitrary execution via dbus security flaw by @Davidy22 in #2017
+ - Eliminate redundant terminal spawning by @Davidy22 in #2020
+ - Generate release notes for 3.8.2 by @Davidy22 in #2024
+
+-------------------------------------------------------------------

Old:
----
  guake-3.8.1.tar.gz

New:
----
  guake-3.8.5.tar.gz
  paths.py.in

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ guake.spec ++++++
--- /var/tmp/diff_new_pack.5c46NP/_old  2022-02-15 00:12:15.275542038 +0100
+++ /var/tmp/diff_new_pack.5c46NP/_new  2022-02-15 00:12:15.279542047 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package guake
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,30 @@
 
 
 Name:           guake
-Version:        3.8.1
+Version:        3.8.5
 Release:        0
 Summary:        Drop-down terminal for GNOME
 License:        GPL-2.0-only
 Group:          System/X11/Terminals
 URL:            http://guake-project.org/
-Source:         
https://github.com/Guake/guake/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Use PyPI source, not GitHub tag-ref tarballs, see 
https://guake.readthedocs.io/en/latest/user/installing.html#install-from-source
+Source0:        
https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
+# PyPI tarball missed this file
+Source1:        
https://raw.githubusercontent.com/Guake/guake/%{version}/guake/paths.py.in
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gettext-tools
 BuildRequires:  glib2-tools
 BuildRequires:  gobject-introspection
-BuildRequires:  python3-pbr
 BuildRequires:  python3-pip
-BuildRequires:  python3-setuptools
+BuildRequires:  python3-setuptools >= 57.5.0
+BuildRequires:  python3-setuptools_scm
+BuildRequires:  python3-wheel
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(libwnck-3.0)
 Requires:       python3-cairo
 Requires:       python3-dbus-python
 Requires:       python3-gobject-Gdk
-Requires:       python3-pbr
 Recommends:     libutempter0
 Suggests:       gtk3-metatheme-numix
 BuildArch:      noarch
@@ -54,16 +57,21 @@
 
 %prep
 %autosetup -p1
+cp %{SOURCE1} ./guake/
+# Remove a useless placeholder dir from docs
+rm -fr ./docs/source/_static
+
+sed -i 's/\r$//' ./docs/make.bat
 
 %build
-make %{?_smp_mflags}
+%make_build
+# docs cannot be built as they require a local git repository
 
 %install
-PBR_VERSION=%{version} make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
+%make_install PREFIX=%{_prefix}
 
 rm -fr %{buildroot}%{_datadir}/%{name}/po
 
-rm -r %{buildroot}%{python3_sitelib}/guake/tests/
 # conflicts with libgio-2_0-0
 rm %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled
 %fdupes %{buildroot}
@@ -72,9 +80,10 @@
 %find_lang %{name} %{?no_lang_C}
 
 %files
-%doc README.rst NEWS.rst
+%doc README.rst NEWS.rst docs/
 %license COPYING
-%{python3_sitelib}/*
+%{python3_sitelib}/guake/
+%{python3_sitelib}/guake-%{version}-py%{python3_version}.egg-info/
 %{_bindir}/guake
 %{_bindir}/guake-toggle
 %{_datadir}/applications/guake-prefs.desktop

++++++ guake-3.8.1.tar.gz -> guake-3.8.5.tar.gz ++++++
++++ 8347 lines of diff (skipped)

++++++ paths.py.in ++++++
# -*- coding: utf-8; -*-
"""
Copyright (C) 2007-2013 Guake authors

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public
License along with this program; if not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA
"""

import guake
import logging
import os
import subprocess
import sys

log = logging.getLogger(__name__)


def get_default_package_root():
    packagedir = guake.__path__[0]
    dirname = os.path.join(os.path.dirname(packagedir))
    return os.path.abspath(dirname)


def get_data_files_dir():
    d = os.path.dirname(sys.modules["guake"].__file__)
    p = os.path.basename(os.path.abspath(os.path.join(os.path.dirname(d), 
"..")))
    if p in ["site-packages", "dist-packages"]:
        # current "guake" package has been installed in a prefix structure 
(/usr, /usr/local or
        # ~/.local/)
        loc_dir = os.path.abspath(os.path.join(d, "..", "..", "..", ".."))
        loc_dir = os.path.join(loc_dir, "share", "guake")
        if os.path.exists(loc_dir):
            return loc_dir
    return d


def get_default_data_dir():
    d = os.path.join(get_data_files_dir(), "data")
    log.debug("Using guake data directory: %s", d)
    return d


def get_default_locale_dir():
    d = os.path.join(get_data_files_dir(), "po")
    log.debug("Using guake image directory: %s", d)
    return d


def get_default_image_dir():
    d = os.path.join(get_default_data_dir(), 'pixmaps')
    log.debug("Using guake image directory: %s", d)
    return d


def get_default_glade_dir():
    d = get_default_data_dir()
    log.debug("Using guake glade directory: %s", d)
    return d


def get_default_schema_dir():
    d = get_default_data_dir()
    log.debug("Using guake scheme directory: %s", d)
    return d


def get_default_theme_dir():
    d = os.path.join(get_default_data_dir(), 'theme')
    log.debug("Using guake theme directory: %s", d)
    return d


LOCALE_DIR = {{ LOCALE_DIR }}
IMAGE_DIR = {{ IMAGE_DIR }}
GLADE_DIR = {{ GLADE_DIR }}
SCHEMA_DIR = {{ SCHEMA_DIR }}
GUAKE_THEME_DIR = {{ GUAKE_THEME_DIR }}
LOGIN_DESTOP_PATH = {{ LOGIN_DESTOP_PATH }}
AUTOSTART_FOLDER = {{ AUTOSTART_FOLDER }}


def try_to_compile_glib_schemas():
    log.info("Compiling schema: %s", SCHEMA_DIR)
    subprocess.check_call(["glib-compile-schemas", "--strict", SCHEMA_DIR])

Reply via email to