stable sr l10n-kf5 fails to cmake - was - Re: www/sites/www

Chusslove Illich caslav.ilic at gmx.net
Sat Dec 3 12:16:16 UTC 2016


>> [: Antonio Rojas :]
>>   CMake Error at 5/sr/data/CMakeLists.txt:1 (add_subdirectory):
>>     The source directory
>>
>>       /build/kde-l10n/src/kde-l10n-sr-16.11.90/5/sr/data/_custominstall
>>
>>     does not contain a CMakeLists.txt file.
>
> [: Albert Astals Cid :]
> You need to either:
> * Add a dummy CMakeLists.txt file
> * Go back to the previous situation those files where not in a folder
> * Somehow teach autogen.sh about folders it has to ignore (that seems
> less desirable tbh).

Sorry for the trouble. I moved these custom install files to a
subdirectory, because Luigi needed some way of recognizing them for
making applications translation tarballs. Adding dummy CMakeLists.txt
doesn't work, because autogen.sh deletes it at this depth (it preserves
them only one level below). The needed change to scripts/autogen.sh is
small though, what do you say about it?

  Index: scripts/autogen.sh
  ===================================================================
  --- scripts/autogen.sh  (revision 1476293)
  +++ scripts/autogen.sh  (working copy)
  @@ -184,7 +184,7 @@
           # remove old CMakeLists.txt
           rm -f $dir/data/CMakeLists.txt;
           echo "add_subdirectory(data)" >> $dir/CMakeLists.txt
  -        dirs=`cd $dir/data && find * -maxdepth 0 -type d -not -empty | fgrep -v .svn`
  +        dirs=`cd $dir/data && find * -maxdepth 0 -type d -not -empty | fgrep -v .svn | fgrep -v _custominstall`
           for dir2 in $dirs; do
               echo "add_subdirectory($dir2)" >> $dir/data/CMakeLists.txt
               rm -f $dir/data/$dir2/CMakeLists.txt;

-- 
Chusslove Illich (Часлав Илић)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/release-team/attachments/20161203/9f85fd2b/attachment.sig>


More information about the release-team mailing list