Since I am on Porteus 5.0.1 I have to wait until I find its 05-devel. See this post:
Porteus-v5.01 bug reports (Post by Rava #96124)
Until then I have to wait.
Added in 5 minutes 25 seconds:
I edited the viewnior.slackbuild
Code: Select all
TMP=myviewior/RAVA
PKG=$TMP/package-$PRGNAM
OUTPUT=myviewior/
(thanks ncmprhnsbl )
and exited the process via "exit 0" after these lines:
Code: Select all
patch -Np1 -i "${CWD}/fix-use-after-free-multi-file.patch.txt"
sed -i '/^MimeType=/ s/$/image\/webp;/' data/viewnior.desktop.in
to apply my manual hack of vnr-window.c
Then I use "if false; then" to skip the download and extract part and go right to this line
Code: Select all
meson \
--prefix=/usr \
--optimization=2 \
But that part has to wait like I wrote above until I get 05-devel of Port 5.0.1.
Added in 5 hours 17 seconds:
Got some errors in the end:
Code: Select all
root@rava:/mybin/linux/viewnior# ./viewnior.slackbuild
The Meson build system
Version: 0.59.4
Source dir: /mybin/linux/viewnior/myviewior/RAVA/Viewnior-master
Build dir: /mybin/linux/viewnior/myviewior/RAVA/Viewnior-master/build
Build type: native build
Project name: viewnior
Project version: 1.7
C compiler for the host machine: cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.37-slack15
C++ compiler for the host machine: c++ (gcc 11.2.0 "c++ (GCC) 11.2.0")
C++ linker for the host machine: c++ ld.bfd 2.37-slack15
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gtk+-3.0 found: YES 3.24.33
Run-time dependency glib-2.0 found: YES 2.70.3
Run-time dependency gio-2.0 found: YES 2.70.3
Run-time dependency shared-mime-info found: YES 2.1
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6
Run-time dependency exiv2 found: YES 0.27.5
Configuring config.h using configuration
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Program glib-genmarshal found: YES (/usr/bin/glib-genmarshal)
Program meson_post_install.py found: YES (/usr/bin/python3 /mnt/sda2/bin/linux/viewnior/myviewior/RAVA/Viewnior-master/meson_post_install.py)
Build targets in project: 7
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[1/21] Generating uni-marshal_h with a custom command
INFO: Reading ../src/uni-marshal.list...
[2/21] Generating uni-marshal_c with a custom command
INFO: Reading ../src/uni-marshal.list...
[21/21] Linking target src/viewnior
ninja: Entering directory `build'
[0/1] Installing files.
Installing subdir /mybin/linux/viewnior/myviewior/RAVA/Viewnior-master/data/icons/16x16/apps to myviewior/RAVA/package-viewnior/usr/share/icons/hicolor/16x16/apps
Traceback (most recent call last):
File "/usr/lib64/python3.9/site-packages/mesonbuild/mesonmain.py", line 228, in run
return options.run_func(options)
File "/usr/lib64/python3.9/site-packages/mesonbuild/minstall.py", line 720, in run
installer.do_install(datafilename)
File "/usr/lib64/python3.9/site-packages/mesonbuild/minstall.py", line 511, in do_install
self.install_subdirs(d, dm, destdir, fullprefix) # Must be first, because it needs to delete the old subtree.
File "/usr/lib64/python3.9/site-packages/mesonbuild/minstall.py", line 540, in install_subdirs
self.do_copydir(d, i.path, full_dst_dir, i.exclude, i.install_mode, dm)
File "/usr/lib64/python3.9/site-packages/mesonbuild/minstall.py", line 445, in do_copydir
raise ValueError(f'dst_dir must be absolute, got {dst_dir}')
ValueError: dst_dir must be absolute, got myviewior/RAVA/package-viewnior/usr/share/icons/hicolor/16x16/apps
FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
but it compiled okay. Smaller than my 1.8 version:
210088 bytes (205.16 KB) - but I wanted it as GTK2 - and I presume that version I just compiled is a GTK3 one.
I will try again using the other source code that previously compiled into the too large executable using the almost same ./viewnior.slackbuild - I will have to tweak it even ore reflecting the other paths of the other source code.
Wish me luck.
But that version I just compiled, the 205.16 KB one, is also able to have a max pause between images of 99 seconds, just as planned.
