Hi Nik,
I have verified that for kipi-plugins both imageviewer and slideshow
plugins depend on OpenGL. So it looks like the same problem again.
I added the OpenGL dependency for TQt, and moved iceauth from RUN_DEPENDS
to BUILD_DEPENDS for tdelibs. Please update and try building again.
Thanks!
Cheers
--
Slávek
On Saturday 28 of December 2019 21:40:55 Dr. Nikolaus Klepp wrote:
Hi Slavec,
I made some progress after removing the ":". Now I ran into a problem
when after compiling "libraries" when building the package:
===> libksquirrel-trinity-14.0.7 depends on file:
/opt/trinity/lib/libkipiplugins.so - not found ===> Installing for
kipi-plugins-trinity-14.0.7
===> Checking if kipi-plugins-trinity is already installed
===> Registering installation for kipi-plugins-trinity-14.0.7 as
automatic pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/lib/trinity/kipiplugin_slideshow.la:No such file or directory
pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/lib/trinity/kipiplugin_slideshow.so:No such file or directory
pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/lib/trinity/kipiplugin_viewer.la:No such file or directory
pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/lib/trinity/kipiplugin_viewer.so:No such file or directory
pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/share/apps/kipiplugin_slideshow/icons/hicolor/22x22/actions/sli
deshow.png:No such file or directory pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/share/apps/kipiplugin_viewer/icons/hicolor/16x16/actions/ogl.pn
g:No such file or directory pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/share/apps/kipiplugin_viewer/icons/hicolor/32x32/actions/ogl.pn
g:No such file or directory pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/share/services/kipiplugin_slideshow.desktop:No such file or
directory pkg-static: Unable to access file
/usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/stage/op
t/trinity/share/services/kipiplugin_viewer.desktop:No such file or
directory *** Error code 74
Nik
Anno domini 2019 Sat, 28 Dec 16:45:40 +0100
Dr. Nikolaus Klepp scripsit:
> Hi Slavec!
>
> - tdelibs: I found out why the dcop test fails, it's missing
"iceauth"
> :)
>
> * Running batch mode
> + ./dcop_test --batch
> [dcopserver] 'iceauth' not found in path, aborting.+ echo -n '*
> Starting test app ' * Starting test app + DCOP_TEST_PID=62582
> + cnt=0
> + ./dcop_test
> + ../client/dcop
> + grep -q TestApp-62582
> [2019/12/28 16:38:55.182] DCOPClient::attachInternal. Attach failed
> Could not open network socket [2019/12/28 16:38:55.182]
> DCOPClient::attachInternal. Attach failed Could not open network
> socket ERROR: Couldn't attach to DCOP server!
>
> So I installed "iceauth" and the test succeeds :)
>
> Now I'll go that "SUBDIR += kdbusnotification:" and rebuild ..
>
> Nik
>
> Anno domini 2019 Sat, 28 Dec 02:31:32 +0100
>
> Slávek Banko scripsit:
> > Hi Nik,
> >
> > thank you for the excellent test. A few notes below, commit to
> > tde-packaging will follow later...
> >
> > On Saturday 28 of December 2019 01:44:57 Dr. Nikolaus Klepp wrote:
> > > Anno domini 2019 Thu, 26 Dec 21:31:35 +0100
> > >
> > > Slávek Banko scripsit:
> > > > [...]
> > > > you can update the Trinity FreeBSD ports and try building again
> > > > because they are now ready for the final R14.0.7!
> > > >
> > > >
http://mirror.git.trinitydesktop.org/cgit/tde-packaging/commit/?
> > > >h=r14. 0.x&id=f6041fbd96
> > > >
> > > > Cheers
> > >
> > > Hi Slavec!
> > >
> > > This is how far I managed to go:
> > >
> > > - dependencies/tqtinterface: GLU is not installed automaticly
> >
> > Here we need to add dependency for building tqt3, otherwise OpenGL
> > support will be missing in TQt as such - see below.
> >
> > > - tdelibs: libXcomposite is not installed in automaticly.
> > > "dcop/dcop-tests" fails the first test, the testprogram assumes
> > > dcopserver is running - which is not, so the test fails. Rerunning
> > > make several times does not solve the issue. I remember the test
> > > succeeded when I compiled earlier versions on my laptop, i.e. Xorg
> > > was up and running, comilation was done from a xterm window. Maybe
> > > dcopserver would like a running instance of Xorg? Anyway,
> > > commenting out the tests in
> > > tdelibs-trinity_14.0.7/.build/dcop/tests/CTestTestfile.cmake
> > > "solves" the problem.
> >
> > I always build in the text console - no X server is running at the
> > moment. As I mentioned, I also occasionally experience dcop test
> > failure, but when I repeat building, the test is successful.
> >
> > It should be noted that in the case of dcop test failure, I always
> > repeat the entire build of tdelibs (remove the work folder), not
> > just re-run the tests.
> >
> > > - tdeedu: build fails due to "libboost_python.so" not found.
> > > py27-boost-libs and py36-boost-libs are installed. I did not find
> > > a way round this.
> >
> > I will try again on my test machine because during the previous
> > test, for me the build was successful.
> >
> > > - tdeartwork: failes with linker eror:
> > > [ 1%] Linking CXX executable kwave.kss
> > > cd
> > > /usr/home/nik/tde-packaging/freebsd/tdeartwork/work/tdeartwork-tri
> > >nity_1 4.0.7/.build/tdescreensaver/kdesavers &&
> > > /usr/local/bin/cmake -E cmake_link_script
> > > CMakeFiles/kwave.kss.dir/link.txt --verbose=1 /usr/bin/c++
> > > -I/usr/local/include -DNDEBUG -DQT_NO_ASCII_CAST
> > > -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
> > > -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
> > > -I/usr/local/include/tqt3 -I/usr/local/include/tqt -include tqt.h
> > > -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
> > > -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
> > > tqt.h -DNDEBUG
> > > -fstack-protector-strong -L/usr/local/lib -L/usr/local/lib
> > > CMakeFiles/kwave.kss.dir/wave.cpp.o
> > > CMakeFiles/kwave.kss.dir/wavecfg.cpp.o -o kwave.kss
> > > -L/opt/trinity/lib -Wl,-rpath,/opt/trinity/lib:
> > > /opt/trinity/lib/libtdescreensaver.so.14.0.0
> > > /opt/trinity/lib/libtdeui.so.14.0.0 -lGL -lGLU
> > > /opt/trinity/lib/libtdecore.so.14.0.0
> > > /opt/trinity/lib/libDCOP.so.14.0.0
> > > /opt/trinity/lib/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11
> > > -lc -lz -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil -lfreetype
> > > -lfontconfig -lXext ld: error: undefined symbol:
> > > TQGLWidget::staticMetaObject()
> >
> > Here you can see the consequence that TQt is not built with OpenGL
> > support - as I mentioned above, we need to add a GLU dependency for
> > building tqt3 as such. This will also solve this problem.
> >
> > > - libraries/kpip-plugins: package creation fails:
> > > pkg-static: Unable to access file
> > > /usr/home/nik/tde-packaging/freebsd/libraries/kipi-plugins/work/st
> > >age/op t/trinity/share/services/kipiplugin_viewer.desktop:No such
> > > file or directory *** Error code 74
> >
> > I need to look in more detail at my testing machine because I have
> > not seen such a problem.
> >
> > > - applications: fails to compile, error in Makefile
> > > ===> applications
> > > make[1]: "/usr/ports/Mk/bsd.port.subdir.mk" line 215:
Inconsistent
> > > operator for _kdbusnotification make[1]: Fatal errors encountered
> > > -- cannot continue
> > > make[1]: stopped in
> > > /usr/home/nik/tde-packaging/freebsd/applications *** Error code 1
> >
> > The line "SUBDIR += kdbusnotification:" contains a stray colon at
> > the end that should not be there. I'll fix it in the next commit,
> > you can quickly fix it yourself by removing the colon :)
> >
> > > This is what I've got:
> > > # pkg info | grep 14.0.7
> > > akode-14.0.7 akode plugin for aRts
> > > arts-trinity-14.0.7 aRts (analog realtime synthesizer)
> > > - the TDE sound system avahi-tqt-14.0.7 Avahi TQt
> > > integration library
> > > dbus-1-tqt-14.0.7 D-Bus bindings for the Trinity Qt
> > > interface dbus-tqt-14.0.7 TQt D-Bus inter-process
> > > communication module de-tde-i18n-trinity-14.0.7 Messages and
> > > documentation for TDE - de libart_lgpl-14.0.7,1 Library
> > > for high-performance 2D graphics libcaldav-14.0.7
> > > libcaldav provides a C interface for caldav PIM clients
> > > libcarddav-14.0.7 libcarddav provides a C interface for carddav
> > > PIM clients libkdcraw-trinity-14.0.7 Trinity RAW picture
> > > decoding C++ library libkexiv2-trinity-14.0.7 Trinity TQt
> > > like interface for the libexiv2 library libkipi-trinity-14.0.7
> > > Trinity library for apps that want to use kipi-plugins
> > > libtqtinterface-14.0.7 Trinity TQt Interface
> > > tdeaccessibility-trinity-14.0.7 Trinity accessibility apps
> > > tdeaddons-trinity-14.0.7 Trinity add-on plugins and applets
> > > tdeadmin-trinity-14.0.7 Trinity system administration tools
> > > tdebase-trinity-14.0.7 Trinity Base Programs
> > > tdegames-trinity-14.0.7 Trinity games
> > > tdegraphics-trinity-14.0.7 Trinity graphics apps
> > > tdelibs-trinity-14.0.7 Core libraries and binaries for all
> > > TDE applications tdemultimedia-trinity-14.0.7 Trinity multimedia
> > > apps tdenetwork-trinity-14.0.7 Trinity network-related apps
> > > tdepim-trinity-14.0.7 Trinity Personal Information
> > > Management apps tdesdk-trinity-14.0.7 Trinity software
> > > development kit tdetoys-trinity-14.0.7 Trinity toys
> > > tdeutils-trinity-14.0.7 Trinity general purpose utilities
> > > tdevelop-trinity-14.0.7 Trinity IDE for Unix/X11
> > > tdewebdev-trinity-14.0.7 Trinity web development apps
> > > tqca-tls-14.0.7 TLS plugin for the TQt
> > > Cryptographic Architecture (TQCA) tqmake-14.0.7
> > > The build utility of the TQt from Trinity tqt3-14.0.7
> > > Multiplatform C++ application framework
> > > tqt3-sqlite-plugin-14.0.7 TQt3 SQLite database plugin
> > > tqt3-sqlite3-plugin-14.0.7 TQt3 SQLite 3.x database plugin
> > >
> > > I did not try to build the following packages (are they used
> > > anywhere?): tqt3-ibase-plugin
> > > tqt3-mysql-plugin
> > > tqt3-odbc-plugin
> > > tqt3-pgsql-plugin
> > >
> > > So all that's needed for a DE has been built. Tomorrow I'll ckeck
> > > if it's usable :)
> > >
> > > Nik
> >
> > Because I only tested whether it is possible to build it, you will
> > be the first to test usability :)
> >
> > Cheers