aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/images/rock64.scm
blob: b3dcfc6193199f11ae024d0037259bd90962e32e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu system images rock64)
  #:use-module (gnu bootloader)
  #:use-module (gnu bootloader u-boot)
  #:use-module (gnu image)
  #:use-module (gnu packages linux)
  #:use-module (guix platforms arm)
  #:use-module (gnu services)
  #:use-module (gnu services base)
  #:use-module (gnu services networking)
  #:use-module (gnu system)
  #:use-module (gnu system file-systems)
  #:use-module (gnu system image)
  #:use-module (srfi srfi-26)
  #:export (rock64-barebones-os
            rock64-image-type
            rock64-barebones-raw-image))

(define rock64-barebones-os
  (operating-system
    (host-name "jiehkkevarri")
    (timezone "Europe/Oslo")
    (locale "en_US.utf8")
    (bootloader (bootloader-configuration
                 (bootloader u-boot-rock64-rk3328-bootloader)
                 (targets '("/dev/sda"))))
    (initrd-modules '())
    (kernel linux-libre-arm64-generic)
    (file-systems (cons (file-system
                          (device (file-system-label "my-root"))
                          (mount-point "/")
                          (type "ext4"))
                        %base-file-systems))
    (services (append (list (service dhcp-client-service-type))
                      %base-services))))

(define rock64-image-type
  (image-type
   (name 'rock64-raw)
   (constructor (lambda (os)
                  (image
                   (inherit (raw-with-offset-disk-image (expt 2 24)))
                   (operating-system os)
                   (platform aarch64-linux))))))

(define rock64-barebones-raw-image
  (image
   (inherit
    (os+platform->image rock64-barebones-os aarch64-linux
                        #:type rock64-image-type))
   (name 'rock64-barebones-raw-image)))

rock64-barebones-raw-image
s/gtk.scm?id=3c690043ce9ab51c126f506e240bc8659c016c7e'>gnu: perl-gtk3: Remove input labels....* gnu/packages/gtk.scm (perl-gtk3) [native-inputs]: Remove input labels. Change-Id: Iaf289d8610df9658b83008c898781822a3cd462e Maxim Cournoyer 2024-08-31gnu: goocanvas: Remove input labels....* gnu/packages/gtk.scm (goocanvas) [native-inputs]: Remove input labels. [phases]: Remove trailing #t. Change-Id: I0eca2aeb1e01b81e89a0777fb806539d8a76972b Maxim Cournoyer 2024-08-31gnu: gtkmm: Remove input labels....* gnu/packages/gtk.scm (gtkmm) [native-inputs]: Remove input labels. Change-Id: I7dad8ada8d32c25845877aba0fc68245ff001a7e Maxim Cournoyer 2024-08-31gnu: atkmm: Remove input labels....* gnu/packages/gtk.scm (atkmm) [native-inputs]: Remove input labels. Change-Id: I7dad8ada8d32c25845877aba0fc68245ff001a7e Maxim Cournoyer 2024-08-31gnu: gtkmm-3: Update to 3.24.8....* gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.8. [propagated-inputs]: Remove labels. Change-Id: I5cda1f2a3c211f766c649e23a33f48c277c615d8 Maxim Cournoyer 2024-08-31gnu: gtk-doc: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/gtk.scm (gtk-doc)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I5db498ba4c7c7db239adb2b46a16585da044fd02 Maxime Devos 2024-08-31gnu: gtk-doc: Remove leftovers....No longer needed, package passes tests without these parameters. * gnu/packages/gtk.scm (gtk-doc)[arguments]<#:parallel-tests?>: Re-enable. <#:phases>: Remove 'disable-failing-tests. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-31gnu: gtk-doc: Wrap XML_CATALOG_FILES....Prefer XML catalog resolution over substitutions on XML files. * gnu/packages/gtk.scm (gtk-doc)[arguments]<#:phases>: Remove 'patch-gtk-doc-scan. Wrap XML_CATALOG_FILES within 'wrap-executables. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-31gnu: gtk-doc: Rewrite with G-Expressions....* gnu/packages/gtk.scm (gtk-doc): Rewrite with G-Expressions. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-31gnu: gtk: Drop docbook workaround....* gnu/packages/gtk.scm (gtk)[arguments]<#:phases>: Drop docbook workaround. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-31gnu: gtk-doc: Add libxslt native-search-paths to its own....Grepping through the built package, gtk-doc invokes 'xsltproc' so we add %libxslt-search-paths to native-search-paths in order for 'xsltproc' to find the XML/SGML catalog files. * gnu/packages/gtk.scm (gtk-doc)[native-search-paths]: Add %libxslt-search-paths. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-25gnu: Drop gobject-introspection 1.73.1....The actual gobject-introspection has been newer than its "next" variant for some while. * gnu/packages/glib.scm (gobject-introspection-next): Remove variable. * gnu/packages/gtk.scm (gtksourceview)[native-inputs]: Replace gobject-introspection-next with gobject-introspection. * gnu/packages/guile-xyz.scm (guile-g-golf)[native-inputs]: Likewise. Liliana Marie Prikler 2024-08-18Revert "gnu: at-spi2-core: Remove unnecessary test timeout."...This reverts commit 58a839273d1e4fac2b3a0ec456aabdf82deaa124. Hello I am new here: <cbaines>nckx, 58a839273d1e4fac2b3a0ec456aabdf82deaa124 leads to nearly 4000 rebuilds Tobias Geerinckx-Rice 2024-08-18gnu: at-spi2-core: Remove unnecessary test timeout....Guix provides its own superior-quality time-outs. * gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove the ‘timeout’ argument from the test invocation. Change-Id: Ic324c5992d48cafa4b6b9856b381d461083d8de2 Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Nikola 2024-07-31gnu: gtk-layer-shell: Update to 0.8.0....* gnu/packages/gtk.scm (gtk-layer-shell): Update to 0.8.0. [native-inputs]: Add vala. Change-Id: Iadf1a502eaac3f5f82ed0624c4e8b80d96e5cea0 Danny Milosavljevic 2024-07-26gnu: gtk: Fix build on aarch64....* gnu/packages/gtk.scm (gtk)[arguments]<#:test-options>: Rename failing test suite to match upstream change on aarch64-linux. Change-Id: Ibdf03a94e71f72283a093cba6d5a328004defa5c Co-authored-by: Ludovic Courtès <ludo@gnu.org> Timotej Lazar 2024-07-07gnu: webp-pixbuf-loader: Update to 0.2.4....* gnu/packages/gtk.scm (webp-pixbuf-loader): Update to 0.2.4. Liliana Marie Prikler 2024-06-24gnu: volctl: Update to 0.9.4....* gnu/packages/gtk.scm (volctl): Update to 0.9.4. Change-Id: I70e85592405d574b692398e6d71d235219fb6fe9 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Sergiu Ivanov 2024-06-03gnu: gtk: Fix build on i686-linux....* gnu/packages/gtk.scm (gtk)[#:phases]<patch>: Add section dedicated to failures on i686-linux. Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Liliana Marie Prikler 2024-06-03gnu: gtk: Update to 4.14.2....* gnu/packages/gtk.scm (gtk): Update to 4.14.2. [#:phases]<patch>: Disable new test failures. [inputs]: Add shaderc. Liliana Marie Prikler 2024-06-03gnu: gtkmm@3: Update to 3.24.9....* gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.9. Change-Id: I63e4cf6d040ff7d147965d5320ab818ff553456b Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Vivien Kraus 2024-05-14gnu: cairo: Fix cross-compilation....* gnu/packages/gtk.scm (cairo)[arguments]: Add ‘fix-cross-compilation’ phase when cross-compiling. Change-Id: I3579bb1249c749ee5f164bb4dd47f585b181c2bc Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Zheng Junjie 2024-05-06gnu: graphene: Fix build on armhf-linux....* gnu/packages/gtk.scm (graphene)[arguments]: When building for armhf-linux add a configure-flag to disable neon optimizations. Change-Id: I42b412d3f7536180e959e268b68f2c292edda749 Efraim Flashner 2024-04-09Merge remote-tracking branch 'savannah/master' into mesa-updates...Change-Id: Iad185e2ced97067b3dff8fd722435a6c5e2c00e5 Christopher Baines 2024-04-02gnu: gtk: Fix tests on aarch64....* gnu/packages/gtk.scm (gtk)[arguments]<#:configure-flags>: Skip more failing tests known to fail. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I34d0f7521224b41072fcc0c35321935d1db927e0 Leo Nikkilä 2024-04-02Revert "gnu: gtk: Skip failing tests on aarch64-linux."...This reverts commit 76ed1e886ea790fc8562b355a0768a0f04889abb. The next commit does a better job of skipping the tests. Efraim Flashner 2024-03-31gnu: cairo: Update to 1.18.0....With this new release of cairo many old configure options were removed and now meson is used to build it. The defaults include the tee backend which we had previously enabled while the xml backend has been dropped from cairo completely. Old configure options where were commented out to be enabled have been removed as they no longer apply to version 1.18.0. The variable 'cairo' is now a hidden package to work around a dependency cycle where gtk-doc is needed to build the documentation (which itself depends on cairo). The new variable 'cairo-with-documentation' is now the public package and the module exports 'cairo' for use in other packages. This follows what was done for glib. * gnu/packages/gtk.scm: Export 'cairo'. (cairo): Update to 1.18.0. [source]: Remove 'patches' field. [properties]: Hide package. [outputs]: Remove (doc output is now in cairo-with-documentation). [build-system]: Change to meson-build-system. [arguments]: Add #:glib-or-gtk?. Remove old flags from #:configure-flags and add '-Dtests=disabled' to match #:tests?. [propagated-inputs]: Remove commented out packages. (cairo-with-documentation): New variable. (cairo-sans-poppler)[properties]: No longer set hidden as it is now inherited from cairo. (cairo-xcb)[properties]: Unhide (inherited from cairo). [arguments]: Remove obsolete #:configure-flags and properly inherit from cairo. * gnu/packages/patches/cairo-CVE-2018-19876.patch: Remove. * gnu/packages/patches/cairo-CVE-2020-35492.patch: Remove. * gnu/local.mk (dist_patch_DATA): Remove them. Change-Id: I2f4c953b23c6b32b1fafaf03db89d7a475fc6956 John Kehayias 2024-03-31gnu: python-pycairo: Update to 1.26.0....* gnu/packages/gtk.scm (python-pycairo): Update to 1.26.0. Change-Id: I7349bd0c68b061d0f3fe46db52b7fdc63acbd69b John Kehayias 2024-03-31gnu: gtk: Skip failing tests on aarch64-linux....* gnu/packages/gtk.scm (gtk)[arguments]: When building for aarch64-linux add a phase to skip a test which can't find the zink driver. Change-Id: I7b596309f1cbd555bd7ba889379d5b0bb245eabc Efraim Flashner 2024-03-24gnu: pango-1.90: Disable failing test....* gnu/packages/gtk.scm (pango-1.90)[source]: Disable failing test. Change-Id: Ib0f6dcd42c9475c4b543400f43836c2f3f8db16f Signed-off-by: Christopher Baines <mail@cbaines.net> Vivien Kraus 2024-03-16gnu: girara: Build with json-glib....* gnu/packages/gtk.scm (girara) [propagated-inputs]: Add json-glib. Change-Id: I5bfe5a516885153014fce1c6643ac5799f0100e1 Signed-off-by: Christopher Baines <mail@cbaines.net> Vivien Kraus 2024-03-10Merge branch 'master' into gnome-teamLiliana Marie Prikler 2024-03-09gnu: girara: Update to 0.4.3....* gnu/packages/gtk.scm (girara): Update to 0.4.3. Change-Id: I3c977cd33fa6d20fce3bb575ae2ad887b3061966 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail> Vivien Kraus 2024-03-09gnu: girara: Update style....* gnu/packages/gtk.scm (girara)[arguments]: Convert to list of G-Expressions. [native-inputs]: Move after arguments. [propagated-inputs]: Move after arguments. Change-Id: I79a6f59f6ea671433f1a66a10cb79203f0b9bbae Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail> Vivien Kraus 2024-03-03gnu: girara: Update to 0.4.2....* gnu/packages/gtk.scm (girara): Update to 0.4.2. Change-Id: Ib7daa73b5802c98b653f4513f6111dcad786b65f Efraim Flashner 2024-02-23gnu: gtk+: Update to 3.24.41....* gnu/packages/gtk.scm (gtk+): Update to 3.24.41. Change-Id: I3dcaecb7485fa91e23fb6231f9fb51ef916da10e Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Vivien Kraus 2024-02-23gnu: pangomm@2.46: Update to 2.46.4....* gnu/packages/gtk.scm (pangomm-2.46): Update to 2.46.4. Change-Id: Ia1dcb94f35eb80a7cd79cae5245acbc4069e006b Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Vivien Kraus 2024-02-23gnu: atkmm@2.28: Update to 2.28.4....* gnu/packages/gtk.scm (atkmm-2.28): Update to 2.28.4. Change-Id: If4b333b02785c9a5712816ea048b1943b582c2e3 Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Vivien Kraus 2024-02-23gnu: glibmm-2.64: Rename and update to 2.66.6....* gnu/packages/glib.scm (glibmm-2.64): Rename to ... (glibmm-2.66): ... this. Update to 2.66.6. * gnu/packages/animation.scm (etl)[inputs]: Adjust accordingly. (synfig)[propagated-inputs]: Likewise. * gnu/packages/electronics.scm (libsigrok)[propagated-inputs]: Likewise. * gnu/packages/gnome-xyz.scm (eiciel)[inputs]: Likewise. * gnu/packages/gnome.scm (libxml++-3, libxml++-2)[propagated-inputs]: Likewise. * gnu/packages/gtk.scm (pangomm-2.46, atkmm-2.28, gtkmm-2)[propagated-inputs]: Likewise. Change-Id: I878e740e085a483970a4ef6e0fa7dd19000863eb Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> John Kehayias