#tde-devs < 2023/05/12 >
[09:39]denk: I'm back, guys, and I hope that I have not broke anything in the git repo :)
[09:39]denk: also I hope I did not forget anything to commit
[09:40]denk: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/pulls/71
[09:40]tde-bot: Page title: #71 - socket and nsl functions were moved to libc - tqt3 - TDE Gitea Workspace
[09:40]SlavekB: Denk, you forgot to use '-s' option to automatically add Signed-of-by line.
[09:41]denk: again, ok
[09:41]SlavekB: :)
[09:41]SlavekB: you can simple ammend commit and use push with force.
[09:41]denk: let's try to fix it
[09:44]denk: what's wrong?
[09:44]denk: t5240% git commit -s --amend -m 'socket and nsl functions were moved to libc'
[09:44]denk: [dilos-socket-nsl 7d2be677] socket and nsl functions were moved to libc
[09:44]denk: Date: Fri May 12 11:56:31 2023 +0300
[09:44]denk: 1 file changed, 1 insertion(+), 1 deletion(-)
[09:44]denk: t5240% git rebase master
[09:44]denk: First, rewinding head to replay your work on top of it...
[09:44]denk: what did I forget to do?
[09:47]SlavekB: Look at the git log to verify whether amend was okay. Then you can use git push -f origin HEAD
[09:49]denk: it did something, but I'm not sure
[09:49]denk: check it please
[10:27]SlavekB: This change is specific for DilOS or is applicable to some Solaris?
[10:27]micheleC has joined
[10:55]denk: dilos specific only
[11:03]micheleC: thanks
[11:03]denk: btw, https://wiki.trinitydesktop.org/How_to_Build_TDE_Core_Modules needs to update due to incorrect components name
[11:04]denk: build order part
[11:04]denk: could you update it?
[11:08]micheleC: that page needs lots of update
[11:08]micheleC: if you need a build order, you can look at the debian scripts in tde-packaging
[11:08]micheleC: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging/src/branch/master/debian/_buildscripts/local
[11:08]tde-bot: Page title: tde-packaging/local at master - tde-packaging - TDE Gitea Workspace
[11:09]denk: thanks
[11:15]micheleC: in fact I think you can probably use those scripts to build in dilOS too
[11:19]denk: not sure, too many differences
[11:20]micheleC: you need to use the tde-packaging files for dilOS of course. But the scripts themselves should be useful
[11:21]denk: tde-packaging needs to update too
[11:21]denk: also I need to test some changes in the code
[11:22]denk: our /proc is completely incompatible with linux /proc
[11:23]micheleC: understood
[11:25]micheleC: the scripts I pointed out before are deb-based, but pretty much distro agnostic. You need to set your distro (dilOS) in the config script, then the scripts will use the files from tde-packaging for disOS. If you have specific patches, you can apply them using hooks before the build and in this way automate the whole build process.
[11:25]micheleC: just a suggestion, no need to use them if you don't want
[11:25]denk: one more question to you: do you have some plans to port it to illumos/Solaris?
[11:25]denk: we have some differences with them
[11:25]micheleC: but once properly setup, you can build the whole TDE with a simple command ;-)
[11:26]micheleC: I think there was already some version for IllumOS
[11:26]micheleC: not sure it was you doing the builds
[11:26]micheleC: but I remember some emails about it
[11:26]denk: maybe smartos?
[11:27]denk: but not illumos itself
[11:27]micheleC: illumos 100% sure
[11:28]denk: I ported it to OI but they don't need it, they like gnome from oracle/solaris
[11:28]micheleC: there was someone who made a build for it and sent an email or two on the ML some years ago
[11:29]denk: yes, it was my emails :)
[11:29]micheleC: ah, ok it was you
[11:29]micheleC: I remember OpenIndiana
[11:29]denk: when I adopted it for dilos
[11:29]micheleC: ok, understood
[11:30]denk: OI is based on IPS package manager, I don't like it
[11:30]micheleC: if there is someone willing to maintain the packaging files for it, we can surely add it to the officially supported distros
[11:30]micheleC: een Solaris
[11:30]micheleC: *even
[11:31]denk: solaris has its own gnome, I don't think they want to do it
[11:31]denk: also some people from oracle know about my work
[11:31]micheleC: it may not get officially adopted perhaprs. But if we create packages and distribute them, users may choose to install TDE if they wish
[11:34]denk: why I asked about other illumos based distributions: I can add some comments in the code how to adopt it for illumos in additional to dilos
[11:34]denk: or I can not do it
[11:35]denk: at this momemt the kernels are very similar
[11:40]micheleC: I think we are always open to add more distros if people are willing to help packaging it and keep it updated
[11:43]denk: ok, then I will add some comments in the code
[11:43]micheleC: (y)
[13:24]micheleC has quit (Quit: Kopete 0.12.7 : http://trinitydesktop.org)
[14:40]denk: dbus-1-tqt-14.1.0 is not installed in lib mutliarch directory by default
[14:41]denk: -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" in rules fixes it
[14:50]denk: dbus-tqt has the same issue
[14:55]SlavekB: we can use rules in way as is used in libcaldav:
[14:56]SlavekB: ifdef DEB_HOST_MULTIARCH
[14:56]SlavekB: CMAKE_INSTALL_LIBDIR = lib/$(DEB_HOST_MULTIARCH)
[14:56]SlavekB: else
[14:56]SlavekB: CMAKE_INSTALL_LIBDIR = lib
[14:56]SlavekB: endif
[14:56]SlavekB: and then -DCMAKE_INSTALL_LIBDIR=$(CMAKE_INSTALL_LIBDIR)
[14:59]denk: avahi-tqt is the same
[15:00]denk: I'm building it right now and it is what I see

#tde-devs < 2023/05/12 >