Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hyprland for openSUSE:Factory 
checked in at 2026-02-20 17:43:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hyprland (Old)
 and      /work/SRC/openSUSE:Factory/.hyprland.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hyprland"

Fri Feb 20 17:43:00 2026 rev:47 rq:1334019 version:0.53.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/hyprland/hyprland.changes        2026-01-26 
11:01:26.927771180 +0100
+++ /work/SRC/openSUSE:Factory/.hyprland.new.1977/hyprland.changes      
2026-02-20 17:51:15.081087295 +0100
@@ -1,0 +2,7 @@
+Sun Feb  1 17:40:37 UTC 2026 - Lubos Kocman <[email protected]>
+
+- Add our own copy of Splashes.hpp.opensuse
+  * Upstream first did not work in our case
+    gh#hyprwm/Hyprland/pull/13139
+
+-------------------------------------------------------------------

New:
----
  Splashes.hpp.opensuse

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

Other differences:
------------------
++++++ hyprland.spec ++++++
--- /var/tmp/diff_new_pack.j3zJa9/_old  2026-02-20 17:51:16.273137130 +0100
+++ /var/tmp/diff_new_pack.j3zJa9/_new  2026-02-20 17:51:16.277137298 +0100
@@ -26,11 +26,16 @@
 License:        BSD-3-Clause
 URL:            https://hyprland.org/
 Source0:        %{name}-%{version}.tar.xz
+Source10:       Splashes.hpp.opensuse
 Source99:       %{name}.rpmlintrc
 Patch0:         disable-donation-nag-popup.patch
 Patch1:         start_hyprland_no_nixgl.patch
 BuildRequires:  cmake
+%if 0%{?suse_version} == 1600 && 0%{?is_opensuse}
+BuildRequires:  gcc-c++ >= 13
+%else
 BuildRequires:  gcc-c++ >= 14
+%endif
 BuildRequires:  git
 BuildRequires:  glaze-devel
 BuildRequires:  glslang-devel
@@ -143,6 +148,11 @@
 %prep
 %autosetup -p1
 
+# Replace Hyprland splash strings with openSUSE-only set (maintained 
downstream)
+# Let's make it very easy to contribute quotes and use our copy instead of a 
patch
+# Upstream rejected https://github.com/hyprwm/Hyprland/pull/13139
+install -m 0644 %{SOURCE10} src/helpers/Splashes.hpp
+
 # compatability with previous versions
 sed \
        -e 's/set(GIT_COMMIT_HASH .*/set(GIT_COMMIT_HASH 
"0000000000000000000000000000000000000000")/' \

++++++ Splashes.hpp.opensuse ++++++
#pragma once

#include <vector>
#include <string>

namespace NSplashes {
    inline const std::vector<std::string> SPLASHES = {
        // clang-format off
        "Have a lot of fun!",
        "Things are better in green!",
        "Open by default. Always.",
        "Thanks for being part of openSUSE.",
        "Help us to translate your favorite software at l10n.opensuse.org.",
        "\"Lonely? meet.opensuse.org/bar.\" - Knurpht",
        "\"Hope you like my take on the hyprland wallpaper.\" - lkocman",
        "\"We don't do things like other people.\" - Jim Henderson",
        "\"The community is not about famous people at all.\" - Cornelius 
Schumacher",
        "Join the #openSUSE matrix channel!",
        "The Zypper always works, except for the times it doesn't.",
        // clang-format on
    };

    inline const std::vector<std::string> SPLASHES_CHRISTMAS = {
        // clang-format off
        "Merry Christmas!",
        "Merry Xmas!",
        "Ho ho ho",
        "Santa was here",
        "Make sure to spend some jolly time with those near and dear to you!",
        "Have you checked for christmas presents yet?",
        // clang-format on
    };

    // ONLY valid near new years.
    inline static int newYear = []() -> int {
        auto tt    = 
std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
        auto local = *localtime(&tt);

        if (local.tm_mon < 8 /* decided with a fair die I promise. */)
            return local.tm_year + 1900;
        return local.tm_year + 1901;
    }();

    inline const std::vector<std::string> SPLASHES_NEWYEAR = {
        // clang-format off
        "Happy new Year!",
        "[New year] will be the year of the Linux desktop!",
        "[New year] will be the year of the Hyprland desktop!",
        "[New year] will be the year of the openSUSE desktop!",
        std::format("{} will be the year of the Linux desktop!", newYear),
        std::format("{} will be the year of the Hyprland desktop!", newYear),
        std::format("{} will be the year of the openSUSE desktop!", newYear),
        std::format("Let's make {} even better than {}!", newYear, newYear - 1),
        // clang-format on
    };
};

Reply via email to