Skip to content

Commit

Permalink
feat: Update to GNOME 45
Browse files Browse the repository at this point in the history
  • Loading branch information
marhkb committed Sep 3, 2023
1 parent ce09a3e commit d3e0d08
Show file tree
Hide file tree
Showing 237 changed files with 11,422 additions and 10,208 deletions.
1,100 changes: 607 additions & 493 deletions Cargo.lock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[package]
name = "pods"
version = "1.3.0-dev"
version = "2.0.0-dev"
authors = ["Marcus Behrendt <marcus.behrendt.86@gmail.com>"]
edition = "2021"

[dependencies]
adw = { version = "0.3", package = "libadwaita", features = ["v1_3"] }
adw = { git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", package = "libadwaita", features = ["v1_4"] }
anyhow = "1"
ashpd = { version = "0.4", default-features = false, features = ["gtk4", "tokio"] }
ashpd = { git = "https://github.com/bilelmoussaoui/ashpd.git", default-features = false, features = ["gtk4", "tokio"] }
futures = { version = "0.3", default-features = false }
gettext-rs = { version = "0.7", features = ["gettext-system"] }
gtk = { version = "0.6", package = "gtk4", features = ["gnome_44"] }
indexmap = { version = "1", features = ["serde"] }
gtk = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gtk4", features = ["gnome_44"] }
indexmap = { version = "2", features = ["serde"] }
log = "0.4"
names = { version = "0.14", default-features = false }
once_cell = "1"
oo7 = { version = "0.1", default-features = false, features = ["native_crypto", "tokio"] }
panel = { version = "0.2", package = "libpanel" }
paste = "1"
oo7 = { version = "0.2", default-features = false, features = ["native_crypto", "tokio"] }
panel = { git = "https://gitlab.gnome.org/World/Rust/libpanel-rs.git", package = "libpanel", features = ["adw_v1_2"] }
paste = "1.0.4"
podman-api = { git = "https://github.com/vv9k/podman-api-rs.git", commit = "363d945b9b9905c50dfa0bfe0f9331f9fdeef079", default-features = false }
regex = "1"
serde = "1"
serde_json = "1"
sourceview5 = "0.6"
sourceview5 = { git = "https://gitlab.gnome.org/World/Rust/sourceview5-rs.git" }
syslog = "6"
tokio = "1"
tokio-tar = "0.3"
vte = { version = "0.11", default-features = false }
vte4 = "0.6"
vte4 = { git = "https://gitlab.gnome.org/World/Rust/vte4-rs.git" }

[profile.release]
lto = true
Expand Down
79 changes: 77 additions & 2 deletions build-aux/com.github.marhkb.Pods.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,81 @@
"*.a"
],
"modules": [
{
"name": "gtk",
"buildsystem": "meson",
"config-opts": [
"-Dintrospection=disabled",
"-Dbuild-demos=false",
"-Dbuild-testsuite=false",
"-Dbuild-examples=false",
"-Dbuild-tests=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gtk.git",
"tag": "4.12.1"
}
]
},
{
"name": "appstream",
"buildsystem": "meson",
"config-opts": [
"-Dstemming=false",
"-Dapidocs=false"
],
"sources": [
{
"type": "git",
"url": "https://github.com/ximion/appstream.git",
"branch": "main"
}
],
"modules": [
{
"name": "libyaml",
"buildsystem": "autotools",
"sources": [
{
"type": "git",
"url": "https://github.com/yaml/libyaml.git"
}
]
},
{
"name": "libxmlb",
"buildsystem": "meson",
"config-opts": [
"-Dgtkdoc=false"
],
"sources": [
{
"type": "git",
"url": "https://github.com/hughsie/libxmlb.git",
"branch": "main"
}
]
}
]
},
{
"name": "libadwaita",
"buildsystem": "meson",
"config-opts": [
"-Dvapi=false",
"-Dtests=false",
"-Dexamples=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libadwaita.git",
"tag": "1.4.rc"
}
]
},
{
"name": "libpanel",
"buildsystem": "meson",
Expand All @@ -62,7 +137,7 @@
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libpanel.git",
"tag": "1.2.0"
"tag": "1.3.1"
}
]
},
Expand All @@ -81,7 +156,7 @@
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/vte.git",
"tag": "0.72.1"
"tag": "0.72.2"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions data/com.github.marhkb.Pods.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<summary>The last used view</summary>
<description></description>
</key>
<key name="show-intermediate-images" type="b">
<key name="hide-intermediate-images" type="b">
<default>false</default>
<summary>Whether to show intermediate images</summary>
<summary>Whether to hide intermediate images</summary>
<description></description>
</key>
<key name="last-used-container-file-path" type="s">
Expand Down
14 changes: 0 additions & 14 deletions data/resources/glsl/mask.glsl

This file was deleted.

2 changes: 2 additions & 0 deletions data/resources/icons/scalable/actions/about-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions data/resources/icons/scalable/actions/cross-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions data/resources/icons/scalable/actions/funnel-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions data/resources/icons/scalable/status/bell-symbolic.svg

This file was deleted.

9 changes: 4 additions & 5 deletions data/resources/resources.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
<gresource prefix="/com/github/marhkb/Pods/">
<file preprocess="xml-stripblanks">assets/welcome.svg</file>

<file compressed="true" preprocess="xml-stripblanks" alias="gtk/help-overlay.ui">ui/shortcuts.ui</file>

<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/about-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/arrow1-right-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/bell-outline-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/build-configure-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/code-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/cross-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/eraser5-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/funnel-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/get-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/hospital-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/memory-symbolic.svg</file>
Expand All @@ -23,7 +25,6 @@
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/stacked-plates-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/uppercase-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/actions/whole-word-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/status/bell-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/status/degraded-pod-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/status/error-symbolic.svg</file>
<file compressed="true" preprocess="xml-stripblanks">icons/scalable/status/local-connection-symbolic.svg</file>
Expand All @@ -32,7 +33,5 @@
<file compressed="true">style.css</file>
<file compressed="true">style-dark.css</file>
<file compressed="true">style-hc.css</file>

<file>glsl/mask.glsl</file>
</gresource>
</gresources>
4 changes: 3 additions & 1 deletion data/resources/style-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
}

.container-status-running,
.pod-status-running {
.pod-status-running,
.image-used,
.volume-used {
color: @blue_1;
background-color: alpha(@blue_2, .35);
}
Expand Down
7 changes: 6 additions & 1 deletion data/resources/style-hc.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
font-weight: bold;
}

.version,
.container-status-configured,
.container-status-created,
.container-status-exited,
Expand All @@ -15,6 +16,8 @@
.pod-status-created,
.pod-status-exited,
.pod-status-stopped,
.image-unused,
.volume-unused,
.container-health-status-checking,
.container-health-status-unconfigured,
.rich-expander-row-header #badge {
Expand All @@ -35,7 +38,9 @@
}

.container-status-running,
.pod-status-running {
.pod-status-running,
.image-used,
.volume-used {
background-color: @accent_bg_color;
color: @accent_fg_color;
}
Expand Down
83 changes: 70 additions & 13 deletions data/resources/style.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
.flat-headerbar-content scrollbar.vertical {
/* The size a typical headerbar takes: 46px + 1px for the bottom border. */
margin-top: 47px;

/* Relevant for scrollbars without .overlay-indicator. */
background: none;
box-shadow: none;
}

.flat-headerbar-normal-scrollbar scrollbar.vertical {
margin-top: 0;
.navigation-sidebar .list-separator {
margin: -12px 0;
}

.text-box textview {
Expand All @@ -19,6 +10,11 @@
border-radius: 9999px;
}

.circle-big {
border-radius: 9999px;
padding: 8px;
}

.dim-icon {
color: alpha(@window_fg_color, .75);
}
Expand All @@ -28,8 +24,14 @@ entry button {
padding: 0 3px;
}

button.medium {
padding: 6px;
-gtk-icon-size: 24px;
}

button.large {
padding: 9px;
-gtk-icon-size: 24px;
}

.action-bar {
Expand All @@ -40,6 +42,47 @@ button.large {
color: @destructive_color;
}

.sidebar-row {
margin: 12px 6px;
}

actionsbutton .action-count-mask {
background-color: @headerbar_bg_color;
border-radius: 9999px;
margin-left: 10px;
padding: 7px;
}

actionsbutton .action-count-badge {
border-radius: 9999px;
font-feature-settings: "tnum";
font-size: x-small;
font-weight: bold;
margin-top: 1px;
margin-left: 10px;
padding: 6px;
}

actionsbutton.good .action-count-badge {
background-color: @accent_bg_color;
color: @accent_fg_color;
}

actionsbutton.finished .action-count-badge {
background-color: @success_bg_color;
color: @success_fg_color;
}

actionsbutton.cancelled .action-count-badge {
background-color: @warning_bg_color;
color: @warning_fg_color;
}

actionsbutton.failed .action-count-badge {
background-color: @error_bg_color;
color: @error_fg_color;
}

connectionswitcher row #selection-indicator #background,
actionssidebar #type {
background-color: @shade_color;
Expand Down Expand Up @@ -100,18 +143,28 @@ connectionchooserpage connectionswitcher row {
}

.status-badge {
font-size: 0.8em;
font-size: 0.9em;
font-weight: bold;
min-width: 1.7em;
border-radius: 9999px;
padding: 5px 7px;
}

.status-badge-small {
font-size: small;
font-weight: bold;
font-feature-settings: "tnum";
min-width: 10px;
border-radius: 9999px;
padding: 1px 4px;
}

.repo-tags-small {
background-color: transparent;
margin: 0 0 -4px -2px;
}

.version,
.container-status-configured,
.container-status-created,
.container-status-exited,
Expand All @@ -122,6 +175,8 @@ connectionchooserpage connectionswitcher row {
.pod-status-created,
.pod-status-exited,
.pod-status-stopped,
.image-unused,
.volume-unused,
.container-health-status-checking,
.container-health-status-unconfigured,
.rich-expander-row-header #badge {
Expand All @@ -142,7 +197,9 @@ connectionchooserpage connectionswitcher row {
}

.container-status-running,
.pod-status-running {
.pod-status-running,
.image-used,
.volume-used {
color: @blue_4;
background-color: alpha(@blue_3, .25);
}
Expand Down
Loading

0 comments on commit d3e0d08

Please sign in to comment.