@fsiegert,
Seems to be compiling fine with that include change.
Does openboard ship with any .desktop file anywhere in their repo? If not, it'd be nice to have an openboard .desktop file so I don't have to launch it via the /usr/bin command.
Search Criteria
Package Details: openboard 1.7.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/openboard.git (read-only, click to copy) |
---|---|
Package Base: | openboard |
Description: | Interactive whiteboard software for schools and universities |
Upstream URL: | http://openboard.ch/index.en.html |
Licenses: | GPL3 |
Submitter: | fsiegert |
Maintainer: | fsiegert (bartus, Vekhir) |
Last Packager: | fsiegert |
Votes: | 54 |
Popularity: | 0.066627 |
First Submitted: | 2016-12-06 14:42 (UTC) |
Last Updated: | 2024-12-19 12:07 (UTC) |
Dependencies (12)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- poppler (poppler-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-multimedia
- qt6-svg
- qt6-webchannel
- qt6-webengine
- quazip-qt6
- cmake (cmake-gitAUR) (make)
- qt6-tools (make)
Required by (0)
Sources (1)
hwkiller commented on 2017-05-11 06:48 (UTC)
fsiegert commented on 2017-05-09 14:27 (UTC)
@hwkiller @benjarobin
I have now tested myself and found a workaround for the change of QtMultiMedia.h on the system. Can you try it out and confirm whether all problems are resolved? Thanks!
fsiegert commented on 2017-05-04 15:53 (UTC)
Hi hwkiller and benjarobin,
thanks for your investigations, I can include a patch as soon as the last point mentioned by hwkiller is clarified: I can't make the openboard package modify the QtMultimedia header file.
Now I'm wondering why this was not a problem for you, benjarobin? Can you confirm that you compiled without that modification?
Cheers,
Frank
hwkiller commented on 2017-05-03 16:46 (UTC)
Oh! I forgot. There's one extra thing you have to do, and it's questionable.
The project depends on Qt 5.5, technically, and has an #include <QtMultimedia>, which pulls in qtmultimediadefs.h, which then tries to pull in an non-existent file. This is a Qt 5.8 bug, acknowledged by the Qt team. To compile, you have to remove the #include "qtmultimediadefs.h" line from the QtMultimedia header on your system. Yes this sucks. No, there isn't another option it seems.
hwkiller commented on 2017-05-02 22:58 (UTC)
Ha, I only came back to comment that I solved it with two patches, and ofc you give your fix too.
Patches below:
ssl10.patch
-----------
--- a/OpenBoard.pro 2017-02-25 17:44:23.000000000 -0600
+++ b/OpenBoard.pro 2017-05-02 17:42:31.332536268 -0500
@@ -44,6 +44,7 @@
QT += core
INCLUDEPATH += src
+INCLUDEPATH = "/usr/include/openssl-1.0" + $${INCLUDEPATH}
include($$THIRD_PARTY_PATH/libs.pri)
include(src/adaptors/adaptors.pri)
@@ -400,7 +401,7 @@
linux-g++* {
CONFIG += link_prl
- LIBS += -lcrypto
+ LIBS += -l:libcrypto.so.1.0.0
#LIBS += -lprofiler
LIBS += -lX11
qchar.patch
--------------
--- a/src/core/UBTextTools.cpp 2017-02-25 17:44:23.000000000 -0600
+++ b/src/core/UBTextTools.cpp 2017-05-02 17:33:53.502881628 -0500
@@ -34,7 +34,7 @@
for(int i = 0; i < _html.length(); i+=1){
- if(_html.at(i) != '\0')
+ if(_html.at(i) != QChar('\0'))
clean.append(_html.at(i));
}
----------
Works great now. Just throw those into the source array of the pkgbuild, then add to prepare() patch commands (e.g., patch -p1 < $srcdir/qchar.patch)
benjarobin commented on 2017-05-02 19:20 (UTC)
In order to build, I did add these lines juste before qmake OpenBoard.pro ...
ln -s /usr/lib/libcrypto.so.1.0.0 libcrypto.so
sed -i 's|LIBS += -lcrypto|INCLUDEPATH += /usr/include/openssl-1.0/\n LIBS += -L$$PWD/ -lcrypto|' OpenBoard.pro
sed -i "s|!= '\\\0'|!= QChar('\\\0')|" src/core/UBTextTools.cpp
hwkiller commented on 2017-05-02 18:35 (UTC)
I cannot get this to compile.
I assume this is due to the openssl 1.0 -> openssl 1.1 update recently in arch.
Pinned Comments
bartus commented on 2024-03-12 15:41 (UTC) (edited on 2024-03-13 09:39 (UTC) by bartus)
Since version
v1.7.0
the Qt5 backend is no longer actively maintained and supported.Control environment variable can be used to force build against
qt5
ENABLE_QT5=1
to build againstqt5
(default:off)Usage cases:
makepkg ENABLE_QT5=1
yay -S openboard --mflags="ENABLE_QT5=1"
Yay
users warning:If you want to build against
qt5
, you have to callpacman -S qt5-{base,declarative,multimedia,tools,svg,webchannel,webengine}
beforehand.fsiegert commented on 2023-01-16 12:04 (UTC)
@unphysicalix: That's correct, you have to rebuild after dependency packages are updated. Let me make this post sticky to avoid people running into this again and again.
If OpenBoard stops working and when starting it from the command line you get an error message of the type:
Then you most likely just need to rebuild OpenBoard (either with
makepkg
or with your favourite AUR helper) because a dependency package has been updated.(That's the one disadvantage of AUR packages. I don't know what the threshold is for the package to be migrated into the community repository instead.)