#trinity-desktop < 2024/11/21
[01:06]hunter0one has joined
[01:38]hunter0one has quit (Quit: Konversation terminated!)
[02:05]rjb330 has joined
[02:06]rjb330: I can't seem to compile any of the tde dbus examples. It says command tmoc not found.
[02:45]micheleC: are you using master or r14.1.x?
[02:47]micheleC: I assume it is master, but just asking to be sure
[02:51]rjb330: Yes
[03:06]rjb330: I use the Trinity PTB repos
[04:08]micheleC: in PTB tmoc does not exists anymore. it is now call tqmoc. same as tquic
[04:08]micheleC: and soon tqmake
[04:09]micheleC: make sure you have the latest source code for all your code, it should be no problem
[04:09]micheleC: and the latest tde-packaging code as well
[04:10]micheleC: what dbus examples you cannot compile and how do you try to compile them?
[04:54]panzeroceania has joined
[05:08]a-865 has quit (Ping timeout: 252 seconds)
[05:25]a-865 has joined
[05:30]a-865 has quit (Ping timeout: 252 seconds)
[07:04]rjb330: I'm trying to compile these and the one on the wiki which is written in a similar way https://mirror.git.trinitydesktop.org/gitea/deloptes/dbus-1-tqt-example
[07:06]rjb330: When I replace tmoc with tqmoc in the build scripts the compiler returns a bunch of errors
[07:07]micheleC: that repository is quite old, it probably needs to be updated to work with current master code. There has been quite a bit of renaming going on to clean code and naming conventions
[07:08]micheleC: the compilers error are probably due to the ntq*/q*/tq* unification into tq*
[07:08]micheleC: in tqt3
[07:09]rjb330: I see
[07:09]rjb330: It seems like a lot of the errors are coming from tqucomextra_p.h
[07:09]micheleC: I remember building those examples some years ago
[07:10]rjb330: I also had problems with that header when trying to build tdepim recently
[07:10]micheleC: if you source code is up to date, PTB should build fine
[07:10]micheleC: *your source code
[07:10]micheleC: because that is what I build all the time ;-)
[07:11]micheleC: -include tqt.h should no longer be needed btw
[07:12]rjb330: I had to remove -ltqt in the build script too
[07:12]micheleC: obviously, it does not exist any more in master :-)
[07:14]rjb330: I just need to get a standalone program to compile so I can start testing with dbus
[07:15]rjb330: The tde functions in cmake are still kind of a mystery to me
[07:16]micheleC: things are not that bad. Try this:
[07:16]micheleC: /usr/bin/g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time \
[07:16]micheleC: -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT \
[07:16]micheleC: -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 \
[07:16]micheleC: -I/opt/trinity/include/ -I/usr/include/dbus-1-tqt -DQT_NO_ASCII_CAST \
[07:16]micheleC: -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION \
[07:16]micheleC: -g -Wl,-z,relro main.cpp testservice.cpp \
[07:16]micheleC: dbusbaseNode.cpp serviceNode.cpp introspectableInterface.cpp serviceInterface.cpp \
[07:16]micheleC: -o tqdbusexample -ldbus-1-tqt \
[07:16]micheleC: /opt/trinity/lib/libtdeparts.so /opt/trinity/lib/libtdeio.so \
[07:16]micheleC: /opt/trinity/lib/libtdecore.so -ltqt-mt -lXrender -lX11 -lc \
[07:16]micheleC: /usr/lib/x86_64-linux-gnu/libz.so -lidn -lXcomposite -lICE -lSM -lutil -lr -lacl -lattr -ltqui
[07:16]micheleC: I just a quick test on example 4d with this build script
[07:16]micheleC: and it worked ok
[07:16]rjb330: I can get 4d to build fine
[07:16]micheleC: edit build_4d.sh as above, then running from inside the 4d folder
[07:17]micheleC: (y)
[07:17]micheleC: then other examples should be similar I think
[07:17]rjb330: I'm focusing on 4f because that's the one that impliments as a proxy
[07:20]micheleC: do similar changes to the .sh build script and replace tmoc with tqmoc. it builds fine
[07:21]micheleC: just tested here
[07:22]rjb330: Aha!
[07:22]rjb330: I just forgot to remove the -I tqt.h
[07:22]micheleC: basically remove -ltqt, -include tqt.h and replace tmoc
[07:22]micheleC: (y)
[07:24]rjb330: Are there any plans to add an mpv backend to kmplayer?
[07:25]micheleC: it's more about having the resources for it :-)
[07:25]micheleC: just 2 days ago we discuss about how good it would be to have a common audio backend similar to Phonon
[07:26]micheleC: but we are a small team, so it may or may not happen
[07:30]rjb330: tde uses a mix of arts and xine right now right?
[07:35]rjb330: Maybe it's possible to just keep improving arts
[07:46]micheleC: xine is a possible engine for some applications.
[07:58]micheleC has left (Kopete 0.12.7 : http://trinitydesktop.org)
[08:48]rjb330 has quit (Ping timeout: 252 seconds)
[09:52]SlavekB has quit (Quit: Kopete 0.12.7 : http://trinitydesktop.org)
[10:00]Guest4 has joined
[10:02]Guest4: Hello everyone! I've just tried to compile the live build of trinity on Gentoo and dev-tqt/tqt throws this error message after making the qmake make files:
[10:02]Guest4: make -j4 src-qmake src-moc sub-src
[10:02]Guest4: cd qmake && make
[10:02]Guest4: make: *** No rule to make target 'src-moc'.  Stop.
[10:02]Guest4: Any ideas?
[10:04]Guest4: the previous stable version compiled fine, I've unmerged everything before emerging the live build
[10:47]SlavekB has joined

#trinity-desktop < 2024/11/21