Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package waybar for openSUSE:Factory checked in at 2022-12-06 14:23:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/waybar (Old) and /work/SRC/openSUSE:Factory/.waybar.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "waybar" Tue Dec 6 14:23:50 2022 rev:40 rq:1040461 version:0.9.16 Changes: -------- --- /work/SRC/openSUSE:Factory/waybar/waybar.changes 2022-11-30 15:01:06.181751936 +0100 +++ /work/SRC/openSUSE:Factory/.waybar.new.1835/waybar.changes 2022-12-06 14:24:09.146024315 +0100 @@ -1,0 +2,27 @@ +Mon Dec 5 19:10:20 UTC 2022 - Filippo Bonazzi <filippo.bona...@suse.com> + +- Fix: do not require versioned branding (bsc#1205950) +- Add dependency to hhdate library now in Factory +- Add _service file back now that we don't need to modify the source tarball +- Move to obscpio archive to save space + +------------------------------------------------------------------- +Fri Dec 2 13:52:41 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com> + +- Add 0000-replace-gethostbyname-getaddrinfo.patch + +------------------------------------------------------------------- +Fri Dec 2 07:54:45 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com> + +- Update specfile and remove deprecated functions. +- Improve description to remove rpmlint warnings. + +------------------------------------------------------------------- +Thu Dec 1 22:42:29 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com> + +- Fix sources on spec file. +- Remove service file that was overlooked +- Add back the tarball containing the downloaded subprojects +- Add wireplumber dependency + +------------------------------------------------------------------- Old: ---- Waybar-0.9.16.obscpio Waybar.obsinfo New: ---- 0000-replace-gethostbyname-getaddrinfo.patch waybar-0.9.16.obscpio waybar.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ waybar.spec ++++++ --- /var/tmp/diff_new_pack.bo1Ss9/_old 2022-12-06 14:24:09.702029054 +0100 +++ /var/tmp/diff_new_pack.bo1Ss9/_new 2022-12-06 14:24:09.710029123 +0100 @@ -23,7 +23,8 @@ License: MIT Group: System/GUI/Other URL: https://github.com/Alexays/Waybar -Source: Waybar-%{version}.tar.xz +Source0: %{name}-%{version}.tar.gz +Patch0: 0000-replace-gethostbyname-getaddrinfo.patch BuildRequires: cmake %if 0%{?sle_version} >= 150400 BuildRequires: gcc11-c++ @@ -37,6 +38,8 @@ # test dependency BuildRequires: pkgconfig(catch2) >= 3.0 BuildRequires: sndio-devel >= 1.7.0 +# date module +BuildRequires: hhdate-devel # optional: man pages BuildRequires: scdoc # optional: tray module @@ -66,12 +69,15 @@ BuildRequires: pkgconfig(wireplumber-0.4) BuildRequires: pkgconfig(xkbregistry) # requires branding -Requires: %{name}-branding = %{version} +# NOTE: unversioned branding is required to avoid issues like bsc#1205950 +Requires: %{name}-branding # optional: sway integration Recommends: sway %description -Customizable Wayland bar for Sway and Wlroots based compositors. +A customizable Wayland bar for Sway and Wlroots based compositors. +It comes with modules for pipewire, alsa, backlight, and bluetooth. +Other modules can be found in the manpages of Waybar. %package branding-upstream Summary: Upstream branding of %{name} @@ -88,7 +94,7 @@ This package provides the upstream look and feel for sway. %prep -%autosetup -p1 -n Waybar-%{version} +%autosetup -p1 -n waybar-%{version} %build %if 0%{?sle_version} >= 150400 ++++++ 0000-replace-gethostbyname-getaddrinfo.patch ++++++ diff --git a/src/modules/hyprland/backend.cpp b/src/modules/hyprland/backend.cpp index 76c071c..33212c7 100644 --- a/src/modules/hyprland/backend.cpp +++ b/src/modules/hyprland/backend.cpp @@ -132,15 +132,20 @@ void IPC::unregisterForIPC(EventHandler* ev_handler) { std::string IPC::getSocket1Reply(const std::string& rq) { // basically hyprctl - + + struct addrinfo ai_hints; + struct addrinfo *ai_res = NULL; const auto SERVERSOCKET = socket(AF_UNIX, SOCK_STREAM, 0); if (SERVERSOCKET < 0) { spdlog::error("Hyprland IPC: Couldn't open a socket (1)"); return ""; } - - const auto SERVER = gethostbyname("localhost"); + + memset(&ai_hints, 0, sizeof(struct addrinfo)); + ai_hints.ai_family = AF_UNSPEC; + ai_hints.ai_socktype = SOCK_STREAM; + const auto SERVER = getaddrinfo("localhost", NULL, &ai_hints, &ai_res); if (!SERVER) { spdlog::error("Hyprland IPC: Couldn't get host (2)"); ++++++ _service ++++++ --- /var/tmp/diff_new_pack.bo1Ss9/_old 2022-12-06 14:24:09.770029635 +0100 +++ /var/tmp/diff_new_pack.bo1Ss9/_new 2022-12-06 14:24:09.774029668 +0100 @@ -6,11 +6,12 @@ <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">(.*)</param> <param name="changesgenerate">enable</param> + <param name="filename">waybar</param> </service> <service name="tar" mode="buildtime"/> <service name="recompress" mode="buildtime"> <param name="file">*.tar</param> - <param name="compression">xz</param> + <param name="compression">gz</param> </service> <service name="set_version" mode="manual"/> </services> ++++++ waybar.obsinfo ++++++ name: waybar version: 0.9.16 mtime: 1669318452 commit: 9eb6c4e296d5736565c0434514b709d2bbb3bebe