site  contact  subhomenews

Scribus and VYM Qt5 apps compiled in OE

December 18, 2021 — BarryK

I posted this morning about success compiling Qt5 'qtbase' package:

https://bkhome.org/news/202112/qt5-qtbase-compiled-in-oe.html

Now, have compiled more Qt5 packages, and two apps, Scribus and VYM:

qt5-styleplugins 20170311
qtbase 5.14.2+gitAUTOINC+3a6d8df521
qtdeclarative 5.14.2+gitAUTOINC+23a000f9a1
qtmultimedia 5.14.2+gitAUTOINC+c012f0a727
qtscript 5.14.2+gitAUTOINC+bdf42faf19
qtsvg 5.14.2+gitAUTOINC+63961dd0c7
qttools 5.14.2+gitAUTOINC+9d5d92a492
qtx11extras 5.14.2+gitAUTOINC+fbed3bc300
qtxmlpatterns 5.14.2+gitAUTOINC+45bf71199c
scribus 1.5.7
vym 2.8.8

...haven't tested the apps yet!

VYM (View Your Mind) is fascinating:

http://www.insilmaril.de/vym/

img1

I might do the next release of Easy with both of these apps builtin.

For the record, here is the recipe for Scribus, file scribus_1.5.7.bb:

# Recipe created by recipetool
# recipetool create -o scribus_1.5.7.bb https://downloads.sourceforge.net/project/scribus/scribus-devel/1.5.7/scribus-1.5.7.tar.gz

inherit cmake_qt5 cmake_extra_sanity python3-dir pkgconfig python3native

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=46d73026c0f1b3a4016bc06a677411ab"

SRC_URI = "https://downloads.sourceforge.net/project/scribus/scribus-devel/${PV}/scribus-${PV}.tar.gz"
SRC_URI[md5sum] = "a0e3a62705dbc221d990b3b0da5bca06"
SRC_URI[sha256sum] = "ff9678e18d9eebf4e381d18eb40c5477b6fa28112481733db647d39a8d58aac7"

DEPENDS = "icu cairo cairo-native freetype freetype-native tiff boost \
libpagemaker virtual/libgl jpeg libcdr zlib libxml2 \
poppler librsvg sqlite3 hunspell libdrm expat libjpeg-turbo \
lcms pixman libpng harfbuzz ghostscript libxcb libxrender \
libx11 libxext openssl mesa gnutls glib-2.0 graphite2 xz util-linux \
libxau libxdmcp libxshmfence libgcrypt libxdamage libxfixes libxxf86vm \
libidn libunistring nettle gmp libxau glib-2.0-native \
qtbase qtbase-native qttools qttools-native \
python3 python3-native libwpd libwpd-native libmspub libmspub-native \
libvisio libvisio-native libfreehand libfreehand-native \
librevenge librevenge-native libpagemaker libpagemaker-native cups \
cups-filters fontconfig fontconfig-native"


SUMMARY = "Desktop publishing"
HOMEPAGE = "https://www.scribus.net/"

There is a layer 'meta-qt5-extra' available, that has a recipe for scribus; however, I did not use that layer. Did grab the 'cmake_extra_sanity' class file out of meta-qt5-extra though. Got some ideas from that recipe and created the above.

I created the recipe for VYM from scratch, file vym_2.8.8.bb:

# Recipe created by recipetool
# recipetool create -o vym_2.8.8.bb https://github.com/insilmaril/vym/archive/refs/tags/v2.8.8.tar.gz

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eff77bd1d84089c0e34f240e4486c8a5"

SRC_URI = "https://github.com/insilmaril/vym/archive/refs/tags/v${PV}.tar.gz"
SRC_URI[md5sum] = "48115a347d1cab2c1b993666d3cc347d"
SRC_URI[sha256sum] = "0599915108c43ca7b5521f520748875bc6d7d3b0336930f1c2f6aa81d49f9628"

DEPENDS = "qtbase dbus qttools qtbase-native qttools-native qtscript qtsvg"

inherit cmake cmake_qt5 pkgconfig

EXTRA_OECMAKE = ""

HOMEPAGE = "http://www.insilmaril.de/vym/"
SUMMARY = "Mind mapping visualization"

...install paths are odd, might need to take another look at it. Lots of fun, but very time consuming. There are lots of Qt5 apps, a video editor would be nice.   

Tags: easy