[Cin] cingg bsd hacks

Andrew Randrianasulu randrianasulu at gmail.com
Mon Mar 28 00:21:15 CEST 2022


more thoughtful hacks attached, compiles on termux/arm


not sure about moving all quantize.c to filegif from license pov...

0001 objrem target patch just for my convience - removing '.o' files on
small space devices...

openexr patch should be harmless even on openexr 2.4, but please test

exportedl patch hopefully contain correct freebsd ifdef



On Sunday, March 27, 2022, Andrew Randrianasulu <randrianasulu at gmail.com>
wrote:

> 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.co
> m/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/20220328/41c31cf6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Freebsd-13-conditional-include-in-exportedl.C.patch
Type: text/x-diff
Size: 733 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220328/41c31cf6/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-objrem-target-for-thirdparty-Makefile-removes-on.patch
Type: text/x-diff
Size: 764 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220328/41c31cf6/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-fileexr-forward-port-openexr-3.patch
Type: text/x-diff
Size: 1632 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220328/41c31cf6/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-filegif-addition-of-nearly-all-quntize.c-from-giflib.patch
Type: text/x-diff
Size: 13760 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220328/41c31cf6/attachment-0007.bin>


More information about the Cin mailing list