Giter Club home page Giter Club logo

archrepo's Introduction

A pacman repo focusing on ArchLinux and ArchLinuxARM as media center

Supported platforms

The repo is only for the following two distro and architecture combinations:

  • ArchLinux on x86_64
  • ArchLinux ARM on aarch64

Any other distros or platforms are neither tested, supported or intended to be run on. If you encounter any issue on those platforms, don't report them.

Adding the repo

Note: The packages are built against the dependencies from the official repos (core and extra) and this repo, and they're updated hourly, if you have other third party repos enabled, you'd better place this repo prior to other third party repos so you won't fetch wrong deps from their repos. The only exception is archlinuxcn, which I actively check for packaging conflicts

Direct trust

import my signing key:

sudo pacman-key --recv-keys BA27F219383BB875
sudo pacman-key --lsign BA27F219383BB875

add the following session in your /etc/pacman.conf:

[7Ji]
Server = https://github.com/7Ji/archrepo/releases/download/$arch

install my keyring (this automatically populates the keys, which should be a no-op as it was already added)

sudo pacman -Syu 7ji-keyring

Temporary bypass

add the following session in your /etc/pacman.conf:

[7Ji]
SigLevel = Never
Server = https://github.com/7Ji/archrepo/releases/download/$arch

install my keyring

sudo pacman -Syu 7ji-keyring

remove the SigLevel line so the section now looks like this:

[7Ji]
Server = https://github.com/7Ji/archrepo/releases/download/$arch

Package list

Check aarch64.yaml and x86_64.yaml, the pkgbuilds section declares the lists. The URLs follows the alias rule documented here.

Note that, different from most of the existing repos, I don't maintain the repo config alongside the packages. But most of them are available either on AUR, or under 7Ji-PKGBUILDs organisation.

You might find the following packages useful:

  • ffmpeg-mpp, ffmpeg4.4-mpp, chromium-mpp, kodi-matrix-mpp-git, kodi-nexus-mpp-git provide a powerful and attractive video decoding and playback experience on your ArchLinux ARM box.
  • linux-aarch64-orangepi5-git, linux-radxa-rkbsp5-git, linux-aarch64-7ji, linux-aarch64-flippy provide up-to-date kernels for your ArchLinux ARM box.
  • ffmpeg-full provide a powerful video en/decoding toolbox for your ArchLinux box.
  • qbittorrent-enhanced-nox-git makes your box ideal for headless seeding application.
  • ampart, ampart-git, git-mirrorer, usb2host are all shiny tools and sysutils written by 7Ji and they're released here officially.
  • many other packages waiting for you to try out

Special note for ArchLinux ARM: all of the kernel packages in this repo follows the ArchLinux (non-ARM) way of packing kernels, and all DTBs are stored under /boot/dtbs/[package name] so multiple kernels don't conflict with each other. They do not follow the ALARM way and downstream way which conflicts with each other, therefore:

  • You can install multiple kernel packages from this repo for multi-booting
  • You can install kernel packages alongside ALARM official kernels for multi-booting
  • You must use a different booting configuration or adapt your existing ones to boot my kernel packages.

AGGRESIVE REBUILD WARNING

For the minimum manual operation for the repo maintainer, the builder for this repo applies a strict rebuild rule:

The builder would rebuild pacakges on every update of the PKGBUILD themselves, their sources, and their dependencies.

This is all unattended and it makes sure as long as you do installation by pacman -Syu [package] you always get the one that links against the latest dependencies.

Howevev, the pkgver could be kept the same with the actual package already rebuilt and being a different binary release. This is a result of AUR-originated PKGBUILDs and that I don't want to introduce any difference from PKGBUILDs you would get from AUR directly.

In most cases you can just ignore the update without pkgver change and keep using your local one. But if your local one breaks with their dependencies updated from the official repo then you can just force a reinstall to update it to the one built against the latest dependency:

sudo pacman -Scc # Type y, enter, enter
sudo pacman -S [the broken package] 

Building

It is not recommended to try to build these packages by yourself, as they take too much time. But if you want to, use https://github.com/7Ji/arch_repo_builder, which is a naive repo builder written in Rust for this repo which targets Github releases as repo storage, and build every package with clean dependency chain.

Note that the builder would build packages in a procedural way, i.e. it expects built dependencies to be pushed to the repo and used in the next run instead of the current one. So you'll find trouble in the sense of "bootstrapping" the repo. This should be fixed later but it's not on top of my to-do list. To work around this, disable packages that don't have all dependencies met first, then re-enable them as you get more and more of them into your repo.

Build infrastructure

The aarch64 packages are built on an Orange Pi 5 Plus (RK3588 + 16G + NVMe) with an Orange Pi 5 (RK3588S + 8G) as distcc volunteer.

The x86_64 packages are built on an Intel NUC5PPYH (N3700 + 8G).

Both of the builders fetch config update (i.e. change to this repo) from my local git server instead of Github.

In most cases changes are pushed to the local server first before they reach GitHub. Changes that reach GitHub first (e.g.by other contributors, or via PR) would need to be verified by myself before they reach the local git server and the builders.

Contribution

Package guideline

Keep in mind all of the packages need to be built on limited resource as listed in the previous section. And adding them to the repo is not a build-once-use-forever affair, they need to be re-built on every update of the package itself, its sources, and any of the dependencies. This project, like all my other projects, run without sponsorship. So, I don't want to accept packages that's not absolutely needed.

Packages meeting the following conditions won't be accepted:

  • Already maintained in a repo, especially already maintained in a distro's official repo
  • Not verified to work on actual hardware
  • Take too much time to build

Adding package

Create a PR which modifies aarch64.yaml and/or x86_64.yaml. After the PR merged, wait for the builder's next hourly update.

License

The repo config, document, and wrapper scripts, i.e. all files living in this git repository, are licensed under AGPLv3

The builder which lives in another repo is licensed under Apache 2.0 + MIT dual license just like most of the other Rust projects.

The PKGBUILDs used to create the packages each has their own licensing, and the sources are not maintained here.

The released packages follow the same license as their upstream, and the sources are not maintained here.

archrepo's People

Contributors

7ji avatar wyf9661 avatar niels1voo avatar w568w avatar

Stargazers

 avatar Ricardo Squassina Lee avatar  avatar Ian Nicolae avatar Marat Matourin avatar  avatar  avatar Daniele Bosco avatar  avatar HRK avatar qyj avatar txyyh avatar he avatar  avatar  avatar gentoo avatar SputnikRocket  avatar  avatar  avatar Integral avatar  avatar CANOE avatar Josh Taylor avatar Hüseyin BIYIK avatar  avatar

Watchers

 avatar Hüseyin BIYIK avatar

archrepo's Issues

[STATUS] aarch64 builder is down

My OrangePi 5 Plus seems to have became faulty after a recent unclean shutdown during power loss. This is the only builder for the aarch64 packages and that means no update before the builder back online. I'm trying to rescue the data so the builder could be migrated to my OrangePi 5. This needs time and please be patient.

Feedback: linux-rkbsp-joshua-git 6.1.43.r1266023.8372abb8befa-1 Wifi Not Available Or Stable on WIFI Module 8852BE

Device: Opi5-Plus
Wifi Module: 8852BE (So called Official Orange Pi 5 Plus Wifi Module)

On linux-rkbsp-joshua-git 6.1.43.r1266023.8372abb8befa-1 WIFI is not stable. System will continue to try to activate the WIFI. Message "Wireless Interface (wIP2p33s0). WiFi network cannot be found" The firmware used did not seem to make a difference -- "linux-firmware-orangepi-git" or "linux-firmware-joshua-git".

On linux-rkbsp-6.1.43-2 NO WiFi connection at all.

After Upgrading to Latest Chromium-mpp version 119.0.6045.199 VPU HW Acceleration No Longer Work

Hi @7Ji,

Performed "sudo pacman -Syu" which upgraded chromium-mpp-114.0.5735.198 to Chromium-mpp-119.0.6045.199, vpu hardware acceleration no longer work.

Had tried to re-enable "sudo systemctl enable --now libv4l-rkmpp-setup.service", reboot but chromium-mpp- 119.0.6045.199 still does not support vpu hw acceleration.

chromium-mpp-114.0.5735.198 vpu hw acceleration works.

HAPPY NEW YEAR.

Thank you for your great work and support.

After Upgrading to MPV-1:0.37.0-1 & ffmpeg-mpp-2.6.1.1-1, MPV High Drop Frames When Streaming Video With 60FPS

Hi,

Just to share and not sure whether it is a bug.

After upgrading to mpv-1:0.37.0-1 and ffmpeg-mpp-2.6.1.1-1, MPV have very high drop frames when streaming video with 60 FPS compared to mpv to version mpv-1:0.36.0-1 and ffmpeg-mpp-2.6.0-10. One example is "Bib Buck Bunny" video

mpv --gpu-context=x11egl --hwdec=rkmpp https://www.youtube.com/watch?v=aqz-KE-bpKQ

Downgrade mpv & ffmpeg-mpp to mpv-1:0.36.0-1 and ffmpeg-mpp-2.6.0-10, the same video and settings stream with low drop frames.

Wonder whether you or other users of mpv-1:0.37.0-1 and ffmpeg-mpp-2.6.1.1-1 are facing the same issue of very high drop frames.

Device: OPI5-Plus 16GB RAM.
DE: Gnome On Wayland

packages in agrrepo

hello @7Ji

i noticed that some packages in the builder are using agrrepo (ie: mesa-panfrost-git, mesa-panvk-git),

i can move those to 7jiPKGBUILDs organization if they are used,

i am randomly moving stuff in agrrepo since paths do not matter in agr but could be a pain for you to maintain it..

Kodi doesn't restart/quit/exit

Hi!

after installing the Backup addon, Kodi is unable to restart, quit, or exit. It just restart Kodi

A Kodi crash logs is generated every time, but I cannot identify the issue

Are you aware of this issue?

Please let me know how can i help with this

kodi_crashlog-20240810_003943.log

Opi5 with 4 gb ram, running kwankiu dist

Kernel: 6.1.75-rockchip-g73c50d175656-dirty

pkg is kodi-mpp-git - r175807.8adee68acd-1

Thanks!

Github replaces a colon with a dot

Hi,

I've done something similar, but github mangles the filename. It replaces a colon with a dot.

So you cannot:

sudo rm /var/cache/pacman/pkg/ffmpeg-mpp*

sudo pacman -Syu ffmpeg-mpp

It cannot find the file, the filename changed.

llvm-libs >= 16 update breaks mali-panfork-git

The library libOSMesa.so in the package links to libLLVM-15.so, which is now superceded by libLLVM-16.so

The package is now being rebuilt and a manual re-installation is needed once the new package is available to fix the problem.

404 error kodi-mpp-git-r175823

Hi,

i'm receiving an error when i'm trying to update Kodi:

error: could not get file «kodi-mpp-git-r175823..patch.1.6859877547-1-aarch64.pkg.tar.zst» desde github.com: The requested URL returned error: 404
warning: some files could not be received
error: the operation could not be performed (some files could not be downloaded)
Errors occurred, so packages will not be updated

Ignoring this pkg i can perform the system update with no issue

It's happening with the previous kernel version and the latest one: 6.1.75-rockchip-g34daad066ed2-dirty

kwankiu's build

opi5 - 4gb ram

Please let me know if you need more infos

Thanks for checking

Dani

linux-aarch64-rockchip-bsp5.10-joshua-git display output issues

linux-aarch64-rockchip-bsp5.10-joshua-git is current broken as it was built from a commit that was work-in-progress after a rebase to a new rockchip sdk, there are newer commits that fixes the issue after that build and it currently needs a rebuild to work properly.

(more specifically, FYI, it was that rockchip sdk is using mali blob g21 that the kernel built with g21 support, newer commits of the kernel reverted to g18 as there were issues with g21, as a result, using this WIP g21 kernel build with a g18 blob makes it unusable.)

texinfo >= 7.1-1 breaks `ffmpeg-mpp` build

Since the update of texinfo ~2 weeks ago, the ffmpeg-mpp package could not be built due to some configuration format change, the same applies to ffmpeg regardless of the distro, as long as they got latest texinfo. Arch ffmpeg is not 'affected' because it's not been rebuilt yet.

Debian devs have written a patch for their ffmpeg package which fixes the problem for them: https://salsa.debian.org/multimedia-team/ffmpeg/-/blob/debian/master/debian/patches/0005-Patch-up-t2h-for-texinfo-7.1.patch . This repo however does not maintain the PKGBUILD for ffmpeg-mpp so that could not be applied yet.

@hbiyik would you please check if that patch could be added to your PKGBUILD?

mpp-git dependency on systemd for udev

It would be desirable to replace the "systemd" dependency with "udev" this would allow non-systemd users to install the package, but also keep the needed dependencies, as systemd provides udev, while eudev provides udev on non-systemd systems.

Associated PR:

7Ji-PKGBUILDs/mpp-git#2

has this been tested to build and install successfully on both systemd and non-sytemd systems?

Yes. I have.

python dependency of rockhip kernel

https://github.com/rockchip-linux/kernel/commits/develop-4.4/scripts/gcc-wrapper.py
https://github.com/rockchip-linux/kernel/commits/develop-5.10-rt53/scripts/clang-wrapper.py

https://github.com/torvalds/linux/tree/master/scripts

It seems like rockchip kernel has been using python as the scripting language. This was not a visible problem when building the kernel because makedepends dtc was already depending on python. However when building a kernel module out of tree (ie with dkms or manually out of tree building), there is no "depends" that can satisfy python and it will fail.

On most systems python is for whatever reason is installed so time to time it is possible the issue could not be seen.

I figured out the best solution to overcome this is to add "python" to "depends" of linux-headers package which is based on rockchip kernel. I saw you also have a orangepi kernel i think this should also impact you. What do you think?

Warning to package maintainers: ongoing Deletion Request spam on AUR

An AUR user (not dev, not TU, not assuming Package Maintainer role, JUST A USER) MarsSeed is currently going rampage on AUR to file Deletion Request to a LOT of packages, affecting me starting from PRQ#50220, including PRQ#50222, PRQ#50980, correponding each to linux-firmware-amlogic-ophub, linux-firmware-orangepi, chromium-mpp I'm building for the repo.

He also files a lot of Deletion Request against pacakges maintained by @hbiyik , ffmpeg-mpp, ffmpeg4.4-mpp, librga-multi, kodi-matrix-mpp-git, etc are all currently being affected.

You could check the aur-request mailing list that almost half of the ongoing Deletion Requests are filed by him: https://lists.archlinux.org/hyperkitty/list/[email protected]/

We NEED to take action

**READ BEFORE YOU OPEN AN ISSUE** Supported distro and platforms

This pacman repo is only for the following distros and platforms:

Any other distros, and any other platforms are not supported at all.

You're free to install my packages on any distro and any platform. They should work regardless of the distro.

But if you're using the repo on any platform that's not either Arch x86_64 or ALARM aarch64, do not open an issue, as I'll close them immediately.

Please remember, I do not have time or duty to fix up problems for any platforms I do not personally use. I won't care if it's a minor fork distro or whatsoever. As long as it's not Arch x86_64 or ALARM aarch64, it's not supported.

Conflict Between New ffmpeg-2:7.0.1-1 & ffmpeg-mpp-git

Not sure which package in 7Ji/archrepo is triggering the requirement to upgrade/install ffmpeg-2:7.0.1-1.

sudo pacman -Syu
[sudo] password for jfl:
:: Synchronizing package databases...
core is up to date
extra 9.2 MiB 43.1 KiB/s 03:39 [####################################] 100%
community is up to date
7Ji is up to date
rockchip is up to date
:: Starting full system upgrade...
warning: mpv: ignoring package upgrade (1:0.38.0-4 => 1:0.38.0-5)
resolving dependencies...
looking for conflicting packages...
:: ffmpeg-2:7.0.1-1 and ffmpeg-mpp-git-6.1.r112638.9efe5bcff0-1 are in conflict. Remove ffmpeg-mpp-git? [y/N] N
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ffmpeg-2:7.0.1-1 and ffmpeg-mpp-git-6.1.r112638.9efe5bcff0-1 are in conflict

Add 7Ji repo keyring package

For ease of installation by the user and ease of upgrading without manual intervention in case the key changes/updates

Latest mpp-git-r3472.fdeb8c37-1 breaks chromium-mpp and mpv vpu hw acceleration on Opi5-Plus

Hi @7Ji,

For your information, the latest "mpp-git-r3472.fdeb8c37-1" in the 7Ji-Archrepo breaks chromium-mpp and mpv vpu hw acceleration. chromium-mpp have visual artifacts and does not stream 1080p or 4K/60 Youtube video -- Freezes and high CPU.

MPV also have similar issue when streaming Youtube video and report issue with "VP9....", video not smooth and high drop frames.

Revert to "mpp-git r3456.0e03d3bc-1" using:

sudo pacman -U /var/cache/pacman/pkg/mpp-git-r3456.0e03d3bc-1-aarch64.pkg.tar.zst

And both chromium-mpp and mpv streams 4K/60 video well with vpu hw acceleration.

Wish you A Happy Prosperous Chinese New Year.

Cannot Install FFMPEG-MPP -- Due To Invalid or Corrupted Package (checksum)

sudo pacman -S ffmpeg-mpp
resolving dependencies...
looking for conflicting packages...
:: ffmpeg-mpp and ffmpeg are in conflict. Remove ffmpeg? [y/N] y

Packages (12) cjson-1.7.16-1  ffmpeg-2:6.1-2 [removal]  librga-multi-1.9.3.1-1
              librist-0.2.10-1  mbedtls-3.4.1-1  meson-1.3.0-1
              mpp-git-r3429.b4be2b72-1  ninja-1.11.1-3  onevpl-2023.4.0-1
              python-tqdm-4.66.1-2  python-typing_extensions-4.8.0-1
              ffmpeg-mpp-2:6.0-10

Total Download Size:   12.14 MiB
Total Installed Size:  56.77 MiB
Net Upgrade Size:      21.41 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 ffmpeg-mpp-2.6.0...    12.1 MiB  1378 KiB/s 00:09 [######################] 100%
(11/11) checking keys in keyring                   [######################] 100%
(11/11) checking package integrity                 [######################] 100%
:: File /var/cache/pacman/pkg/ffmpeg-mpp-2.6.0-10-aarch64.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package (checksum))
Errors occurred, no packages were upgraded.

More packages?

Hello I am the author of mpp related packages in AUR.

I am using your repo and thanks for that, would you be interested in adding more packages required for rockchip related products.

linux-radxa-rkbsp5-git: Required for Rock5a/b
kodi-nexus-mpp-git: Kodi Nexus patched with mpp. (all sub packages as well)
kodi-matrix-mpp-git: Kodi Matrix patched with mpp. (all sub packages as well)

I can not install mpv pkg in archrepo

I'm sure that I've already add your keyring in my env, but I found that I can not install mpv package.

ivan@rockchip3588:~> yay -Qi 7ji-keyring
名字           : 7ji-keyring
版本           : 20231105-2
描述           : 7Ji's arch repo PGP keyring
架构           : any
URL            : https://github.com/7Ji/archrepo
软件许可       : GPL3
组             : 无
提供           : 无
依赖于         : 无
可选依赖       : 无
依赖它         : 无
被可选依赖     : 无
与它冲突       : 无
取代           : 无
安装后大小     : 3.11 KiB
打包者         : Guoxin Pu (7Ji) <[email protected]>
编译日期       : 2023年11月19日 星期日 18时48分56秒
安装日期       : 2023年12月08日 星期五 14时43分40秒
安装原因       : 单独指定安装
安装脚本       : 是
验证者         : 数字签名

ivan@rockchip3588:~> sudo pacman-key --recv-keys BA27F219383BB875
gpg: 密钥 BA27F219383BB875:“Guoxin Pu (7Ji) <[email protected]>” 未改变
gpg: 处理的总数:1
gpg:              未改变:1
ivan@rockchip3588:~> sudo pacman-key --lsign BA27F219383BB875
  -> 已本地签名 1 把密钥。
==> 正在更新可信数据库...
gpg: 下次信任度数据库检查将于 2023-12-31 进行
Sync Explicit (1): mpv-1:0.36.0-1
正在解析依赖关系...
正在查找软件包冲突...

软件包 (4)         新版本      净变化  

extra/libxpresent  1.0.1-1     0.03 MiB
extra/mujs         1.3.4-1     1.16 MiB
extra/uchardet     0.0.8-2     0.21 MiB
7ji/mpv            1:0.36.0-1  6.30 MiB

全部安装大小:  7.71 MiB

:: 进行安装吗? [Y/n] 
(4/4) 正在检查密钥环里的密钥                                                               [####################################################] 100%
(4/4) 正在检查软件包完整性                                                                 [####################################################] 100%
错误:mpv: 来自 "Guoxin Pu (7Ji) <[email protected]>" 的签名无效
:: 文件 /var/cache/pacman/pkg/mpv-1.0.36.0-1-aarch64.pkg.tar.zst 已损坏 (无效或已损坏的软件包 (PGP 签名)).
打算删除吗? [Y/n] sudo pacman-key --lsign BA27F219383BB875sudo pacman-key --lsign BA27F219383BB875

After Upgrading to MPV -1:0.37.0-1, MPV Not Will Stream/Play Video

Hi,

After the latest system upgrade where MPV is upgraded to MPV -1:0.37.0-1 from ALARM Repo, MPV no longer stream Youtube or play local videos.

[jfl@opi5plus ~]$ mpv https://www.youtube.com/watch?v=7PIji8OubXU
mpv: symbol lookup error: mpv: undefined symbol: av_packet_side_data_get, version LIBAVCODEC_60

[jfl@opi5plus ~]$ mpv /media/Elements/GT_KING_PRO/videos/Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film [aqz-KE-bpKQ].mp4
mpv: symbol lookup error: mpv: undefined symbol: av_packet_side_data_get, version LIBAVCODEC_60


[jfl@opi5plus ~]$ pacman -Qs ffmpeg
local/ffmpeg-mpp 2:6.0-10
    Complete solution to record, convert and stream audio and video supporting
    rockchip MPP hardware decoder

Not sure whether it is a conflict with "ffmpeg-mpp". Also notice "MPV" is no longer available on your 7Ji/archrepo.

Pacman update, failed retrieving file '7Ji.db'

pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 alarm is up to date
 aur is up to date
 7Ji.db failed to download
error: failed retrieving file '7Ji.db' from github.com : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.