Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73964 - [qmk] The qmk package may have large unnecessary dependencies for most users

Attached to Project: Community Packages
Opened by Jarno Malmari (jmalmari) - Saturday, 26 February 2022, 09:59 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 26 February 2022, 17:05 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The qmk tool has become a requirement for building qmk_firmware keymaps for the compatible keyboards. I believe most of its users use either ARM or AVR keyboard but not both, and this feature request is based on this assumption.

I suggest making the ARM related dependencies optional, or perhaps offer a smaller qmk-avr package. I'm able to build an AVR ergodox_ez keymap fine without installing the ARM packages. Other way around I haven't tested, nor have I knowledge of implications to building other types of keyboards the qmk_firmware supports.

Example of building ergodox_ez default keymap with qmk 1.0.0-2, and saving 1300 MiB disk space:
1. pacman -S qmk --assume-installed arm-none-eabi-binutils=2.37-1 --assume-installed arm-none-eabi-gcc=11.2.0-1 --assume-installed arm-none-eabi-newlib=4.1.0-1
2. git clone https://github.com/qmk/qmk_firmware.git
3. cd qmk_firmware
4. git checkout 8aec20c0da9481c5294b216346231a98570d1626
5. make ergodox_ez:default

The ARM related dependencies, installed size ~1300 MiB:
* arm-none-eabi-gcc
* arm-none-eabi-binutils
* arm-none-eabi-newlib

The AVR related dependencies, installed size ~200 MiB:
* avr-gcc
* avr-libc
* avr-binutils
* avrdude

Rest of the required deps, installed size ~50 MiB:
* python-appdirs
* python-argcomplete
* python-colorama
* python-milc
* python-dotty-dict
* python-jsonschema
* git
* dfu-programmer
* dfu-util
* python-hjson
* python-pygments
* python-hid
* python-pyusb
This task depends upon

Closed by  Morten Linderud (Foxboron)
Saturday, 26 February 2022, 17:05 GMT
Reason for closing:  Not a bug
Additional comments about closing:  https://bugs.archlinux.org/task/69246

Loading...