Update resources
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
||||
.envrc
|
||||
/.direnv
|
||||
/.vscode
|
||||
/build
|
||||
/result
|
||||
/src/config.rs
|
||||
/target
|
||||
/src/resources.gresource
|
189
Cargo.lock
generated
@ -95,15 +95,6 @@ dependencies = [
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "async-oneshot"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1ec7c75bcbcb0139e9177f30692fd617405ca4e0c27802e128d53171f7042e2c"
|
||||
dependencies = [
|
||||
"futures-micro",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "atoi"
|
||||
version = "1.0.0"
|
||||
@ -225,8 +216,9 @@ checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db"
|
||||
|
||||
[[package]]
|
||||
name = "cairo-rs"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "08f9ee4a4ca9239c9a839453dce04b7ddee2f859ec4cd7acd1f5703b68db549c"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cairo-sys-rs",
|
||||
@ -238,8 +230,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "cairo-sys-rs"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5119ea655ec777b523f0b57279e70f8a4542f61b0e98a48f892b4ef043fd4c5d"
|
||||
dependencies = [
|
||||
"glib-sys",
|
||||
"libc",
|
||||
@ -702,15 +695,6 @@ dependencies = [
|
||||
"percent-encoding",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fragile"
|
||||
version = "1.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b7464c5c4a3f014d9b2ec4073650e5c06596f385060af740fc45ad5a19f959e8"
|
||||
dependencies = [
|
||||
"fragile 2.0.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fragile"
|
||||
version = "2.0.0"
|
||||
@ -797,15 +781,6 @@ dependencies = [
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "futures-micro"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b460264b3593d68b16a7bc35f7bc226ddfebdf9a1c8db1ed95d5cc6b7168c826"
|
||||
dependencies = [
|
||||
"pin-project-lite",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "futures-sink"
|
||||
version = "0.3.25"
|
||||
@ -838,8 +813,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gdk-pixbuf"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c0fb526c8c3a075eda15f961820edf3e15fe18576ac4fbabbb324e4cc6c421e6"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"gdk-pixbuf-sys",
|
||||
@ -850,8 +826,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gdk-pixbuf-sys"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7df12d15c10c3c5a84d9fb4ba0e27659f6a2bdee4f27f8b17126da15d5ddd3f2"
|
||||
dependencies = [
|
||||
"gio-sys",
|
||||
"glib-sys",
|
||||
@ -862,8 +839,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gdk4"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "66fe07f362c977c4684d1136a29f097208b3ccb2013ab6f441a3c60a046fd358"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cairo-rs",
|
||||
@ -877,8 +855,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gdk4-sys"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ddcf9e3ab5f237bb641e7f2fccc4b26d5b86f111f0d62e27d452dc24964541c2"
|
||||
dependencies = [
|
||||
"cairo-sys-rs",
|
||||
"gdk-pixbuf-sys",
|
||||
@ -926,8 +905,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gio"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33c1debf8d0315d69be0153aa76249db3c858ef69b7778ad3cc669e6d370c485"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"futures-channel",
|
||||
@ -945,8 +925,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gio-sys"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6da1bba9d3f2ab13a6e9932c40f240dc99ebc9f0bdc35cfb130d1a3df36f374c"
|
||||
dependencies = [
|
||||
"glib-sys",
|
||||
"gobject-sys",
|
||||
@ -957,8 +938,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "glib"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d5abffa711471e015eb93d65d6ea20e7e9f6f7951fc0a1042280439319b2de06"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"futures-channel",
|
||||
@ -978,8 +960,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "glib-macros"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e195c1311fa6b04d7b896ea39385f6bd60ef5d25bf74a7c11c8c3f94f6c1a572"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"heck",
|
||||
@ -992,8 +975,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "glib-sys"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b33357bb421a77bd849f6a0bfcaf3b4b256a2577802971bb5dd522d530f27021"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"system-deps",
|
||||
@ -1014,8 +998,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gobject-sys"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "63ca11a57400f3d4fda594e002844be47900c9fb8b29e2155c6e37a1f24e51b3"
|
||||
dependencies = [
|
||||
"glib-sys",
|
||||
"libc",
|
||||
@ -1024,8 +1009,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "graphene-rs"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "95a8de4506a64776d90fedf9c28fdca5a7127f8cc9c78976e8184ac6f42685d8"
|
||||
dependencies = [
|
||||
"glib",
|
||||
"graphene-sys",
|
||||
@ -1034,8 +1020,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "graphene-sys"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f2c952f764f02f8546fcc5d014bc78aa704c6d453c828c8b429121f704349163"
|
||||
dependencies = [
|
||||
"glib-sys",
|
||||
"libc",
|
||||
@ -1045,8 +1032,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gsk4"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d4fc2b86c751a7fe9aad0fdba85937a6aace3a8453e0e2a08d2a31ce4bb8ae55"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cairo-rs",
|
||||
@ -1060,8 +1048,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gsk4-sys"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2cb53e25cbbe3fa8e3e9db7c06d65085086fadbec4cd0aa567b2e2a4917db83d"
|
||||
dependencies = [
|
||||
"cairo-sys-rs",
|
||||
"gdk4-sys",
|
||||
@ -1075,8 +1064,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gtk4"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "47223ddb27033731b71ea841d1b878bd87a275a865f1df60b41505f9e4933d64"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cairo-rs",
|
||||
@ -1097,8 +1087,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gtk4-macros"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ce5eb86364b216ee8c497b1121831168fb25130d3378495a135f8e5c1972db7b"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"proc-macro-crate",
|
||||
@ -1110,8 +1101,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gtk4-sys"
|
||||
version = "0.6.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk4-rs#62f4173507d944e08dd8f09659491c55725a789d"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0f04bd0b63d999a36ae53a916ee4b20ea64a3ef4732ca8a98b1fde4a22c1476c"
|
||||
dependencies = [
|
||||
"cairo-sys-rs",
|
||||
"gdk-pixbuf-sys",
|
||||
@ -1449,8 +1441,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
|
||||
|
||||
[[package]]
|
||||
name = "libadwaita"
|
||||
version = "0.3.0"
|
||||
source = "git+https://gitlab.gnome.org/World/Rust/libadwaita-rs#4be42706a24225a737e706f44b5605d6dbc295d4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ed92f031cf7f3d501b84f41e4d05aed6ebfd8eed59a8fc0cccbf51359e92c8e3"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"futures-channel",
|
||||
@ -1467,8 +1460,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "libadwaita-sys"
|
||||
version = "0.3.0"
|
||||
source = "git+https://gitlab.gnome.org/World/Rust/libadwaita-rs#4be42706a24225a737e706f44b5605d6dbc295d4"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9ec4243e86fb53d06df2461d543529a640c9a0fba2d4cc850b70e11a85f9d952"
|
||||
dependencies = [
|
||||
"gdk4-sys",
|
||||
"gio-sys",
|
||||
@ -1716,8 +1710,6 @@ dependencies = [
|
||||
"sha256",
|
||||
"spdx",
|
||||
"sqlx",
|
||||
"strum",
|
||||
"strum_macros",
|
||||
"tokio",
|
||||
"tracker",
|
||||
]
|
||||
@ -1867,8 +1859,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
|
||||
|
||||
[[package]]
|
||||
name = "pango"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7208c60f224cf6e44c551df5ee2ef38f9da0fd29d7c5a0402000b8ab0520e798"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"gio",
|
||||
@ -1880,8 +1873,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pango-sys"
|
||||
version = "0.17.0"
|
||||
source = "git+https://github.com/gtk-rs/gtk-rs-core#01fa572c4fc8f0796ada8a191780b32076727d5e"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "922441c228366ed98d3534b87bc7c987c50564094c3abbc3513717786419252d"
|
||||
dependencies = [
|
||||
"glib-sys",
|
||||
"gobject-sys",
|
||||
@ -2201,17 +2195,16 @@ checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
|
||||
|
||||
[[package]]
|
||||
name = "relm4"
|
||||
version = "0.5.0-beta.3"
|
||||
source = "git+https://github.com/Relm4/Relm4?tag=v0.5.0-beta.3#cf23f21de3c1a38648db48df1197fd82e74b9862"
|
||||
version = "0.5.0-beta.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "691f7e54e0e008aed42522887fa634d5699cfaa11873d2090420717a76173613"
|
||||
dependencies = [
|
||||
"async-broadcast",
|
||||
"async-oneshot",
|
||||
"flume",
|
||||
"fragile 1.2.2",
|
||||
"fragile",
|
||||
"futures",
|
||||
"gtk4",
|
||||
"libadwaita",
|
||||
"log",
|
||||
"once_cell",
|
||||
"relm4-macros",
|
||||
"tokio",
|
||||
@ -2220,8 +2213,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "relm4-components"
|
||||
version = "0.5.0-beta.3"
|
||||
source = "git+https://github.com/Relm4/Relm4?tag=v0.5.0-beta.3#cf23f21de3c1a38648db48df1197fd82e74b9862"
|
||||
version = "0.5.0-beta.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f7dbc38bb6813a2ce81a8d5156a08db234cf7c367fda31b6ff99fc3386ec0bb2"
|
||||
dependencies = [
|
||||
"log",
|
||||
"once_cell",
|
||||
@ -2231,8 +2225,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "relm4-macros"
|
||||
version = "0.5.0-beta.3"
|
||||
source = "git+https://github.com/Relm4/Relm4?tag=v0.5.0-beta.3#cf23f21de3c1a38648db48df1197fd82e74b9862"
|
||||
version = "0.5.0-beta.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c710756302235fd02a26b45ddb4db2ec5b4d6e10c3d687911b465ececf979d1f"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -2327,12 +2322,6 @@ dependencies = [
|
||||
"semver",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustversion"
|
||||
version = "1.0.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8"
|
||||
|
||||
[[package]]
|
||||
name = "ryu"
|
||||
version = "1.0.11"
|
||||
@ -2711,25 +2700,6 @@ version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
||||
|
||||
[[package]]
|
||||
name = "strum"
|
||||
version = "0.24.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
|
||||
|
||||
[[package]]
|
||||
name = "strum_macros"
|
||||
version = "0.24.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"rustversion",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.103"
|
||||
@ -2964,7 +2934,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"log",
|
||||
"pin-project-lite",
|
||||
"tracing-attributes",
|
||||
"tracing-core",
|
||||
|
10
Cargo.toml
@ -5,10 +5,10 @@ edition = "2021"
|
||||
default-run = "nix-software-center"
|
||||
|
||||
[dependencies]
|
||||
relm4 = { git = "https://github.com/Relm4/Relm4", tag = "v0.5.0-beta.3", features = ["all"] }
|
||||
relm4-components = { package = "relm4-components", git = "https://github.com/Relm4/Relm4", tag = "v0.5.0-beta.3"}
|
||||
adw = { package = "libadwaita", git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", features = ["v1_2", "gtk_v4_6"] }
|
||||
gtk = { package = "gtk4", git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_6"] }
|
||||
relm4 = { version = "0.5.0-beta.4", features = ["all"] }
|
||||
relm4-components = { package = "relm4-components", version = "0.5.0-beta.4"}
|
||||
adw = { package = "libadwaita", version = "0.2", features = ["v1_2", "gtk_v4_6"] }
|
||||
gtk = { package = "gtk4", version = "0.5", features = ["v4_6"] }
|
||||
tokio = { version = "1.21", features = ["rt", "macros", "time", "rt-multi-thread", "sync", "process"] }
|
||||
tracker = "0.1"
|
||||
|
||||
@ -31,8 +31,6 @@ reqwest = { version = "0.11", features = ["blocking"] }
|
||||
sha256 = "1.0"
|
||||
image = "0.24"
|
||||
spdx = "0.9"
|
||||
strum = "0.24"
|
||||
strum_macros = "0.24"
|
||||
|
||||
anyhow = "1.0"
|
||||
|
||||
|
528
data/icons/nsc-audio.svg
Normal file
After Width: | Height: | Size: 40 KiB |
44
data/icons/nsc-development.svg
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<linearGradient id="a" gradientUnits="userSpaceOnUse" x1="12" x2="116" y1="64" y2="64">
|
||||
<stop offset="0" stop-color="#77767b"/>
|
||||
<stop offset="0.05" stop-color="#c0bfbc"/>
|
||||
<stop offset="0.1" stop-color="#9a9996"/>
|
||||
<stop offset="0.899999" stop-color="#9a9996"/>
|
||||
<stop offset="0.95" stop-color="#c0bfbc"/>
|
||||
<stop offset="1" stop-color="#77767b"/>
|
||||
</linearGradient>
|
||||
<filter id="b" height="100%" width="100%" x="0%" y="0%">
|
||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
</filter>
|
||||
<mask id="c">
|
||||
<g filter="url(#b)">
|
||||
<rect fill-opacity="0.05" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<radialGradient id="d" cx="63.999996" cy="194.190475" gradientTransform="matrix(4.727273 -0.00000079 0.0000003 1.636364 -230.545471 -205.766182)" gradientUnits="userSpaceOnUse" r="44">
|
||||
<stop offset="0" stop-color="#ffffff"/>
|
||||
<stop offset="1" stop-color="#ffffff" stop-opacity="0.094118"/>
|
||||
</radialGradient>
|
||||
<clipPath id="e">
|
||||
<rect height="152" width="192"/>
|
||||
</clipPath>
|
||||
<path d="m 20 22 h 88 c 4.417969 0 8 3.582031 8 8 v 78 c 0 4.417969 -3.582031 8 -8 8 h -88 c -4.417969 0 -8 -3.582031 -8 -8 v -78 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="url(#a)"/>
|
||||
<path d="m 20 12 h 88 c 4.417969 0 8 3.582031 8 8 v 80 c 0 4.417969 -3.582031 8 -8 8 h -88 c -4.417969 0 -8 -3.582031 -8 -8 v -80 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="#deddda"/>
|
||||
<path d="m 20 104 h 88 c 2.210938 0 4 -1.789062 4 -4 v -80 c 0 -2.210938 -1.789062 -4 -4 -4 h -88 c -2.210938 0 -4 1.789062 -4 4 v 80 c 0 2.210938 1.789062 4 4 4 z m 0 0" fill="#241f31"/>
|
||||
<g clip-path="url(#e)" mask="url(#c)" transform="matrix(1 0 0 1 -8 -16)">
|
||||
<path d="m 116 116 h -88 v -78 h 88 z m 0 0" fill="url(#d)"/>
|
||||
</g>
|
||||
<path d="m 24 28 h 28 v 4 h -28 z m 0 0" fill="#ff7800"/>
|
||||
<path d="m 24 36 h 16 v 4 h -16 z m 0 0" fill="#deddda"/>
|
||||
<path d="m 32 44 h 42 v 4 h -42 z m 0 0" fill="#3584e4"/>
|
||||
<path d="m 32 52 h 22 v 4 h -22 z m 0 0" fill="#deddda"/>
|
||||
<path d="m 40 60 h 36 v 4 h -36 z m 0 0" fill="#deddda"/>
|
||||
<path d="m 40 68 h 20 v 4 h -20 z m 0 0" fill="#8ff0a4"/>
|
||||
<path d="m 48 76 h 24 v 4 h -24 z m 0 0" fill="#ff7800"/>
|
||||
<path d="m 24 84 h 32 v 4 h -32 z m 0 0" fill="#deddda"/>
|
||||
<path d="m 24 92 h 18 v 4 h -18 z m 0 0" fill="#3584e4"/>
|
||||
<path d="m 32 76 h 14 v 4 h -14 z m 0 0" fill="#8ff0a4"/>
|
||||
<path d="m 62 68 h 20 v 4 h -20 z m 0 0" fill="#deddda"/>
|
||||
<path d="m 78 60 h 18 v 4 h -18 z m 0 0" fill="#3584e4"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
1135
data/icons/nsc-gaming.svg
Normal file
After Width: | Height: | Size: 44 KiB |
70
data/icons/nsc-graphics.svg
Normal file
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<linearGradient id="a" gradientTransform="matrix(0.25 0 0 0.244048 -0.499619 50.195877)" gradientUnits="userSpaceOnUse" x1="48" x2="464" y1="44" y2="44">
|
||||
<stop offset="0" stop-color="#babdb6"/>
|
||||
<stop offset="0.0416667" stop-color="#f6f5f4"/>
|
||||
<stop offset="0.0833333" stop-color="#d5d3cf"/>
|
||||
<stop offset="0.916667" stop-color="#deddda"/>
|
||||
<stop offset="0.958333" stop-color="#f6f5f4"/>
|
||||
<stop offset="1" stop-color="#babdb6"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="b" gradientTransform="matrix(-0.471598 0 0 0.471598 569.325439 -130.366928)" gradientUnits="userSpaceOnUse" x1="953.275024" x2="944.207458" y1="350.855988" y2="359.923553">
|
||||
<stop offset="0" stop-color="#e9b96e"/>
|
||||
<stop offset="1" stop-color="#dc9321"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="c" gradientTransform="matrix(-0.358336 0 0 0.358336 230.872086 1.097)" gradientUnits="userSpaceOnUse" x1="418.838409" x2="433.349823" y1="227" y2="212.868271">
|
||||
<stop offset="0" stop-color="#9a9996"/>
|
||||
<stop offset="0.415508" stop-color="#c0bfbc"/>
|
||||
<stop offset="1" stop-color="#deddda"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="d" cx="450.948059" cy="225.394623" gradientTransform="matrix(-0.658592 0 0 0.658592 370.111938 -72.351868)" gradientUnits="userSpaceOnUse" r="39.999989">
|
||||
<stop offset="0" stop-color="#5b5b5b"/>
|
||||
<stop offset="0.634455" stop-color="#262e39"/>
|
||||
<stop offset="1" stop-color="#113f78"/>
|
||||
</radialGradient>
|
||||
<filter id="e" height="100%" width="100%" x="0%" y="0%">
|
||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
</filter>
|
||||
<mask id="f">
|
||||
<g filter="url(#e)">
|
||||
<rect fill-opacity="0.3" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<clipPath id="g">
|
||||
<rect height="152" width="192"/>
|
||||
</clipPath>
|
||||
<linearGradient id="h" gradientUnits="userSpaceOnUse" x1="19.25" x2="54.820038" y1="55.999985" y2="91.570023">
|
||||
<stop offset="0" stop-color="#dc8add"/>
|
||||
<stop offset="1" stop-color="#103c72"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="i" cx="67.502945" cy="244.504639" gradientTransform="matrix(1.001091 -0.00000013 0.00000014 0.81247 -0.576645 -108.652573)" gradientUnits="userSpaceOnUse" r="11.077337">
|
||||
<stop offset="0" stop-color="#113f78" stop-opacity="0"/>
|
||||
<stop offset="0.786035" stop-color="#113f78" stop-opacity="0.105882"/>
|
||||
<stop offset="1" stop-color="#103c72"/>
|
||||
</radialGradient>
|
||||
<mask id="j">
|
||||
<g filter="url(#e)">
|
||||
<rect fill-opacity="0.2" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<clipPath id="k">
|
||||
<rect height="152" width="192"/>
|
||||
</clipPath>
|
||||
<path d="m 24 123 v 1 h 16 v -1 z m 64 0 v 1 h 16 v -1 z m 0 0" fill="#9a9996"/>
|
||||
<path d="m 88 124 v -4 l -24 -96 v 4 z" fill="#77767b" fill-rule="evenodd"/>
|
||||
<path d="m 40 124 v -4 l 24 -96 v 4 z" fill="#77767b" fill-rule="evenodd"/>
|
||||
<path d="m 64 4 c -2.90625 0.003906 -5.417969 2.027344 -6.039062 4.867188 l -0.003907 -0.003907 l -33.957031 114.136719 h 16 l 24 -101 l 24 101 h 16 l -33.992188 -114.285156 l -0.007812 0.011718 c -0.671875 -2.773437 -3.148438 -4.722656 -6 -4.726562 z m 0 5 c 1.65625 0 3 1.34375 3 3 s -1.34375 3 -3 3 s -3 -1.34375 -3 -3 s 1.34375 -3 3 -3 z m 0 0" fill="#c0bfbc"/>
|
||||
<path d="m 20 30 h 88 c 4.417969 0 8 3.582031 8 8 v 66 c 0 4.417969 -3.582031 8 -8 8 h -88 c -4.417969 0 -8 -3.582031 -8 -8 v -66 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="url(#a)"/>
|
||||
<path d="m 20 20 h 88 c 4.417969 0 8 3.582031 8 8 v 72 c 0 4.417969 -3.582031 8 -8 8 h -88 c -4.417969 0 -8 -3.582031 -8 -8 v -72 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="#f6f5f4"/>
|
||||
<path d="m 128 36 l -48.90625 48.910156 c -2.199219 2.285156 -5.84375 2.324219 -8.085938 0.082032 c -2.242187 -2.242188 -2.203124 -5.886719 0.082032 -8.085938 l 41.132812 -41.132812 c 4.898438 -4.203126 11.777344 -3.773438 15.777344 0.226562 z m 0 0" fill="url(#b)"/>
|
||||
<path d="m 90.683594 59.585938 c 5.148437 0.003906 7.6875 6.257812 3.996094 9.847656 l -19.066407 21.058594 c -2.785156 2.828124 -7.339843 2.847656 -10.144531 0.039062 c -2.804688 -2.804688 -2.785156 -7.359375 0.042969 -10.140625 l 21.058593 -19.066406 c 1.078126 -1.113281 2.5625 -1.738281 4.113282 -1.738281 z m 0 0" fill="url(#c)"/>
|
||||
<path d="m 72 68 c 8.835938 0 16 7.164062 16 16 s -7.164062 16 -16 16 h -16 v -16 c 0 -8.835938 7.164062 -16 16 -16 z m 0 0" fill="url(#d)"/>
|
||||
<g clip-path="url(#g)" mask="url(#f)" transform="matrix(1 0 0 1 -8 -16)">
|
||||
<path d="m 72.003906 95 c 0 -1.65625 1.339844 -2.996094 2.996094 -2.996094 s 2.996094 1.339844 2.996094 2.996094 s -1.339844 2.996094 -2.996094 2.996094 s -2.996094 -1.339844 -2.996094 -2.996094 z m 0 0" fill="#ffffff"/>
|
||||
</g>
|
||||
<path d="m 12 39.867188 v 24 c 2.003906 -1.125 4.425781 -1.488282 6.671875 -1.003907 s 4.304687 1.8125 5.667969 3.664063 c 1.761718 2.390625 2.3125 5.460937 2.457031 8.429687 c 0.144531 2.964844 -0.066406 5.957031 0.394531 8.894531 c 0.628906 3.996094 2.539063 7.792969 5.410156 10.648438 c 2.867188 2.855469 6.6875 4.753906 10.703126 5.269531 c 2.609374 0.335938 5.253906 0.203125 7.886718 0.210938 l 4.808594 0.019531 c 0 -0.441406 0 -0.886719 0 -1.328125 c 0 -0.222656 0 -0.449219 0 -0.671875 c -2.035156 -0.476562 -4.085938 -0.863281 -6.15625 -1.160156 c -1.339844 -0.191406 -2.695312 -0.34375 -3.996094 -0.734375 c -1.300781 -0.386719 -2.5625 -1.023438 -3.460937 -2.039063 c -0.757813 -0.855468 -1.226563 -1.941406 -1.429688 -3.066406 c -0.207031 -1.121094 -0.152343 -2.28125 0.046875 -3.402344 c 0.40625 -2.246094 1.390625 -4.339844 2.132813 -6.5 c 2.398437 -6.988281 2.167969 -14.796875 -0.375 -21.730468 c -2.804688 -7.644532 -8.546875 -14.3125 -16.011719 -17.5625 c -4.605469 -2.007813 -9.78125 -2.6875 -14.75 -1.9375 z m 0 0" fill="url(#h)"/>
|
||||
<path d="m 46.90625 96.375 l 4.285156 3.605469 l 18.808594 0.019531 l -2 -3 c -3.144531 -4.714844 -9.132812 -9 -12 -9 c 0 6 -5.5625 9.097656 -9.09375 8.375 z m 0 0" fill="url(#i)"/>
|
||||
<g clip-path="url(#k)" mask="url(#j)" transform="matrix(1 0 0 1 -8 -16)">
|
||||
<path d="m 35 128 l -0.621094 2 h 16.054688 l 0.523437 -1.972656 z m 57.988281 0 l 0.5 2 h 16.132813 l -0.621094 -2 z m 0 0"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
4
data/icons/nsc-update-symbolic.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m 7.863281 1 c -0.269531 0.003906 -0.535156 0.027344 -0.800781 0.0625 c -2.109375 0.285156 -4.023438 1.527344 -5.125 3.4375 c -0.277344 0.476562 -0.113281 1.089844 0.367188 1.363281 c 0.476562 0.277344 1.089843 0.113281 1.363281 -0.363281 c 1.054687 -1.824219 3.128906 -2.789062 5.199219 -2.425781 c 1.679687 0.296875 3.058593 1.414062 3.714843 2.925781 h -1.582031 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 4 c 0.550781 0 1 -0.449219 1 -1 v -4 c 0 -0.550781 -0.449219 -1 -1 -1 s -1 0.449219 -1 1 v 1.398438 c -1.023438 -1.703126 -2.75 -2.933594 -4.785156 -3.292969 c -0.453125 -0.078125 -0.90625 -0.113281 -1.351563 -0.105469 z m -6.863281 7 c -0.550781 0 -1 0.449219 -1 1 v 4 c 0 0.550781 0.449219 1 1 1 s 1 -0.449219 1 -1 v -1.394531 c 1.140625 1.894531 3.132812 3.167969 5.390625 3.367187 c 2.707031 0.238282 5.3125 -1.117187 6.671875 -3.472656 c 0.277344 -0.476562 0.113281 -1.089844 -0.367188 -1.363281 c -0.226562 -0.136719 -0.5 -0.171875 -0.757812 -0.101563 c -0.257812 0.066406 -0.476562 0.234375 -0.609375 0.464844 c -0.972656 1.683594 -2.824219 2.648438 -4.765625 2.480469 c -1.832031 -0.160157 -3.414062 -1.308594 -4.144531 -2.980469 h 1.582031 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 0" fill="#2e3436"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
86
data/icons/nsc-video.svg
Normal file
@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
|
||||
<defs>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="-424.457947" y1="195.077911" x2="-340.457947" y2="263.827911" gradientTransform="matrix(0.380952,0,0,0.64,209.698227,-82.849869)">
|
||||
<stop offset="0" style="stop-color:rgb(86.274511%,54.11765%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(38.431373%,62.7451%,91.764706%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip1">
|
||||
<path d="M 24 42 L 40 42 L 40 86 L 24 86 Z M 24 42 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2">
|
||||
<path d="M 24 42 L 40 42 C 40 42 40 42.929688 40 44.078125 L 40 83.921875 C 40 85.070312 40 86 40 86 L 24 86 C 24 86 24 85.070312 24 83.921875 L 24 44.078125 C 24 42.929688 24 42 24 42 Z M 24 42 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="-424.457947" y1="195.077911" x2="-340.457947" y2="263.827911" gradientTransform="matrix(0.380952,0,0,0.64,169.698227,-82.849867)">
|
||||
<stop offset="0" style="stop-color:rgb(86.274511%,54.11765%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(38.431373%,62.7451%,91.764706%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip3">
|
||||
<path d="M 88 42 L 104 42 L 104 86 L 88 86 Z M 88 42 "/>
|
||||
</clipPath>
|
||||
<clipPath id="clip4">
|
||||
<path d="M 88 42 L 104 42 C 104 42 104 42.929688 104 44.078125 L 104 83.921875 C 104 85.070312 104 86 104 86 L 88 86 C 88 86 88 85.070312 88 83.921875 L 88 44.078125 C 88 42.929688 88 42 88 42 Z M 88 42 "/>
|
||||
</clipPath>
|
||||
<linearGradient id="linear2" gradientUnits="userSpaceOnUse" x1="-424.457947" y1="195.077911" x2="-340.457947" y2="263.827911" gradientTransform="matrix(0.380952,0,0,0.64,249.698227,-82.849867)">
|
||||
<stop offset="0" style="stop-color:rgb(86.274511%,54.11765%,86.666667%);stop-opacity:1;"/>
|
||||
<stop offset="1" style="stop-color:rgb(38.431373%,62.7451%,91.764706%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface12140">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear0);" d="M 48 42 L 80 42 C 80 42 80 42.929688 80 44.078125 L 80 83.921875 C 80 85.070312 80 86 80 86 L 48 86 C 48 86 48 85.070312 48 83.921875 L 48 44.078125 C 48 42.929688 48 42 48 42 Z M 48 42 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 24 28 L 104 28 C 104 28 104 28.40625 104 28.90625 L 104 29.09375 C 104 29.59375 104 30 104 30 L 24 30 C 24 30 24 29.59375 24 29.09375 L 24 28.90625 C 24 28.40625 24 28 24 28 Z M 24 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 24 24 L 104 24 C 104 24 104 24.894531 104 26 C 104 27.105469 104 28 104 28 L 24 28 C 24 28 24 27.105469 24 26 C 24 24.894531 24 24 24 24 Z M 24 24 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 25 90 L 104 90 C 104 90 104 90.449219 104 91 C 104 91.550781 104 92 104 92 L 25 92 C 25 92 25 91.550781 25 91 C 25 90.449219 25 90 25 90 Z M 25 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 26 86 L 104 86 C 104 86 104 86.449219 104 87 L 104 89 C 104 89.550781 104 90 104 90 L 26 90 C 26 90 26 89.550781 26 89 L 26 87 C 26 86.449219 26 86 26 86 Z M 26 86 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 25 100 L 104 100 C 104 100 104 100.894531 104 102 C 104 103.105469 104 104 104 104 L 25 104 C 25 104 25 103.105469 25 102 C 25 100.894531 25 100 25 100 Z M 25 100 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 26 96 L 104 96 C 104 96 104 96.449219 104 97 L 104 99 C 104 99.550781 104 100 104 100 L 26 100 C 26 100 26 99.550781 26 99 L 26 97 C 26 96.449219 26 96 26 96 Z M 26 96 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 24 38 L 104 38 C 104 38 104 38.40625 104 38.90625 L 104 41.09375 C 104 41.59375 104 42 104 42 L 24 42 C 24 42 24 41.59375 24 41.09375 L 24 38.90625 C 24 38.40625 24 38 24 38 Z M 24 38 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 24 34 L 104 34 C 104 34 104 34.894531 104 36 C 104 37.105469 104 38 104 38 L 24 38 C 24 38 24 37.105469 24 36 C 24 34.894531 24 34 24 34 Z M 24 34 "/>
|
||||
<g clip-path="url(#clip1)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip2)" clip-rule="nonzero">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear1);" d="M 8 42 L 40 42 C 40 42 40 42.929688 40 44.078125 L 40 83.921875 C 40 85.070312 40 86 40 86 L 8 86 C 8 86 8 85.070312 8 83.921875 L 8 44.078125 C 8 42.929688 8 42 8 42 Z M 8 42 "/>
|
||||
</g>
|
||||
</g>
|
||||
<path style="fill:none;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(96.470588%,82.745099%,17.647059%);stroke-opacity:1;stroke-miterlimit:4;" d="M 44 188 L 28 188 L 28 284 L 44 284 " transform="matrix(1,0,0,1,0,-172)"/>
|
||||
<g clip-path="url(#clip3)" clip-rule="nonzero">
|
||||
<g clip-path="url(#clip4)" clip-rule="nonzero">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear2);" d="M 88 42 L 120 42 C 120 42 120 42.929688 120 44.078125 L 120 83.921875 C 120 85.070312 120 86 120 86 L 88 86 C 88 86 88 85.070312 88 83.921875 L 88 44.078125 C 88 42.929688 88 42 88 42 Z M 88 42 "/>
|
||||
</g>
|
||||
</g>
|
||||
<path style="fill:none;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(96.470588%,82.745099%,17.647059%);stroke-opacity:1;stroke-miterlimit:4;" d="M 84 188 L 100 188 L 100 284 L 84 284 " transform="matrix(1,0,0,1,0,-172)"/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 40 36 L 48 36 C 48 36 48 37.691406 48 39.78125 L 48 40.859375 C 48 42.949219 48 44.640625 48 44.640625 L 40 44.640625 C 40 44.640625 40 42.949219 40 40.859375 L 40 39.78125 C 40 37.691406 40 36 40 36 Z M 40 36 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 40 36 L 48 36 C 48 36 48 37.140625 48 38.550781 L 48 87.449219 C 48 88.859375 48 90 48 90 L 40 90 C 40 90 40 88.859375 40 87.449219 L 40 38.550781 C 40 37.140625 40 36 40 36 Z M 40 36 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 80 36 L 88 36 C 88 36 88 37.691406 88 39.78125 L 88 40.859375 C 88 42.949219 88 44.640625 88 44.640625 L 80 44.640625 C 80 44.640625 80 42.949219 80 40.859375 L 80 39.78125 C 80 37.691406 80 36 80 36 Z M 80 36 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 80 36 L 88 36 C 88 36 88 37.140625 88 38.550781 L 88 87.449219 C 88 88.859375 88 90 88 90 L 80 90 C 80 90 80 88.859375 80 87.449219 L 80 38.550781 C 80 37.140625 80 36 80 36 Z M 80 36 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 108 94 L 116 94 C 116 94 116 95.117188 116 96.496094 L 116 101.503906 C 116 102.882812 116 104 116 104 L 108 104 C 108 104 108 102.882812 108 101.503906 L 108 96.496094 C 108 95.117188 108 94 108 94 Z M 108 94 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 108 86 L 116 86 L 116 100 L 108 100 Z M 108 86 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(89.803922%,64.705884%,3.921569%);fill-opacity:1;" d="M 24 116 L 44 116 L 44 118 L 24 118 Z M 24 116 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(89.803922%,64.705884%,3.921569%);fill-opacity:1;" d="M 84 116 L 104 116 L 104 118 L 84 118 Z M 84 116 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 32 28 L 36 28 C 36 28 36 28.1875 36 28.421875 L 36 28.539062 C 36 28.773438 36 28.960938 36 28.960938 L 32 28.960938 C 32 28.960938 32 28.773438 32 28.539062 L 32 28.421875 C 32 28.1875 32 28 32 28 Z M 32 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 32 28 L 36 28 C 36 28 36 28.125 36 28.285156 L 36 33.714844 C 36 33.875 36 34 36 34 L 32 34 C 32 34 32 33.875 32 33.714844 L 32 28.285156 C 32 28.125 32 28 32 28 Z M 32 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 44 28 L 52 28 C 52 28 52 28.1875 52 28.421875 L 52 28.539062 C 52 28.773438 52 28.960938 52 28.960938 L 44 28.960938 C 44 28.960938 44 28.773438 44 28.539062 L 44 28.421875 C 44 28.1875 44 28 44 28 Z M 44 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 44 28 L 52 28 C 52 28 52 28.125 52 28.285156 L 52 33.714844 C 52 33.875 52 34 52 34 L 44 34 C 44 34 44 33.875 44 33.714844 L 44 28.285156 C 44 28.125 44 28 44 28 Z M 44 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 60 28 L 68 28 C 68 28 68 28.1875 68 28.421875 L 68 28.539062 C 68 28.773438 68 28.960938 68 28.960938 L 60 28.960938 C 60 28.960938 60 28.773438 60 28.539062 L 60 28.421875 C 60 28.1875 60 28 60 28 Z M 60 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 60 28 L 68 28 C 68 28 68 28.125 68 28.285156 L 68 33.714844 C 68 33.875 68 34 68 34 L 60 34 C 60 34 60 33.875 60 33.714844 L 60 28.285156 C 60 28.125 60 28 60 28 Z M 60 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 76 28 L 84 28 C 84 28 84 28.1875 84 28.421875 L 84 28.539062 C 84 28.773438 84 28.960938 84 28.960938 L 76 28.960938 C 76 28.960938 76 28.773438 76 28.539062 L 76 28.421875 C 76 28.1875 76 28 76 28 Z M 76 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 76 28 L 84 28 C 84 28 84 28.125 84 28.285156 L 84 33.714844 C 84 33.875 84 34 84 34 L 76 34 C 76 34 76 33.875 76 33.714844 L 76 28.285156 C 76 28.125 76 28 76 28 Z M 76 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 92 28 L 96 28 C 96 28 96 28.1875 96 28.421875 L 96 28.539062 C 96 28.773438 96 28.960938 96 28.960938 L 92 28.960938 C 92 28.960938 92 28.773438 92 28.539062 L 92 28.421875 C 92 28.1875 92 28 92 28 Z M 92 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 92 28 L 96 28 C 96 28 96 28.125 96 28.285156 L 96 33.714844 C 96 33.875 96 34 96 34 L 92 34 C 92 34 92 33.875 92 33.714844 L 92 28.285156 C 92 28.125 92 28 92 28 Z M 92 28 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 32 90 L 36 90 C 36 90 36 90.1875 36 90.421875 L 36 90.539062 C 36 90.773438 36 90.960938 36 90.960938 L 32 90.960938 C 32 90.960938 32 90.773438 32 90.539062 L 32 90.421875 C 32 90.1875 32 90 32 90 Z M 32 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 32 90 L 36 90 C 36 90 36 90.125 36 90.285156 L 36 95.714844 C 36 95.875 36 96 36 96 L 32 96 C 32 96 32 95.875 32 95.714844 L 32 90.285156 C 32 90.125 32 90 32 90 Z M 32 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 44 90 L 52 90 C 52 90 52 90.1875 52 90.421875 L 52 90.539062 C 52 90.773438 52 90.960938 52 90.960938 L 44 90.960938 C 44 90.960938 44 90.773438 44 90.539062 L 44 90.421875 C 44 90.1875 44 90 44 90 Z M 44 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 44 90 L 52 90 C 52 90 52 90.125 52 90.285156 L 52 95.714844 C 52 95.875 52 96 52 96 L 44 96 C 44 96 44 95.875 44 95.714844 L 44 90.285156 C 44 90.125 44 90 44 90 Z M 44 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 60 90 L 68 90 C 68 90 68 90.1875 68 90.421875 L 68 90.539062 C 68 90.773438 68 90.960938 68 90.960938 L 60 90.960938 C 60 90.960938 60 90.773438 60 90.539062 L 60 90.421875 C 60 90.1875 60 90 60 90 Z M 60 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 60 90 L 68 90 C 68 90 68 90.125 68 90.285156 L 68 95.714844 C 68 95.875 68 96 68 96 L 60 96 C 60 96 60 95.875 60 95.714844 L 60 90.285156 C 60 90.125 60 90 60 90 Z M 60 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 76 90 L 84 90 C 84 90 84 90.1875 84 90.421875 L 84 90.539062 C 84 90.773438 84 90.960938 84 90.960938 L 76 90.960938 C 76 90.960938 76 90.773438 76 90.539062 L 76 90.421875 C 76 90.1875 76 90 76 90 Z M 76 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 76 90 L 84 90 C 84 90 84 90.125 84 90.285156 L 84 95.714844 C 84 95.875 84 96 84 96 L 76 96 C 76 96 76 95.875 76 95.714844 L 76 90.285156 C 76 90.125 76 90 76 90 Z M 76 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 92 90 L 96 90 C 96 90 96 90.1875 96 90.421875 L 96 90.539062 C 96 90.773438 96 90.960938 96 90.960938 L 92 90.960938 C 92 90.960938 92 90.773438 92 90.539062 L 92 90.421875 C 92 90.1875 92 90 92 90 Z M 92 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 92 90 L 96 90 C 96 90 96 90.125 96 90.285156 L 96 95.714844 C 96 95.875 96 96 96 96 L 92 96 C 92 96 92 95.875 92 95.714844 L 92 90.285156 C 92 90.125 92 90 92 90 Z M 92 90 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 108 32 L 116 32 C 116 32 116 33.117188 116 34.496094 L 116 39.503906 C 116 40.882812 116 42 116 42 L 108 42 C 108 42 108 40.882812 108 39.503906 L 108 34.496094 C 108 33.117188 108 32 108 32 Z M 108 32 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 108 24 L 116 24 L 116 38 L 108 38 Z M 108 24 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 12 94 L 20 94 C 20 94 20 95.117188 20 96.496094 L 20 101.503906 C 20 102.882812 20 104 20 104 L 12 104 C 12 104 12 102.882812 12 101.503906 L 12 96.496094 C 12 95.117188 12 94 12 94 Z M 12 94 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 12 86 L 20 86 L 20 100 L 12 100 Z M 12 86 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 12 32 L 20 32 C 20 32 20 33.117188 20 34.496094 L 20 39.503906 C 20 40.882812 20 42 20 42 L 12 42 C 12 42 12 40.882812 12 39.503906 L 12 34.496094 C 12 33.117188 12 32 12 32 Z M 12 32 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 12 24 L 20 24 L 20 38 L 12 38 Z M 12 24 "/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 15 KiB |
64
data/icons/nsc-web.svg
Normal file
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<linearGradient id="a" gradientUnits="userSpaceOnUse" x1="98" x2="108" y1="112" y2="112">
|
||||
<stop offset="0" stop-color="#16529c"/>
|
||||
<stop offset="1" stop-color="#236ac0"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="b" gradientTransform="matrix(0 -1 1 0 -157 121)" gradientUnits="userSpaceOnUse" x1="0.999999" x2="0.999999" y1="215" y2="171">
|
||||
<stop offset="0" stop-color="#2166bb"/>
|
||||
<stop offset="1" stop-color="#89eda9"/>
|
||||
</linearGradient>
|
||||
<filter id="c" height="100%" width="100%" x="0%" y="0%">
|
||||
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
</filter>
|
||||
<mask id="d">
|
||||
<g filter="url(#c)">
|
||||
<rect fill-opacity="0.5" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<clipPath id="e">
|
||||
<rect height="152" width="192"/>
|
||||
</clipPath>
|
||||
<mask id="f">
|
||||
<g filter="url(#c)">
|
||||
<rect fill-opacity="0.5" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<clipPath id="g">
|
||||
<rect height="152" width="192"/>
|
||||
</clipPath>
|
||||
<mask id="h">
|
||||
<g filter="url(#c)">
|
||||
<rect fill-opacity="0.5" height="128" width="128"/>
|
||||
</g>
|
||||
</mask>
|
||||
<clipPath id="i">
|
||||
<rect height="152" width="192"/>
|
||||
</clipPath>
|
||||
<path d="m 64 5 c 33.136719 0 60 26.863281 60 60 s -26.863281 60 -60 60 s -60 -26.863281 -60 -60 s 26.863281 -60 60 -60 z m 0 0" fill="url(#a)"/>
|
||||
<path d="m 64 5 c -33.136719 0 -60 26.863281 -60 60 s 26.863281 60 60 60 z m 0 0" fill="url(#b)"/>
|
||||
<path d="m 124 63 c 0 33.136719 -26.863281 60 -60 60 s -60 -26.863281 -60 -60 s 26.863281 -60 60 -60 s 60 26.863281 60 60 z m 0 0" fill="#40a1c8"/>
|
||||
<path d="m 28.003906 64 c 0.125 13.914062 2.882813 27.367188 7.835938 38.25 c -3.941406 2.015625 -7.28125 4.441406 -9.863282 7.160156 c -13.640624 -11.171875 -21.675781 -27.78125 -21.96875 -45.410156 z m 0 0" fill="#49bbb0"/>
|
||||
<path d="m 64 96 v 27 c -4.5 0 -8.988281 -0.507812 -13.375 -1.511719 c -5.800781 -4.058593 -10.894531 -10.691406 -14.78125 -19.238281 c 7.902344 -4.039062 17.867188 -6.25 28.15625 -6.25 z m 0 0" fill="#378bde"/>
|
||||
<path d="m 99.996094 64 c -0.125 13.914062 -2.882813 27.367188 -7.839844 38.25 c 3.945312 2.015625 7.28125 4.441406 9.863281 7.160156 c 13.640625 -11.171875 21.675781 -27.78125 21.972657 -45.410156 z m 0 0" fill="#266ec6"/>
|
||||
<path d="m 64 64 v 59 c 4.5 0 8.988281 -0.507812 13.375 -1.511719 c 13.472656 -9.433593 22.390625 -32.097656 22.621094 -57.488281 z m 0 0" fill="#378bde"/>
|
||||
<path d="m 64 96 v 27 c 4.5 0 8.988281 -0.507812 13.375 -1.511719 c 5.800781 -4.058593 10.894531 -10.691406 14.78125 -19.238281 c -7.902344 -4.039062 -17.867188 -6.25 -28.15625 -6.25 z m 0 0" fill="#266ec6"/>
|
||||
<path d="m 92.160156 102.25 c -3.890625 8.546875 -8.984375 15.175781 -14.78125 19.238281 c 9.035156 -2.066406 17.472656 -6.203125 24.644532 -12.078125 c -2.582032 -2.71875 -5.921876 -5.144531 -9.863282 -7.160156 z m 0 0" fill="#1e62b5"/>
|
||||
<path d="m 64 3 c -33.136719 0 -60 26.863281 -60 60 c 0 0.332031 0.003906 0.667969 0.007812 1 h 59.992188 z m 0 0" fill="#53d795"/>
|
||||
<path d="m 50.625 4.507812 c -9.039062 2.070313 -17.476562 6.203126 -24.648438 12.078126 c 2.582032 2.722656 5.921876 5.144531 9.867188 7.164062 c 3.890625 -8.550781 8.984375 -15.179688 14.78125 -19.242188 z m 0 0" fill="#72e99a"/>
|
||||
<path d="m 64 3 c -4.5 0 -8.984375 0.507812 -13.375 1.507812 c -13.664062 9.570313 -22.625 32.734376 -22.625 58.492188 c 0 0.332031 0 0.667969 0.003906 1 h 35.996094 z m 0 0" fill="#49bbb0"/>
|
||||
<path d="m 64 3 c -4.5 0 -8.984375 0.507812 -13.375 1.507812 c -5.796875 4.0625 -10.890625 10.691407 -14.78125 19.242188 c 7.90625 4.039062 17.867188 6.25 28.15625 6.25 z m 0 0" fill="#53d795"/>
|
||||
<path d="m 64 3 c 33.136719 0 60 26.863281 60 60 c 0 0.332031 -0.003906 0.667969 -0.007812 1 h -59.992188 z m 0 0" fill="#378bde"/>
|
||||
<path d="m 77.375 4.507812 c 9.039062 2.070313 17.476562 6.203126 24.648438 12.078126 c -2.582032 2.722656 -5.921876 5.144531 -9.863282 7.160156 c -3.894531 -8.546875 -8.988281 -15.175782 -14.785156 -19.238282 z m 0 0" fill="#40a1c8"/>
|
||||
<path d="m 64 3 c 4.5 0 8.988281 0.507812 13.375 1.507812 c 13.664062 9.570313 22.625 32.734376 22.625 58.492188 c 0 0.332031 0 0.667969 -0.003906 1 h -35.996094 z m 0 0" fill="#40a1c8"/>
|
||||
<path d="m 64 3 c 4.5 0 8.988281 0.507812 13.375 1.507812 c 5.796875 4.0625 10.890625 10.691407 14.78125 19.238282 c -7.90625 4.042968 -17.867188 6.253906 -28.15625 6.253906 z m 0 0" fill="#49bbb0"/>
|
||||
<g clip-path="url(#e)" mask="url(#d)" transform="matrix(1 0 0 1 -8 -16)">
|
||||
<path d="m 169.5 24 v 1 h 13 v -1 z m 0 0" fill="#2e3436"/>
|
||||
</g>
|
||||
<g clip-path="url(#g)" mask="url(#f)" transform="matrix(1 0 0 1 -8 -16)">
|
||||
<path d="m 169.5 21 v 1 h 13 v -1 z m 0 0" fill="#2e3436"/>
|
||||
</g>
|
||||
<g clip-path="url(#i)" mask="url(#h)" transform="matrix(1 0 0 1 -8 -16)">
|
||||
<path d="m 169.5 27 v 1 h 13 v -1 z m 0 0" fill="#2e3436"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.1 KiB |
@ -1,4 +1,5 @@
|
||||
subdir('icons')
|
||||
subdir('resources')
|
||||
# Desktop file
|
||||
desktop_conf = configuration_data()
|
||||
desktop_conf.set('icon', application_id)
|
||||
|
8
data/resources/meson.build
Normal file
@ -0,0 +1,8 @@
|
||||
resources = gnome.compile_resources(
|
||||
'resources',
|
||||
'resources.gresource.xml',
|
||||
gresource_bundle: true,
|
||||
source_dir: meson.current_build_dir(),
|
||||
install: true,
|
||||
install_dir: pkgdatadir,
|
||||
)
|
14
data/resources/resources.gresource.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/dev/vlinkz/NixSoftwareCenter/icons/scalable/emblems">
|
||||
<file preprocess="xml-stripblanks" alias="nsc-home-symbolic.svg">../icons/nsc-home-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-installed-symbolic.svg">../icons/nsc-installed-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-update-symbolic.svg">../icons/nsc-update-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-audio.svg">../icons/nsc-audio.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-development.svg">../icons/nsc-development.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-gaming.svg">../icons/nsc-gaming.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-graphics.svg">../icons/nsc-graphics.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-video.svg">../icons/nsc-video.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="nsc-web.svg">../icons/nsc-web.svg</file>
|
||||
</gresource>
|
||||
</gresources>
|
@ -9,7 +9,7 @@ let
|
||||
rev = "66b3399e6d81017c10265611a151d1109ff1af1b";
|
||||
hash = "sha256-oiEZD4sMpb2djxReg99GUo0RHWAehxSyQBbiz8Z4DJk=";
|
||||
})
|
||||
{ stdenv = pkgs.stdenv; lib = pkgs.lib; pkgs = pkgs; });
|
||||
{ set = "all"; stdenv = pkgs.stdenv; lib = pkgs.lib; pkgs = pkgs; });
|
||||
in
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "nix-software-center";
|
||||
@ -20,7 +20,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-NqjBlNHt9rlej5Y3R6cYDZFwpDIFa3ZmfsxSXaTUOUI=";
|
||||
hash = "sha256-yZKhtc5Rnkk3QdASnIxHFAYKPbG0RWySXLBjhraFPuc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1665732960,
|
||||
"narHash": "sha256-WBZ+uSHKFyjvd0w4inbm0cNExYTn8lpYFcHEes8tmec=",
|
||||
"lastModified": 1666703756,
|
||||
"narHash": "sha256-GwpMJ1hT+z1fMAUkaGtvbvofJQwdVFDEGVhfE82+AUk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4428e23312933a196724da2df7ab78eb5e67a88e",
|
||||
"rev": "f994293d1eb8812f032e8919e10a594567cf6ef7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -27,6 +27,6 @@ cargo_build = custom_target(
|
||||
cargo, 'build',
|
||||
cargo_options,
|
||||
'&&',
|
||||
'cp', 'src' / rust_target / 'nsc-helper', '@OUTPUT@',
|
||||
'cp', 'nsc-helper' / 'src' / rust_target / 'nsc-helper', '@OUTPUT@',
|
||||
]
|
||||
)
|
||||
|
17
src/main.rs
@ -1,12 +1,21 @@
|
||||
use adw::gio;
|
||||
use nix_software_center::ui::window::AppModel;
|
||||
use gtk::{prelude::ApplicationExt, glib};
|
||||
use log::{error, info};
|
||||
use nix_software_center::{ui::window::AppModel, config::RESOURCES_FILE};
|
||||
use relm4::*;
|
||||
use nix_software_center::config::PKGDATADIR;
|
||||
fn main() {
|
||||
gtk::init().unwrap();
|
||||
pretty_env_logger::init();
|
||||
if let Ok(res) = gio::Resource::load(PKGDATADIR.to_string() + "/resources.gresource") {
|
||||
glib::set_application_name("Software Center");
|
||||
if let Ok(res) = gio::Resource::load(RESOURCES_FILE) {
|
||||
info!("Resource loaded: {}", RESOURCES_FILE);
|
||||
gio::resources_register(&res);
|
||||
} else {
|
||||
error!("Failed to load resources");
|
||||
}
|
||||
let app = RelmApp::new(nix_software_center::config::APP_ID);
|
||||
gtk::Window::set_default_icon_name(nix_software_center::config::APP_ID);
|
||||
let app = adw::Application::new(Some(nix_software_center::config::APP_ID), gio::ApplicationFlags::empty());
|
||||
app.set_resource_base_path(Some("/dev/vlinkz/NixSoftwareCenter"));
|
||||
let app = RelmApp::with_app(app);
|
||||
app.run::<AppModel>(());
|
||||
}
|
||||
|
@ -5,17 +5,6 @@ global_conf.set_quoted('PROFILE', profile)
|
||||
global_conf.set_quoted('VERSION', version + version_suffix)
|
||||
global_conf.set_quoted('GETTEXT_PACKAGE', gettext_package)
|
||||
global_conf.set_quoted('LOCALEDIR', localedir)
|
||||
|
||||
gnome = import('gnome')
|
||||
resources = gnome.compile_resources(
|
||||
'resources',
|
||||
'resources.gresource.xml',
|
||||
gresource_bundle: true,
|
||||
source_dir: meson.current_build_dir(),
|
||||
install: true,
|
||||
install_dir: pkgdatadir,
|
||||
)
|
||||
|
||||
config = configure_file(
|
||||
input: 'config.rs.in',
|
||||
output: 'config.rs',
|
||||
@ -51,6 +40,7 @@ cargo_build = custom_target(
|
||||
console: true,
|
||||
install: true,
|
||||
install_dir: bindir,
|
||||
depends: resources,
|
||||
command: [
|
||||
'env',
|
||||
cargo_env,
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/dev/vlinkz/NixSoftwareCenter/">
|
||||
<file preprocess="xml-stripblanks" alias="icons/scalable/emblems/compass-symbolic.svg">../data/icons/compass-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks" alias="icons/scalable/emblems/selection-mode-symbolic.svg">../data/icons/selection-mode-symbolic.svg</file>
|
||||
</gresource>
|
||||
</gresources>
|
@ -1,7 +1,6 @@
|
||||
use relm4::adw::prelude::*;
|
||||
use relm4::gtk::pango;
|
||||
use relm4::{factory::*, *};
|
||||
use strum_macros::{EnumIter, Display};
|
||||
|
||||
use super::window::AppMsg;
|
||||
|
||||
@ -10,13 +9,13 @@ pub struct PkgGroup {
|
||||
pub category: PkgCategory,
|
||||
}
|
||||
|
||||
#[derive(Debug, Display, Hash, EnumIter, Eq, PartialEq, Clone)]
|
||||
#[derive(Debug, Hash, Eq, PartialEq, Clone)]
|
||||
pub enum PkgCategory {
|
||||
Audio,
|
||||
Development,
|
||||
Games,
|
||||
Graphics,
|
||||
Network,
|
||||
Web,
|
||||
Video,
|
||||
}
|
||||
|
||||
@ -51,14 +50,14 @@ impl FactoryComponent for PkgGroup {
|
||||
gtk::Image {
|
||||
add_css_class: "icon-dropshadow",
|
||||
set_icon_name: match self.category {
|
||||
PkgCategory::Audio => Some("audio-x-generic"),
|
||||
PkgCategory::Development => Some("computer"),
|
||||
PkgCategory::Games => Some("input-gaming"),
|
||||
PkgCategory::Graphics => Some("image-x-generic"),
|
||||
PkgCategory::Network => Some("network-server"),
|
||||
PkgCategory::Video => Some("video-x-generic"),
|
||||
PkgCategory::Audio => Some("nsc-audio"),
|
||||
PkgCategory::Development => Some("nsc-development"),
|
||||
PkgCategory::Games => Some("nsc-gaming"),
|
||||
PkgCategory::Graphics => Some("nsc-graphics"),
|
||||
PkgCategory::Web => Some("nsc-web"),
|
||||
PkgCategory::Video => Some("nsc-video"),
|
||||
},
|
||||
set_pixel_size: 32,
|
||||
set_pixel_size: 40,
|
||||
},
|
||||
gtk::Label {
|
||||
add_css_class: "title-2",
|
||||
@ -69,7 +68,7 @@ impl FactoryComponent for PkgGroup {
|
||||
PkgCategory::Development => "Development",
|
||||
PkgCategory::Games => "Games",
|
||||
PkgCategory::Graphics => "Graphics",
|
||||
PkgCategory::Network => "Network",
|
||||
PkgCategory::Web => "Web",
|
||||
PkgCategory::Video => "Video",
|
||||
},
|
||||
set_ellipsize: pango::EllipsizeMode::End,
|
||||
|
@ -53,7 +53,14 @@ impl Component for CategoryPageModel {
|
||||
#[wrap(Some)]
|
||||
set_title_widget = >k::Label {
|
||||
#[watch]
|
||||
set_label: &model.category.to_string(),
|
||||
set_label: match model.category {
|
||||
PkgCategory::Audio => "Audio",
|
||||
PkgCategory::Development => "Development",
|
||||
PkgCategory::Games => "Games",
|
||||
PkgCategory::Graphics => "Graphics",
|
||||
PkgCategory::Web => "Web",
|
||||
PkgCategory::Video => "Video",
|
||||
},
|
||||
},
|
||||
},
|
||||
gtk::ScrolledWindow {
|
||||
@ -150,10 +157,6 @@ impl Component for CategoryPageModel {
|
||||
self.reset();
|
||||
match msg {
|
||||
CategoryPageMsg::Close => {
|
||||
// let mut recapps_guard = self.recommendedapps.guard();
|
||||
// let mut apps_guard = self.apps.guard();
|
||||
// recapps_guard.clear();
|
||||
// apps_guard.clear();
|
||||
sender.output(AppMsg::FrontFrontPage)
|
||||
}
|
||||
CategoryPageMsg::OpenPkg(pkg) => {
|
||||
|
@ -1002,9 +1002,9 @@ impl Component for PkgModel {
|
||||
})
|
||||
};
|
||||
|
||||
group.add_action(nixenv);
|
||||
group.add_action(nixprofile);
|
||||
group.add_action(nixsystem);
|
||||
group.add_action(&nixenv);
|
||||
group.add_action(&nixprofile);
|
||||
group.add_action(&nixsystem);
|
||||
|
||||
let actions = group.into_action_group();
|
||||
widgets
|
||||
@ -1026,8 +1026,8 @@ impl Component for PkgModel {
|
||||
})
|
||||
};
|
||||
|
||||
rungroup.add_action(launchaction);
|
||||
rungroup.add_action(termaction);
|
||||
rungroup.add_action(&launchaction);
|
||||
rungroup.add_action(&termaction);
|
||||
|
||||
let runactions = rungroup.into_action_group();
|
||||
widgets
|
||||
|
@ -559,8 +559,8 @@ impl Component for AppModel {
|
||||
})
|
||||
};
|
||||
|
||||
group.add_action(aboutpage);
|
||||
group.add_action(prefernecespage);
|
||||
group.add_action(&aboutpage);
|
||||
group.add_action(&prefernecespage);
|
||||
let actions = group.into_action_group();
|
||||
widgets
|
||||
.main_window
|
||||
@ -579,9 +579,9 @@ impl Component for AppModel {
|
||||
installedvs.set_name(Some("installed"));
|
||||
searchvs.set_name(Some("search"));
|
||||
updatesvs.set_name(Some("updates"));
|
||||
frontvs.set_icon_name(Some("compass"));
|
||||
installedvs.set_icon_name(Some("selection-mode"));
|
||||
updatesvs.set_icon_name(Some("emblem-synchronizing-symbolic"));
|
||||
frontvs.set_icon_name(Some("nsc-home-symbolic"));
|
||||
installedvs.set_icon_name(Some("nsc-installed-symbolic"));
|
||||
updatesvs.set_icon_name(Some("nsc-update-symbolic"));
|
||||
ComponentParts { model, widgets }
|
||||
}
|
||||
|
||||
@ -749,7 +749,7 @@ impl Component for AppModel {
|
||||
PkgCategory::Development,
|
||||
PkgCategory::Games,
|
||||
PkgCategory::Graphics,
|
||||
PkgCategory::Network,
|
||||
PkgCategory::Web,
|
||||
PkgCategory::Video,
|
||||
] {
|
||||
cat_guard.push_back(c);
|
||||
@ -1682,7 +1682,7 @@ FROM pkgs JOIN meta ON (pkgs.attribute = meta.attribute) WHERE pkgs.attribute =
|
||||
self.installedpage.emit(InstalledPageMsg::UnsetBusy(work));
|
||||
}
|
||||
AppMsg::OpenCategoryPage(category) => {
|
||||
info!("AppMsg::OpenCategoryPage({})", category);
|
||||
info!("AppMsg::OpenCategoryPage({:?})", category);
|
||||
self.page = Page::FrontPage;
|
||||
self.mainpage = MainPage::CategoryPage;
|
||||
self.categorypage
|
||||
@ -1690,7 +1690,7 @@ FROM pkgs JOIN meta ON (pkgs.attribute = meta.attribute) WHERE pkgs.attribute =
|
||||
sender.input(AppMsg::LoadCategory(category));
|
||||
}
|
||||
AppMsg::LoadCategory(category) => {
|
||||
info!("AppMsg::LoadCategory({})", category);
|
||||
info!("AppMsg::LoadCategory({:?})", category);
|
||||
let pkgdb = self.pkgdb.clone();
|
||||
let categoryrec = self.categoryrec.get(&category).unwrap_or(&vec![]).to_vec();
|
||||
let categoryall = self.categoryall.get(&category).unwrap_or(&vec![]).to_vec();
|
||||
|
@ -12,7 +12,6 @@ use relm4::adw::prelude::*;
|
||||
use relm4::*;
|
||||
use sqlx::SqlitePool;
|
||||
use std::{collections::HashMap, env};
|
||||
use strum::IntoEnumIterator;
|
||||
|
||||
pub struct WindowAsyncHandler;
|
||||
|
||||
@ -148,7 +147,14 @@ impl Worker for WindowAsyncHandler {
|
||||
.collect::<HashMap<String, Option<String>>>();
|
||||
|
||||
println!("Starting category");
|
||||
for category in PkgCategory::iter() {
|
||||
for category in vec![
|
||||
PkgCategory::Audio,
|
||||
PkgCategory::Development,
|
||||
PkgCategory::Games,
|
||||
PkgCategory::Graphics,
|
||||
PkgCategory::Web,
|
||||
PkgCategory::Video,
|
||||
] {
|
||||
desktoppicks.shuffle(&mut rng);
|
||||
let mut cvec = vec![];
|
||||
let mut allvec = vec![];
|
||||
@ -243,8 +249,8 @@ impl Worker for WindowAsyncHandler {
|
||||
}
|
||||
false
|
||||
}
|
||||
PkgCategory::Network => {
|
||||
// Network:
|
||||
PkgCategory::Web => {
|
||||
// Web:
|
||||
// - pkgs/applications/networking
|
||||
// - xdg: Network
|
||||
if let Some(Some(pos)) = pospkgs.get(&pkg) {
|
||||
@ -325,7 +331,7 @@ impl Worker for WindowAsyncHandler {
|
||||
&& category == PkgCategory::Graphics)
|
||||
|| (position
|
||||
.starts_with("pkgs/applications/networking")
|
||||
&& category == PkgCategory::Network)
|
||||
&& category == PkgCategory::Web)
|
||||
|| (position.starts_with("pkgs/applications/video")
|
||||
&& category == PkgCategory::Video)
|
||||
|| (position.starts_with("pkgs/tools/games")
|
||||
|