forked from cockpit/cockpit-podman
Accepting request 983430 from systemsmanagement:cockpit
- load-css-overrides.patch: css overrides for better theming support - new version 49.1 https://github.com/cockpit-project/cockpit-podman/releases/tag/49.1 OBS-URL: https://build.opensuse.org/request/show/983430 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit-podman?expand=0&rev=9
This commit is contained in:
commit
4cb084cb0e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:399ac8c2c6e96ce6a0a3e5dd210e13363efc37bdf778dbfcbf4957a8dd7e4012
|
||||
size 117053
|
3
cockpit-podman-49.1.tar.gz
Normal file
3
cockpit-podman-49.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1bfded848786eaa4ba174533aaa223cd1acb00b6c73d2386fea397dc1195f03c
|
||||
size 157070
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 10:11:13 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- load-css-overrides.patch: css overrides for better theming support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 10 13:34:10 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- new version 49.1
|
||||
https://github.com/cockpit-project/cockpit-podman/releases/tag/49.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 22 11:49:35 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: cockpit-podman
|
||||
Version: 33
|
||||
Version: 49.1
|
||||
Release: 0
|
||||
Summary: Cockpit component for Podman containers
|
||||
License: LGPL-2.1-or-later
|
||||
@ -26,13 +26,14 @@ Source: https://github.com/cockpit-project/cockpit-podman/archive/%{vers
|
||||
Source10: package-lock.json
|
||||
Source11: node_modules.spec.inc
|
||||
%include %_sourcedir/node_modules.spec.inc
|
||||
Patch1: load-css-overrides.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: appstream-glib
|
||||
Requires: cockpit-bridge >= 138
|
||||
Requires: cockpit-shell >= 138
|
||||
Requires: podman >= 2.0.4
|
||||
#
|
||||
BuildRequires: cockpit-devel >= 237
|
||||
BuildRequires: cockpit-devel >= 271
|
||||
BuildRequires: local-npm-registry
|
||||
BuildRequires: sassc
|
||||
|
||||
@ -41,10 +42,12 @@ Cockpit component for managing Podman containers
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
rm -r node_modules
|
||||
local-npm-registry %{_sourcedir} install --with=dev
|
||||
|
||||
%build
|
||||
cp -r %{_datadir}/cockpit/devel/lib src/lib
|
||||
mkdir -p pkg/lib
|
||||
cp -r %{_datadir}/cockpit/devel/lib/* pkg/lib
|
||||
|
||||
npm run build
|
||||
|
||||
|
26
load-css-overrides.patch
Normal file
26
load-css-overrides.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From c2129ba4abc8cdea0129c6fd1437bd905e947aca Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= <dgonzalez@suse.de>
|
||||
Date: Mon, 13 Jun 2022 21:32:24 +0100
|
||||
Subject: [PATCH] Start loading a custom CSS file
|
||||
|
||||
For changing the Cockpit appearance using the CSS overrides workaround
|
||||
described at https://github.com/cockpit-project/cockpit/pull/17437
|
||||
---
|
||||
src/index.html | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/index.html b/src/index.html
|
||||
index 6963aaf..01ec06d 100644
|
||||
--- a/src/index.html
|
||||
+++ b/src/index.html
|
||||
@@ -23,6 +23,7 @@ along with this package; If not, see <http://www.gnu.org/licenses/>.
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="index.css">
|
||||
+ <link href="../../static/css-overrides.css" type="text/css" rel="stylesheet">
|
||||
|
||||
<script type="text/javascript" src="../base1/cockpit.js"></script>
|
||||
<script type="text/javascript" src="po.js"></script>
|
||||
--
|
||||
2.36.1
|
||||
|
BIN
node_modules.obscpio
(Stored with Git LFS)
BIN
node_modules.obscpio
(Stored with Git LFS)
Binary file not shown.
File diff suppressed because it is too large
Load Diff
8421
package-lock.json
generated
8421
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user