[Kde-games-devel] Build system changes: new library libkdegamesprivate

Christian Krippendorf Coding at Christian-Krippendorf.de
Mon May 14 21:49:11 UTC 2012


On 01.05.2012 17:47, Stefan Majewsky wrote:
> Hi,
>
> while I'm writing this mail, I'm pushing some commits which split most
> deprecated API from libkdegames into a private library, which is
> consequently called libkdegamesprivate. The build system of
> libkdegames and the rest of kdegames has been adjusted, and includes
> have been changed as necessary.
>
> I recommend that you `make uninstall` your working copy before you
> update it. Quite some header files have been moved, and this might
> confuse CMake. If the build breaks, please consider wiping your build
> directory (where wipe is not `make clean`, but `rm -rf build`).
>
> To avoid confusion: The headers for libkdegamesprivate *are
> installed*, because they need to be when the module is split for Git.
> However, all headers are only accessible as e.g.
> <libkdegamesprivate/kgame/kgameio.h>, so it should be clear that this
> header is private.
>
> As an additional measure, including any of the libkdegamesprivate
> headers will result in a descriptive error unless the abstruse define
> USE_UNSTABLE_LIBKDEGAMESPRIVATE_API has been defined. For reference,
> I'm attaching (after the scissor line) a list of the current usages of
> libkdegamesprivate classes in kdegames trunk.
>
> Greetings
> Stefan
>
> ----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----
>
> $ ack-grep --cpp '<libkdegamesprivate' (*~(libkdegames)) | sed
> 's,^\([^/]*\)/[^<]*<\(libk[^>]*\)>.*$,\1 -->  \2,' | sort -u
>
> granatier -->  libkdegamesprivate/kgamethemeselector.h
> kapman -->  libkdegamesprivate/kgametheme.h
> kapman -->  libkdegamesprivate/kgamethemeselector.h
> kbattleship -->  libkdegamesprivate/kgamecanvas.h
> kblocks -->  libkdegamesprivate/kgametheme.h
> kblocks -->  libkdegamesprivate/kgamethemeselector.h
> kbounce -->  libkdegamesprivate/kgamecanvas.h
> kbreakout -->  libkdegamesprivate/kgamecanvas.h
> kfourinline -->  libkdegamesprivate/kchatdialog.h
> kfourinline -->  libkdegamesprivate/kgame/dialogs/kgameconnectdialog.h
> kfourinline -->  libkdegamesprivate/kgame/dialogs/kgamedebugdialog.h
> kfourinline -->  libkdegamesprivate/kgame/dialogs/kgamedialogconfig.h
> kfourinline -->  libkdegamesprivate/kgame/dialogs/kgamedialog.h
> kfourinline -->  libkdegamesprivate/kgame/dialogs/kgameerrordialog.h
> kfourinline -->  libkdegamesprivate/kgame/kgamechat.h
> kfourinline -->  libkdegamesprivate/kgame/kgame.h
> kfourinline -->  libkdegamesprivate/kgame/kgameio.h
> kfourinline -->  libkdegamesprivate/kgame/kgamemessage.h
> kfourinline -->  libkdegamesprivate/kgame/kgameprocess.h
> kfourinline -->  libkdegamesprivate/kgame/kgamepropertyarray.h
> kfourinline -->  libkdegamesprivate/kgame/kgameproperty.h
> kfourinline -->  libkdegamesprivate/kgame/kgamepropertyhandler.h
> kfourinline -->  libkdegamesprivate/kgame/kplayer.h
> kgoldrunner -->  libkdegamesprivate/kgamecanvas.h
> kigo -->  libkdegamesprivate/kgametheme.h
> kigo -->  libkdegamesprivate/kgamethemeselector.h
> kmahjongg -->  libkdegamesprivate/kgamecanvas.h
> ksirk -->  libkdegamesprivate/kchatbaseitemdelegate.h
> ksirk -->  libkdegamesprivate/kchatbasemodel.h
> ksirk -->  libkdegamesprivate/kchatdialog.h
> ksirk -->  libkdegamesprivate/kgame/kgamechat.h
> ksirk -->  libkdegamesprivate/kgame/kgame.h
> ksirk -->  libkdegamesprivate/kgame/kgameio.h
> ksirk -->  libkdegamesprivate/kgame/kgamepropertyarray.h
> ksirk -->  libkdegamesprivate/kgame/kgameproperty.h
> ksirk -->  libkdegamesprivate/kgame/kmessageclient.h
> ksirk -->  libkdegamesprivate/kgame/kmessageio.h
> ksirk -->  libkdegamesprivate/kgame/kmessageserver.h
> ksirk -->  libkdegamesprivate/kgame/kplayer.h
> ksirk -->  libkdegamesprivate/kgamesvgdocument.h
> ksudoku -->  libkdegamesprivate/kgamedifficulty.h
> ksudoku -->  libkdegamesprivate/kgametheme.h
> ksudoku -->  libkdegamesprivate/kgamethemeselector.h
> ktron -->  libkdegamesprivate/kgametheme.h
> ktron -->  libkdegamesprivate/kgamethemeselector.h
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>

I also can't build kdegames-trunk anymore. I cleaned the build dir with 
"rm -Rf *" and get the following error output while building:

uic: Error in line 1, column 0 : Premature end of document.
File 
'/home/christian/Develop/KDE/kdegames-trunk/libkdegames/libkdegamesprivate/kgamethemeselector.ui' 
is not valid
uic: Error in line 1, column 0 : Premature end of document.
File 
'/home/christian/Develop/KDE/kdegames-trunk/granatier/src/config/arenaselector.ui' 
is not valid
uic: Error in line 1, column 0 : Premature end of document.
File 
'/home/christian/Develop/KDE/kdegames-trunk/granatier/src/config/generalsettings.ui' 
is not valid

Anyone knows about the problem? The 
'/home/christian/Develop/KDE/kdegames-trunk/libkdegames/libkdegamesprivate/kgamethemeselector.ui' 
is empty here on my local copy. As it is some time ago i updated the 
last time, i don't know if this problems are coming from the build 
system changes...

-- 
Mit freundlichen Grüßen / Best Regards

Christian Krippendorf



More information about the kde-games-devel mailing list