My purpose is to get some procedure review, clarifications and
comments, and possibly also submit a few updates to build scripts
for unbundled builds with system ffmpeg. My system is current
openSUSE Tumbleweed-Slowroll with FFMpeg-8 installed from Packman
community reposistory.
My understanding is that this should be a single-user build, dynamic
linked and that the following two scripts are actual:
- bld_prepare.sh
(to install all dependices?)
- bld_dynamic.sh
(does this complete the build procedure?)
Cingg Manual reference: 1.3 How to Build CINELERRA-GG from
Developer's Git Repository
https://download.cinelerra-gg.org/files/CinelerraGG_Manual/How_Build_CINELERRA_GG_from.html
1) Installation
df -h /home3
/dev/nvme0n1p5 49G 9.7G 37G 21% /home3
cd /home3
# zypper in git
# zypper in git
# git clone https://git.cinelerra-gg.org/goodguy/cinelerra.git
Cloning into 'cinelerra'...
remote: Enumerating objects: 23232, done.
remote: Counting objects: 100% (23232/23232), done.
remote: Compressing objects: 100% (14860/14860), done.
remote: Total 23232 (delta 11986), reused 17387 (delta 7999),
pack-reused 0
Receiving objects: 100% (23232/23232), 452.29 MiB | 26.58 MiB/s,
done.
Resolving deltas: 100% (11986/11986), done.
df -h /home3
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p5 49G 11G 36G 23% /home3
2) bld_prepare.sh
# cd /home3/cinelerra/cinelerra-5.1/
# blds/bld_prepare.sh
usage: blds/bld_prepare.sh <os>
<os> = [centos | suse | ubuntu | ubuntu24 | fedora | mint
| debian | arch | debian-older | ubuntu-older]
unknown os:
# cat blds/bld_prepare.sh | grep suse
echo " <os> = [centos | suse | ubuntu | ubuntu24 | fedora
| mint | debian | arch | debian-older | ubuntu-older]"
"suse" | "leap" | "tumbleweed")
3) I'll suggest to update the above "suse" entry line by adding
"slowroll":
"suse" | "leap" | "tumbleweed" | "slowroll")
4)
# blds/bld_prepare.sh suse
Loading repository data...
Reading installed packages...
'patch' is already installed.
No update candidate for 'patch-2.8-2.1.x86_64'. The highest
available version is already installed.
'xorg-x11-fonts-core' is already installed.
No update candidate for 'xorg-x11-fonts-core-7.6-48.1.noarch'. The
highest available version is already installed.
'gcc' is already installed.
No update candidate for 'gcc-15-3.1.x86_64'. The highest available
version is already installed.
'cmake' is already installed.
No update candidate for 'cmake-4.2.3-1.1.x86_64'. The highest
available version is already installed.
'gcc-c++' is already installed.
No update candidate for 'gcc-c++-15-3.1.x86_64'. The highest
available version is already installed.
'git' is already installed.
No update candidate for 'git-2.52.0-1.2.x86_64'. The highest
available version is already installed.
'dejavu-fonts' is already installed.
No update candidate for 'dejavu-fonts-2.37-2.1.noarch'. The
highest available version is already installed.
'rpm-build' is already installed.
No update candidate for 'rpm-build-4.20.1-6.1.x86_64'. The highest
available version is already installed.
'xorg-x11-fonts' is already installed.
No update candidate for 'xorg-x11-fonts-7.6-48.1.noarch'. The
highest available version is already installed.
'ctags' is already installed.
No update candidate for 'ctags-5.8-15.1.x86_64'. The highest
available version is already installed.
'python' not found in package names. Trying capabilities.
No provider of 'python' found.
'udftools' is already installed.
No update candidate for 'udftools-2.3-1.18.x86_64'. The highest
available version is already installed.
'ilmbase-devel' not found in package names. Trying capabilities.
'lzma-devel' not found in package names. Trying capabilities.
'freetype-devel' not found in package names. Trying capabilities.
blds/bld_prepare.sh: line 79: [: missing `]'
5) I'm not sure the script "blds/bld_prepare.sh suse" was working due the last
line error.
How and where to fix it?
6) Updating the bld_prepare.sh package list (Tumbleweed/Slowroll):
fftw3-devel
I add-installed it manually
# zypper in fftw3-devel
The following 2 NEW packages are going to be installed:
fftw3-devel libfftw3_threads3
python:
A lot of python3 packages already installedFinnes mange python3
pakker installert
ilmbase:
In newer versions of OpenEXR (which absorbed ilmbase), the
library is often bundled within the OpenEXR-devel or libOpenEXR
packages, rather than being a separate "ilmbase" package in some
repositories.
# zypper in openexr openexr-devel openexr-doc
The following 13 NEW packages are going to be installed:
Imath-devel libdeflate-devel libjpeg62 libjpeg62-devel
libOpenEXRUtil-3_4-33 libOpenEXRUtil-3_4-33-x86-64-v3
libstdc++-devel libz-ng-compat1 openexr openexr-devel
openexr-doc openjph-devel zlib-ng-compat-devel
lzma-devel:
# zypper in lzma-sdk-devel
The following 3 NEW packages are going to be installed:
liblzmasdk25 liblzmasdk25-x86-64-v3 lzma-sdk-devel
In openSUSE Tumbleweed, the development files for LZMA/XZ
compression (equivalent to
lzma-devel on other distributions) are contained in the xz-devel
package.
# zypper in xz-devel
freetype-devel:
In openSUSE Tumbleweed, the development package for FreeType is
named
freetype2-devel
# zypper in freetype2 freetype2-devel
The following 3 NEW packages are going to be installed:
freetype2-devel libbrotli-devel libbz2-devel
---------
7) HWhw-Accel vpl, vulkan, vaapi
When hwaccel methods already are enabled in my system ffmpeg-8,
are these devel packages is neccessary to build hw-accel support
for unbundled Cingg?
ffmpeg -hide_banner -hwaccels
Hardware acceleration methods:
- vdpau
- cuda
- vaapi
- qsv
- drm
- vulkan
But I added the following
zypper in libvpl-devel vulkan-devel vulkan-headers vulkan-loader
libva-devel libva-gl-devel
The following recommended package was automatically selected:
libva-gl-devel
The following 31 NEW packages are going to be installed:
libdrm-devel libdrm_nouveau2 libdrm_radeon1 libffi-devel
libglvnd-devel libpciaccess-devel libva-devel libva-gl-devel
libvpl-devel libX11-devel libXau-devel libxcb-damage0 libxcb-dbe0
libxcb-devel libxcb-dpms0 libxcb-dri2-0 libxcb-record0
libxcb-screensaver0 libxcb-xf86dri0 libxcb-xtest0 libxcb-xvmc0
libXext-devel libXfixes-devel libXrandr-devel libXrender-devel
Mesa-KHR-devel Mesa-libGL-devel vulkan-devel vulkan-headers
wayland-devel xorgproto-devel
--------------
8) Build procedure further from here?
Where does the bld_dynamic.sh script fit in?
./configure --with-single-user --disable-static-build
--without-thirdparty
(there are some typos in the manual: "confgure" instead of
"configure" pdf page 12, 13. 653)
setting CFLAGS?