diff --git a/pkg/de-p1st-base-efi/PKGBUILD b/pkg/de-p1st-base-efi/PKGBUILD index 94bbcac..6e59ad0 100644 --- a/pkg/de-p1st-base-efi/PKGBUILD +++ b/pkg/de-p1st-base-efi/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=base-efi _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.1.6 +pkgver=0.1.7 pkgrel=1 pkgdesc="base packages for headless Arch installation" arch=('any') @@ -27,6 +27,8 @@ depends+=('ntfs-3g') depends+=('de-p1st-grub' 'efibootmgr') # pacman config depends+=('de-p1st-pacman') +# makepkg config (part of pacman) +depends+=('de-p1st-makepkg') # sudo itself is part of base-devel, but sudo configuration is not ;) depends+=('de-p1st-sudo') # shell diff --git a/pkg/de-p1st-gpu-amdgpu/PKGBUILD b/pkg/de-p1st-gpu-amdgpu/PKGBUILD new file mode 100644 index 0000000..754e270 --- /dev/null +++ b/pkg/de-p1st-gpu-amdgpu/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Daniel Langbein +_pkgname=gpu-amdgpu +_reponame=arch +pkgname="de-p1st-$_pkgname" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="AMDGPU" +arch=('any') +url="https://codeberg.org/privacy1st/${_reponame}" +license=('MIT') + +# "DRI driver for 3D acceleration" +depends=(mesa) +# "DDX driver for 2D acceleration" +depends+=(xf86_video_amdgpu) +# "Vulkan support" +depends+=(vulkan_radeon) +# "HW-vide-acceleration: VA-API" +depends+=(libva_mesa_driver) +# "HW-vide-acceleration: VDPAU" +depends+=(mesa_vdpau) + +optdepends=() +provides=('de-p1st-gpu') # implicitly provides $pkgname diff --git a/pkg/de-p1st-gpu-amdgpu/README.md b/pkg/de-p1st-gpu-amdgpu/README.md new file mode 100644 index 0000000..433efd2 --- /dev/null +++ b/pkg/de-p1st-gpu-amdgpu/README.md @@ -0,0 +1,66 @@ +# AMD Graphics Card + +Good overview (table): + +* [wiki.gentoo.org/Radeon](https://wiki.gentoo.org/wiki/Radeon#Feature_support) +* [wiki.gentoo.org/AMDGPU](https://wiki.gentoo.org/wiki/AMDGPU#Feature_support) + +## AMDGPU + +From gentoo wiki one should use AMDGPU e.g. for: + +> AMD Zen 2 "4000" series 7nm laptop APUs + +### AMDGPU (mandatory packages) + +* archwiki -> AMDGPU -> Installation +* archwiki -> Xorg -> AMD +* archwiki -> Lenovo-IdeaPad-S540-13ARE (Ryzen 7 4800U CPU) +* archwiki -> Hardware_video_acceleration -> ATI/AMD + +* HW-video-accel verification: + * run `vainfo` and `vdpauinfo` as non-root + + +**TODO**: archwiki -> kernel-mode-setting -> early-kms-start + +For AMDGPU: in /etc/mkinitcpio.conf include "amdgpu" in MODULES=(...). +Otherwise Xorg might not start properly. + +```shell +# "DRI driver for 3D acceleration" +depends=(mesa) +# "DDX driver for 2D acceleration" +depends+=(xf86_video_amdgpu) +# "Vulkan support" +depends+=(vulkan_radeon) +# "HW-vide-acceleration: VA-API" +depends+=(libva_mesa_driver) +# "HW-vide-acceleration: VDPAU" +depends+=(mesa_vdpau) +``` + +### AMDGPU PRO (optional packages) + +* archwiki -> AMDGPU#AMDGPU_PRO +* archwiki -> AMDGPU_PRO + +The amdgpu-pro-installer contains proprietary components for +AMDGPU (it works on top of AMDGPU). + +Quote about the opengl part (from archwiki -> AMDGPU): + +> From Radeon Software 18.50 vs Mesa 19 benchmarks article: +> When it comes to OpenGL games, the RadeonSI Gallium3D driver +> simply dominates the proprietary AMD OpenGL driver. + +```shell +# proprietary OpenGL implementation +depends+=(amdgpu-pro-libgl) +# proprietary OpenCL implementation +depends+=(opencl-amd) +# proprietary Vulkan implementation +depends+=(vulkan-amdgpu-pro) +# Advanced Media Framework implementation +depends+=(amf-amdgpu-pro) +``` diff --git a/pkg/de-p1st-installer/installer.cfg b/pkg/de-p1st-installer/installer.cfg index 66b9f40..d80d074 100644 --- a/pkg/de-p1st-installer/installer.cfg +++ b/pkg/de-p1st-installer/installer.cfg @@ -28,6 +28,12 @@ BIOS_TYPE=uefi LEAVE_MOUNTED=1 PACSTRAP_INTERACTIVE=1 -# Additional pacman packages, e.g. to specify the preferred providers and avoid questions during pacstrap + +# Additional pacman packages +# E.g. to specify the preferred providers and avoid questions during pacstrap +# -> Choose providers for initramfs, de-p1st-kernel, de-p1st-ucode +# +# Even though de-p1st-mkinitcpio depends on mkinitcpio, +# pacstrap will still ask for an provider for initramfs +# except if we explicitly add mkinitcpio here ADDITIONAL_PKGS=('mkinitcpio' 'de-p1st-kernel-lts' 'de-p1st-ucode-placeholder') -# TODO: add initramfs to depends of base-efi? \ No newline at end of file diff --git a/pkg/de-p1st-xfce4/PKGBUILD b/pkg/de-p1st-xfce4/PKGBUILD new file mode 100644 index 0000000..90f18da --- /dev/null +++ b/pkg/de-p1st-xfce4/PKGBUILD @@ -0,0 +1,69 @@ +# Maintainer: Daniel Langbein +_pkgname=xfce4 +_reponame=arch +pkgname="de-p1st-$_pkgname" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="XFCE4 with configuration" +arch=('any') +url="https://codeberg.org/privacy1st/${_reponame}" +license=('MIT') + + +depends=() + +# ============== DRIVERS ============== +depends+=(de-p1st-gpu) + +# ============== xorg and XFCE4 ============== +# + + + +# xfce4 group +# pacman -Sg xfce4 | sed 's|^xfce4 |depends+=(|; s|$|)|' +depends+=(xfce4-meta) +# some pkgs from xfce4-goodies group, except e.g. +# ristretto (image viewer) +# xfce4-artwork +# xfce4-time-out-plugin (take breaks) +# xfce4-timer-plugin +# xfce4-xkb-plugin (keyboard layouts) +depends+=(mousepad thunar-archive-plugin thunar-media-tags-plugin xfce4-genmon-plugin xfce4-notifyd xfce4-screensaver xfce4-screenshooter xfce4-weather-plugin xfce4-whiskermenu-plugin) +# +# thunar optional dependencies: +# - gvfs: for trash support, mounting with udisk and remote +# filesystems (e.g. webdav) +depends+=(gvfs) +# NetworkManager applet +depends+=(network-manager-applet) +# keyring/secrets +# -> https://wiki.archlinux.org/index.php/GNOME/Keyring +depends+=(gnome-keyring libsecret) + +# ============== display manager ============== +depends+=(sddm) + + +makedepends=('git') + +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+${url}.git") +noextract=() +sha256sums=('SKIP') + +package() { + cd "${_reponame}/pkg/${pkgname}" + + install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face + + # === display manager === + install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset + install -Dm0644 autologin.conf "$pkgdir"/etc/sddm.conf.d/autologin.conf +} diff --git a/pkg/de-p1st-xfce4/TODO.txt b/pkg/de-p1st-xfce4/TODO.txt index 1a54cd3..c2bee75 100644 --- a/pkg/de-p1st-xfce4/TODO.txt +++ b/pkg/de-p1st-xfce4/TODO.txt @@ -1,5 +1 @@ depend on de-p1st-theme, xfce4-meta (AUR) -denend on de-p1st-graphic-driver - -> proved by de-p1st-graphic-driver-amd and - de-p1st-graphic-driver-nvidia and - de-p1st-graphic-driver-intel diff --git a/pkg/de-p1st-xfce4/autologin.conf b/pkg/de-p1st-xfce4/autologin.conf new file mode 100644 index 0000000..b55bb77 --- /dev/null +++ b/pkg/de-p1st-xfce4/autologin.conf @@ -0,0 +1,18 @@ +[Autologin] +Relogin=false +Session=xfce +# Session=plasma +User=yoda + +[General] +HaltCommand=/usr/bin/systemctl poweroff +RebootCommand=/usr/bin/systemctl reboot + +# [Theme] +# # ls /usr/share/sddm/themes +# # "breeze" is part of plasma-workspace +# Current=breeze + +[Users] +MaximumUid=60000 +MinimumUid=1000 diff --git a/pkg/de-p1st-xfce4/img/LICENSE.md b/pkg/de-p1st-xfce4/img/LICENSE.md new file mode 100644 index 0000000..ce94d3e --- /dev/null +++ b/pkg/de-p1st-xfce4/img/LICENSE.md @@ -0,0 +1,9 @@ +Pixabay License: https://pixabay.com/service/license/ + +Credits: +* https://pixabay.com/users/ribastank-805206/ + +Source: +* https://pixabay.com/photos/yoda-starwars-actionfigure-667955/ +* https://free-images.com/display/yoda_starwars_actionfigure_667955.html + diff --git a/pkg/de-p1st-xfce4/img/face.jpg b/pkg/de-p1st-xfce4/img/face.jpg new file mode 100644 index 0000000..d997d43 Binary files /dev/null and b/pkg/de-p1st-xfce4/img/face.jpg differ diff --git a/pkg/de-p1st-xfce4/img/yoda_starwars_actionfigure_667955.jpg b/pkg/de-p1st-xfce4/img/yoda_starwars_actionfigure_667955.jpg new file mode 100644 index 0000000..012e690 Binary files /dev/null and b/pkg/de-p1st-xfce4/img/yoda_starwars_actionfigure_667955.jpg differ diff --git a/pkg/de-p1st-xfce4/systemd.preset b/pkg/de-p1st-xfce4/systemd.preset new file mode 100644 index 0000000..c4d9b1f --- /dev/null +++ b/pkg/de-p1st-xfce4/systemd.preset @@ -0,0 +1 @@ +enable sddm.service \ No newline at end of file diff --git a/pkg/xorg-meta/PKGBUILD b/pkg/xorg-meta/PKGBUILD new file mode 100644 index 0000000..40da164 --- /dev/null +++ b/pkg/xorg-meta/PKGBUILD @@ -0,0 +1,61 @@ +# Maintainer: Daniel Langbein +_reponame=arch +pkgname="xorg-meta" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Meta package for installing the xorg group" +arch=('any') +url="https://codeberg.org/privacy1st/${_reponame}" +license=('MIT') + +depends=() +# xorg group +# pacman -Sg xorg | sed 's|^xorg |depends+=(|; s|$|)|' +depends+=(xf86-video-vesa) # if no specific driver is found by xorg, then this generic one is used +depends+=(xorg-bdftopcf) +depends+=(xorg-docs) +depends+=(xorg-font-util) +depends+=(xorg-fonts-100dpi) +depends+=(xorg-fonts-75dpi) +depends+=(xorg-fonts-encodings) +depends+=(xorg-iceauth) +depends+=(xorg-mkfontscale) +depends+=(xorg-server) +depends+=(xorg-server-common) +depends+=(xorg-server-devel) +depends+=(xorg-server-xephyr) +depends+=(xorg-server-xnest) +depends+=(xorg-server-xvfb) +depends+=(xorg-sessreg) +depends+=(xorg-setxkbmap) +depends+=(xorg-smproxy) +depends+=(xorg-x11perf) +depends+=(xorg-xauth) +depends+=(xorg-xbacklight) +depends+=(xorg-xcmsdb) +depends+=(xorg-xcursorgen) +depends+=(xorg-xdpyinfo) +depends+=(xorg-xdriinfo) +depends+=(xorg-xev) +depends+=(xorg-xgamma) +depends+=(xorg-xhost) +depends+=(xorg-xinput) +depends+=(xorg-xkbcomp) +depends+=(xorg-xkbevd) +depends+=(xorg-xkbutils) +depends+=(xorg-xkill) +depends+=(xorg-xlsatoms) +depends+=(xorg-xlsclients) +depends+=(xorg-xmodmap) +depends+=(xorg-xpr) +depends+=(xorg-xprop) +depends+=(xorg-xrandr) +depends+=(xorg-xrdb) +depends+=(xorg-xrefresh) +depends+=(xorg-xset) +depends+=(xorg-xsetroot) +depends+=(xorg-xvinfo) +depends+=(xorg-xwayland) +depends+=(xorg-xwd) +depends+=(xorg-xwininfo) +depends+=(xorg-xwud)