maav / guix-mirror (public) (License: GPLv3+) (since 2019-11-02) (hash sha1)
Mirror of GNU Guix (https://git.savannah.gnu.org/git/guix.git) with personal branches integrated into master branch.
List of commits:
Subject Hash Author Date (UTC)
gnu: sunxi-tools: Fix build. 7e917283d71fee1a29363e113f29c8c21f7c4739 Danny Milosavljevic 2020-10-08 21:11:55
gnu: guix-build-coordinator: Update to 0-1.e701d4d. aadd3429fb28a48f2cffaf9f360baf7a41f58d26 Christopher Baines 2020-10-08 19:44:03
services: guix: Don't use normalized codeset for Guix Data Service. 65c9f07a1616382c00d23b83d7a42b0e72dd8df8 Christopher Baines 2020-10-08 19:21:02
offload: Improve load normalization and configurability. efbf5fdd01817ea75de369e3dd2761a85f8f7dd5 Maxim Cournoyer 2020-10-03 05:17:54
gnu: discount: Install .pc file. 01f9a4c0f23e23e1e626007e6ead948923a23a0d Tobias Geerinckx-Rice 2020-10-07 12:50:59
gnu: discount: Update to 2.2.7. 34316794e73091e8920e54bd089616ad27fe107c Tobias Geerinckx-Rice 2020-10-07 12:50:20
gnu: discount: Cross-compile. f41b56a92e8158f1fcb4cfef762783a6bab8a63d Tobias Geerinckx-Rice 2020-10-07 12:46:54
gnu: entr: Remove erroneous use of DESTDIR. 6ad8fc65d4baf5ac624021175dfa625c8fd35fd9 Tobias Geerinckx-Rice 2020-10-07 12:36:33
gnu: perl-file-listing: Update to 6.11. c4e48255d943a50b6b4aa7fe41c82a93bd376dbf Tobias Geerinckx-Rice 2020-10-08 13:51:27
gnu: borg: Update to 1.1.14. 7db756f785b92332b09a481db74cc60392787ac2 Tobias Geerinckx-Rice 2020-10-08 13:10:10
gnu: facter: Update to 4.0.42. 4e880695e0248a237fe7de27b212f4fa4d6a24fe Tobias Geerinckx-Rice 2020-10-08 11:49:42
gnu: vim: Update to 8.2.1812. a2398cc26eb13c5244389a262443860af7a5c65a Tobias Geerinckx-Rice 2020-10-08 11:41:47
gnu: s6-linux-utils: Update to 2.5.1.3. e2ec07c0db321cba3bd548ff2ad152683c7e9c2e Tobias Geerinckx-Rice 2020-10-08 11:33:40
gnu: s6-networking: Update to 2.3.2.0. 77ba8c46ebd7446cb668ff8a992c1f42beab5ef9 Tobias Geerinckx-Rice 2020-10-08 11:33:30
gnu: obs: Update to 26.0.2. a5d729fab09957d054add9620e7d36f194ed9336 Tobias Geerinckx-Rice 2020-10-08 10:14:18
gnu: chrony: Support Network Time Security (NTS). 6072182b3d9debaa126a6e4a3ac45eab9c28e20c Tobias Geerinckx-Rice 2020-10-08 08:01:57
gnu: chrony: Update to 4.0. f73e09b2c812eb0c348f7605b49ce6d19ec8bb4a Tobias Geerinckx-Rice 2020-10-08 08:01:18
gnu: Add cl-geco. 5a7235274573ba4d20487f341c3bcee333f391ab Guillaume Le Vaillant 2020-10-08 12:00:18
gnu: python-efl: Update to 1.25.0. 13c27c110f93e17538beda03e530344ff26fb453 Efraim Flashner 2020-10-08 11:09:19
gnu: efl: Adjust gdb autoload directory. c7877db26286181b2f8a51fad628dc5335e1122a Efraim Flashner 2020-10-08 10:42:19
Commit 7e917283d71fee1a29363e113f29c8c21f7c4739 - gnu: sunxi-tools: Fix build.
* gnu/packages/patches/sunxi-tools-remove-sys-io.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (sunxi-tools-source): Add it.
Author: Danny Milosavljevic
Author date (UTC): 2020-10-08 21:11
Committer name: Danny Milosavljevic
Committer date (UTC): 2020-10-08 21:15
Parent(s): aadd3429fb28a48f2cffaf9f360baf7a41f58d26
Signer:
Signing key: E71A35542C30BAA5
Signing status: E
Tree: 161352b49ead206de34c94dc5c984af3d598a28e
File Lines added Lines deleted
gnu/local.mk 1 0
gnu/packages/admin.scm 2 0
gnu/packages/patches/sunxi-tools-remove-sys-io.patch 52 0
File gnu/local.mk changed (mode: 100644) (index 83d2d72ab1..b59b122e86)
... ... dist_patch_DATA = \
1420 1420 %D%/packages/patches/sdl-pango-matrix_declarations.patch \ %D%/packages/patches/sdl-pango-matrix_declarations.patch \
1421 1421 %D%/packages/patches/sdl-pango-sans-serif.patch \ %D%/packages/patches/sdl-pango-sans-serif.patch \
1422 1422 %D%/packages/patches/sqlite-hurd.patch \ %D%/packages/patches/sqlite-hurd.patch \
1423 %D%/packages/patches/sunxi-tools-remove-sys-io.patch \
1423 1424 %D%/packages/patches/patchutils-test-perms.patch \ %D%/packages/patches/patchutils-test-perms.patch \
1424 1425 %D%/packages/patches/patch-hurd-path-max.patch \ %D%/packages/patches/patch-hurd-path-max.patch \
1425 1426 %D%/packages/patches/perl-autosplit-default-time.patch \ %D%/packages/patches/perl-autosplit-default-time.patch \
File gnu/packages/admin.scm changed (mode: 100644) (index 40db55e73c..275432cb96)
... ... Kerberos and Heimdal and FAST is supported with recent MIT Kerberos.")
2945 2945 (commit (string-append "v" version)))) (commit (string-append "v" version))))
2946 2946 (sha256 (sha256
2947 2947 (base32 "04f3jqg8ww4jxsf9c6ddcdgy2xbhkyp0b3l5f1hvvbv94p81rjxd")) (base32 "04f3jqg8ww4jxsf9c6ddcdgy2xbhkyp0b3l5f1hvvbv94p81rjxd"))
2948 (patches
2949 (search-patches "sunxi-tools-remove-sys-io.patch"))
2948 2950 (modules '((guix build utils))) (modules '((guix build utils)))
2949 2951 (snippet (snippet
2950 2952 ;; Remove binaries contained in the tarball which are only for the ;; Remove binaries contained in the tarball which are only for the
File gnu/packages/patches/sunxi-tools-remove-sys-io.patch added (mode: 100644) (index 0000000000..fc1e5ea28d)
1 From 783cbd59fcf086a9aaf603271823fb4ca71f0c55 Mon Sep 17 00:00:00 2001
2 From: Danny Milosavljevic <dannym@scratchpost.org>
3 Date: Thu, 8 Oct 2020 23:01:05 +0200
4 Subject: [PATCH] meminfo: Replace sys/io.h by direct register accesses.
5 See: https://github.com/linux-sunxi/sunxi-tools/pull/144
6
7 Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
8 ---
9 meminfo.c | 9 ++++-----
10 1 file changed, 4 insertions(+), 5 deletions(-)
11
12 diff --git a/meminfo.c b/meminfo.c
13 index 0b0ff23..3b3a5df 100644
14 --- a/meminfo.c
15 +++ b/meminfo.c
16 @@ -22,7 +22,6 @@
17 #include <sys/mman.h>
18 #include <stdint.h>
19 #include <errno.h>
20 -#include <sys/io.h>
21 #include <stdbool.h>
22
23 #include "common.h"
24 @@ -74,24 +73,24 @@ static enum sunxi_soc_version soc_version;
25 unsigned int
26 sunxi_io_read(void *base, int offset)
27 {
28 - return inl((unsigned long) (base + offset));
29 + return *(volatile unsigned int*) (base + offset);
30 }
31
32 void
33 sunxi_io_write(void *base, int offset, unsigned int value)
34 {
35 - outl(value, (unsigned long) (base + offset));
36 + *(volatile unsigned int*) (base + offset) = value;
37 }
38
39 void
40 sunxi_io_mask(void *base, int offset, unsigned int value, unsigned int mask)
41 {
42 - unsigned int tmp = inl((unsigned long) (base + offset));
43 + unsigned int tmp = sunxi_io_read(base, offset);
44
45 tmp &= ~mask;
46 tmp |= value & mask;
47
48 - outl(tmp, (unsigned long) (base + offset));
49 + sunxi_io_write(base, offset, tmp);
50 }
51
52
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/maav/guix-mirror

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/maav/guix-mirror

Clone this repository using git:
git clone git://git.rocketgit.com/user/maav/guix-mirror

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main