Accepting request 983413 from systemsmanagement:cockpit
- load-css-overrides.patch: css overrides for better theming support - Update to 271.2: * Fix test/reference setup in release tarball for tests - Update to 271.1: https://github.com/cockpit-project/cockpit-machines/releases/tag/270.1 - Update to 264: https://github.com/cockpit-project/cockpit-machines/releases/tag/264 OBS-URL: https://build.opensuse.org/request/show/983413 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit-machines?expand=0&rev=7
This commit is contained in:
commit
3ea6f02bb5
2
_service
2
_service
@ -3,7 +3,7 @@
|
|||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="url">http://github.com/cockpit-project/cockpit-machines.git</param>
|
<param name="url">http://github.com/cockpit-project/cockpit-machines.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="revision">249.1</param>
|
<param name="revision">270.2</param>
|
||||||
<param name="filename">cockpit-machines</param>
|
<param name="filename">cockpit-machines</param>
|
||||||
<param name="without-version">enable</param>
|
<param name="without-version">enable</param>
|
||||||
</service>
|
</service>
|
||||||
|
@ -1,9 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 17 10:31:05 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- load-css-overrides.patch: css overrides for better theming support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 13 08:42:23 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- Update to 271.2:
|
||||||
|
* Fix test/reference setup in release tarball for tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 10 13:21:43 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- Update to 271.1:
|
||||||
|
https://github.com/cockpit-project/cockpit-machines/releases/tag/270.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 19 18:10:51 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>
|
Thu May 19 18:10:51 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>
|
||||||
|
|
||||||
- Add suse-vv-install.patch to display SUSE hint for virt-viewer
|
- Add suse-vv-install.patch to display SUSE hint for virt-viewer
|
||||||
installation (bsc#1199673)
|
installation (bsc#1199673)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 17 13:42:11 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- Update to 264:
|
||||||
|
https://github.com/cockpit-project/cockpit-machines/releases/tag/264
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 14 22:37:04 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>
|
Mon Mar 14 22:37:04 UTC 2022 - Jacek Tomasiak <jtomasiak@suse.com>
|
||||||
|
|
||||||
|
BIN
cockpit-machines.obscpio
(Stored with Git LFS)
BIN
cockpit-machines.obscpio
(Stored with Git LFS)
Binary file not shown.
@ -1,5 +1,4 @@
|
|||||||
name: cockpit-machines
|
name: cockpit-machines
|
||||||
version: 249.1
|
version: 270.2
|
||||||
mtime: 1628094778
|
mtime: 1654779334
|
||||||
commit: 33272e4b91ca8a25b5d899aa8d6e05dde6450969
|
commit: bad85ac4543fb74380eac82717440773a06d8df3
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cockpit-machines
|
Name: cockpit-machines
|
||||||
Version: 243.1
|
Version: 270.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cockpit user interface for virtual machines
|
Summary: Cockpit user interface for virtual machines
|
||||||
License: LGPL-2.1-or-later AND MIT
|
License: LGPL-2.1-or-later AND MIT
|
||||||
@ -29,6 +29,7 @@ Source10: package-lock.json
|
|||||||
Source11: node_modules.spec.inc
|
Source11: node_modules.spec.inc
|
||||||
%include %_sourcedir/node_modules.spec.inc
|
%include %_sourcedir/node_modules.spec.inc
|
||||||
Patch0: hide-docs.patch
|
Patch0: hide-docs.patch
|
||||||
|
Patch1: load-css-overrides.patch
|
||||||
# patches for node modules start with 100
|
# patches for node modules start with 100
|
||||||
Patch100: suse-vv-install.patch
|
Patch100: suse-vv-install.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -49,7 +50,7 @@ Requires: virt-install
|
|||||||
Recommends: libosinfo
|
Recommends: libosinfo
|
||||||
Recommends: python3-gobject-base
|
Recommends: python3-gobject-base
|
||||||
#
|
#
|
||||||
BuildRequires: cockpit-devel >= 243
|
BuildRequires: cockpit-devel >= 271
|
||||||
BuildRequires: local-npm-registry
|
BuildRequires: local-npm-registry
|
||||||
BuildRequires: sassc
|
BuildRequires: sassc
|
||||||
|
|
||||||
@ -61,12 +62,14 @@ If "virt-install" is installed, you can also create new virtual machines.
|
|||||||
%prep
|
%prep
|
||||||
%setup -n %{name}
|
%setup -n %{name}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
rm -f package-lock.json
|
rm -f package-lock.json
|
||||||
local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
|
local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp -r %{_datadir}/cockpit/devel/lib src/lib
|
mkdir -p pkg/lib
|
||||||
|
cp -r %{_datadir}/cockpit/devel/lib/* pkg/lib
|
||||||
NODE_ENV=production npm run build
|
NODE_ENV=production npm run build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
26
load-css-overrides.patch
Normal file
26
load-css-overrides.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 4b3070817f041c17acf70b126236d906dbad424b 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 22:31:45 +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 8c5380c..5be6daa 100644
|
||||||
|
--- a/src/index.html
|
||||||
|
+++ b/src/index.html
|
||||||
|
@@ -7,6 +7,7 @@
|
||||||
|
<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
26728
package-lock.json
generated
26728
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user