This post is an immediate follow up for Attempt to workaround currently pending bug with Dotfiles Installer on openSUSE Tumblweed due to updates in openSUSE Tumbleweed packages dependencies which allow to avoid hacks during installation of Hypland with ML4W Dotfiles 2.9.9 on mentioned above popular Linux flavor . You may proceed as follows
1. Install rpm-build and dependencies:
Ensure you have the rpm-build package and its dependencies installed.
You can use zypper install rpm-build.
2. Unpack the source RPM:
Use rpm -ivh hyprutils-0.8.1-19.2.src.rpm to unpack the source code
3. Navigate to the source directory:
Change your working directory to the location where the source code was unpacked (e.g., ~/rpmbuild/SOURCES).
boris@localhost:~/rpmbuild/SOURCES> ls -l
total 36
drwxr-xr-x. 1 boris boris 286 Jul 26 08:54 hyprutils-0.8.1
-rw-r--r--. 1 boris boris 36020 Jul 16 08:23 hyprutils-0.8.1.tar.xz
boris@localhost:~/rpmbuild/SOURCES> cd *.1
boris@localhost:~/rpmbuild/SOURCES/hyprutils-0.8.1> ls
CMakeLists.txt flake.lock flake.nix hyprutils.pc.in include LICENSE nix README.md src tests VERSION
follow README.md previously set up libpixman-1-0-devel
$ sudo zypper install libpixman-1-0-devel
$ git clone https://github.com/hyprwm/hyprutils.git
$ cd hyprutils/
$ cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -$ DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
$ cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
$ sudo cmake --install build
Upon Build completion
$ cd /usr/lib64
boris@localhost:/usr/lib64> ls -l libhyprutils*
lrwxrwxrwx. 1 root root 17 Jul 26 08:33 libhyprutils.so -> libhyprutils.so.7
-rwxr-xr-x. 1 root root 390720 Jul 26 08:33 libhyprutils.so.0.8.1
lrwxrwxrwx. 1 root root 21 Jul 26 08:33 libhyprutils.so.7 -> libhyprutils.so.0.8.1
Having libpixman-1-0-devel installed you are not supposed to experience any problem with install /usr/bin/hyprpaper binary in other words $ sudo zypper install hyprpaper shouldn't cause any trouble for you .
No comments:
Post a Comment