KDE/kdelibs

Alexander Neundorf neundorf at kde.org
Sat Apr 8 01:43:05 CEST 2006


On Saturday 08 April 2006 01:07, you wrote:
> On Friday 07 April 2006 18:40, Alexander Neundorf wrote:
> > 1) full end-user GUI apps
> > -would be nice if they run from the build tree
> > -should be bundles on OS X
> >
> > 2) command line apps I
> > -don't have to run from the build tree
> > -no bundles on OS X
> > -may do something with a GUI (kwin, kdialog)
>
> Then they are not command line apps. kwin and kdialog are full GUI apps.
> All KDE programs have command-line options, that's not the point here.
> Commandline means text-based, no gui (and no bundle).
> So there is no such category as 2) ;)

And do really all apps which have a GUI need to be a bundle ? How do I start 
e.g. kdialog then ? With the full path to the binary inside the bundle ?

> > 3) command line apps II
> > -have to run from the build tree and are installed
> > -usually code generators
> >
> > 4) command line apps III
> > -have to run from the build tree and are not installed
> > -usually code generators
>
> Yes.
>
> > 5) unit tests
> > -have to run from the build tree
> > -can have a GUI
> > -no bundles on OS X
>
> (no, should be bundles on OSX as mentionned by Benjamin Reed)
>
> > I'd suggest
> > 1) -> default, no keyword
> > RPATH to the install dir
> >
> > 3) handle as 4+5 and relink during installation ?
>
> No, please.

Your email came to late, I just committed.

> > Wouldn't take a lot of time since this are only very few apps.
>
> It's not the time that is the problem, it's the "sudo make install" ->
> wrong permissions, problem.

In which way wrong permissions ?
Works for me. Is it good enough that where this is problematic should just 
build without RPATH at all ?

So it seems we don't need 
kde4_add_executable( target [ NOGUI | RUN_UNINSTALLED] ...)
but 
kde4_add_executable( target [NOGUI] [RUN_UNINSTALLED] ...)
Right ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list