Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Please clarify: repositories, package selection, avif support (Read 1311 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Please clarify: repositories, package selection, avif support

I have multiple questions after installing Artix. If that matters, I'm using the Plasma version.

1. Repositories: In my pacman.conf, I currently have this configuration:

Code: [Select]
[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

[galaxy]
Include = /etc/pacman.d/mirrorlist

[omniverse]
Server = https://omniverse.artixlinux.org/$arch
Server = https://artix.sakamoto.pl/omniverse/$arch

[lib32]
Include = /etc/pacman.d/mirrorlist

## Arch Linux repositories

[extra]
Include = /etc/pacman.d/mirrorlist-arch

[multilib]
Include = /etc/pacman.d/mirrorlist-arch

## artix testing repositories

[system-gremlins]
Include = /etc/pacman.d/mirrorlist

[world-gremlins]
Include = /etc/pacman.d/mirrorlist

[galaxy-gremlins]
Include = /etc/pacman.d/mirrorlist

[lib32-gremlins]
Include = /etc/pacman.d/mirrorlist

## arch testing repositories

[extra-testing]
Include = /etc/pacman.d/mirrorlist-arch

Is this list complete enough? For example, when I tried to install qimgv, running pacman -Ss qimgv showed nothing.

I found two ways to install it:
a) Using git clone
b) Using yay

Both methods worked for me. However, I don't understand whether I should keep the Arch repositories in my pacman.conf or not? Since installing with git clone is similar to compiling from GitHub, does this mean that AUR (Arch User Repository) is a source code repository rather than a package repository? Please clarify.


2. How can I determine which package to choose? For example, for "qimgv":

Code: [Select]
yay -Ss qimgv
 -> Avoid running yay as root/sudo.
aur/qimgv-light-git 1.0.3alpha.r105.g70dc0ef9-2 (+3 0.00)
    Qt6 image viewer (git, without any optional features)
aur/qimgv-light 1.0.2-4 (+6 0.00)
    Qt6 image viewer (without any optional features)
aur/qimgv-qt6-kde-git v1.0.3.alpha.r119.g82e6b75-2 (+16 0.24) (Installed: v1.0.3.alpha.r144.g34f8b43-1)
    Qt6 image viewer. Fast, configurable, easy to use. Supports video playback.
aur/qimgv-git 1.0.2.r160.gc913500-1 (+26 0.21)
    Qt image viewer with video playback
aur/qimgv 1.0.3+alpha+94+ge2675f13-1 (+44 0.06)
    Qt5 image viewer with experimental webm playback

I chose "qimgv-qt6-kde-git" because I have Plasma, and it's new with video playback support.
Generally, where can one find detailed descriptions of the differences between packages?


3. How do I add `.avif` support?

I've installed:
- `qt-avif-image-plugin`
- `libheif`

and successfully compiled https://github.com/novomesk/qt-avif-image-plugin and placed `libqavif.so` in `/usr/lib/qt/plugins/imageformats/` and `/usr/lib/qt6/plugins/imageformats/`.

However, this was not enough. How can I activate `.avif` support in Artix?"

Re: Please clarify: repositories, package selection, avif support

Reply #1
1. Repositories: In my pacman.conf, I currently have this configuration:
From the wiki
Quote
Testing

Warning! testing is what the name asserts: testing. In Artix, these packages go through the gremlins repositories for a period of time. Only enable these if you are an experienced user and know how to deal with system breakage.
Artix                  Arch
system-gremlins   core-testing
world-gremlins   extra-testing
lib32-gremlins           multilib-testing
From the content of your post you maybe shouldn't have gremlin/testing enabled. Because you don't have the experience required yet.
Rarely are you missing any packages by not having them enabled. Sometimes only in the case of brand new additions and then not for long.
Slightly different in the case of XLibre at the moment but it can be installed without enabling the repo's. (Download manually the needed packages and then install with pacman -U. Repeat for updates.)
Sooner or later you'll be faced with breakage that you won't know how to fix.
But if you are willing to accept possible breakage that's ok. We learn things when it breaks. You do you.
Quote
pacman -Ss qimgv showed nothing.
It's not in any of the normal repo's Artix or Arch.
Quote
does this mean that AUR (Arch User Repository) is a source code repository rather than a package repository? Please clarify.
It's a repository of the build files needed to create pacman packages. Most build from sourcecode but some from binary packages eg. When companies put out a Ubuntu package but no source it might get repackaged on the AUR.

The AUR is not official. Some packages produced from it are great. Some are unmaintained and could potentially break your system.
There has been malware introduced in the past. You are supposed to be able to read the PKGBUILD and decide whether it's sane.

Quote
found two ways to install it:
a) Using git clone
b) Using yay
If you mean git clone from the AUR and then build the proper Arch package then that's the best way.
yay is more convenient (handles AUR dependancies).
If you mean using git clone of the programs source from github and then manually building with make or meson etc and then installing directly into the system that's a very bad idea for all but the simplest one or two file programs / scripts which you should install into /usr/local not /usr

Edit: avif in Plasma
kimageformats 
libavif

For some qt programs
qt6-imageformats

 

Re: Please clarify: repositories, package selection, avif support

Reply #2
Sooner or later you'll be faced with breakage that you won't know how to fix.
But if you are willing to accept possible breakage that's ok. We learn things when it breaks. You do you.

Thank you, gripped for the explanations and hints about AVIF. Everything is much more clear now.

I'm not afraid of system breakdown. I think it can happen even with normal usage after an update, and it's possible that I might not know what to do.

In such a case, I create a whole system archive using "fsarchiver". I use it because it allows me to back up an entire encrypted system with compression. So I can restore it from the backup.