Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package matcha-gtk-theme for 
openSUSE:Factory checked in at 2021-06-07 22:44:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/matcha-gtk-theme (Old)
 and      /work/SRC/openSUSE:Factory/.matcha-gtk-theme.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "matcha-gtk-theme"

Mon Jun  7 22:44:37 2021 rev:4 rq:898131 version:20210602

Changes:
--------
--- /work/SRC/openSUSE:Factory/matcha-gtk-theme/matcha-gtk-theme.changes        
2021-04-10 15:28:50.130481376 +0200
+++ 
/work/SRC/openSUSE:Factory/.matcha-gtk-theme.new.32437/matcha-gtk-theme.changes 
    2021-06-07 22:45:12.692658497 +0200
@@ -1,0 +2,15 @@
+Mon Jun  7 13:11:36 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to version 20210602
+  * Fixed gnome-shell 3.38 panel issues
+- Add allow-setting-gnome-shell-version.patch
+  * Allow manually setting the gnome shell version, as on Leap
+    there is no version 40, which it otherwise defaults to
+
+-------------------------------------------------------------------
+Tue Jun  1 00:04:03 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to version 20210520
+  * Minor issues fixed
+
+-------------------------------------------------------------------

Old:
----
  Matcha-gtk-theme-2021-04-09.tar.gz

New:
----
  Matcha-gtk-theme-2021-06-02.tar.gz
  allow-setting-gnome-shell-version.patch

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

Other differences:
------------------
++++++ matcha-gtk-theme.spec ++++++
--- /var/tmp/diff_new_pack.BfFQKA/_old  2021-06-07 22:45:13.312659544 +0200
+++ /var/tmp/diff_new_pack.BfFQKA/_new  2021-06-07 22:45:13.316659550 +0200
@@ -20,15 +20,17 @@
 %define         _theme              Matcha
 %define         gtk3_min_version    3.20.0
 %define         gtk2_min_version    2.24.30
-%define         _version            2021-04-09
+%define         _version            2021-06-02
 Name:           matcha-gtk-theme
-Version:        20210409
+Version:        20210602
 Release:        0
 Summary:        Matcha is a flat Design theme for GTK 4, GTK 3, GTK 2 and 
Gnome-Shell
 License:        GPL-3.0-only
 Group:          System/GUI/Other
-URL:            https://github.com/vinceliuice/Matcha-gtk-theme/
-Source:         
https://github.com/vinceliuice/Matcha-gtk-theme/archive/%{_version}/Matcha-gtk-theme-%{_version}.tar.gz
+URL:            https://github.com/vinceliuice/Matcha-gtk-theme
+Source:         %{url}/archive/%{_version}/Matcha-gtk-theme-%{_version}.tar.gz
+# PATCH-FEATURE-UPSTREAM allow-setting-gnome-shell-version.patch -- Allow 
setting the gnome shell version, so no installed one is required
+Patch0:         allow-setting-gnome-shell-version.patch
 BuildRequires:  fdupes
 
 %description
@@ -80,6 +82,7 @@
 %if 0%{?suse_version} > 1500
 %package -n gtk4-metatheme-%{_name}
 Summary:        Matcha GTK+4 themes
+Group:          System/GUI/Other
 Requires:       gtk4
 Requires:       metatheme-%{_name}-common = %{version}
 Supplements:    packageand(metatheme-%{_name}-common:gtk4)
@@ -171,13 +174,18 @@
 
 %prep
 %setup -q -n Matcha-gtk-theme-%{_version}
+%patch0 -p1
 
 %build
 # nothing to build
 
 %install
 mkdir -p %{buildroot}%{_datadir}/themes
-./install.sh -d "%{buildroot}%{_datadir}/themes"
+./install.sh \
+%if 0%{?sle_version} && 0%{?sle_version} <= 150300
+       -s old \
+%endif 
+       -d "%{buildroot}%{_datadir}/themes"
 
 # Remove unity and index.theme files
 rm -rf  %{buildroot}%{_datadir}/themes/*/unity

++++++ Matcha-gtk-theme-2021-04-09.tar.gz -> Matcha-gtk-theme-2021-06-02.tar.gz 
++++++
++++ 13388 lines of diff (skipped)

++++++ allow-setting-gnome-shell-version.patch ++++++
diff -Nur Matcha-gtk-theme-2021-05-20/install.sh new/install.sh
--- Matcha-gtk-theme-2021-05-20/install.sh      2021-05-19 16:19:37.000000000 
+0200
+++ new/install.sh      2021-06-07 14:53:53.953112241 +0200
@@ -17,17 +17,7 @@
 COLOR_VARIANTS=('' '-light' '-dark')
 THEME_VARIANTS=('-aliz' '-azul' '-sea')
 
-if [[ "$(command -v gnome-shell)" ]]; then
-  SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
-  if [[ "${SHELL_VERSION:-}" -ge "40" ]]; then
-    GS_VERSION="new"
-  else
-    GS_VERSION="old"
-  fi
-  else
-    echo "'gnome-shell' not found, using styles for last gnome-shell version 
available."
-    GS_VERSION="new"
-fi
+GS_VERSION=""
 
 usage() {
   printf "%s\n" "Usage: $0 [OPTIONS...]"
@@ -36,6 +26,7 @@
   printf "  %-25s%s\n" "-n, --name NAME" "Specify theme name (Default: 
${THEME_NAME})"
   printf "  %-25s%s\n" "-c, --color VARIANTS" "Specify theme color variant(s) 
[standard|dark] (Default: All variants)"
   printf "  %-25s%s\n" "-t, --theme VARIANTS" "Specify hue theme variant(s) 
[aliz|azul|sea] (Default: All variants)"
+  printf "  %-25s%s\n" "-s, --gnome-shell VERSION" "Set gnome-shell flavor, 
where new is version 40 or later, [new|old] (Default: Auto detect)"
   printf "  %-25s%s\n" "-g, --gdm" "Install GDM theme, this option need root 
user authority! please run this with sudo"
   printf "  %-25s%s\n" "-r, --revert" "revert GDM theme, this option need root 
user authority! please run this with sudo"
   printf "  %-25s%s\n" "-h, --help" "Show this help"
@@ -325,6 +316,27 @@
       revert='true'
       shift 1
       ;;
+    -s|--gnome-shell)
+      case "${2}" in
+        new)
+          GS_VERSION=new
+          shift 2
+          ;;
+        old)
+          GS_VERSION=old
+          shift 2
+          ;;
+        -*|--*)
+          shift 1
+          break
+          ;;
+        *)
+          echo "ERROR: Unrecognized gnome-shell version '$1'."
+          echo "Try '$0 --help' for more information."
+          exit 1
+          ;;
+        esac
+      ;;
     -t|--theme)
       shift
       for theme in "${@}"; do
@@ -391,6 +403,20 @@
   esac
 done
 
+if [ -z "$GS_VERSION" ]; then
+  if [[ "$(command -v gnome-shell)" ]]; then
+    SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
+    if [[ "${SHELL_VERSION:-}" -ge "40" ]]; then
+      GS_VERSION="new"
+    else
+      GS_VERSION="old"
+    fi
+  else
+    echo "'gnome-shell' not found, using styles for last gnome-shell version 
available."
+    GS_VERSION="new"
+  fi
+fi
+
 if [[ "${gdm:-}" != 'true' && "${revert:-}" != 'true' ]]; then
   install_theme
 fi

Reply via email to