site  contact  history  index

Attempting to compile Shotcut video editor

January 18, 2022 — BarryK

Here is the Shotcut homepage:


Compile fail, have raised two issues with them:

...hope they respond!

I managed to compile it, and it starts up, but is unusable. This is a show-stopper bug, already reported, I have posted here:

What is going on? This is the third video editor I have tried and they all have show-stopper bugs. Well, no, there was a fourth, Avidemux, that works.      

Tags: easy

Didiwiki personal wiki retired

January 18, 2022 — BarryK

DidiWiki has been in the "Personal" menu category for ...forever. EasyOS, Quirky, and the pups before, all had it. However, I just discovered that it is broken, cannot create new wiki pages.

EasyOS has didiwiki version 0.8, and a quick search revealed that it was patched by Amigo in 2009:

It must have worked back then! No one has ever complained about it, which shows how popular it is.

I looked around. There is a version 0.66 that looks like it has been well maintained:

There is also ciwiki, that forked from didiwiki, still being maintained here:

I tested ciwiki, yeah it works, and it does have more features than didiwiki.

However, don't think will use ciwiki. Even though can run as user 'spot' or any other user, probably not so good that it doesn't support https:// connections. It does allow hyperlinks, but only http://

So, didiwiki is now retired, and won't use ciwiki. Will have a look around and see if there is anything else.   

Tags: easy

Rollback exceptions extended

January 17, 2022 — BarryK

Worked on Osmo personal information manager yesterday:

Which today has prompted extensions to the exemptions when rollback. This is script /usr/local/easy_version/erase-exceptions:


...added today are the "PIM" and "Figaros" checkboxes.

Currently only bringing up this erase-exceptions window when do a rollback to pristine first bootup, but perhaps should consider it for other rollback choices -- such as rollback to an earlier version of EasyOS or a snapshot.

Note, the "Web browser profile" checkbox will save all firefox, seamonkey, chrome and chromium profiles under /home, as well as all mozilla profiles running as root (/root/.mozilla).       

Tags: easy

Osmo PIM 0.2.14 compiled in OE

January 17, 2022 — BarryK

Very good news about Osmo. "PIM" means Personal Information Manager, and Osmo has been in the pups for a very long time. However, it is somewhat neglected and not as well integrated as could be.

The way this latest work with Osmo came about, is I have an elderly relative who has a mobile phone with prepaid account with a telco. I pay it, every 4 weeks. Don't want to do a direct-debit with a bank, so renewal requires me to remember when to pay... and I forget.

Besides, renewal is peculiar. I have to pay $15 for the renewal, then separately have to pay $5 international-calls addon. That second payment requires a manual online choice. I cannot see how to automate this with direct-debit or bpay. The telco is Optus.

I also forget birthdays!

Hence the thought of Osmo came up. It needs to default to run in the systray at every startup. It has great task management features, and I can set it to remind me every 4 weeks, by audio alarm and notify popup. It can also flash in the systray.

I have modified the package, it is no longer in the menu. It now starts every time in the systray, minimized until you click on it.

EasyOS and the pups use Osmo version 0.2.10, released in March 2010, as that is the last that supports 'libgtkhtml' for text rendering. After that, Osmo requires webkitgtk, which is enormous, and is a gross overkill.

So we stayed with 0.2.10. wdlkmpx has maintained it for woof-CE, with several patches:

Today I wondered if it might be possible to revert the removal of libgtkhml on a later version of osmo. Version 0.2.14 was released in 2015:

I found the commit where libgtkhtml was removed:

I then downloaded version 0.2.12 and attempted to revert that commit:

# git clone -b RELEASE_0_2_12 osmo-0.2.12
# cd osmo-0.2.12
# git revert f7bb3b

...interesting, succeeded except for src/task.c that it badly screwed up. By reference to the original commit, I fixed src/task.c

It took awhile, but the end result is have patches to restore libgtkhtml for osmo 0.2.12 and 0.2.14:

...the "autoreconf" patches are also required, to update the 'configure' script. The "-p2" tarballs have the patches applied.

I have compiled 0.2.14 in OpenEmbedded. Only needed the restore-libgtkhtml patch, as OE runs autoreconf to rebuild the 'configure' script.

Here is the Osmo homepage:

Regarding libgtkhtml, that is a dead project; however, we have patched it a few times. James did some work on it awhile back, and we have version 2.12:

I use that source in OpenEmbedded, but apply another patch to fix working with libxml2. If you want that patch, you will have to open up the OE tarball:

Note that libgtkhtml is also used by 'notecase' notes manager and 'surfer' local web page viewer.

EDIT 2022-01-18:
We have discussed this on the Puppy Forum:

It turns out there is a bug with the patch for 0.2.14. However, I found that the libgtkhtml patch for 0.2.12 works. Something has changed between 0.2.12 and 0.2.14 that causes the bug.

So will compile 0.2.12 in OE. 

Tags: easy

Opencv compiled in OpenEmbedded

January 16, 2022 — BarryK

Opencv is an optional dependency for mlt, lives, flowblade and other video editor packages. I have compiled it in OE, and it brings in these new dependencies:

ade       0.1.1f
gflags 2.2.2
glog 0.3.5
libeigen 3.3.7
libunwind 1.3.1
opencv 4.5.2
tbb 1_2020.2

The recipes already existed in OE, thank goodness as the recipe for opencv is complicated.

The opencv xz'ed package is 48MB, gigantic. I don't want to use it unless really have to. Certainly not for a package that will be builtin to Easy.

Here is the opencv project page:   

Tags: easy

Frei0r compiled in OpenEmbedded

January 15, 2022 — BarryK

Frei0r is a library of video effects. It is used in many video editors, including LiVES and Flowblade. It is also an optional dependancy of MLT. MLT is a dependency of Flowblade and some other video editors (Kdenlive, Openshot, Shotcut). Here is the frei0r home page:

I have now compiled frei0r in OpenEmbedded. The source supports building with either cmake or autotools, and OE defaulted to using cmake, which was a headache -- sometimes cmake is not cross-compiler-friendly. I changed the recipe to use autotools, and succeeded. Here is the recipe, file meta-quirky/recipes-quirky/frei0r/

# Recipe created by recipetool
# recipetool create -o
# note: package supports both cmake and autotools.

LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"

SRC_URI = "${PV}.tar.gz \
file://1001_fix_metainformation.patch \

SRC_URI[md5sum] = "d46006b92c3382a2f3260804249dcc11"
SRC_URI[sha256sum] = "6f7cf95ea2257687cc31db0ed9c9bc0eec152e953d515f346eabec048ed2b29d"

DEPENDS = "cairo zlib libxxf86vm libxrender libxfixes libxext libxdmcp libxdamage \
libxcb libxau libx11 util-linux libpng pixman mesa freetype fontconfig \
expat libdrm libjpeg-turbo"

inherit pkgconfig autotools

EXTRA_OECONF = "--disable-cpuflags --without-opencv"

#| ../../frei0r-1.7.0/src/filter/ndvi/ndvi.cpp:21:10: fatal error: frei0r.hpp: No such file or directory
#| 21 | #include "frei0r.hpp"
# ...i got it from debian. ***NO*** hey, it is already in the source...
do_compile_prepend() {
cp -f ${S}/include/frei0r.hpp ${S}/src/filter/ndvi/
cp -f ${S}/include/frei0r.h ${S}/src/filter/ndvi/
cp -f ${S}/include/frei0r_cairo.h ${S}/src/filter/ndvi/
cp -f ${S}/include/frei0r_cfc.h ${S}/src/filter/ndvi/
cp -f ${S}/include/frei0r_colorspace.h ${S}/src/filter/ndvi/
cp -f ${S}/include/frei0r_math.h ${S}/src/filter/ndvi/
cp -f ${S}/include/blur.h ${S}/src/filter/ndvi/

#see error msg below. fix...
sed -i -e 's%^docs_DATA =.*%docs_DATA = %' ${B}/Makefile

#| make[1]: Entering directory '/mnt/sda1/nvme/oe-builds/oe-quirky/build-amd64/tmp/work/nocona-64-poky-linux/frei0r/1.7.0-r6/build'
#| make[1]: *** No rule to make target 'README.txt', needed by 'all-am'. Stop.
#| make[1]: Leaving directory '/mnt/sda1/nvme/oe-builds/oe-quirky/build-amd64/tmp/work/nocona-64-poky-linux/frei0r/1.7.0-r6/build'

#install this as well, like debian does...
do_install_append() {
install ${S}/include/frei0r.hpp ${D}/usr/include

SUMMARY = "A minimalistic plugin API for video effects"

I then added frei0r as a dependency in the mlt recipe, here is file meta-quirky/recipes-support/mlt/

# Recipe created by recipetool
# recipetool create -o

#20220115 bump r6 to r7...
PR = "r${@int(PR_NUM) + 1}"

LICENSE = "LGPLv2.1 & GPLv2 & GPLv3 & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d \
file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://GPLv3;md5=d32239bcb673463ab874e80d47fae504 \

SRC_URI = "${PV}.tar.gz"
SRC_URI[md5sum] = "4bc74ec681e67310340bafc235178a81"
SRC_URI[sha256sum] = "17c19843ffdbca66777aaadf39acb11829fd930eaded92f768cbcb8ae59a5f37"

#removed: tcl-native ruby-native
# 20220115 add: frei0r removed: python3-native
DEPENDS = "libx11 swig-native qtbase virtual/libgl \
libsdl libsdl2 ffmpeg zlib libxxf86vm libxv xvidcore libxtst libxshmfence \
libxrender libxrandr libxml2 libxi libxfixes libxext libxdmcp libxdamage \
libxcb libxau x265 x264 libx11 libwebp wavpack libvpx libvorbis libvdpau \
libva v4l-utils util-linux libusb1 eudev libtheora openssl speex speexdsp \
sox libsndfile1 libsndfile1-native libsm libsamplerate0 libraw1394 \
qtdeclarative qtscript qtsvg qttools qtx11extras qtxmlpatterns \
pulseaudio libpthread-stubs libpthread-stubs-native libpng libpcre libpcre2 \
pango opencore-amr libogg lame libmad xz libjpeg-turbo libid3tag icu \
libice harfbuzz graphite2 mesa glib-2.0 glib-2.0-native gdk-pixbuf fribidi \
freetype fontconfig flac fftw libffi expat libexif libdrm libdc1394 \
libcdio-paranoia libcdio libcap bzip2 libbluray ffmpeg libao alsa-lib \
swig lua-native perl-native frei0r"

# 20220115 just guessing, add python*...
inherit cmake cmake_qt5 pkgconfig python3-dir python3native

#removed: -DCPU_SSE2=OFF
# 20220115 frei0r now on...

#| ninja: error: multiple rules generate out/lib/ [-w dupbuild=err]
#fix, ref:
EXTRA_OECMAKE_BUILD += "-w dupbuild=warn"

#| CMake Error at src/swig/perl/cmake_install.cmake:50 (file):
#| file RPATH_CHANGE could not write new RPATH:
# have changed -DSWIG_PERL to OFF.

SUMMARY = "MLT Multimedia Framework"

When the author of lives fixes the bugs, I intend to update the recipe in OE, adding frei0r dependency.

Testing flowblade in Easy 3.2.1, try to do a transition effect between two clips and flowblade crashes. I am hoping that adding frei0r will fix that.   

Tags: easy

Observed differences using SATA and NVME SSDs

January 15, 2022 — BarryK

This post is just some observations using SATA and NVME SSDs, not quantified measurements.

I have two 1TB SSDs, that I use to backup my work. I have all my work under folder "bk" on my Lenovo desktop PC, and two backup SSDs. I use rsync to backup to the SSDs alternately, usually about once a week, and keep the SSDs in a safe.

I used to backup to an external HDD, but the SSD is considerably faster and also there is far less electric current being pulled through the USB cable -- or so I thought.

The first SSD that I used for backaup is a Western Digital (WD) Blue SATA 1TB, and I was happy with how fast it is compared with the HDD. It also runs "cool as a cucumber" -- after performing the rsync backup, cannot feel any warmth on the casing.

Recently I purchased a Samsung 970 EVO Plus m.2 m-key NVME 1TB SSD, and bought a cast-alloy housing for it. It is, as expected, fast, but here's the thing -- after performing the rsync backup, the casing feels very hot. Really hot. Here they are:


Two points to make here:

Firstly, I do not notice any appreciable difference in the time it takes to perform the backup. Possibly the usb3 cable will be the main bottleneck in both cases.

Secondly, the heating of the NVME SSD is alarming. It negates the original rationale for using an external SSD, being to reduce current drain over the USB cable.

Of course, the SATA aluminium casing has a bigger surface area, but I don't think that will account for the huge difference in the feel of heat when touching the cases.

My guess is that the NVME SSD is being deliberately run hotter, so as to get more speed, what we would refer to as "overclocking" in the case of a CPU.

Lesson learnt? The WD Blue SATA SSD is far cheaper, and I reckon this is an example where it is better to stay with an older technology.   

Tags: tech

EasyOS version 3.2.1 released

January 14, 2022 — BarryK

Version 3.2 was released only a few days ago:

A few minor tweaks, plus one big change; lives video editor replaced with flowblade.

Release notes here:


Feedback welcome on the forum:

I would like to know what you guys think of flowblade!  

Tags: easy