[Cin] Fwd: cingg bsd hacks

Andrew Randrianasulu randrianasulu at gmail.com
Sun Mar 27 22:41:39 CEST 2022


see hacks and pkg.list  for list of installed packages

---------- Forwarded message ----------
From: *Андрей Рандрианасулу* <randrik at mail.ru>
Date: Sunday, March 27, 2022
Subject: cingg bsd hacks
To: randrianasulu <randrianasulu at gmail.com>


giflib error

https://github.com/coin3d/simage/pull/33

mounting qcow2

How to mount a qcow2 disk image
This is a quick guide to mounting a qcow2 disk images on your host server.
This is useful to reset passwords, edit files, or recover something without
the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8

Step 2 - Connect the QCOW2 as network block device
qemu-nbd --connect=/dev/nbd0 /var/lib/vz/images/100/vm-100-disk-1.qcow2

Step 3 - Find The Virtual Machine Partitions
fdisk /dev/nbd0 -l

Step 4 - Mount the partition from the VM
mount /dev/nbd0p1 /mnt/somepoint/

Step 5 - After you done, unmount and disconnect
umount /mnt/somepoint/
qemu-nbd --disconnect /dev/nbd0
rmmod nbd

openexr error:

https://web.archive.org/web/20220327181345/https://gitlab.
com/wg1/jpeg-xl/-/issues/238

real commands

qemu-nbd --connect=/dev/nbd0 /mnt/sdb2/AndrewR/FreeBSD-13.0-RELEASE-amd64.qcow2


fdisk -l /dev/nbd0

mount /dev/nbd0p4 /mnt/zip -o ufstype=ufs2

qemu command:

qemu-system-x86_64 -hda FreeBSD-13.0-RELEASE-amd64.qcow2 -enable-kvm -smp 2
-hdb 5gb_ufs.qcow -m 1900

may be you need to manually activate swap in this image with swapon -a ?



--
Андрей  Рандрианасулу
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220327/0f923a99/attachment-0001.htm>
-------------- next part --------------
Imath-3.1.4                    C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics
aom-3.2.0_1                    AV1 reference encoder/decoder
appres-1.0.5                   Program to list application's resources
argp-standalone-1.3_4          Standalone version of arguments parsing functions from GLIBC
autoconf-2.69_3                Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203      Wrapper script for GNU autoconf
automake-1.16.5                GNU Standards-compliant Makefile generator
bash-5.1.12                    GNU Project's Bourne Again SHell
bitmap-1.0.9                   Bitmap editor and converter utilities for X
ca_root_nss-3.71               Root certificate bundle from the Mozilla Project
curl-7.80.0                    Command line tool and library for transferring data with URLs
dav1d-1.0.0                    Small and fast AV1 decoder
dejavu-2.37_1                  Bitstream Vera Fonts clone with a wider range of characters
diffutils-3.8                  GNU differential compare utilities
e2fsprogs-libuuid-1.46.5       UUID library from e2fsprogs package
encodings-1.0.5,1              X.Org Encoding fonts
expat-2.4.7                    XML 1.0 parser written in C
ffmpeg-4.4.1_5,1               Realtime audio/video encoder/converter and streaming server
flac-1.3.4                     Free lossless audio codec
fluxbox-1.3.7_5                Small and fast window manager based on BlackBox
font-adobe-100dpi-1.0.3_4      X.Org Adobe 100dpi font
font-adobe-75dpi-1.0.3_4       X.Org Adobe 75dpi font
font-adobe-utopia-100dpi-1.0.4_4 X.Org Adobe Utopia 100dpi font
font-adobe-utopia-75dpi-1.0.4_4 X.Org Adobe Utopia 75dpi font
font-adobe-utopia-type1-1.0.4_4 X.Org Adobe Utopia Type1 font
font-alias-1.0.4               X.Org Font aliases
font-arabic-misc-1.0.3_4       X.Org miscellaneous Arabic fonts
font-bh-100dpi-1.0.3_4         X.Org Bigelow Holmes 100dpi font
font-bh-75dpi-1.0.3_4          X.Org Bigelow Holmes 75dpi font
font-bh-lucidatypewriter-100dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 100dpi font
font-bh-lucidatypewriter-75dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 75dpi font
font-bh-ttf-1.0.3_4            X.Org Bigelow & Holmes TTF font
font-bh-type1-1.0.3_4          X.Org Bigelow Holmes Type1 font
font-bitstream-100dpi-1.0.3_4  X.Org Bitstream Vera 100dpi font
font-bitstream-75dpi-1.0.3_4   X.Org Bitstream Vera 75dpi font
font-bitstream-type1-1.0.3_4   X.Org Bitstream Vera Type1 font
font-cronyx-cyrillic-1.0.3_4   X.Org Cronyx Cyrillic font
font-cursor-misc-1.0.3_4       X.Org miscellaneous Cursor fonts
font-daewoo-misc-1.0.3_4       X.Org miscellaneous Daewoo fonts
font-dec-misc-1.0.3_4          X.Org miscellaneous Dec fonts
font-ibm-type1-1.0.3_4         X.Org IBM Type1 font
font-isas-misc-1.0.3_4         X.Org miscellaneous ISAS fonts
font-jis-misc-1.0.3_4          X.Org miscellaneous JIS fonts
font-micro-misc-1.0.3_4        X.Org miscellaneous Micro fonts
font-misc-cyrillic-1.0.3_4     X.Org miscellaneous Cyrillic font
font-misc-ethiopic-1.0.4       X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_4       X.Org miscellaneous Meltho font
font-misc-misc-1.1.2_4         X.Org miscellaneous Misc fonts
font-mutt-misc-1.0.3_4         X.Org miscellaneous Mutt fonts
font-schumacher-misc-1.1.2_4   X.Org miscellaneous Schumacher fonts
font-screen-cyrillic-1.0.4_4   X.Org Screen Cyrillic font
font-sony-misc-1.0.3_4         X.Org miscellaneous Sony fonts
font-sun-misc-1.0.3_4          X.Org miscellaneous Sun fonts
font-winitzki-cyrillic-1.0.3_4 X.Org Winitzki Cyrillic font
font-xfree86-type1-1.0.4_4     X.Org XFree86 Type1 font
fontconfig-2.13.94_1,1         XML-based font configuration API for X Windows
freetype2-2.11.1               Free and portable TrueType font rendering engine
fribidi-1.0.11                 Free Implementation of the Unicode Bidirectional Algorithm
gettext-0.21                   GNU gettext meta package
gettext-runtime-0.21           GNU gettext runtime libraries and programs
gettext-tools-0.21             GNU gettext development and translation tools
giflib-5.2.1                   Tools and library routines for working with GIF images
git-2.34.1                     Distributed source code management tool
glib-2.70.4,2                  Some useful routines of C programming (current stable version)
gmake-4.3_2                    GNU version of 'make' utility
gmp-6.2.1                      Free library for arbitrary precision arithmetic
gnutls-3.6.16                  GNU Transport Layer Security library
graphite2-1.3.14               Rendering capabilities for complex non-Roman writing systems
harfbuzz-3.2.0                 OpenType text shaping engine
iceauth-1.0.8_2                ICE authority file utility for X
indexinfo-0.3.1                Utility to regenerate the GNU info page index
jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.1.1_1             SIMD-accelerated JPEG codec which replaces libjpeg
lame-3.100_3                   Fast MP3 encoder kit
libFS-1.0.8                    The FS library
libICE-1.0.10,1                Inter Client Exchange library for X11
libSM-1.2.3,1                  Session Management library for X11
libX11-1.7.2,1                 X11 library
libXScrnSaver-1.2.3_2          The XScrnSaver library
libXau-1.0.9                   Authentication Protocol library for X11
libXaw-1.0.14,2                X Athena Widgets library
libXcomposite-0.4.5,1          X Composite extension library
libXcursor-1.2.0               X client-side cursor loading library
libXdamage-1.1.5               X Damage extension library
libXdmcp-1.1.3                 X Display Manager Control Protocol library
libXext-1.3.4,1                X11 Extension library
libXfixes-6.0.0                X Fixes extension library
libXfont-1.5.4_2,2             X font library
libXfont2-2.0.5                X font library
libXft-2.3.4                   Client-sided font API for X applications
libXi-1.8,1                    X Input extension library
libXinerama-1.1.4_2,1          X11 Xinerama library
libXmu-1.1.3,1                 X Miscellaneous Utilities libraries
libXpm-3.5.13                  X Pixmap library
libXrandr-1.5.2                X Resize and Rotate extension library
libXrender-0.9.10_2            X Render extension library
libXres-1.2.1                  X Resource usage library
libXt-1.2.1,1                  X Toolkit library
libXtst-1.2.3_2                X Test extension
libXv-1.0.11_2,1               X Video Extension library
libXvMC-1.0.12                 X Video Extension Motion Compensation library
libXxf86dga-1.1.5              X DGA Extension
libXxf86vm-1.1.4_3             X Vidmode Extension
libass-0.15.2                  Portable ASS/SSA subtitle renderer
libdmx-1.1.4_2                 DMX extension library
libdrm-2.4.110,1               Userspace interface to kernel Direct Rendering Module services
libedit-3.1.20210216,1         Command line editor library
libepoll-shim-0.0.20210418     Small epoll implementation using kqueue
libepoxy-1.5.9                 Library to handle OpenGL function pointer management
libevdev-1.9.1.20200928        Linux Event Device library
libevent-2.1.12                API for executing callback functions on events or timeouts
libffi-3.3_1                   Foreign Function Interface
libfontenc-1.1.4               The fontenc Library
libglvnd-1.4.0                 GL Vendor-Neutral Dispatch library
libgudev-234                   GObject bindings for libudev
libiconv-1.16                  Character set conversion library
libidn2-2.3.2                  Implementation of IDNA2008 internationalized domain names
libinput-1.19.1_1              Generic input library
liblz4-1.9.3,1                 LZ4 compression library, lossless and very fast
libmtdev-1.1.6_1               Multitouch Protocol Translation Library
libnghttp2-1.46.0              HTTP/2.0 C Library
libogg-1.3.5,4                 Ogg bitstream library
libpciaccess-0.16              Generic PCI access library
libpthread-stubs-0.4           Weak aliases for pthread functions
libsigsegv-2.12                Handling page faults in user mode
libslang2-2.3.2_2              Routines for rapid alpha-numeric terminal applications development
libsndfile-1.0.31_1            Reading and writing files containing sampled sound (like WAV or AIFF)
libssh2-1.10.0,3               Library implementing the SSH2 protocol
libtasn1-4.18.0                ASN.1 structure parser library
libtextstyle-0.21              Text styling library
libtheora-1.1.1_7              Theora video codec for the Ogg multimedia streaming system
libudev-devd-0.5.0             libudev-compatible interface for devd
libunistring-0.9.10_1          Unicode string library
libunwind-20201110             Generic stack unwinding library
libv4l-1.20.0_2                Video4Linux library
libva-2.13.0_1                 VAAPI wrapper and dummy driver
libvdpau-1.4                   VDPAU wrapper and tracing library
libvorbis-1.3.7_2,3            Audio compression codec library
libvpx-1.11.0                  VP8/VP9 reference encoder/decoder
libwacom-1.5                   Adds tablet support to libinput
libx264-0.163.3060             H.264/MPEG-4 AVC Video Encoding (Library)
libxcb-1.14_1                  The X protocol C-language Binding (XCB) library
libxkbfile-1.1.0               XKB file library
libxml2-2.9.12                 XML parser library for GNOME
libxshmfence-1.3_1             Shared memory 'SyncFence' synchronization primitive
links-2.25,1                   Lynx-like text WWW browser
llvm13-13.0.1                  LLVM and Clang
lua53-5.3.6                    Powerful, efficient, lightweight, embeddable scripting language
m4-1.4.19,1                    GNU M4
mc-4.8.27_1                    Midnight Commander, a free Norton Commander Clone
mesa-dri-21.3.7                OpenGL hardware acceleration drivers for DRI2+
mesa-libs-21.3.7               OpenGL libraries that support GLX and EGL clients
mkfontscale-1.2.1              Creates an index of scalable font files for X
mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries
nettle-3.7.3                   Low-level cryptographic library
openexr-3.1.4                  High dynamic-range (HDR) image file format
opus-1.3.1                     IETF audio codec
p11-kit-0.24.0                 Library for loading and enumerating of PKCS#11 modules
p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
p5-CGI-4.53                    Handle Common Gateway Interface requests and responses
p5-Clone-0.45                  Recursively copy Perl datatypes
p5-Digest-HMAC-1.04            Perl5 interface to HMAC Message-Digest Algorithms
p5-Encode-Locale-1.05          Determine the locale encoding
p5-Error-0.17029               Error/exception handling in object-oriented programming style
p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 library
p5-HTML-Parser-3.76_1          Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20_1          Some useful data table in parsing HTML
p5-HTTP-Date-6.05              Conversion routines for the HTTP protocol date formats
p5-HTTP-Message-6.35           Representation of HTTP style messages
p5-IO-HTML-1.004               Open an HTML file with automatic charset detection
p5-IO-Socket-INET6-2.72_1      Perl module with object interface to AF_INET6 domain sockets
p5-IO-Socket-SSL-2.073         Perl5 interface to SSL sockets
p5-LWP-MediaTypes-6.04         Guess media type for a file or a URL
p5-Locale-libintl-1.32         Internationalization library for Perl
p5-Mozilla-CA-20211001         Perl extension for Mozilla CA cert bundle in PEM format
p5-Net-SSLeay-1.90             Perl5 interface to SSL
p5-Socket6-0.29                IPv6 related part of the C socket.h defines and structure manipulators
p5-Text-Unidecode-1.30         US-ASCII transliterations of Unicode text
p5-TimeDate-2.33,1             Perl5 module containing a better/faster date parser for absolute dates
p5-URI-5.10                    Perl5 interface to Uniform Resource Identifier (URI) references
p5-Unicode-EastAsianWidth-12.0 East Asian Width properties
pciids-20211124                Database of all known IDs used in PCI devices
pcre-8.45                      Perl Compatible Regular Expressions library
pcre2-10.39                    Perl Compatible Regular Expressions library, version 2
perl5-5.32.1_1                 Practical Extraction and Report Language
pixman-0.40.0_1                Low-level pixel manipulation library
pkg-1.17.5                     Package manager
pkgconf-1.8.0,1                Utility to help to configure compiler and linker flags
png-1.6.37_1                   Library for manipulating PNG images
py38-evdev-1.4.0               Bindings to the Linux input handling subsystem
py38-pyudev-0.22.0             Pure Python libudev binding
py38-setuptools-57.0.0         Python packages installer
py38-six-1.16.0                Python 2 and 3 compatibility utilities
python27-2.7.18_1              Interpreted object-oriented programming language
python38-3.8.12_1              Interpreted object-oriented programming language
readline-8.1.1                 Library for editing command lines as they are typed
sessreg-1.1.2                  Manage utmp/wtmp entries for non-init X clients
setxkbmap-1.3.2                Set the keyboard using the X Keyboard Extension
smproxy-1.0.6                  Session Manager Proxy
texinfo-6.8,1                  Typeset documentation system with multiple format output
tiff-4.3.0                     Tools and library routines for working with TIFF images
tpm-emulator-0.7.4_2           Trusted Platform Module (TPM) emulator
trousers-0.3.14_3              Open-source TCG Software Stack
twm-1.0.11_1                   Tab Window Manager for the X Window System
vmaf-2.3.0_2                   Perceptual video quality assessment based on multi-method fusion
wayland-1.20.0                 Core Wayland window system code and protocol
x11perf-1.6.1                  X11 server performance test program
x265-3.4_2                     H.265/High Efficiency Video Coding (HEVC) format
xauth-1.1                      X authority file utility
xbacklight-1.2.3               Program to adjust backlight brightness
xbitmaps-1.1.2                 X.Org bitmaps data
xcalc-1.1.0                    Scientific calculator for X
xcb-util-0.4.0_2,1             Module with libxcb/libX11 extension/replacement libraries
xcb-util-wm-0.4.1_3            Framework for window manager implementation
xclock-1.0.9                   Analog and digital clock for X
xcmsdb-1.0.5                   Device Color Characterization utility for X
xconsole-1.0.7_1               Monitor system console messages with X
xcursor-themes-1.0.6           X.org cursors themes
xcursorgen-1.0.7               Create an X cursor file from a collection of PNG images
xdpyinfo-1.3.2_3               Display information utility for X
xdriinfo-1.0.6_4               Query configuration information of DRI drivers
xev-1.2.4                      Print contents of X events
xf86-input-keyboard-1.9.0_4    X.Org keyboard input driver
xf86-input-libinput-0.30.0_1   X.Org libinput input driver
xf86-input-mouse-1.9.3_3       X.Org mouse input driver
xf86-video-scfb-0.0.7          X.Org syscons display driver
xf86-video-vesa-2.5.0          X.Org vesa display driver
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension
xgamma-1.0.6                   Gamma correction through the X server
xgc-1.0.5                      X graphics demo
xhost-1.0.8                    Server access control program for X
xinit-1.4.1,1                  X Window System initializer
xinput-1.6.3                   Very useful utility for configuring and testing XInput devices
xkbcomp-1.4.5                  Compile XKB keyboard description
xkbevd-1.1.4                   XKB event daemon
xkbutils-1.0.4_2               XKB utility demos
xkeyboard-config-2.34          X Keyboard Configuration Database
xkill-1.0.5                    Utility for killing a client by its X resource
xlsatoms-1.1.3                 List interned atoms defined on a server
xlsclients-1.1.4               List client applications running on a display
xmessage-1.0.5                 Display message or query in a X window
xmodmap-1.0.10                 Utility for modifying keymaps and pointer button mappings in X
xorg-7.7_3                     X.Org complete distribution metaport
xorg-apps-7.7_4                X.org apps meta-port
xorg-docs-1.7.1,1              X.org documentation files
xorg-drivers-7.7_6             X.org drivers meta-port
xorg-fonts-7.7_1               X.org fonts meta-port
xorg-fonts-100dpi-7.7          X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.7           X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.7        X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.7     X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorg-fonts-type1-7.7           X.Org Type1 fonts
xorg-libraries-7.7_4           X.org libraries meta-port
xorg-server-1.20.13,1          X.Org X server and related programs
xorgproto-2021.5               X Window System unified protocol definitions
xpr-1.0.5                      Utility for printing an X window dump
xprop-1.2.5                    Property displayer for X
xrandr-1.5.1                   Primitive command line interface to the RandR extension
xrdb-1.2.0                     X server resource database utility
xrefresh-1.0.6                 Refresh all or part of an X screen
xset-1.2.4_3                   User preference utility for X
xsetroot-1.1.2                 Root window parameter setting utility for X
xterm-370                      Terminal emulator for the X Window System
xtrans-1.4.0                   Abstract network code for X
xvid-1.3.7,1                   Opensource MPEG-4 codec, based on OpenDivx
xvinfo-1.1.4                   Print out X-Video extension adaptor information
xwd-1.0.7                      Dump an image of an X window
xwininfo-1.1.5                 Window information utility for X
xwud-1.0.5                     Image displayer for X
zip-3.0_1                      Create/update ZIP files compatible with PKZIP
zstd-1.5.0                     Fast real-time compression algorithm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bld_bsd_hacks.diff
Type: text/x-diff
Size: 1341 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220327/0f923a99/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exportedl_bsd.diff
Type: text/x-diff
Size: 333 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220327/0f923a99/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filegif_hack.diff
Type: text/x-diff
Size: 1067 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220327/0f923a99/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install_list
Type: application/octet-stream
Size: 341 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220327/0f923a99/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell_history
Type: application/octet-stream
Size: 9795 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220327/0f923a99/attachment-0003.obj>


More information about the Cin mailing list