diff --git a/awesome-branding-openSUSE.changes b/awesome-branding-openSUSE.changes index c9363a8..056bc25 100644 --- a/awesome-branding-openSUSE.changes +++ b/awesome-branding-openSUSE.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 14 11:30:41 UTC 2021 - Dominique Leuenberger + +- 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 diff --git a/awesome-branding-openSUSE.spec b/awesome-branding-openSUSE.spec index 44d7763..4112f24 100644 --- a/awesome-branding-openSUSE.spec +++ b/awesome-branding-openSUSE.spec @@ -1,7 +1,7 @@ # # 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 # # 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) # 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 Release: 0 Summary: openSUSE Branding for awesome -License: GPL-2.0+ +License: GPL-2.0-or-later 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 +Patch0: awesome-branding-without-calendar.patch BuildRequires: awesome-branding-upstream >= 4.0 Requires: adwaita-icon-theme 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. %prep -%setup -q -n %{name}-%{_version} +%autosetup -n %{name}-%{_version} -p1 %build # Nothing to build. diff --git a/awesome-branding-without-calendar.patch b/awesome-branding-without-calendar.patch new file mode 100644 index 0000000..f564ab9 --- /dev/null +++ b/awesome-branding-without-calendar.patch @@ -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, "%s") ++-- calendar2.addCalendarToWidget(mytextclock, "%s") + + mycpuwidget = wibox.widget.textbox() + vicious.register(mycpuwidget, vicious.widgets.cpu, "$1%")