Re: kdeutils has migrated to git

2011-08-22 Thread Alexander Neundorf
On Sunday 21 August 2011, Aaron J. Seigo wrote:
 On Saturday, August 20, 2011 16:48:09 Raphael Kubo da Costa wrote:
  For now, I have created a scratch git repository with the files which
  used to be in the top-level kdeutils directory in SVN, so you can just
  use the CMakeLists.txt there to build everything (there are no
  inter-repository dependencies, that is, thereis no libkdeutils).
 
 imho better would be to use:
 
   https://projects.kde.org/projects/kde/superbuild/repository
 
 it has a kdeutils section already even ... still needs some improvements as
 it uses anongit.kde.org instead of (at least optionally) the kde: prefix,
 but this is a good step in the right direction.

I have the following in my .gitconfig, and it seems to work just fine:

[url git://anongit.kde.org/]
insteadOf = kde:

[url g...@git.kde.org:]
pushInsteadOf = kde:

[url g...@git.kde.org:]
pushInsteadOf = git://anongit.kde.org/


Alex


Re: kdeutils has migrated to git

2011-08-22 Thread Alexander Neundorf
On Sunday 21 August 2011, Nicolas Alvarez wrote:
 Aaron J. Seigo wrote:
  On Saturday, August 20, 2011 16:48:09 Raphael Kubo da Costa wrote:
  For now, I have created a scratch git repository with the files which
  used to be in the top-level kdeutils directory in SVN, so you can just
  use the CMakeLists.txt there to build everything (there are no
  inter-repository dependencies, that is, thereis no libkdeutils).
  
  imho better would be to use:
  
  https://projects.kde.org/projects/kde/superbuild/repository
  
  it has a kdeutils section already even ... still needs some improvements
  as it uses anongit.kde.org instead of (at least optionally) the kde:
  prefix, but this is a good step in the right direction.
 
 As I said in another thread: Superbuild is unrelated and orthogonal to the
 ability of the kdeutils buildsystem to allow building both as standalone
 apps and as a single module.

No, it's not.
It is possible to set up the cmake files so that they support both, separate 
and all-in-one builds, but it's not trivial.
Even if done right, it makes the cmake code harder to understand.

So I recommend to make sure the separate repositories build cleanly separate, 
and use something like kdesrc-build, buildtool or superbuild 
(https://projects.kde.org/projects/kde/superbuild) to build them together.
One downside of this is that it will take somewhat longer, since the separate 
cmake runs will at least partly check for the same stuff in all the separate 
builds, but I thinbk this is the price we have to pay for having separate 
repositories.

Alex


Re: kdeutils has migrated to git

2011-08-20 Thread Aaron J. Seigo
On Saturday, August 20, 2011 16:48:09 Raphael Kubo da Costa wrote:
 For now, I have created a scratch git repository with the files which used
 to be in the top-level kdeutils directory in SVN, so you can just use the
 CMakeLists.txt there to build everything (there are no inter-repository
 dependencies, that is, thereis no libkdeutils).

imho better would be to use:

https://projects.kde.org/projects/kde/superbuild/repository

it has a kdeutils section already even ... still needs some improvements as it 
uses anongit.kde.org instead of (at least optionally) the kde: prefix, but 
this is a good step in the right direction.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.


Re: kdeutils has migrated to git

2011-08-20 Thread Nicolas Alvarez
Aaron J. Seigo wrote:
 On Saturday, August 20, 2011 16:48:09 Raphael Kubo da Costa wrote:
 For now, I have created a scratch git repository with the files which
 used to be in the top-level kdeutils directory in SVN, so you can just
 use the CMakeLists.txt there to build everything (there are no
 inter-repository dependencies, that is, thereis no libkdeutils).
 
 imho better would be to use:
 
 https://projects.kde.org/projects/kde/superbuild/repository
 
 it has a kdeutils section already even ... still needs some improvements
 as it uses anongit.kde.org instead of (at least optionally) the kde:
 prefix, but this is a good step in the right direction.

As I said in another thread: Superbuild is unrelated and orthogonal to the 
ability of the kdeutils buildsystem to allow building both as standalone 
apps and as a single module.

-- 
Nicolas




Re: kdeutils has migrated to git

2011-08-20 Thread Aaron J. Seigo
On Sunday, August 21, 2011 00:13:25 Nicolas Alvarez wrote:
 As I said in another thread: Superbuild is unrelated and orthogonal to
 the ability of the kdeutils buildsystem to allow building both as
 standalone apps and as a single module.

see my reply in that other thread as to what superbuild aims to provide that 
the current kdeutils scratch repo does not.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.