2019-01-28 11:51:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package waybar
|
|
|
|
#
|
2020-03-26 10:02:17 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2019-01-28 11:51:06 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-09-03 13:17:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-01-28 11:51:06 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: waybar
|
2020-09-21 23:06:31 +02:00
|
|
|
Version: 0.9.4
|
2019-01-28 11:51:06 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Customizable Wayland bar for Sway and Wlroots based compositors
|
|
|
|
License: MIT
|
|
|
|
Group: System/GUI/Other
|
|
|
|
URL: https://github.com/Alexays/Waybar
|
2020-08-06 08:03:39 +02:00
|
|
|
# use this to download tarball. then use `meson subprojects download`
|
|
|
|
# to get the `date` dependency. and create own tarball
|
|
|
|
#Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
|
Accepting request 788919 from home:dkondratenko:branches:X11:Wayland
- Update to 0.9.1:
Added
* Clock: Add timezone support tada #560
* Clock: Current month calendar in tooltip tada#570
* Mpd: add paused format string #543
Changed:
* Network: hide on empty format c885be3
* Mediaplayer: Show title if artist isn't available #534
* Fixed: WindowId recieves 'u' #536
* Man: adding and clarification of configuration options #541
* Add info on "on-click-middle" option to custom module man page #529
* Network: add missing include #546
* Tray: Keep aspect ratio when scaling tray icons #548
* Fixed SIGSEGV on Monitor Disconnect/Connect #555 #578
* Pulseaudio: Use PA_PROP_DEVICE_FORM_FACTOR for device icon #550
* Pulseaudio: Adapt icon names to form factors #571 #577
* Clock: lower precision of zoned_time to avoid fractional seconds in output #579
- new 'date' library added to the sources archive
* added to the subprojects dir with 'meson subprojects download'
* it is a dependency for the Clock
* https://github.com/Alexays/Waybar/issues/594
- changing Sources to local archive as it packs additional `date` submodule
* OBS checks would fail if it points to the exernal sources
- Add dependency on systemd and new gtk-layer-shell-devel
- Update to 0.9.0:
Added:
* Use GTK Layer Shell for working Popups #441
* Disk module #471
* Man pages option #443
* Battery: format time #455
* Systemd user unit #460
* Detect timezone changes #480
* Pulseaudio: export desc as a format #507
* Toggle opacity #510
Changed:
* Fix man memory description #444
* Fix output typo #445
* Fix typo: persistant -> persistent #446
* Fix exclusive zone #447
* Network: clamp signal strength 334bc1e
* MPD: take lock in waitForEvent to prevent SIGABORT #467
* Pulseaudio: audio scroll bound #475
- BuildRequire pkgconfig(libudev) instead of libudev-devel:
Allow OBS to shortcut through the -mini flavors.
- Pkgconfigy spec, ensure the correct BuildRequires are pulled in.
- Add scdoc build dependency for generating waybar man pages
- Update to 0.8.0:
Added:
* Manual #431
* Muted bluetooth format #429
* Support sway/mode pango markup #442
Changed:
* Fixed fmt 6.0.0 breakup #439
* Fixed stack-use-after-return8f9e6c1
* Fixed Tray dbusmenu delay and initial render #438
- Update to 0.7.2:
* Fixed crash on output unplug bb99e6c
* MediaPlayer script: Ignore selected player if not defined #421
- Update to 0.7.1:
Added:
* Added css class for window name and position #397
Changed:
* Fixed workspaces scroll deadlock #403
* Fixed pulseaudio scroll #405
- Update to 0.7.0:
Added:
* Scrolling threshold #381
* Total memory #385
Changed:
* Improved scroll behavior
* Fixed sway/window not showing window title sometimes 486b5a5
* Fixed sway/window not showing floating window title dabe2be
- Update to 0.6.9:
Added:
* Added monitor name as bar class 46e5dd9
* Added class for persistant workspaces c2e9ed6
Changed:
* Fixed custom module exit status 564fdcb
* Avoid expand sway/window width 3c9b533
- Update to 0.6.8:
* Fixed window app class 1962caf
* Fixed static custom module 9dbf057
* Only watch pulseaudio change events 0b01b35
- Update to 0.6.7:
* Better network events handler ecec02c
* Hide custom module on empty text be2fa74
* Code cleaning and Some optimizations
- Update to 0.6.6:
Added
* Pulseaudio microphone state bb4af29
* Persistent workspaces #330
* Logger #332
* Estimated battery remaining time until empty/full #331
Changed
* Switch between network ifaces upon disconnection 48a58cd
* Brightness amd fix #336
* Fixed some clock issues #333
* Wlroots dependency removed 03e43f
* Escape sway mode 12a251c
------------------------------------------------------------------
- Update to 0.6.5:
Added
* Network bandwidth support (traffic) #328
* Network frequency tag cb2d6e1
* Update custom modules on click/scroll ff28de0
Changed
* Execute Modules update on gtk idle aa385e2
* Fixed battery plugged state 17291df
* Fixed gtk error on output plug/unplug f8a4759
* Fixed tray button behaviour d2d9db2
* Network code optimizations d34c3a8 4865a9a aa385e2
* Workspace scroll changes 1e95f5d 0d59f7b 3e1c77d
------------------------------------------------------------------
- Update to 0.6.4:
Added
* Temperature format-icons fcb23d3
* Battery plugged but not charging status 5b3402e
* Network linked state/format #319
* Able to scroll throught workspaces from bar blank spaces #322
* Battery format-icons by states 4b4b74d
Changed
* Network refactor #319, closes #292 #230 #239
* Fixed network module compilation on Alpine e12766a
* Fixed window classes 62f8af8
* Fixed state order for modules 92967c7 7e8eee0
* Fixed pulseaudio scroll override 4f1defe
* Fixed sigsev on output plug/unplug 362c393 0c3c548
* Fixed tray items duplication b54160e
- Update to 0.6.3:
Changed
* Fixed battery module compilation on older system 80e9ea7
* Fixed pulseaudio bluetooth format e343cf4
* Remove empty and solo classes when they do not apply 7cdde05
- Update to 0.6.2:
Added
* Gaps/Margins 4688002
* Idle inhibitor click arguments 5623bbe
* Battery states adapted to backlight, cpu, memory, network, volume percentage values #297
Changed
* Title flickers fixed 74137be
- Update to 0.6.1:
Added:
* Labels rotation #287
Changed:
* s/hidded/hidden/ typo fixed 4d4562a
* JSON parser threads concurrence fixed d027243
* Custom modules with once interval fixed e8f31a0
- Update to 0.6.0:
Added:
* MPD Module
* Manage the style of the bar according to the window in the workspace bb8ff5a
* Custom modules: Allow to toggle multiple classes 6aee514
* Partially hide Waybar with the .hidded class on toggle (SIGUSR1) ecc5f48
* Multiple bars on the same screen with one file 79a5e9e
Changed:
* Handle widgets size changes for auto height/width management 311c34e
* Tray: Icons update fixed
* Tray: Icons size 3273ee8
* Workspace: Pango markup now supported bc9a497
* Custom: Kill scripts on bar destroy 90d89fe
* Some screens output/unplug fixed
- Update to 0.5.1:
Added:
* Tray: Handle icons updates #252
* Allow waybar to be positioned on left/right 47142a6
* Custom: Allow icon selection based on json alt attribute #245
Changed:
* Network: Escape ESSID #241
* Workspace: Reversed scrolling direction to reflect swaybar
behavior 5144426
* Script: mediaplayer script is now generic and return json
data with player name for icon matching #249
* Network: Fixed multiple networking module regression 1f6f443
- Update to 0.5.0:
Added:
* Add temperature module 7ae549d
* Add option to show only current workspace in sway/workspaces module #206
* Add custom tooltip format for network module a9f680b
* Add status class to idle_inhibitor 973cec1
* Add pkill signals to custom modules #228
Changed:
* Improving mouse button support d0f56b7
* Fixed idle_inhibitor, handles click events correctly 80ef637
* Fixed clock seconds ef88f0a
* Fixed sway ipc crash when compiled with -D_GLIBCXX_ASSERTIONS 00176c9
* Fixed network skipped changes
* Workspaces scroll is now output aware except when all-outputs is set
- Update to 0.4.0:
Added:
* Output configuration
* Backlight module, thanks to @ianhattendorf
* Idle inhibitor, thanks to @jonfin
* Option to disable tooltip
* Option to escape custom module script output
Changed:
* Fixed workspace button order
* Fixed tray big icons
* Fixed scroll with touchpad
- Changes from 0.3.0:
Added:
* Signal strength icons range, thx @Robinhuett
* Add format-icons to custom modules, again @Robinhuett smile
Changed:
* Return puleseaudio port string if unknown, thx @chep
* Check adapter online as fallback when battery status report unknown
* Typos fixed
* Better modules destructions
- Package waybar 0.2.3 for openSUSE
OBS-URL: https://build.opensuse.org/request/show/788919
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=39
2020-03-27 09:58:53 +01:00
|
|
|
Source: %{version}.tar.gz
|
2019-12-28 13:26:43 +01:00
|
|
|
BuildRequires: cmake
|
2019-01-28 11:51:06 +01:00
|
|
|
BuildRequires: gcc-c++
|
2019-12-28 14:27:09 +01:00
|
|
|
BuildRequires: gtk-layer-shell-devel
|
2019-01-28 11:51:06 +01:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: ninja
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig
|
2019-12-28 14:27:09 +01:00
|
|
|
# optional: man pages
|
|
|
|
BuildRequires: scdoc
|
|
|
|
# optional: tray module
|
|
|
|
BuildRequires: pkgconfig(dbusmenu-gtk3-0.4)
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig(fmt)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtkmm-3.0)
|
|
|
|
BuildRequires: pkgconfig(jsoncpp)
|
|
|
|
BuildRequires: pkgconfig(libinput)
|
2019-12-28 14:27:09 +01:00
|
|
|
# optional: mpd module
|
|
|
|
BuildRequires: pkgconfig(libmpdclient)
|
|
|
|
# optional: network
|
|
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
|
|
# optional: audio
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2019-12-22 17:55:24 +01:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig(sigc++-2.0)
|
|
|
|
BuildRequires: pkgconfig(spdlog)
|
2019-12-28 14:27:09 +01:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
2020-06-08 11:05:09 +02:00
|
|
|
# requires branding
|
2020-06-22 17:31:59 +02:00
|
|
|
Requires: %{name}-branding
|
2019-01-28 11:51:06 +01:00
|
|
|
# optional: sway integration
|
|
|
|
Recommends: sway
|
|
|
|
|
|
|
|
%description
|
|
|
|
Customizable Wayland bar for Sway and Wlroots based compositors.
|
|
|
|
|
2020-06-08 11:05:09 +02:00
|
|
|
%package branding-upstream
|
|
|
|
Summary: Upstream branding of %{name}
|
|
|
|
Group: System/GUI/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
|
|
|
Provides: %{name}-branding = %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
#BRAND: /etc/xdg/waybar/config contains upstream config
|
|
|
|
#BRAND: /etc/xdg/waybar/style.css contains upstream style
|
|
|
|
|
|
|
|
%description branding-upstream
|
|
|
|
This package provides the upstream look and feel for sway.
|
|
|
|
|
2019-01-28 11:51:06 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n Waybar-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/waybar
|
2019-09-03 13:17:01 +02:00
|
|
|
%{_mandir}/man?/%{name}*
|
2019-12-28 14:27:09 +01:00
|
|
|
%{_prefix}/lib/systemd/user/waybar.service
|
2019-01-28 11:51:06 +01:00
|
|
|
|
2020-06-08 11:05:09 +02:00
|
|
|
%files branding-upstream
|
|
|
|
%dir %{_sysconfdir}/xdg/waybar
|
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/waybar/config
|
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
|
|
|
|
|
2019-01-28 11:51:06 +01:00
|
|
|
%changelog
|