26 Commits

Author SHA1 Message Date
rmntgx
4a83e5d825 feature: saving previous selection 2025-06-29 10:20:00 +05:00
ecfd413108
dev: add make script for pre-commit'ing 2025-06-21 01:30:01 +02:00
787b412005
feat: utf8 support & partial ui.c refactor 2025-06-20 21:31:49 +02:00
7db89e973d
debug: add a logging module 2025-06-11 16:47:16 +02:00
22c3f7c896
feat|perf: generic&efficient desktop&config parser 2025-06-10 23:44:09 +02:00
rmntgx
d13ebfff4e
fix: removed unnecessary libraries 2025-06-10 23:35:35 +02:00
Robin Candau
5d298ea6d8
Don't compress man page(s) in Makefile
Compressing man pages is a distribution / user preference that should be handled on the packaging side of things.

Indeed, compressing man pages by default imposes a compression algorithm / level whereas most package managers handle that already and eventually allow users to choose or customize them if wanted.

Additionally, it can lead to unexpected side effects. For instance, gzip is recording timestamps in metadata by default, which prevents [reproducible builds](https://reproducible-builds.org/):

```
==> ERROR: Package is not reproducible
--- lidm-0.2.0-1-any.pkg.tar.zst
+++ ./build/lidm-0.2.0-1-any.pkg.tar.zst
├── lidm-0.2.0-1-any.pkg.tar
│ ├── file list
│ │ @@ -1,9 +1,9 @@
│ │  -rw-r--r--   0 root         (0) root         (0)     5391 2025-03-10 12:01:53.000000 .BUILDINFO
│ │ --rw-r--r--   0 root         (0) root         (0)      488 2025-03-10 12:01:53.000000 .MTREE
│ │ +-rw-r--r--   0 root         (0) root         (0)      492 2025-03-10 12:01:53.000000 .MTREE
│ │  -rw-r--r--   0 root         (0) root         (0)      427 2025-03-10 12:01:53.000000 .PKGINFO
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 etc/
│ │  -rw-r--r--   0 root         (0) root         (0)      930 2025-03-10 12:01:53.000000 etc/lidm.ini
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/bin/
│ │  -rwxr-xr-x   0 root         (0) root         (0)    39656 2025-03-10 12:01:53.000000 usr/bin/lidm
│ │  drwxr-xr-x   0 root         (0) root         (0)        0 2025-03-10 12:01:53.000000 usr/share/
│ ├── .MTREE
│ │ ├── .MTREE-content
│ │ │ @@ -7,10 +7,10 @@
│ │ │  /set mode=755
│ │ │  ./usr time=1741608113.0 type=dir
│ │ │  ./usr/bin time=1741608113.0 type=dir
│ │ │  ./usr/bin/lidm time=1741608113.0 size=39656 sha256digest=1a27eef50f6caf35d408f7650c362dea788c7a00a2736f0ec4c94ecd38ae6c6f
│ │ │  ./usr/share time=1741608113.0 type=dir
│ │ │  ./usr/share/man time=1741608113.0 type=dir
│ │ │  ./usr/share/man/man1 time=1741608113.0 type=dir
│ │ │ -./usr/share/man/man1/lidm.1.gz time=1741608113.0 mode=644 size=615 sha256digest=7babc0d1e7d84c3ff18db5ea327313cdbe2ba1117c33d733622a916dfd9d8d0e
│ │ │ +./usr/share/man/man1/lidm.1.gz time=1741608113.0 mode=644 size=615 sha256digest=497e49b75ab0d2c3f3edb70967bf189724990c46df23492738254395ec835d8c
│ │ │  ./usr/share/man/man5 time=1741608113.0 type=dir
│ │ │ -./usr/share/man/man5/lidm-config.5.gz time=1741608113.0 mode=644 size=1374 sha256digest=d0b54c3117c417dfdc43a7629f26cf4c64235742f698a0498722a03a4d1c25c2
│ │ │ +./usr/share/man/man5/lidm-config.5.gz time=1741608113.0 mode=644 size=1374 sha256digest=4e16649cb31029b039a594ffa2f2d4d8a624917aaacc865836c5c2d2a92cd3e4
│ ├── usr/share/man/man1/lidm.1.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "lidm.1", last modified: Mon Mar 10 12:01:59 2025, from Unix
│ │ │ +gzip compressed data, was "lidm.1", last modified: Mon Mar 10 12:15:51 2025, from Unix
│ ├── usr/share/man/man5/lidm-config.5.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "lidm-config.5", last modified: Mon Mar 10 12:01:59 2025, from Unix
│ │ │ +gzip compressed data, was "lidm-config.5", last modified: Mon Mar 10 12:15:51 2025, from Unix
```

See https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/ for detailed rational.
2025-03-10 13:16:07 +01:00
69ee14ff92
ci(feat): add aarch64 build 2024-09-06 22:05:08 +02:00
6d3c3cbb57
feat: add s6 suport 2024-09-04 20:36:50 +02:00
2fb0e0e0de
oops: add openrc install detection 2024-09-04 20:30:41 +02:00
ae4e4df7cd
feat: add openrc support 2024-09-04 19:40:49 +02:00
grialion
b4fbe68542 fix: Makefile paths on Nix
Makefile installed the binary as /bin instead of copying it to the

folder which was not present.

Also use PREFIX for man pages too.
2024-09-04 17:14:43 +02:00
9de4551f4c
feat: add manpages and improve service docs 2024-09-04 16:12:47 +02:00
50c251318a
feat: add runit support 2024-09-03 20:33:47 +02:00
2ccfc039d5
fix: unexpected remove on make clean
idk how that ended up there 👀, nobody saw nothing
2024-08-29 16:49:00 +02:00
grialion
528c4538c7 fix(Makefile): use DESTDIR and PREFIX paths 2024-08-24 15:58:18 +02:00
grialion
e745b27a68 feat(chvt): use custom implementation instead of system()
Calling system() is vulnerable and shouldn't be used.
2024-08-06 17:11:18 +02:00
09ce3ef149
feat: add make uninstall script 2024-07-27 22:56:16 +02:00
dcaab5a782
feat: allow add CFLAGS to make 2024-07-26 20:38:27 +02:00
a32e4a577f
feat: add dinit support 2024-07-26 16:40:46 +02:00
DeaDvey
a15b49ec24 detects if systemd is there 2024-07-26 04:15:11 +01:00
0955b115e6 do config :) 2024-07-14 21:44:08 +02:00
f9bfc48a9f spain's gonna win btw 🇪🇸 2024-07-14 20:21:17 +02:00
6b2d76c9b8 all: at this point just read readme 😭
spaghetti code
equivalent spaghetti readme
spaghetti commit (wait no, this is actually descriptive)
2024-07-13 12:19:02 +02:00
07d2842be0 feat: add users and sessions discovery
- also add clangd multi-file intellisense
2024-07-10 23:25:50 +02:00
4d8faa5b5f init structure 2024-07-10 16:42:25 +02:00