Message: previous - next
Month: April 2012

Re: [trinity-devel] [SOLVED] Re: [trinity-devel] Bad News [was Re: [trinity-devel] All tde modules FAIL when built on gcc47 (kdesktop, knemo, kcontrol, etc...)]

From: Darrell Anderson <humanreadable@...>
Date: Sun, 15 Apr 2012 23:46:25 -0700 (PDT)
> > I rebuilt tdelibs and tdebase again tonight removing
> all patches. The patches that were removed were:
> >
> > kdelibs:
> > #   patch -Np0 -i
> ${pkgname#*-}-XDG-KDE-TDE.diff
> > #   patch -Np0 -i
> ${pkgname#*-}-KDE4-detect.diff
> > #   patch -Np0 -i
> ${pkgname#*-}-kdetcompmgr.diff
> > #   patch -Np0 -i
> ${pkgname#*-}-recentdocs.diff
> >
> > kdebase:
> > #   patch -Np1 -i
> ${srcdir}/tdebase-feedbackdlg.diff
> >
> > Upon tde start - knemo popped up like it should --
> which was a good indication that kcontrol would be fixed as well. It was. So the
> issues is in one of the experimental patches. We don't want to push those until
> we can identify which one... For next week.

I was unaware you were testing the experimentals. I probably should comment my build script to warn people as such.

> It took me ages to figure out why all my kcontrol modules
> had disappeared a while back; it turned out that TDE is far more reliant on
> a correct and intact menu structure being present on the system than I
> first realized.
> Therefore my money's on patch *-XDG-KDE-TDE.diff being the problem.

Yes, kcontrol builds its tree based upon the *.desktop key entries.

The XDG-KDE-TDE patches all work here. The missing glue is something I shared a while back:

The user needs either to create a new profile or perform a sed search to replace all X-KDE references with X-TDE references:

find $TDEHOME -type f -exec sed -i 's|X-KDE|X-TDE|g' {} \;
find $TDEHOME -type f -exec sed -i 's|KDE\;|TDE\;|g' {} \;

A while ago I asked how Trinity (nee KDE3) updates user profile files when there are changes in configuration file structures. I received no response. I know there is a way, but I don't know the mechanics of that process.

To use the XDG-KDE-TDE.diff patches, perform the two sed searches before starting the next session. A good idea is to delete the ksycoca cache because the kcontrol and menu structures are cached and the cache will deceive anybody from seeing changes.

The XDG-KDE-TDE.diff patches are part of bug report 892. I'm ready to push these patches, but have held off because I don't know how to automatically update the user's profile files. For those of us doing the testing the solution is the two sed searches, but that won't fly for normal users.

These changes are needed to avoid conflicts with that 'other' desktop.

BTW, don't use those tdelibs experimential patches. I toy with them every once in a while. The tdebase-feedbackdlg.diff patch for tdebase has been updated at the bug tracker and works just fine. That patch has nothing to do with the kcontrol errors you have seen. Those errors are caused by using the XDG-KDE-TDE.diff patches and then not knowing about updating the profile config files.