UPDATE as of 07/26/25
You might be forced to try download hyprpaper-0.7.5-20.2.src.rpm or hyprutils-0.8.1-19.2.src.rpm
The goal of source-install is to create under /usr/lib64 shown below shared libraries .
boris@localhost:/usr/lib64> ls -l libhyprutils*
lrwxrwxrwx. 1 root root 17 Jul 16 08:23 libhyprutils.so -> libhyprutils.so.7
-rwxr-xr-x. 1 root root 235744 Jul 16 08:23 libhyprutils.so.0.8.1
lrwxrwxrwx. 1 root root 21 Jul 16 08:23 libhyprutils.so.7 -> libhyprutils.so.0.8.1
For instance just been working via rpm-build with hyprutils-0.8.1-19.2.src.rpm
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 package.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> 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 .
END UPDATE
See https://github.com/mylinuxforwork/dotfiles/issues/1053
I have to notice that during business day 07/24/25 "Mylinuxforwork" suggested utilizing swww rather then hyprpaper on openSUSE Tumbleweed. See final entries into thread https://github.com/mylinuxforwork/dotfiles/issues/1053
boris@localhost:~/Downloads> sudo zypper source-install hyprpaper-0.7.1-2.6.src.rpm
[sudo] password for root:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 3 recommended packages were automatically selected:
bison-lang libpng16-compat-devel libtiff-devel-docs
The following 144 NEW packages are going to be installed:
at-spi2-core-devel binutils bison bison-lang cairo-devel cmake cmake-full cmake-man dbus-1-daemon dbus-1-devel
file-devel fontconfig-devel freetype2-devel fribidi-devel gcc gcc15 gcc15-c++ gcc-c++ gdk-pixbuf-devel gettext-its-gtk4
gettext-tools glib2-devel glibc-devel graphite2-devel gtk3-devel gtk-layer-shell-devel harfbuzz-devel
hyprland-protocols-devel hyprlang-devel hyprutils-devel hyprwayland-scanner libasan8 libatomic1 libblkid-devel
libbrotli-devel libbz2-devel libctf0 libctf-nobfd0 libdatrie-devel libdisplay-info-devel libdrm-devel libdrm_nouveau2
libdrm_radeon1 libeconf-devel libepoxy-devel libexpat-devel libffi-devel libgbm-devel libglvnd-devel libgthread-2_0-0
libgtk-layer-shell0 libharfbuzz-cairo0 libhwasan0 libhyprlang2 libhyprutils7 libicu-devel libinput-devel libitm1
libjpeg62 libjpeg62-devel libjsoncpp26 libjsoncpp26-x86-64-v3 liblcms2-devel libliftoff0 libliftoff-devel liblsan0
libmount-devel libpciaccess-devel libpcre2-32-0 libpixman-1-0-devel libpng16-compat-devel libpng16-devel libpugixml1
librhash1 libseat1 libselinux-devel libsepol-devel libstdc++6-devel-gcc15 libstdc++-devel libthai-devel libtiff-devel
libtiff-devel-docs libtsan2 libubsan1 libwebpdecoder3 libwebp-devel libwlroots-0_18 libX11-devel libXau-devel
libxcb-dbe0 libxcb-devel libxcb-dri2-0 libxcb-errors0 libxcb-ewmh2 libxcb-screensaver0 libxcb-xf86dri0 libxcb-xtest0
libxcb-xvmc0 libXcomposite-devel libxcrypt-devel libXcursor-devel libXdamage-devel libXext-devel libXfixes-devel
libXft-devel libXi-devel libXinerama-devel libxkbcommon-devel libXrandr-devel libXrender-devel libXtst-devel
libz-ng-compat1 libzstd-devel linux-glibc-devel lzo-devel m4 make Mesa-KHR-devel Mesa-libEGL-devel Mesa-libGL-devel
Mesa-libGLESv2-devel Mesa-libGLESv3-devel ninja pango-devel pcre2-devel seatd-devel site-config systemd-devel
typelib-1_0-Atspi-2_0 typelib-1_0-GdkPixdata-2_0 typelib-1_0-GIRepository-3_0 typelib-1_0-GLibUnix-2_0
typelib-1_0-GtkLayerShell-0_1 vulkan-devel vulkan-headers wayland-devel wayland-protocols-devel wlroots-0_18-devel
xcb-util-errors-devel xcb-util-renderutil-devel xcb-util-wm-devel xorgproto-devel xz-devel zlib-ng-compat-devel
The following source package is going to be installed:
hyprpaper
144 new packages to install, 1 source package.
Package download size: 115.7 MiB
Package install size change:
| 490.0 MiB required by packages that will be installed
490.0 MiB | - 0 B released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Preloading: graphite2-devel-1.3.14-6.1.x86_64.rpm [done]
. . . . . .
boris@localhost:~/Downloads>
─ ❯❯ sudo zypper search -s hyprpaper
[sudo] password for root:
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-----------+---------+-----------+--------+----------------------
| hyprpaper | package | 0.7.1-2.6 | x86_64 | Main Repository (OSS)
| hyprpaper | package | 0.7.1-2.6 | x86_64 | factory-oss
lrwxrwxrwx. 1 root root 17 Jul 16 08:23 libhyprutils.so -> libhyprutils.so.7
-rwxr-xr-x. 1 root root 235744 Jul 16 08:23 libhyprutils.so.0.8.1
lrwxrwxrwx. 1 root root 21 Jul 24 10:39 libhyprutils.so.6 -> libhyprutils.so.0.8.1
lrwxrwxrwx. 1 root root 21 Jul 16 08:23 libhyprutils.so.7 -> libhyprutils.so.0.8.1
No comments:
Post a Comment