forked from pool/awesome-branding-openSUSE
Accepting request 894053 from X11:windowmanagers
OBS-URL: https://build.opensuse.org/request/show/894053 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awesome-branding-openSUSE?expand=0&rev=10
This commit is contained in:
commit
7cd3a2c4c9
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 14 11:30:41 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Add awesome-branding-without-calendar.patch: Disable the calendar
|
||||||
|
widget for now (boo#1182240).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 8 20:12:29 UTC 2017 - sor.alexei@meowr.ru
|
Sun Jan 8 20:12:29 UTC 2017 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package awesome-branding-openSUSE
|
# spec file for package awesome-branding-openSUSE
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2012 Togan Muftuoglu <toganm@opensuse.org>
|
# Copyright (c) 2012 Togan Muftuoglu <toganm@opensuse.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -13,7 +13,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -23,10 +23,11 @@ Name: awesome-branding-openSUSE
|
|||||||
Version: 4.0
|
Version: 4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: openSUSE Branding for awesome
|
Summary: openSUSE Branding for awesome
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
Url: https://github.com/madanyang/awesome-branding-opensuse
|
URL: https://github.com/madanyang/awesome-branding-opensuse
|
||||||
Source: %{name}-%{_version}.tar.xz
|
Source: %{name}-%{_version}.tar.xz
|
||||||
|
Patch0: awesome-branding-without-calendar.patch
|
||||||
BuildRequires: awesome-branding-upstream >= 4.0
|
BuildRequires: awesome-branding-upstream >= 4.0
|
||||||
Requires: adwaita-icon-theme
|
Requires: adwaita-icon-theme
|
||||||
Requires: awesome = %{awesome_version}
|
Requires: awesome = %{awesome_version}
|
||||||
@ -47,7 +48,7 @@ This package provides the openSUSE specific additions both for
|
|||||||
functions and look and feel for awesome window manager.
|
functions and look and feel for awesome window manager.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{_version}
|
%autosetup -n %{name}-%{_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Nothing to build.
|
# Nothing to build.
|
||||||
|
22
awesome-branding-without-calendar.patch
Normal file
22
awesome-branding-without-calendar.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: awesome-branding-openSUSE-4.0-v0.1/rc.lua
|
||||||
|
===================================================================
|
||||||
|
--- awesome-branding-openSUSE-4.0-v0.1.orig/rc.lua
|
||||||
|
+++ awesome-branding-openSUSE-4.0-v0.1/rc.lua
|
||||||
|
@@ -38,7 +38,7 @@ local gtk = lgi.require("Gtk", "3.0")
|
||||||
|
-- Freedesktop integration
|
||||||
|
local freedesktop = require("freedesktop")
|
||||||
|
-- calendar functions
|
||||||
|
-local calendar2 = require("calendar2")
|
||||||
|
+-- local calendar2 = require("calendar2")
|
||||||
|
-- Extra widgets
|
||||||
|
local vicious = require("vicious")
|
||||||
|
|
||||||
|
@@ -184,7 +184,7 @@ separator:set_text("|")
|
||||||
|
|
||||||
|
-- Create a textclock widget
|
||||||
|
mytextclock = wibox.widget.textclock()
|
||||||
|
-calendar2.addCalendarToWidget(mytextclock, "<span color='green'>%s</span>")
|
||||||
|
+-- calendar2.addCalendarToWidget(mytextclock, "<span color='green'>%s</span>")
|
||||||
|
|
||||||
|
mycpuwidget = wibox.widget.textbox()
|
||||||
|
vicious.register(mycpuwidget, vicious.widgets.cpu, "$1%")
|
Loading…
Reference in New Issue
Block a user