diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2025-09-26 21:00:59 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-08-01 11:08:33 +0200 |
| commit | 3ed77f19211e5ebe6faf4e9eb028c99696ee3a14 (patch) | |
| tree | fa6f799c3d5125f4847ec09fe93e89c2575649f8 /gnu/packages/cinnamon.scm | |
| parent | dbad94b22791f9e14ec5bd84bf26ec897807bd83 (diff) | |
gnu: Add cinnamon-control-center.
* gnu/packages/cinnamon.scm (cinnamon-control-center): New variable.
Diffstat (limited to 'gnu/packages/cinnamon.scm')
| -rw-r--r-- | gnu/packages/cinnamon.scm | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm index 252b717f39f..5409049e181 100644 --- a/gnu/packages/cinnamon.scm +++ b/gnu/packages/cinnamon.scm | |||
| @@ -48,10 +48,13 @@ | |||
| 48 | #:use-module (gnu packages gtk) | 48 | #:use-module (gnu packages gtk) |
| 49 | #:use-module (gnu packages gnome) | 49 | #:use-module (gnu packages gnome) |
| 50 | #:use-module (gnu packages gnuzilla) | 50 | #:use-module (gnu packages gnuzilla) |
| 51 | #:use-module (gnu packages ibus) | ||
| 51 | #:use-module (gnu packages iso-codes) | 52 | #:use-module (gnu packages iso-codes) |
| 53 | #:use-module (gnu packages kerberos) | ||
| 52 | #:use-module (gnu packages libcanberra) | 54 | #:use-module (gnu packages libcanberra) |
| 53 | #:use-module (gnu packages linux) | 55 | #:use-module (gnu packages linux) |
| 54 | #:use-module (gnu packages nss) | 56 | #:use-module (gnu packages nss) |
| 57 | #:use-module (gnu packages password-utils) | ||
| 55 | #:use-module (gnu packages perl) | 58 | #:use-module (gnu packages perl) |
| 56 | #:use-module (gnu packages pkg-config) | 59 | #:use-module (gnu packages pkg-config) |
| 57 | #:use-module (gnu packages photo) | 60 | #:use-module (gnu packages photo) |
| @@ -61,6 +64,8 @@ | |||
| 61 | #:use-module (gnu packages python-build) | 64 | #:use-module (gnu packages python-build) |
| 62 | #:use-module (gnu packages python-xyz) | 65 | #:use-module (gnu packages python-xyz) |
| 63 | #:use-module (gnu packages readline) | 66 | #:use-module (gnu packages readline) |
| 67 | #:use-module (gnu packages samba) | ||
| 68 | #:use-module (gnu packages tls) | ||
| 64 | #:use-module (gnu packages web) | 69 | #:use-module (gnu packages web) |
| 65 | #:use-module (gnu packages window-management) | 70 | #:use-module (gnu packages window-management) |
| 66 | #:use-module (gnu packages xdisorg) | 71 | #:use-module (gnu packages xdisorg) |
| @@ -312,6 +317,118 @@ panel used in GNOME 3.0's control center.") | |||
| 312 | "CJS is a javascript binding for Cinnamon, forked from GJS.") | 317 | "CJS is a javascript binding for Cinnamon, forked from GJS.") |
| 313 | (license license:gpl2+))) | 318 | (license license:gpl2+))) |
| 314 | 319 | ||
| 320 | (define-public cinnamon-control-center | ||
| 321 | (package | ||
| 322 | (name "cinnamon-control-center") | ||
| 323 | (version "6.6.0") | ||
| 324 | (source | ||
| 325 | (origin | ||
| 326 | (method git-fetch) | ||
| 327 | (uri (git-reference | ||
| 328 | (url "https://github.com/linuxmint/cinnamon-control-center") | ||
| 329 | (commit version))) | ||
| 330 | (file-name (git-file-name name version)) | ||
| 331 | (sha256 | ||
| 332 | (base32 | ||
| 333 | "1425fq7nbaf46ch133mf555spl96k664rgd7w802x22v66sz0d2f")))) | ||
| 334 | (build-system meson-build-system) | ||
| 335 | (arguments | ||
| 336 | (list | ||
| 337 | #:glib-or-gtk? #t | ||
| 338 | #:phases | ||
| 339 | #~(modify-phases %standard-phases | ||
| 340 | (add-before 'configure 'patch-paths | ||
| 341 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 342 | (substitute* '("panels/network/net-device-mobile.c" | ||
| 343 | "panels/network/connection-editor/net-connection-editor.c") | ||
| 344 | (("\"nm-connection-editor") | ||
| 345 | (string-append "\"" (search-input-file | ||
| 346 | inputs "bin/nm-connection-editor")))))) | ||
| 347 | (add-after 'unpack 'skip-gtk-update-icon-cache | ||
| 348 | ;; Don't create 'icon-theme.cache'. | ||
| 349 | (lambda _ | ||
| 350 | (substitute* "meson.build" | ||
| 351 | (("gtk_update_icon_cache: true") | ||
| 352 | "gtk_update_icon_cache: false")))) | ||
| 353 | (replace 'check | ||
| 354 | (lambda* (#:key parallel-tests? tests? #:allow-other-keys) | ||
| 355 | (when tests? | ||
| 356 | ;; Tests require a running X server. | ||
| 357 | (system "Xvfb :1 &") | ||
| 358 | (setenv "DISPLAY" ":1") | ||
| 359 | ;; For the missing /var/lib/dbus/machine-id | ||
| 360 | (setenv "DBUS_FATAL_WARNINGS" "0") | ||
| 361 | (setenv "NO_AT_BRIDGE" "1") | ||
| 362 | (setenv "HOME" "/tmp") | ||
| 363 | (setenv "XDG_RUNTIME_DIR" (string-append (getcwd) "/runtime-dir")) | ||
| 364 | (mkdir (getenv "XDG_RUNTIME_DIR")) | ||
| 365 | (chmod (getenv "XDG_RUNTIME_DIR") #o700) | ||
| 366 | (setenv "MESON_TESTTHREADS" | ||
| 367 | (if parallel-tests? | ||
| 368 | (number->string (parallel-job-count)) | ||
| 369 | "1")) | ||
| 370 | (invoke "dbus-run-session" "--" | ||
| 371 | "meson" "test" "-t" "0"))))))) | ||
| 372 | (native-inputs | ||
| 373 | (list docbook-xsl | ||
| 374 | gettext-minimal | ||
| 375 | `(,glib "bin") ;for glib-mkenums, etc. | ||
| 376 | libxslt | ||
| 377 | pkg-config | ||
| 378 | python | ||
| 379 | python-dbusmock | ||
| 380 | xorg-server-for-tests | ||
| 381 | setxkbmap)) | ||
| 382 | (inputs | ||
| 383 | (list accountsservice | ||
| 384 | cinnamon-desktop | ||
| 385 | cinnamon-menus | ||
| 386 | cinnamon-settings-daemon | ||
| 387 | colord-gtk | ||
| 388 | cups | ||
| 389 | dconf | ||
| 390 | gcr | ||
| 391 | gnome-bluetooth | ||
| 392 | gnome-online-accounts | ||
| 393 | gnome-session | ||
| 394 | gnutls | ||
| 395 | grilo | ||
| 396 | gsound | ||
| 397 | ibus | ||
| 398 | iso-codes | ||
| 399 | json-glib | ||
| 400 | libadwaita | ||
| 401 | libgnomekbd | ||
| 402 | libgudev | ||
| 403 | libgtop | ||
| 404 | libnma | ||
| 405 | libnotify | ||
| 406 | libpwquality | ||
| 407 | (librsvg-for-system) ;for loading SVG files | ||
| 408 | libsecret | ||
| 409 | libsoup | ||
| 410 | libxml2 | ||
| 411 | libwacom | ||
| 412 | mesa | ||
| 413 | mit-krb5 | ||
| 414 | modem-manager | ||
| 415 | network-manager-applet | ||
| 416 | polkit | ||
| 417 | pulseaudio | ||
| 418 | samba | ||
| 419 | tecla | ||
| 420 | tzdata | ||
| 421 | udisks | ||
| 422 | upower)) | ||
| 423 | (synopsis "Utilities to configure the GNOME desktop") | ||
| 424 | (home-page "https://www.gnome.org/") | ||
| 425 | (description | ||
| 426 | "This package contains configuration applets for the GNOME desktop, | ||
| 427 | allowing to set accessibility configuration, desktop fonts, keyboard and mouse | ||
| 428 | properties, sound setup, desktop theme and background, user interface | ||
| 429 | properties, screen resolution, and other GNOME parameters.") | ||
| 430 | (license license:gpl2+))) | ||
| 431 | |||
| 315 | (define-public cinnamon-desktop | 432 | (define-public cinnamon-desktop |
| 316 | (package | 433 | (package |
| 317 | (name "cinnamon-desktop") | 434 | (name "cinnamon-desktop") |
