Hello community, here is the log from the commit of package cmake for openSUSE:Factory checked in at 2014-01-30 19:14:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmake (Old) and /work/SRC/openSUSE:Factory/.cmake.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmake" Changes: -------- --- /work/SRC/openSUSE:Factory/cmake/cmake-gui.changes 2013-11-25 16:58:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cmake.new/cmake-gui.changes 2014-01-30 19:14:22.000000000 +0100 @@ -1,0 +2,9 @@ +Tue Jan 28 19:46:59 UTC 2014 - hrvoje.sen...@gmail.com + +- Update to 2.8.12.2 + * XCode: Fix compiler line matching for XCode 5.1. + * Visual Studio: Convert include path to backslashes for Visual + Studio 2010 and newer. + * FindOpenMP: Support compilers that do not need any special flags. + +------------------------------------------------------------------- cmake.changes: same change Old: ---- cmake-2.8.12.1.tar.gz New: ---- cmake-2.8.12.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmake-gui.spec ++++++ --- /var/tmp/diff_new_pack.ZrAHej/_old 2014-01-30 19:14:23.000000000 +0100 +++ /var/tmp/diff_new_pack.ZrAHej/_new 2014-01-30 19:14:23.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmake-gui # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cmake-gui -Version: 2.8.12.1 +Version: 2.8.12.2 Release: 0 Url: http://www.cmake.org/ Source0: http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz ++++++ cmake.spec ++++++ --- /var/tmp/diff_new_pack.ZrAHej/_old 2014-01-30 19:14:23.000000000 +0100 +++ /var/tmp/diff_new_pack.ZrAHej/_new 2014-01-30 19:14:23.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmake # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cmake -Version: 2.8.12.1 +Version: 2.8.12.2 Release: 0 Url: http://www.cmake.org/ Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz ++++++ cmake-2.8.12.1.tar.gz -> cmake-2.8.12.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/ChangeLog.manual new/cmake-2.8.12.2/ChangeLog.manual --- old/cmake-2.8.12.1/ChangeLog.manual 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/ChangeLog.manual 2014-01-16 18:15:07.000000000 +0100 @@ -1,3 +1,20 @@ +Changes in CMake 2.8.12.2 (since 2.8.12.1) +------------------------------------------ +Brad King (4): + VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9 (#14577) + Replace <OBJECT_DIR> rule placeholder consistently (#14667) + VS: Convert include path to backslashes for VS >= 10 + Revert "Ninja: Track configured files so we can regenerate them." + +Rolf Eike Beer (1): + FindOpenMP: fix detecting compilers that do not need any special flag (#14567) + +Ruslan Baratov (1): + Xcode: Fix storyboard view + +Ted Kremenek (1): + CMakeDetermineCompilerId: Fix compiler line match for Xcode 5.1 + Changes in CMake 2.8.12.1 (since 2.8.12) ---------------------------------------- Brad King (9): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Modules/CMakeDetermineCompilerId.cmake new/cmake-2.8.12.2/Modules/CMakeDetermineCompilerId.cmake --- old/cmake-2.8.12.1/Modules/CMakeDetermineCompilerId.cmake 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Modules/CMakeDetermineCompilerId.cmake 2014-01-16 18:15:07.000000000 +0100 @@ -209,7 +209,7 @@ # ... # /path/to/cc ...CompilerId${lang}/... # to extract the compiler front-end for the language. - if("${CMAKE_${lang}_COMPILER_ID_OUTPUT}" MATCHES "\nLd[^\n]*(\n[ \t]+[^\n]*)*\n[ \t]+([^ \t\r\n]+)[^\r\n]*-o[^\r\n]*CompilerId${lang}/\\./CompilerId${lang}[ \t\n\\\"]") + if("${CMAKE_${lang}_COMPILER_ID_OUTPUT}" MATCHES "\nLd[^\n]*(\n[ \t]+[^\n]*)*\n[ \t]+([^ \t\r\n]+)[^\r\n]*-o[^\r\n]*CompilerId${lang}/(\\./)?CompilerId${lang}[ \t\n\\\"]") set(_comp "${CMAKE_MATCH_2}") if(EXISTS "${_comp}") set(CMAKE_${lang}_COMPILER_ID_TOOL "${_comp}" PARENT_SCOPE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Modules/FindOpenMP.cmake new/cmake-2.8.12.2/Modules/FindOpenMP.cmake --- old/cmake-2.8.12.1/Modules/FindOpenMP.cmake 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Modules/FindOpenMP.cmake 2014-01-16 18:15:08.000000000 +0100 @@ -31,6 +31,8 @@ function(_OPENMP_FLAG_CANDIDATES LANG) set(OpenMP_FLAG_CANDIDATES + #Empty, if compiler automatically accepts openmp + " " #GNU "-fopenmp" #Microsoft Visual Studio @@ -39,8 +41,6 @@ "-Qopenmp" #PathScale, Intel "-openmp" - #Empty, if compiler automatically accepts openmp - " " #Sun "-xopenmp" #HP @@ -64,6 +64,7 @@ set(OMP_FLAG_PGI "-mp") set(OMP_FLAG_SunPro "-xopenmp") set(OMP_FLAG_XL "-qsmp") + set(OMP_FLAG_Cray " ") # Move the flag that matches the compiler to the head of the list, # this is faster and doesn't clutter the output that much. If that @@ -100,7 +101,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/CheckCSourceCompiles.cmake) endif() - foreach(FLAG ${OpenMP_C_FLAG_CANDIDATES}) + foreach(FLAG IN LISTS OpenMP_C_FLAG_CANDIDATES) set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") set(CMAKE_REQUIRED_FLAGS "${FLAG}") unset(OpenMP_FLAG_DETECTED CACHE) @@ -134,7 +135,7 @@ set(OpenMP_CXX_TEST_SOURCE ${OpenMP_C_TEST_SOURCE}) endif() - foreach(FLAG ${OpenMP_CXX_FLAG_CANDIDATES}) + foreach(FLAG IN LISTS OpenMP_CXX_FLAG_CANDIDATES) set(SAFE_CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") set(CMAKE_REQUIRED_FLAGS "${FLAG}") unset(OpenMP_FLAG_DETECTED CACHE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/CMakeVersion.cmake new/cmake-2.8.12.2/Source/CMakeVersion.cmake --- old/cmake-2.8.12.1/Source/CMakeVersion.cmake 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/CMakeVersion.cmake 2014-01-16 18:15:08.000000000 +0100 @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 12) -set(CMake_VERSION_TWEAK 1) +set(CMake_VERSION_TWEAK 2) #set(CMake_VERSION_RC 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmGlobalNinjaGenerator.cxx new/cmake-2.8.12.2/Source/cmGlobalNinjaGenerator.cxx --- old/cmake-2.8.12.1/Source/cmGlobalNinjaGenerator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmGlobalNinjaGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -1094,9 +1094,6 @@ this->LocalGenerators.begin(); i != this->LocalGenerators.end(); ++i) { const std::vector<std::string>& lf = (*i)->GetMakefile()->GetListFiles(); implicitDeps.insert(implicitDeps.end(), lf.begin(), lf.end()); - - const std::vector<std::string>& of = (*i)->GetMakefile()->GetOutputFiles(); - implicitDeps.insert(implicitDeps.end(), of.begin(), of.end()); } std::sort(implicitDeps.begin(), implicitDeps.end()); implicitDeps.erase(std::unique(implicitDeps.begin(), implicitDeps.end()), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmGlobalXCodeGenerator.cxx new/cmake-2.8.12.2/Source/cmGlobalXCodeGenerator.cxx --- old/cmake-2.8.12.1/Source/cmGlobalXCodeGenerator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmGlobalXCodeGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -877,8 +877,10 @@ } std::string sourcecode = GetSourcecodeValueFromFileExtension(ext, lang); - - fileRef->AddAttribute("explicitFileType", + const char* attribute = (sourcecode == "file.storyboard") ? + "lastKnownFileType" : + "explicitFileType"; + fileRef->AddAttribute(attribute, this->CreateString(sourcecode.c_str())); // Store the file path relative to the top of the source tree. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmLocalVisualStudio7Generator.cxx new/cmake-2.8.12.2/Source/cmLocalVisualStudio7Generator.cxx --- old/cmake-2.8.12.1/Source/cmLocalVisualStudio7Generator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmLocalVisualStudio7Generator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -477,6 +477,8 @@ {"AssemblerListingLocation", "Fa", "ASM List Location", "", cmVS7FlagTable::UserValue}, + {"ProgramDataBaseFileName", "Fd", "Program Database File Name", "", + cmVS7FlagTable::UserValue}, // boolean flags {"BufferSecurityCheck", "GS", "Buffer security check", "TRUE", 0}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmMakefileExecutableTargetGenerator.cxx new/cmake-2.8.12.2/Source/cmMakefileExecutableTargetGenerator.cxx --- old/cmake-2.8.12.1/Source/cmMakefileExecutableTargetGenerator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmMakefileExecutableTargetGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -338,13 +338,11 @@ vars.CMTarget = this->Target; vars.Language = linkLanguage; vars.Objects = buildObjs.c_str(); - std::string objdir = cmake::GetCMakeFilesDirectoryPostSlash(); - objdir += this->Target->GetName(); - objdir += ".dir"; - objdir = this->Convert(objdir.c_str(), - cmLocalGenerator::START_OUTPUT, - cmLocalGenerator::SHELL); - vars.ObjectDir = objdir.c_str(); + std::string objectDir = this->Target->GetSupportDirectory(); + objectDir = this->Convert(objectDir.c_str(), + cmLocalGenerator::START_OUTPUT, + cmLocalGenerator::SHELL); + vars.ObjectDir = objectDir.c_str(); vars.Target = targetOutPathReal.c_str(); vars.TargetPDB = targetOutPathPDB.c_str(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmMakefileLibraryTargetGenerator.cxx new/cmake-2.8.12.2/Source/cmMakefileLibraryTargetGenerator.cxx --- old/cmake-2.8.12.1/Source/cmMakefileLibraryTargetGenerator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmMakefileLibraryTargetGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -577,13 +577,11 @@ vars.CMTarget = this->Target; vars.Language = linkLanguage; vars.Objects = buildObjs.c_str(); - std::string objdir = cmake::GetCMakeFilesDirectoryPostSlash(); - objdir += this->Target->GetName(); - objdir += ".dir"; - objdir = this->Convert(objdir.c_str(), - cmLocalGenerator::START_OUTPUT, - cmLocalGenerator::SHELL); - vars.ObjectDir = objdir.c_str(); + std::string objectDir = this->Target->GetSupportDirectory(); + objectDir = this->Convert(objectDir.c_str(), + cmLocalGenerator::START_OUTPUT, + cmLocalGenerator::SHELL); + vars.ObjectDir = objectDir.c_str(); vars.Target = targetOutPathReal.c_str(); vars.LinkLibraries = linkLibs.c_str(); vars.ObjectsQuoted = buildObjs.c_str(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmMakefileTargetGenerator.cxx new/cmake-2.8.12.2/Source/cmMakefileTargetGenerator.cxx --- old/cmake-2.8.12.1/Source/cmMakefileTargetGenerator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmMakefileTargetGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -638,7 +638,7 @@ cmLocalGenerator::NONE, cmLocalGenerator::SHELL).c_str(); vars.Object = shellObj.c_str(); - std::string objectDir = cmSystemTools::GetFilenamePath(obj); + std::string objectDir = this->Target->GetSupportDirectory(); objectDir = this->Convert(objectDir.c_str(), cmLocalGenerator::START_OUTPUT, cmLocalGenerator::SHELL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmNinjaTargetGenerator.cxx new/cmake-2.8.12.2/Source/cmNinjaTargetGenerator.cxx --- old/cmake-2.8.12.1/Source/cmNinjaTargetGenerator.cxx 2013-11-05 20:07:22.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmNinjaTargetGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -543,7 +543,7 @@ vars["DEP_FILE"] = objectFileName + ".d";; EnsureParentDirectoryExists(objectFileName); - std::string objectDir = cmSystemTools::GetFilenamePath(objectFileName); + std::string objectDir = this->Target->GetSupportDirectory(); vars["OBJECT_DIR"] = this->GetLocalGenerator()->ConvertToOutputFormat( ConvertToNinjaPath(objectDir.c_str()).c_str(), cmLocalGenerator::SHELL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-2.8.12.1/Source/cmVisualStudio10TargetGenerator.cxx new/cmake-2.8.12.2/Source/cmVisualStudio10TargetGenerator.cxx --- old/cmake-2.8.12.1/Source/cmVisualStudio10TargetGenerator.cxx 2013-11-05 20:07:23.000000000 +0100 +++ new/cmake-2.8.12.2/Source/cmVisualStudio10TargetGenerator.cxx 2014-01-16 18:15:08.000000000 +0100 @@ -1420,7 +1420,9 @@ for(std::vector<std::string>::const_iterator i = includes.begin(); i != includes.end(); ++i) { - *this->BuildFileStream << cmVS10EscapeXML(*i) << ";"; + std::string incDir = *i; + this->ConvertToWindowsSlash(incDir); + *this->BuildFileStream << cmVS10EscapeXML(incDir) << ";"; } this->WriteString("%(AdditionalIncludeDirectories)" "</AdditionalIncludeDirectories>\n", 0); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org