49 Commits

Author SHA256 Message Date
bf65e97e66 Revert to -r0ed4218909c525a7095d9f9091b3c52e
as in devel project prior to import
2025-08-21 06:15:12 +02:00
b241d547c2 - Set -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix a bunch of build
issues.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=634
2025-08-21 06:15:11 +02:00
b6c37f9a92 - update to 4.0.3
* CUDA/Clang: Fix list of architectures supported by Clang < 20.1,
    Reorder the logic for setting supported archs, add archs
    supported by Clang 21
  * gcc: support `import std`
  * experimental: recycle the `import std` UUID
  * Clang/CXXImportStd: support `-stdlib=libstdc++`
  * experimental/CXXModules: recycle the UUID
  * FindPython: rely on ABIFLAGS on Windows for ABI profile
  * FindPython: Avoid implicit link library on Windows
 
 - Replace usage of %jobs for reproducible builds (boo#1237231)
 
- fix GUI build on openSUSE Leap 15.x
- update to 4.0.1
  * get_filename_component: Restore lexical preprocessing of
    REALPATH for compat
  * find_package: Restore component requirements in nested calls
  * Source: Include specific CoreFoundation headers instead of
    umbrella header
- update to CMake 4.0
  * The "CMAKE_POLICY_VERSION_MINIMUM" variable was added to help
    packagers and end users try to configure existing projects that
    have not been updated to work with supported CMake versions.
  * The "$<PATH>" generator expression gained the "NATIVE_PATH"
    operation to convert a CMake path into a native one.
  * Compatibility with versions of CMake older than 3.5 has been
    removed.
  * The "cmake --link-no-warning-as-error" option was added to
    suppress the effects of the "LINK_WARNING_AS_ERROR" target
    property and "CMAKE_LINK_WARNING_AS_ERROR" variable.
  * The "target_link_libraries()" command now supports the
    "LINKER:" prefix.
- adjust cmake-fix-ruby-test.patch
  * fix FindCUDAToolkit doesn't find CUPTI in CUDA installations
    from runfile
  * fix file(MAKE_DIRECTORY): creates RESULT and <variable> folders
  * fix Wrong detection of LINKER_PUSHPOP_STATE_SUPPORTED
  * fix cmake-gui: Invalid error message "Error: could not load cache"
  * fix build with curl 8.13.0 (boo#1241036)
- Switch cmake-gui builds to Qt6.
- Add BuildRequires: qt6-macro to locate qhelpgenerator (in
  %_qt6_libexecdir) and add corresponding path to env PATH.
- Drop use of deprecated %suse_update_desktop_file macro and
  BuildRequires: update-desktop-files needed solely for this.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=633
2025-08-21 06:15:11 +02:00
6007b5b8bb Accepting request 1283475 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1283475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=268
2025-06-10 06:59:15 +00:00
83a6e28efe Fix changes file formatting
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=631
2025-06-06 01:13:34 +00:00
a58e54e6b8 - Replace usage of %jobs for reproducible builds (boo#1237231)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=630
2025-06-06 00:58:46 +00:00
762b4c6d96 - fix GUI build on openSUSE Leap 15.x
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=629
2025-06-05 11:33:30 +00:00
a807d743f1 Accepting request 1269554 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1269554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=267
2025-04-16 18:38:17 +00:00
0f47282945 cmake 3.31.7: fix build with curl 8.13.0 (boo#1241036)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=627
2025-04-15 10:12:58 +00:00
336c4009da Accepting request 1256407 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1256407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=266
2025-03-31 09:36:56 +00:00
3f1157bd13 * Switch cmake-gui builds to Qt6.
* Add BuildRequires: qt6-macro to locate qhelpgenerator (in   %_qt6_libexecdir) and add corresponding path to env PATH.
* Drop use of deprecated %suse_update_desktop_file macro and BuildRequires: update-desktop-files needed solely for this.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=625
2025-03-27 08:09:22 +00:00
0d578b3036 Accepting request 1252490 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1252490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=265
2025-03-13 14:04:03 +00:00
5e8951e3ef Add cmake-findhdf5-prefer-hl-compilers.patch -- FindHDF5: Prefer h5hl* compilers for HDF5_FIND_HL; patch submitted upstream [https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10450.patch]. This fixes hdf5_hl detection issues when building hdf5 >= 1.14 using cmake instead of autotools.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=623
2025-03-12 14:12:39 +00:00
7e640eee0e Accepting request 1249317 from devel:tools:building
- temporarily revert "make %cmake_{build, install} call cmake
  directly" as the fall out is too large. will be restored once
  fallout can be mitigated

- update to 3.31.6
  * cmGeneratorExpressionDAGChecker: Construct with initializer
    list syntax, De-duplicate constructor signature, Construct
    with initializer list syntax
  * GenEx: Restore evaluation context for conditional transitive
    properties, Fix evaluation of LINK_LIBRARIES as custom
    transitive property
  * GoogleTest: Restore support for spaces in explicit
    WORKING_DIRECTORY
--------------------------------------------------------------------
- make %cmake_{build, install} call cmake directly
  to auto set generator so that %global
  are no longer needed to set generators

OBS-URL: https://build.opensuse.org/request/show/1249317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=264
2025-03-02 11:17:11 +00:00
e522065a20 - temporarily revert "make %cmake_{build, install} call cmake
directly" as the fall out is too large. will be restored once
  fallout can be mitigated

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=621
2025-02-28 20:23:26 +00:00
e57f92fe83 Accepting request 1248344 from home:mathletic:branches:devel:tools:building
- update to 3.31.6
  * cmGeneratorExpressionDAGChecker: Construct with initializer
    list syntax, De-duplicate constructor signature, Construct
    with initializer list syntax
  * GenEx: Restore evaluation context for conditional transitive
    properties, Fix evaluation of LINK_LIBRARIES as custom
    transitive property
  * GoogleTest: Restore support for spaces in explicit
    WORKING_DIRECTORY

OBS-URL: https://build.opensuse.org/request/show/1248344
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=620
2025-02-25 11:51:45 +00:00
c1883da3ec OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=619 2025-02-24 15:08:40 +00:00
17ac9518b6 - make %cmake_{build, install} call cmake directly
to auto set generator so that %global

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=618
2025-02-24 08:47:37 +00:00
6f3ce5b1f3 Accepting request 1246816 from home:solomoncyj:branches:openSUSE:Factory
-
- make %cmake_{build, install} call cmake directly 
  to auto set generator so that %global 
  are no longer needed to set generators

OBS-URL: https://build.opensuse.org/request/show/1246816
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=617
2025-02-24 08:46:32 +00:00
668516984f Accepting request 1243476 from devel:tools:building
- update to 3.31.4
  * LFortran: Remove hard-coded --generate-object-code flag
  * FindBoost: Add support for Boost 1.87

OBS-URL: https://build.opensuse.org/request/show/1243476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=263
2025-02-07 21:46:36 +00:00
d13cd59e9e OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=615 2025-02-05 16:30:32 +00:00
9d84d8a21a Accepting request 1241050 from home:mathletic:branches:devel:tools:building
- update to 3.31.5
  * Clang/CUDA: Fix language-wide flags when linking .so with
    compiler driver
  * Tests: Update expected results for ninja post-1.12 development
  * FindMatlab: Fix multi-signature function documentation anchors
  * IAR: decouple linker location from toolkit's bin dir
  * install: Generate InstallScripts.json in consistent location
- update to 3.31.4
  * LFortran: Remove hard-coded --generate-object-code flag
  * FindBoost: Add support for Boost 1.87

OBS-URL: https://build.opensuse.org/request/show/1241050
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=614
2025-02-05 16:19:11 +00:00
b3fd23e81e Accepting request 1237387 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1237387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=262
2025-01-14 15:21:03 +00:00
53b0933ada Accepting request 1232944 from home:mathletic:branches:devel:tools:building
- update to 3.31.3
  * cmLocalUnixMakefileGenerator3: Simplify progress command
    generation
  * Makefile: Fix per-directory codegen target
  * Makefile: Enable progress messages for codegen target
  * cmGlobalNinjaGenerator: Fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/1232944
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=612
2025-01-13 11:01:02 +00:00
c6e83396d8 Accepting request 1229255 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1229255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=261
2024-12-10 22:42:54 +00:00
5139abc4b3 Accepting request 1228876 from home:mathletic:branches:devel:tools:building
- update to 3.31.2
  * GNU linker: Use single-argument form of --dependency-file flag
  * fileapi: Do not expose flags for linker-generated dependencies
  * LINK_OPTIONS: Fix crash on empty LINKER: prefix
  * FindRuby: Add support for 3.4
- update to 3.31.1
  * FindBoost: Add support for Boost 1.86
  * libarchive: Update script to get 3.7.7
  * execute_process: Restore CLOEXEC on OUTPUT_FILE and
    ERROR_FILE descriptors
  * LLD linker: avoid regression on archive libraries deduplication

OBS-URL: https://build.opensuse.org/request/show/1228876
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=610
2024-12-09 09:22:40 +00:00
0b575d8d16 Accepting request 1223606 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1223606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=260
2024-11-24 10:03:38 +00:00
63e360de57 Accepting request 1222559 from home:mathletic:branches:devel:tools:building
- update to 3.31.0
  * cmake-presets(7) files may now include comments using the key
    "$comment" at any level within the JSON object to provide
    documentation.
  * The Ninja Generators and Makefile Generators now produce a
    "codegen" build target.
  * The "CMAKE_LINK_LIBRARIES_STRATEGY" variable and corresponding
    "LINK_LIBRARIES_STRATEGY" target property were added to
    optionally specify the strategy CMake uses to generate link
    lines.
  * The "CMAKE_EXPORT_BUILD_DATABASE" variable, a corresponding
    "CMAKE_EXPORT_BUILD_DATABASE" environment variable, and an
    "EXPORT_BUILD_DATABASE" target property, were added to enable
    exporting C++ module compile commands. This is only supported
    with Ninja Generators.
  * The "CMAKE_<LANG>_HOST_COMPILER_ID" and
    "CMAKE_<LANG>_HOST_COMPILER_VERSION" variables were added,
    where "<LANG>" is either "CUDA" or "HIP".  They are populated
    when "CMAKE_<LANG>_COMPILER_ID" is "NVIDIA" to identify NVCC's
    host compiler.
  * The "file(DOWNLOAD)" and "file(UPLOAD)" commands now verify TLS
    server certificates for connections to "https://" URLs by
    default.

OBS-URL: https://build.opensuse.org/request/show/1222559
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=608
2024-11-12 09:41:39 +00:00
31cd6fb19d Accepting request 1217246 from devel:tools:building
- update to 3.30.5:
  * project: Only check non-cache vars when setting project vars

OBS-URL: https://build.opensuse.org/request/show/1217246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=259
2024-10-24 13:40:26 +00:00
357cf2f584 - update to 3.30.5:
* project: Only check non-cache vars when setting project vars

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=606
2024-10-23 08:36:58 +00:00
5ccc8b87df Accepting request 1204670 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1204670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=258
2024-10-01 15:11:02 +00:00
5751c58031 Accepting request 1204266 from home:mathletic:branches:devel:tools:building
- update to 3.30.4:
  * FetchContent: Don't update verify script timestamp if it
    doesn't change
  * project: Only define non-cache vars if already defined
  * librhash: aligned_alloc is not available with glibc < 2.16
  * FindPython: ensure all ABI are searched by default
  * FindMatlab: multiple fixes for MCR

OBS-URL: https://build.opensuse.org/request/show/1204266
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=604
2024-09-30 07:05:41 +00:00
d2dbbe3141 Accepting request 1198019 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1198019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=257
2024-09-02 11:13:08 +00:00
d2c108176b Accepting request 1197687 from home:mathletic:branches:devel:tools:building
- update to 3.30.3:
  * file(DOWNLOAD): Fix User-Agent to use run-time curl version
  * curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error
    codes
  * FindPython: fix regression of NumPy detection with Intel MKL
    library
  * FindPython: ensure a usable environment is set for the free
    threaded Python
  * project: non cache <project> prefix variables are created
  * FindJNI: Support finding libjvm.so for all OpenJDK variants
- Remove cmake-zerojvm.patch which is part of upstream

OBS-URL: https://build.opensuse.org/request/show/1197687
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=602
2024-08-31 09:20:12 +00:00
d415c85999 Accepting request 1191412 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1191412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=256
2024-08-05 15:20:15 +00:00
e2db82e999 Accepting request 1191333 from home:AndreasStieger:branches:devel:tools:building
cmake 3.30.2

OBS-URL: https://build.opensuse.org/request/show/1191333
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=600
2024-08-03 11:44:23 +00:00
abab63baa9 Accepting request 1189971 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1189971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=255
2024-07-30 09:53:11 +00:00
7a51a95df7 Accepting request 1189879 from home:mathletic:branches:devel:tools:building
- Add curl-8.9.0-output.patch to fix test for different output
  with cURL 8.9.0. Part of upstream and will be part of 3.31.0.

OBS-URL: https://build.opensuse.org/request/show/1189879
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=598
2024-07-28 07:13:05 +00:00
b58a62ba1e Accepting request 1188989 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1188989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=254
2024-07-24 13:29:41 +00:00
6b8bb758e7 Accepting request 1188712 from home:mathletic:branches:devel:tools:building
- update to 3.30.1
  * Tests: Fix RunCMake.ExternalProject when git is not available
  + Restore support for exporting INTERFACE with missing
    dependencies
  * FindMatlab: Restore support for finding Matlab without any
    languages
  * libuv: backport IDNA input/output hardening fixes
  * IntelLLVM: Update toolchain layout for 2024+ versions
  * Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
- Drop cmake-fix-test-without-git.patch which is part of 3.30.1

OBS-URL: https://build.opensuse.org/request/show/1188712
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=596
2024-07-22 10:11:12 +00:00
8c72cc29d0 Accepting request 1186108 from devel:tools:building
- udate to 3.30.0
  * "cmake-presets(7)" files now support schema version "9".
    "include"  fields now expand all macros except "$env{}" and
    preset-specific macros, i.e., those derived from the fields
    inside a preset's definition.
  * The "Compile Features" functionality now implements support
    for the "cxx_std_26" and "cuda_std_26" meta-features to
    indicate that the compiler mode must be at least C++26.
  * The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
    describe the latest "<LANG>" language standard CMake supports
    for the selected compiler.
  * The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
    environment variable were added to specify a default minimum
    TLS version for connections to "https://" URLs by the
    "file(DOWNLOAD)" and "file(UPLOAD)" commands.
  * The "GENERATED" source file property is now visible in all
    directories.  See policy "CMP0163".  Policy "CMP0118"'s
    documentation has been revised to describe its actual effects.
  * The "TARGET_PROPERTY" generator expression learned to evaluate
    custom transitive properties.
  * The "CPack WIX Generator" gained support for WiX Toolset v4.
    See the "CPACK_WIX_VERSION" variable.
  * The "FindBoost" module has been removed by policy "CMP0167".
    Port projects to upstream Boost's "BoostConfig.cmake" package
    configuration file, for which "find_package(Boost)" now
    searches.
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
  conditionally when Git is found, upstream planned for 3.30.1

OBS-URL: https://build.opensuse.org/request/show/1186108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=253
2024-07-09 18:02:43 +00:00
e6bb0309f9 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=594 2024-07-08 08:23:47 +00:00
2834a16e19 - convert ctest to skip first non-parmetic parameter
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=593
2024-07-07 15:47:01 +00:00
cc24391305 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=592 2024-07-07 11:47:24 +00:00
c744771f50 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=591 2024-07-07 10:09:10 +00:00
c1b3d01721 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=590 2024-07-06 19:11:24 +00:00
076e2d5224 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=589 2024-07-06 18:43:01 +00:00
41a51d0fe5 - convert ctest to non-paramatic macro like the other cmake* ones
are

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=588
2024-07-06 12:49:55 +00:00
22bd47c7d8 Accepting request 1185206 from home:mathletic:branches:devel:tools:building
- udate to 3.30.0
  * "cmake-presets(7)" files now support schema version "9".
    "include"  fields now expand all macros except "$env{}" and
    preset-specific macros, i.e., those derived from the fields
    inside a preset's definition.
  * The "Compile Features" functionality now implements support
    for the "cxx_std_26" and "cuda_std_26" meta-features to
    indicate that the compiler mode must be at least C++26.
  * The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
    describe the latest "<LANG>" language standard CMake supports
    for the selected compiler.
  * The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
    environment variable were added to specify a default minimum
    TLS version for connections to "https://" URLs by the
    "file(DOWNLOAD)" and "file(UPLOAD)" commands.
  * The "GENERATED" source file property is now visible in all
    directories.  See policy "CMP0163".  Policy "CMP0118"'s
    documentation has been revised to describe its actual effects.
  * The "TARGET_PROPERTY" generator expression learned to evaluate
    custom transitive properties.
  * The "CPack WIX Generator" gained support for WiX Toolset v4.
    See the "CPACK_WIX_VERSION" variable.
  * The "FindBoost" module has been removed by policy "CMP0167".
    Port projects to upstream Boost's "BoostConfig.cmake" package
    configuration file, for which "find_package(Boost)" now
    searches.
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
  conditionally when Git is found, upstream planned for 3.30.1

OBS-URL: https://build.opensuse.org/request/show/1185206
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=587
2024-07-04 07:04:30 +00:00
16 changed files with 133 additions and 836 deletions

View File

@@ -1,7 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">10</size>
<size unit="G">9</size>
</disk>
</hardware>
</constraints>

15
cmake-3.20.4-SHA-256.txt Normal file
View File

@@ -0,0 +1,15 @@
9aa2607c3d96b63fb0899ad05c18fb3ff3651ce4564459f200f654ad06a57df5 cmake-3.20.4-files-v1.json
d0c0d0b474ce9226fb97082b5b35bab473b1b36f8ef457c068faa06081210f33 cmake-3.20.4-linux-aarch64.sh
d66869db7c0da56f2e32271e264756382f2f17e2421ac67f1372953cf8ec51a2 cmake-3.20.4-linux-aarch64.tar.gz
497ba08b694afca57e8c808e0b8db0be1e26398c455e399609dfb1905f3ba49c cmake-3.20.4-linux-x86_64.sh
067feed25b76b3adf5863f5a5f7e2b8cafb2dcd6feeaac39a713372ef2c3584c cmake-3.20.4-linux-x86_64.tar.gz
4db0d5f0f7bbbe19302067f21e5a2be8235b44b1b465c117006fb154432f6873 cmake-3.20.4-macos-universal.dmg
df90016635e3183834143c6d94607f0804fe9762f7cc6032f6a4afd7c19cd43b cmake-3.20.4-macos-universal.tar.gz
2a7242cebe6d2f570c40f88b0ee4c29d9a9c81cc7eb7ca76d851752fbfa3f62f cmake-3.20.4-macos10.10-universal.dmg
368bf3bedac38a931a334b9b515d83879c82dacd55eed2adb1ef2725b9038607 cmake-3.20.4-macos10.10-universal.tar.gz
72d05ce962dc97eda9e1fbd40b4c8c60f64da2d870136ca760c7826e59f7f926 cmake-3.20.4-windows-i386.msi
e571c0cebb237da800198ef89d1c874d15f04dfe13dc44d85c2a56e90a4a5209 cmake-3.20.4-windows-i386.zip
2a6fa766187812bb2a4db1746ad119a8f215fb1b57debe8a5ef66b9757e0b8db cmake-3.20.4-windows-x86_64.msi
965d2f001c3ca807d288f2b6b15c42b25579a0e73ef12c2a72c95f4c69123638 cmake-3.20.4-windows-x86_64.zip
87a4060298f2c6bb09d479de1400bc78195a5b55a65622a7dceeb3d1090a1b16 cmake-3.20.4.tar.gz
943a80de2520c5c053bcca7c93d4613e1f74e9faa95d3cb0429ce785e9d0b382 cmake-3.20.4.zip

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmDHfU8ACgkQLSzvEDSS
FoSY5A//WT0qLwgfRYYvOqDiF3SyR4kmmHOCTobE518UOXArNDyUp12VRSHxn5OJ
0cmOt/pSWAUCJwP8IIoML+N+sax4g0mTOeKL6kJIui9xDLObQh8Itil1ExSAoANl
P4NdujAz8RnMb/wUCS5fI2iAp7d5m12CfJtbp2krs0QCpnSskBUG+kQM96A17ubh
hhKXPVb8B95us2aN/ITT8N2l1RxpnZcNwN3wHdjuFMSgReCakLKOtSEvds60njmk
F3Hk8TBQrazXPDS6LBeoghup2xm3NqzrKY+ozzLwFAZimGi/+9UYv/OYgStBYVh2
PgfcG3SDOdcYP/0I3g7hGUTAqRY9S67PP2ZG4I6093TUUwU8W+btdOUL3P3QCQ0H
qkTdTOj0vFFvTLyQ9OH+nkbPFOzp7f9Czt/tSBlp7DHHRwtcw/Qaav4VT08wMDdf
bYhSWqWCG85SSZQMMGCmYeIumQ9u7RmGvy8kx3bx0ia1CtMUisx9XLW+JeFUsdku
fudnR5nlFcci+I7JL8izxxccsIzXdh7iriQ0yghp9xNj7kQ0snLOwUPsp7UFC0Rj
ukl1e0D82JtZPwJFLmbV+O/x7DXpBEmv1zkktb0aQ6Pu9LrsuDPKPw66nDa8ilxB
rY1tCoX2W4OMv+oWxm/k0sn44tumhDavNlfvDpSvbt3vqJ09++M=
=JSGc
-----END PGP SIGNATURE-----

BIN
cmake-3.20.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,17 +0,0 @@
6202fac4a0a9cc6da7e7fd91599e2a25692ce648ca93115ada7adde6e13d7ce8 cmake-3.29.6-files-v1.json
cd1e96e9337521197a7e9ca29005c6ee36dac702d31c44737122a8e42277c468 cmake-3.29.6-linux-aarch64.sh
4d6b0a551db9da7a034a09372f716cf2094413d7fd8a787051854154b0b3b343 cmake-3.29.6-linux-aarch64.tar.gz
6e4fada5cba3472ae503a11232b6580786802f0879cead2741672bf65d97488a cmake-3.29.6-linux-x86_64.sh
28fef61e64840b784da6db35218fd3ae179ff8bf0be1c8a9d075d6185a0e4fdc cmake-3.29.6-linux-x86_64.tar.gz
f3a618ed177ac7ef5869659bcee9a5978465ffa989ace2844bb679d1b22dae06 cmake-3.29.6-macos-universal.dmg
c3029b29fa47747b69a1e0d3466af62b26af9ff6a5f10608a3bcdcc076810e4c cmake-3.29.6-macos-universal.tar.gz
cc2db7ab8213470f3c4db55a66d69bca08588ba67f9bcfa0899a4876bdd12f6d cmake-3.29.6-macos10.10-universal.dmg
a65f9e66c63bb79f3b6f00e4b67367b6f6c40030ee41cf06580818a74a84b3e9 cmake-3.29.6-macos10.10-universal.tar.gz
39c355f180814b501f64a3ba1b395a467443c12bd5d5c8d9335989158fdbdbde cmake-3.29.6-windows-arm64.msi
8f0df498d8b1a076fc9305dde5a06427262a0476e89d4c670a49147b0bc30761 cmake-3.29.6-windows-arm64.zip
f0e745618580fb4adb0858d9b961be272500bd80b5bce5591b0ebd8e858b3819 cmake-3.29.6-windows-i386.msi
aca4abb4ad7eb7d97647a572132735af2bd35687826e96f7d23dd7f4d2d7d4a9 cmake-3.29.6-windows-i386.zip
b93ec89d545c39b7bad421bcdecace9faac6483a3ce5bfa24cb948ac07adbc48 cmake-3.29.6-windows-x86_64.msi
5c648eac06c33477e510bae14ce1f969e9abb38992b71f245633b182fccb474d cmake-3.29.6-windows-x86_64.zip
1391313003b83d48e2ab115a8b525a557f78d8c1544618b48d1d90184a10f0af cmake-3.29.6.tar.gz
79e2fc075b2aa1d93bea55b606a6a053c77c964d30319ba972046bf6cd327d11 cmake-3.29.6.zip

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmZwjB4ACgkQLSzvEDSS
FoSc6RAAnwLxcYrVtPQJUVURDShbt7JU6XjhadymMW0ThJ0sflLGe1kb6wwVvhXS
wyu6c80gytIPfjlPX5+jWVNk1xBJjiU6VQxsHfeOHOg4Gu5JcStru3TFVsD/vXbC
sBlnjqeP1pwsPx9RI8e5RXgRm4ydnykMVhPqY8IPOQ6kslYljVJ62ICWe/Zv4qhZ
Z4TsPm1lYKuST6wFuMrIviJdK9CTNsX+OSbykQSrPSdACEWx1OEKYsEOb5Xzjb1Q
vc6w18xyBy5VV20EtYy4yUYykpWuVNej9lNmDdhxWEioBWLmZLWBphgUECHc4Jto
5GTvM7iCDkxeJ42RVq3JZKMNXy/oZK7wJPrBtQvwslaYz5Q3NbgFq3Fhp1QsLm6B
D4p/TWnMc6Lp2rDHwk0uunewOJT8d9JI14sdEluH+BAVXa7mFzJ9bCaQLxoPinQ7
qesXk/agRw5FTd/yQ3vqJCLyj4ONw6QTlmlemMm781p08+ngeOXw+MnwQzsGlVfO
jOxyQvBkHl0g6ViX4IVVOqqjscbvzd3vR4HVa8bHdjssaEGiFVlV43Hk5NbNMkMe
6SLYvuIZMunVbTuAjcHTtQL1Gpr42zA8Y/iL51+KFc8a92sWimcpq+oJf2GOUVCp
qnySsm7wNKDUSHz9JeY8Duez2wJ9fcOgKbUSPegzvsyIdwOCcMg=
=cyLM
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1391313003b83d48e2ab115a8b525a557f78d8c1544618b48d1d90184a10f0af
size 11248411

View File

@@ -0,0 +1,23 @@
Index: b/Modules/FindPNG.cmake
===================================================================
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -54,12 +54,16 @@
find_package(ZLIB ${_FIND_ZLIB_ARG})
if(ZLIB_FOUND)
- find_path(PNG_PNG_INCLUDE_DIR png.h PATH_SUFFIXES include/libpng)
+ set(_PNG_VERSION_SUFFIXES 17 16 15 14 12)
+ foreach(v IN LISTS _PNG_VERSION_SUFFIXES)
+ list(APPEND _PNG_INCLUDE_SUFFIXES libpng${v})
+ endforeach()
+ find_path(PNG_PNG_INCLUDE_DIR png.h PATH_SUFFIXES include/libpng ${_PNG_INCLUDE_SUFFIXES})
+ unset(_PNG_INCLUDE_SUFFIXES)
mark_as_advanced(PNG_PNG_INCLUDE_DIR)
list(APPEND PNG_NAMES png libpng)
unset(PNG_NAMES_DEBUG)
- set(_PNG_VERSION_SUFFIXES 17 16 15 14 12)
if (PNG_FIND_VERSION MATCHES "^([0-9]+)\\.([0-9]+)(\\..*)?$")
set(_PNG_VERSION_SUFFIX_MIN "${CMAKE_MATCH_1}${CMAKE_MATCH_2}")
if (PNG_FIND_VERSION_EXACT)

View File

@@ -1,8 +1,8 @@
Index: cmake-3.26.2/Modules/FindRuby.cmake
Index: b/Modules/FindRuby.cmake
===================================================================
--- cmake-3.26.2.orig/Modules/FindRuby.cmake
+++ cmake-3.26.2/Modules/FindRuby.cmake
@@ -313,7 +313,7 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_
--- a/Modules/FindRuby.cmake
+++ b/Modules/FindRuby.cmake
@@ -290,7 +290,7 @@
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
# vendor_ruby available ?

39
cmake-python311plus.patch Normal file
View File

@@ -0,0 +1,39 @@
Index: cmake-3.20.4/Modules/FindPython/Support.cmake
===================================================================
--- cmake-3.20.4.orig/Modules/FindPython/Support.cmake
+++ cmake-3.20.4/Modules/FindPython/Support.cmake
@@ -22,7 +22,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUI
message (FATAL_ERROR "FindPython: INTERNAL ERROR")
endif()
if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "3")
- set(_${_PYTHON_PREFIX}_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+ set(_${_PYTHON_PREFIX}_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "2")
set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
else()
Index: cmake-3.20.4/Modules/FindPythonInterp.cmake
===================================================================
--- cmake-3.20.4.orig/Modules/FindPythonInterp.cmake
+++ cmake-3.20.4/Modules/FindPythonInterp.cmake
@@ -54,7 +54,7 @@ unset(_Python_NAMES)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
-set(_PYTHON3_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(PythonInterp_FIND_VERSION)
if(PythonInterp_FIND_VERSION_COUNT GREATER 1)
Index: cmake-3.20.4/Modules/FindPythonLibs.cmake
===================================================================
--- cmake-3.20.4.orig/Modules/FindPythonLibs.cmake
+++ cmake-3.20.4/Modules/FindPythonLibs.cmake
@@ -79,7 +79,7 @@ set(CMAKE_FIND_FRAMEWORK LAST)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
-set(_PYTHON3_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(PythonLibs_FIND_VERSION)
if(PythonLibs_FIND_VERSION_COUNT GREATER 1)

View File

@@ -1,10 +0,0 @@
--- cmake-3.28.1/Modules/FindJNI.cmake 2024-02-14 13:10:42.173018608 +0100
+++ cmake-3.28.1/Modules/FindJNI.cmake 2024-02-14 17:43:00.956527142 +0100
@@ -344,6 +344,7 @@
"${dir}"
"${dir}/client"
"${dir}/server"
+ "${dir}/zero"
# IBM SDK, Java Technology Edition, specific paths
"${dir}/j9vm"
"${dir}/default"

View File

@@ -1,697 +1,20 @@
-------------------------------------------------------------------
Wed Jun 19 07:56:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
Mon Jan 22 20:55:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.29.6:
* The :cpack_gen:`CPack WIX Generator`'s
:variable:`CPACK_WIX_INSTALL_SCOPE` variable, new in 3.29, now
defaults to ``NONE``. This restores
compatibility with behavior of 3.28 and below: without a custom WiX
template, it produces installers that only create start menu
and uninstall entries for the current user, even though they
install for all users.
* In 3.29.0 through 3.29.4, ``CPACK_WIX_INSTALL_SCOPE`` defaulted
to ``perMachine``. This created MSI installers that create
start menu and uninstall entries for all users by default.
While this behavior is better on its own, these installers do
not cleanly replace existing installations created with MSI
installers produced by 3.28 and below. 3.29.5 reverts the
default for compatibility. Projects may transition to
``perMachine`` on their own schedule by setting
``CPACK_WIX_INSTALL_SCOPE``.
- add cmake-python311plus.patch: Detect PSP interpreter
(jsc#PED-68)
-------------------------------------------------------------------
Tue Jun 4 12:47:02 UTC 2024 - Christoph G <foss@grueninger.de>
Fri Nov 10 08:36:34 UTC 2023 - Paolo Stivanin <pstivanin@suse.com>
- update to 3.29.4
* cmCxxModuleMapper: add a query for the open mode for the modmap
* CMP0037: Restore diagnostic message for invalid ALIAS target names
* libuv: win/spawn: disable extra-file-descriptor support not needed by CMake
* Tests/RunCMake/execute_process: Check STARTUPINFOW reserved members
- Add '-type f' to cmake.macros (fix boo#1217009)
-------------------------------------------------------------------
Wed May 8 14:30:20 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.29.3
* Tests/CXXModules: test exporting modules which include headers
* FindBoost: Add support for Boost 1.85
* FindHDF5: Fix detection of versions with more than three components
-------------------------------------------------------------------
Fri Apr 12 06:09:54 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.29.2
* Fix regression on reconfigure with unnormalized
-DCMAKE_<LANG>_COMPILER=
* CMakePackageConfigHelpers: Restore undocumented
PACKAGE_PREFIX_DIR variable
* Swift: Ninja: Remove module dependency for executables
* FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONS
* FindOpenSSL: Update layout for Shining Light Productions
-------------------------------------------------------------------
Thu Apr 4 12:17:57 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.29.1
* IntelLLVM: Revert accidental use of -external:I with Fortran
compilers
* libuv: process: de-duplicate conditions for using kqueue
* ctest: Restore enforcement of RESOURCE_LOCK test property
* try_compile(): Include languages with _ or - when passing linker vars
* Swift: Add CMAKE_LINKER_TYPE support
* FindMatlab: R2024a version map
-------------------------------------------------------------------
Thu Mar 21 19:24:26 UTC 2024 - Christoph G <foss@grueninger.de>
- update to 3.29
* The “cmake_language(EXIT)” sub-command was added to terminate
“cmake -P” scripts with a specified exit code.
* The “CMAKE_LINKER_TYPE” variable and corresponding “LINKER_TYPE”
target property were added to specify what linker to use with
some toolchains.
-------------------------------------------------------------------
Sun Feb 25 09:30:03 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.28.3:
* Fixes for Freetype with ZLIB, execute_process, Autogen, Matlab,
and various bugs
-------------------------------------------------------------------
Thu Feb 22 11:59:08 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
- Fix python dependencies: python 3.11 is only needed for build (boo#1218125).
-------------------------------------------------------------------
Wed Feb 14 16:46:22 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* cmake-zerojvm.patch
+ fix JVM detection on JDKs with ZERO virtual machine, like
java-21-openjdk for armv6l
-------------------------------------------------------------------
Fri Jan 19 19:25:29 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Revert the linker flags revert. Instead of increasing differences
between SLE/Leap and Tumbleweed and risking silent breakage of
dozens of packages due to underlinking, fix the one failing
package.
-------------------------------------------------------------------
Fri Jan 19 15:26:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix incorrect requires on libuv1 on non-suse distributions
-------------------------------------------------------------------
Thu Jan 18 15:00:58 UTC 2024 - Ludwig Nussel <lnussel@suse.com>
- Revert "-Wl,--no-undefined" as it still breaks packages (boo#1218620)
-------------------------------------------------------------------
Wed Jan 17 19:54:04 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
- macros: Set some more variables notable %{_docdir} so that GNUInstallDirs
works fully on openSUSE. Packages using CMAKE_INSTALL_DOCDIR fail otherwise.
-------------------------------------------------------------------
Thu Jan 11 10:21:03 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
- Use new enough Sphinx on SLE (jsc#PED-7572 boo#1218125).
-------------------------------------------------------------------
Thu Jan 11 01:28:45 UTC 2024 - Simon Lees <sflees@suse.de>
- A quick note for the bots that boo#1217009 is already fixed
in tumbleweed
-------------------------------------------------------------------
Wed Dec 27 12:56:45 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Re-add "-Wl,--no-undefined" linker flags for executables and
regular shared libraries. Shared library targets which are used
as plugins/modules should use `add_library(... MODULE ...), which
uses the "CMAKE_MODULE_LINKER_FLAGS".
-------------------------------------------------------------------
Thu Dec 14 21:06:23 UTC 2023 - Christoph G <foss@grueninger.de>
- update to 3.28.1
* cmGeneratorTarget: disable C++ module scanning for verify targets
* cmQtAutoGenInitializer: disable C++ module scanning for autogen sources
* cmLocalGenerator: disable C++ module scanning for copied PCH sources
* cmLocalGenerator: disable C++ module scanning for unity sources
* cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files
* FindFreetype: always find the config module quietly
* FindFreetype: also consider RelWithDebInfo-built libraries
* FindTIFF: always find the config module quietly
* FindTIFF: consider `IMPLIB`-using platforms
* FindCUDAToolkit: Fix stub library representation on reconfigure
* FindMatlab: Fix regression on Windows Registry lookup failure
* FindFreetype: Fix success message when config module is found
* FindTIFF: Restore support for projects that do not enable CMP0057
* FindMatlab: Fix processing of multiple versions from Windows Registry
-------------------------------------------------------------------
Wed Dec 6 21:10:49 UTC 2023 - Christoph G <foss@grueninger.de>
- update to 3.28.0
* C++ 20 named modules are now supported by Ninja Generators, in
combination with LLVM/Clang 16.0 and newer, and GCC 14 (after
the 2023-09-20 daily bump) and newer.
* "HIP" language code may now be compiled for NVIDIA GPUs using
the NVIDIA CUDA Compiler (NVCC).
* The "exec_program()" command, which has been deprecated since
CMake 3.0, has been removed by policy "CMP0153". Use the
"execute_process()" command instead.
* Generated files, in targets using File Sets, are now considered
private by default. Generated public headers must be specified
using file sets.
* The "find_library()", "find_path()", and "find_file()" commands no
longer search in installation prefixes derived from the "PATH"
environment variable.
-------------------------------------------------------------------
Wed Nov 29 21:07:37 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.27.9:
* cmake-file-api(7) "codemodel" version 2 "target" object fileSets
field was introduced by CMake 3.26.0 with entries of its
baseDirectories member incorrectly expressed as absolute paths
even if they are inside the top-level source directory, now
fixed. Clients must be updated to expect relative paths under
the top-level source directory.
* Fortran: Revert 3.27.0 change to module dependency scanning
-------------------------------------------------------------------
Mon Nov 27 08:30:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.27.8 (bsc#1215888, CVE-2023-38545):
* cmComputeLinkDepends: also copy the target from object link items
* cmComputeLinkInformation: skip over linking to items for object purposes
* Fortran: Restore support for TARGET_OBJECTS providing modules
* curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
* GetPrerequisites: Revert “Ignore relative paths printed by ldd”
* cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
* cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
* FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2
-------------------------------------------------------------------
Fri Oct 13 08:06:23 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- update to 3.27.7:
* Tests: Clarify RunCMake.CTestTimeout case name
* ctest: Restore support for --timeout values higher than default test timeout
* Help: Document CMP0124 behavior on already-set variables
* FindPostgreSQL: Add support for version 16
-------------------------------------------------------------------
Fri Sep 15 05:49:45 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- update to 3.27.5:
* cmGeneratorTarget: support config-independent Fortran source queries
* cmComputeLinkInformation: compute link info for module-using targets
* FortranCInterface: forward CMAKE_OSX_DEPLOYMENT_TARGET
* cxxmodules: detect and message about non-compiled sources
* Source: Link libatomic when needed on any Linux architecture
* Help: MSVC_DEBUG_INFORMATION_FORMAT is initialized from associated variable
* FindBoost: Add support for Boost 1.83
* Autogen: Evaluate INTERFACE_AUTOMOC_MACRO_NAMES efficiently
* VS: Avoid unnecessary CUDA device linking for OBJECT libraries
-------------------------------------------------------------------
Wed Aug 23 20:04:25 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.27.4:
* Fix support for Intel compiler with modern GNU system compiler
* Graphviz: Restore support for per-target dependency graph options
* FindOpenSSL: Fix OpenSSL 3.0.0 version extraction
-------------------------------------------------------------------
Sat Aug 12 12:38:42 UTC 2023 - Christoph G <foss@grueninger.de>
- update to 3.27.2
* Tests: Remove redundant condition in RunCMake.GeneratorPlatform
test
* file(GENERATE): Restore INPUT|CONTENT parse checking
* cmList: Fix performance regression in append/prepend
-------------------------------------------------------------------
Fri Jul 28 18:41:34 UTC 2023 - Christoph G <foss@grueninger.de>
- Update to 3.27.1
* cmComputeLinkInformation: track OBJECT library dependencies
* cmTarget: Restore Fortran_PREPROCESS property initialization
* FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-empty
* CTest: Fix regression in calculating test timeout
-------------------------------------------------------------------
Tue Jul 18 20:29:18 UTC 2023 - Christoph G <foss@grueninger.de>
- Update to 3.27.0
* “cmake(1)” now supports interactive debugging of the CMake language.
See the “debugger” option.
* The “SKIP_LINTING” source file property was added to suppress
target-wide code checks on specific sources.
* The “COMPILE_ONLY” generator expression was added to specify
compilation usage requirements without any linking requirements.
* The “FindCUDA” module, which has been deprecated since CMake 3.10,
has been removed by policy “CMP0146”.
* The “FindPythonInterp” and “FindPythonLibs” modules, which have been
deprecated since CMake 3.12, have been removed by policy “CMP0148”.
Port projects to “FindPython3”, “FindPython2”, or “FindPython”.
* “cmake build $dir verbose” will now print the working directory
and command line used to perform the build.
- Debug feature introduces new dependency to cppdap which is not
yet packaged. Thus we use cppdap code provided by CMake.
- Drop cmake-fix-png-include-dir.patch and glibc-236.patch as they
are included in this release
-------------------------------------------------------------------
Thu Jul 6 07:16:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
- rebuild cmake-full on libuv updates (bsc#1212090)
-------------------------------------------------------------------
Mon Jun 12 22:59:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
- modify shebang to the actual python interpreter on install
-------------------------------------------------------------------
Fri May 19 07:20:35 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- Update to 3.26.4:
* Some implementation updates were made to support ecosystem changes
and/or fix regressions.
-------------------------------------------------------------------
Mon May 8 01:18:45 UTC 2023 - Neal Gompa <ngompa@opensuse.org>
- macros: Drop "-Wl,--no-undefined" as it breaks packages that
build plugins
-------------------------------------------------------------------
Fri Apr 21 19:24:16 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- macros: Re-add old setup on top of new - some applications still
use the old version
-------------------------------------------------------------------
Thu Apr 20 19:52:52 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- macros: substitute exactly once otherwise some non default values
won't work
-------------------------------------------------------------------
Wed Apr 5 16:34:32 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.26.3:
* Fixes for VS (Intel Fortran) and Xcode (Swift)
-------------------------------------------------------------------
Sat Apr 1 14:14:02 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- macros: Convert to GNUInstallDirs
* some of the old values such as SYSCONF_INSTALL_PATH aren't
used anymore
* RUNSTATEDIR and SHAREDSTATEDIR weren't set and the defaults
are different to us
* SHAREDSTATEDIR isn't under /usr so isn't relative
-------------------------------------------------------------------
Thu Mar 30 14:02:27 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
- update to 3.26.2:
* This version made no changes to documented features or interfaces.
Some implementation updates were made to support ecosystem changes
and/or fix regressions.
-------------------------------------------------------------------
Fri Mar 24 22:45:12 UTC 2023 - Christoph G <foss@grueninger.de>
- update to 3.26.1
* Fixes for C++ module support
* FindPython: ensure Stable ABI is correctly handled
-------------------------------------------------------------------
Tue Mar 14 20:15:20 UTC 2023 - Christoph G <foss@grueninger.de>
- update to 3.26.0
* The “ASM_MARMASM” language was added to support the Microsoft
ARM assembler language.
* CMake now writes a YAML log of configure-time checks to
“CMakeFiles/CMakeConfigureLog.yaml” under the top of the build
tree.
* The “cmake-file-api(7)” “codemodel” version 2 “target” object
gained a new “fileSets” field and associated “fileSetIndex”
field to “sources” objects.
-------------------------------------------------------------------
Tue Mar 14 19:18:47 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.25.3:
* no changes to documented features or interfaces. Some
implementation updates were made to support ecosystem changes
and/or fix regressions
-------------------------------------------------------------------
Sat Jan 21 09:17:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.25.2:
* CUDA language level 20 (corresponding to C++20) is now supported with NVCC 12.0
and above.
-------------------------------------------------------------------
Thu Dec 1 19:45:57 UTC 2022 - Christoph G <foss@grueninger.de>
- Update to 3.25.1
* Tests: Update FindBoost.TestPython for Python 3.11 and 3.12
* try_compile: Restore COPY_FILE with
CMAKE_TRY_COMPILE_CONFIGURATION
* FindCUDA: Do not use CUDA_nppicom_LIBRARY in CUDA 11.0+
-------------------------------------------------------------------
Thu Nov 17 05:37:38 UTC 2022 - Christoph G <foss@grueninger.de>
- Update to 3.25.0
* The “find_file()”, “find_path()”, “find_library()”, and
“find_program()” commands gained a “VALIDATOR” option to
specify a function to be called for each candidate item
to validate it.
* The “try_compile()” and “try_run()” commands gained new
signatures that more consistently use keyword dispatch
and do not require a binary directory to be specified.
* The “add_subdirectory()” command gained a “SYSTEM” option
to enable the “SYSTEM” directory property in the
subdirectory.
* The “block()” and “endblock()” commands were added to manage
specific scopes (policy or variable) for a contained block
of commands.
* The “return()” command gained a “PROPAGATE” option to
propagate variables to the scope to which control returns.
* The “LINUX” and “CMAKE_HOST_LINUX” variables are now set
to true when the target or host system is Linux,
respectively.
-------------------------------------------------------------------
Wed Nov 2 16:09:11 UTC 2022 - Christoph G <foss@grueninger.de>
- Update to 3.24.3
* LLVMFlang: Add support for mixed-language linking with Fortran
* FindMatlab: add R2022b 9.13 version map
* Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag
* CUDA: Add support for the two new architectures in 11.8
-------------------------------------------------------------------
Sat Sep 17 05:39:34 UTC 2022 - Christoph G <foss@grueninger.de>
- Update to 3.24.2:
* FindBoost: Add support for Boost 1.80
* Check link libraries properties: fix performances regression
-------------------------------------------------------------------
Tue Aug 23 15:05:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add glibc-236.patch (bsc#1202208)
-------------------------------------------------------------------
Thu Aug 18 09:04:40 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- Update to 3.24.1:
* automoc: avoid compiler warnings in linker-warning-silencing code
* FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
* IPO: Do not use -flto=auto with GCC 10.x on Windows
* export: Restore exclusion of private shared library dependencies from checks
* FindVulkan: Restore tolerance of unknown FATAL_ERROR component
* Help: Add 3.24 release note about FindVulkan component enforcement
* TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
* Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
* Help: A missing cross-reference to --compile-no-warning-as-error
-------------------------------------------------------------------
Thu Aug 4 21:20:12 UTC 2022 - Christoph G <foss@grueninger.de>
- Update to 3.24.0
* The “FetchContent” module and the “find_package()” command
now support integration capabilities.
* The “LINK_LIBRARY” generator expression was added to manage
how libraries are specified during the link step.
* “cmake(1)” gained the “fresh” command-line option to remove
any existing “CMakeCache.txt” file and associated
“CMakeFiles/” directory, when configuring a build tree, thus
starting a new configuration as if the build tree were
freshly created.
* The “find_file()”, “find_path()”, “find_library()”,
“find_program()”, and “find_package()” commands gained the
“NO_CMAKE_INSTALL_PREFIX” option to control searching
“CMAKE_INSTALL_PREFIX”.
-------------------------------------------------------------------
Tue Aug 2 09:04:01 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- Update to 3.23.3:
* This version made no changes to documented features or interfaces.
Some implementation updates were made to support ecosystem changes
and/or fix regressions.
- Rebase cmake-fix-ruby-test.patch
- Rebase cmake-fix-png-include-dir.patch
-------------------------------------------------------------------
Sat Jul 2 07:32:54 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Fix the %%cmake macro which tried to run sed on 'CMakeLists.txt'
without making sure it's not a folder (boo#1217009).
-------------------------------------------------------------------
Sun Jun 5 00:03:22 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.23.2:
* The ``CPACK_PACKAGEMAKER_CHOICES`` variable used in the
``CPack.distribution.dist.in`` template file was replaced by a new
``CPACK_APPLE_PKG_INSTALLER_CONTENT`` variable in CMake 3.23.0.
This broke projects that provided their own template file but still
expected the ``CPACK_PACKAGEMAKER_CHOICES`` variable to be defined.
The old ``CPACK_PACKAGEMAKER_CHOICES`` variable is now also set to the
same content as it was before, but it is formally deprecated.
-------------------------------------------------------------------
Sat May 28 18:54:48 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Edit cmake.macros: Stop injecting -DNDEBUG at the end of
CFLAGS. It's impossible to override by re-setting CFLAGS, and
if it were really wanted globally, it should be in %optflags
instead.
-------------------------------------------------------------------
Wed Apr 13 20:48:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.23.1:
* The target_sources() FILE_SET feature added in CMake 3.23.0 does not yet
place header files properly in Apple FRAMEWORK targets. Pending further
work in a future version of CMake, it is now an error to add a FILE_SET of
type HEADERS to such targets on Apple platforms.
* The HEADER_SETS and INTERFACE_HEADER_SETS target properties added in CMake
3.23.0 are now read-only records of the header sets created by the
target_sources() command.
-------------------------------------------------------------------
Fri Apr 8 11:48:04 UTC 2022 - Dirk Müller <dmueller@suse.com>
- speed up build of :mini flavor by using external zstd (part of 0-Bootstrap)
and turn off LTO
-------------------------------------------------------------------
Tue Mar 29 19:18:02 UTC 2022 - Christoph G <foss@grueninger.de>
- Update to 3.23.0
* "cmake-presets(7)" files now have an optional "include" field,
which allows the files to include other files.
* The "install(TARGETS)" command gained a new "FILE_SET" argument,
which can be used to install header file sets associated with a
target.
* The "target_sources()" command gained a new "FILE_SET" mode,
which can be used to add headers as header-only source files of
a target.
* The "CMAKE_CUDA_ARCHITECTURES" variable and associated
"CUDA_ARCHITECTURES" target property now support the "all", and
"all-major" values for CUDA toolkit 7.0+.
- Drop "fix-avoid-file-static-init.patch" which is part of upstream
-------------------------------------------------------------------
Sun Mar 20 21:08:54 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.22.3:
* The while() command again ignores errors in condition evaluation as CMake
3.21 and below did. This bug was fixed in 3.22.0, but exposed errors in
existing projects. The fix has been reverted to restore compatibility. The
fix may be restored in a future version of CMake via a policy.
-------------------------------------------------------------------
Fri Jan 28 18:46:59 UTC 2022 - Markus Ebner <info@ebner-markus.de>
- Build cmake's qhelp into new package cmake-doc-qhelp
-------------------------------------------------------------------
Wed Jan 26 21:13:02 UTC 2022 - Christoph G <foss@grueninger.de>
- update to version 3.22.2
* FortranCInterface: Fix compatibility with GCC gfortran 12 LTO
* FindBoost: Add support for Boost 1.78
* file: Restore error capture in undocumented READ_ELF mode
* FindPython: Add support for Python 3.11
-------------------------------------------------------------------
Fri Jan 21 04:02:39 UTC 2022 - Simon Lees <sflees@suse.de>
- Fix build with gcc12 (boo#1194815)
* Adds fix-avoid-file-static-init.patch
-------------------------------------------------------------------
Sat Dec 11 10:27:53 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- cmake 3.22.1:
* try_compile: Do not use CMAKE_BUILD_TYPE or
CMAKE_CONFIGURATION_TYPES
* file(RPATH): Restore tolerance of unknown formats if new RPATH
is empty
* CMakeParseLibraryArchitecture: Fix parsing /lib/<arch> implicit
object path
-------------------------------------------------------------------
Tue Dec 7 11:05:24 UTC 2021 - Simon Lees <simonf.lees@suse.com>
- Changing something for a test
-------------------------------------------------------------------
Wed Dec 1 16:36:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Adapt cmake.prov for Qt >= 6.2.2
Upstream uses its own ConfigVersion implementation.Starting with
Qt 6.2.2, 'PACKAGE_VERSION' is not defined in
Qt6FooConfigVersion.cmake but in Qt6FooConfigVersionImpl.cmake.
-------------------------------------------------------------------
Thu Nov 18 20:25:16 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- cmake 3.22.0:
* The cmake_host_system_information() command can now query OS
identification variables from the /etc/os-release file.
* The string(TIMESTAMP) command now supports the %V specifier for
ISO 8601 week numbers.
* New variables:
CMAKE_BUILD_TYPE
CMAKE_CONFIGURATION_TYPES
CMAKE_INSTALL_MODE
CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG, CMAKE_LINK_WHAT_YOU_USE_CHECK
CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>
* The <LANG>_EXTENSIONS target property is now initialized to
CMAKE_<LANG>_EXTENSIONS_DEFAULT, detected from the compiler.
* VS_SETTINGS source file property is now supported for all source file types
* The CMakeDependentOption module cmake_dependent_option() macro
now supports full Condition Syntax127.
* The FetchContent module now passes through the CMAKE_TLS_VERIFY,
CMAKE_TLS_CAINFO, CMAKE_NETRC and CMAKE_NETRC_FILE variables
(when defined) to the underlying ExternalProject sub-build.
* The FindBLAS and FindLAPACK modules gained a BLA_SIZEOF_INTEGER
option to find a BLAS/LAPACK whose ABI uses a specific integer size.
* The FindJasper module now provides an imported target.
* The FindMatlab module now provides imported targets.
* The FindPkgConfig module gained a PKG_CONFIG_ARGN variable to
specify arguments to pkg-config calls.
* The GoogleTest module gtest_discover_tests() function gained a
TEST_FILTER option to filter tests using --gtest_filter during
test discovery.
* The UseSWIG module, for Visual Studio Generators, can now use the
swig tool to generate implicit dependencies.
* ctest improvements
* CPack DEB Generator supports zstd
* CPack RPM Generator gained support to exluding paths from
dependency scanning
-------------------------------------------------------------------
Sun Oct 31 11:07:05 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- cmake 3.21.4:
* The Visual Studio 17 2022 generator is not based on the
"Visual Studio 2022" release candidates.
- drop cmake-fix-zstd-armv6.patch, upstream
-------------------------------------------------------------------
Wed Oct 13 12:34:11 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix bundled zstd to avoid a crash on armv6 - boo#1191588:
* cmake-fix-zstd-armv6.patch
-------------------------------------------------------------------
Tue Sep 21 20:36:02 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- cmake 3.21.3:
* The AMD ROCm Platform hipcc compiler was identifed by CMake
3.21.0 through 3.21.2 as a distinct compiler with id ROCMClang.
This has been removed because it caused regressions. Instead:
hipcc may no longer be used as a HIP compiler because it
interferes with flags CMake needs to pass to Clang. Use Clang
directly. hipcc may once again be used as a CXX compiler, and
is treated as whatever compiler it selects underneath, as
CMake 3.20 and below did.
-------------------------------------------------------------------
Wed Sep 8 12:46:31 UTC 2021 - Max Lin <mlin@suse.com>
Wed Sep 8 12:50:52 UTC 2021 - Max Lin <mlin@suse.com>
- fix a typo in cmake.macros bsc#1190302
* change CMAKE_SKIP_INSTALL_RPATHS to CMAKE_SKIP_INSTALL_RPATH
-------------------------------------------------------------------
Tue Aug 31 13:19:26 UTC 2021 - Ralf Habacker <ralf.habacker@freenet.de>
- Be more verbose when version in generated xxxConfigVersion.cmake
files is empty.
-------------------------------------------------------------------
Sun Aug 29 13:38:36 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.21.2:
* CUDA targets with CUDA_SEPARABLE_COMPILATION enabled are now
correctly generated in non-root directories
-------------------------------------------------------------------
Wed Jul 28 07:18:38 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 3.21.1:
* The Visual Studio 17 2022 generator is now based on "Visual Studio 2022
Preview 2". Previously it was based on "Preview 1.1".
-------------------------------------------------------------------
Wed Jul 14 19:32:35 UTC 2021 - Christoph G <foss@grueninger.de>
- update to 3.21.0
* The Makefile Generators and the “Ninja” generator learned to add
linker launcher tools along with the linker for “C”, “CXX”,
“OBJC”, and “OBJCXX” languages.
* “cmake(1)” gained the “toolchain <path/to/file>” command-line
option to specify a toolchain file.
* Messages printed to a terminal now may be colored by message
type.
* The “add_custom_command(TARGET)” command (for Build Events)
gained support for resolving target-dependent generator
expressions.
* The “install(TARGETS)” command gained new “RUNTIME_DEPENDENCIES”
and “RUNTIME_DEPENDENCY_SET” arguments, which can be used to
install runtime dependencies using “file(GET_RUNTIME_DEPENDENCIES)”.
-------------------------------------------------------------------
Mon Jul 5 15:41:15 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Increase the disk space needed in the _constraints file
from 9G to 10G.
-------------------------------------------------------------------
Mon Jun 21 20:18:44 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 3.20.5:
* Allow override of unexpected non-flow-control commands
* No further user visible changes to interfaces
-------------------------------------------------------------------
Tue Jun 15 08:44:30 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>

View File

@@ -7,9 +7,6 @@
%__builder %__make
%__sourcedir .
%__cmake_make_prefix_relative() %{lua:print((string.gsub((rpm.expand("%1")), ((rpm.expand("%{_prefix}")) .. "/"), "", 1)))}
%__cmake_make_root_relative() %{lua:print((string.gsub((rpm.expand("%1")), "/", "", 1)))}
%cmake \
find %__sourcedir -type f -name CMakeLists.txt \\\
-exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\\\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\\\)/{s/^/#IGNORE /}' {} + \
@@ -22,27 +19,16 @@
-GNinja \\\
%endif \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
-DCMAKE_INSTALL_BINDIR:PATH=%{__cmake_make_prefix_relative %{_bindir}} \\\
-DCMAKE_INSTALL_SBINDIR:PATH=%{__cmake_make_prefix_relative %{_sbindir}} \\\
-DCMAKE_INSTALL_LIBEXECDIR:PATH=%{__cmake_make_prefix_relative %{_libexecdir}} \\\
-DCMAKE_INSTALL_SYSCONFDIR:PATH=%{__cmake_make_root_relative %{_sysconfdir}} \\\
-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \\\
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{__cmake_make_root_relative %{_localstatedir}} \\\
-DCMAKE_INSTALL_RUNSTATEDIR:PATH=%{__cmake_make_root_relative %{_rundir}} \\\
-DCMAKE_INSTALL_LIBDIR:PATH=%{__cmake_make_prefix_relative %{_libdir}} \\\
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{__cmake_make_prefix_relative %{_includedir}} \\\
-DCMAKE_INSTALL_DATAROOTDIR:PATH=%{__cmake_make_prefix_relative %{_datadir}} \\\
-DCMAKE_INSTALL_DOCDIR:PATH=%{__cmake_make_prefix_relative %{_docdir}/%{name}} \\\
-DCMAKE_INSTALL_MANDIR:PATH=%{__cmake_make_prefix_relative %{_mandir}} \\\
-DCMAKE_INSTALL_INFODIR:PATH=%{__cmake_make_prefix_relative %{_infodir}} \\\
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \\\
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \\\
-DCMAKE_BUILD_TYPE=RelWithDebInfo \\\
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags}" \\\
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags}" \\\
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" \\\
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags} -DNDEBUG" \\\
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -DNDEBUG" \\\
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}} -DNDEBUG" \\\
-DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\
-DCMAKE_MODULE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed" \\\
-DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \\\

View File

@@ -57,16 +57,11 @@ class CMakeParser:
return result
def resolveCMakeModuleVersion(self, modulePath, cmakeModule, lowercase):
# Qt >= 6.2.2 defines 'PACKAGE_VERSION' in *ConfigVersionImpl.cmake
versionFile = f"{modulePath}/{cmakeModule}ConfigVersionImpl.cmake" if "Qt6" in f"{cmakeModule}" else ""
versionFile = ("%s/%s-config-version.cmake" if lowercase else "%s/%sConfigVersion.cmake") % (modulePath, cmakeModule)
try:
f = open(versionFile, 'r')
except:
versionFile = ("%s/%s-config-version.cmake" if lowercase else "%s/%sConfigVersion.cmake") % (modulePath, cmakeModule)
try:
f = open(versionFile, 'r')
except:
return None
return None
for line in f:
line = line.strip()
@@ -74,11 +69,7 @@ class CMakeParser:
# set(PACKAGE_VERSION <version>)
version = re.match(r"^set[\ ]*\([\ ]*PACKAGE_VERSION[\ ]+[\"]*([0-9\.]+)[\"]*[\ ]*[.]*\)", line)
if version:
_version = version.groups(1)[0]
if _version == '..':
sys.stderr.write("error: Version pattern found without values - '%s' was created incorrectly\n" % versionFile)
return _version
return version.groups(1)[0]
return None

View File

@@ -1,8 +1,7 @@
#
# spec file for package cmake
# spec file
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,41 +17,27 @@
%global flavor @BUILD_FLAVOR@%{nil}
# Flavor gui
%if "%{flavor}" == "gui"
%define psuffix -ui
%bcond_without gui
%else
%bcond_with gui
%endif
# Where available, the gui-flavor also enables qhelp docs
%if "%{flavor}" == "gui" && 0%{?suse_version} > 1500
%bcond_without qhelp
%else
%bcond_with qhelp
%endif
# Flavor mini
%if "%{flavor}" == "mini"
%define psuffix -mini
%bcond_without mini
%else
%bcond_with mini
%endif
# Flavor full
%if "%{flavor}" == "full"
%define psuffix -full
%bcond_without full
%else
%bcond_with full
%endif
%define shortversion 3.29
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
%define pyver 311
%else
%define pyver 3
%endif
%define shortversion 3.20
Name: cmake%{?psuffix}
Version: 3.29.6
Version: 3.20.4
Release: 0
Summary: Cross-platform make system
License: BSD-3-Clause
@@ -69,7 +54,8 @@ Source99: README.SUSE
Patch0: cmake-fix-ruby-test.patch
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
Patch1: feature-suse-python-interp-search-order.patch
Patch2: cmake-zerojvm.patch
Patch2: cmake-fix-png-include-dir.patch
Patch3: cmake-python311plus.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -78,15 +64,9 @@ BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(libuv) >= 1.10
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(libuv) >= 1.28
# Needs a rebuild as libuv will otherwise abort the program with:
# fatal error: libuv version too new: running with libuv 1.X+1 when compiled with libuv 1.X will lead to libuv failures
%requires_eq libuv1
%endif
%if "%{flavor}" == ""
Requires: cmake-implementation = %{version}
%endif
@@ -104,16 +84,13 @@ Requires: this-is-only-for-build-envs
BuildRequires: pkgconfig(jsoncpp) >= 1.4.1
BuildRequires: pkgconfig(libarchive) >= 3.3.3
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libzstd)
%endif
%if %{with gui}
BuildRequires: python%{pyver}-Sphinx
BuildRequires: python%{pyver}-base
BuildRequires: python3-Sphinx
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Widgets)
%endif
%if %{with qhelp}
BuildRequires: libqt5-qttools-qhelpgenerator
%endif
%description
CMake is a cross-platform build system.
@@ -133,12 +110,6 @@ Requires: cmake
This is a Graphical User Interface for CMake, a cross-platform
build system.
%package -n cmake-doc-qhelp
Summary: CMake documentation for offline reading - qhelp version
%description -n cmake-doc-qhelp
CMake documentation for offline reading - qhelp version.
%prep
# The publisher doesn't sign the source tarball, but a signatures file containing multiple hashes.
# Verify hashes in that file against source tarball.
@@ -146,15 +117,10 @@ echo "`grep cmake-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOURC
%autosetup -p1 -n cmake-%{version}
%build
cp -p %{SOURCE99} .
%if %{with mini}
# this is serial, so it takes too much time for the mini package
%define _find_debuginfo_dwz_opts %{nil}
%define _lto_cflags %{nil}
%endif
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
cp %{SOURCE99} .
%if "%{flavor}" != ""
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
# This is not autotools configure
./configure \
--prefix=%{_prefix} \
@@ -162,23 +128,15 @@ export CXXFLAGS="$CFLAGS"
--docdir=/share/doc/packages/cmake \
--mandir=/share/man \
--system-libs \
--no-system-cppdap \
%if %{with mini}
--no-system-curl \
--no-system-nghttp2 \
--no-system-jsoncpp \
--no-system-libarchive \
--no-system-zstd \
%endif
--parallel=0%{jobs} \
--verbose \
%if 0%{?suse_version} > 1500
--system-libuv \
%else
--no-system-libuv \
%endif
%if %{with qhelp}
--sphinx-qthelp \
%endif
%if %{with gui}
--qt-gui \
--sphinx-man \
@@ -193,7 +151,6 @@ export CXXFLAGS="$CFLAGS"
%if "%{flavor}" != ""
%make_install
mkdir -p %{buildroot}%{_libdir}/cmake
%if %{with gui}
%suse_update_desktop_file -r cmake-gui CMake Development IDE Tools Qt
@@ -201,12 +158,10 @@ mkdir -p %{buildroot}%{_libdir}/cmake
rm -rf %{buildroot}%{_bindir}/{cpack,cmake,ctest,ccmake}
rm -rf %{buildroot}%{_datadir}/cmake
rm -rf %{buildroot}%{_datadir}/aclocal/cmake.m4
rm -rf %{buildroot}%{_docdir}/cmake
rm -rf %{buildroot}%{_datadir}/bash-completion/completions/{cmake,cpack,ctest}
rm -rf %{buildroot}%{_datadir}/emacs/site-lisp/cmake-mode.el
rm -rf %{buildroot}%{_datadir}/vim/
# delete docdir but preserve qhelp if applicable
find %{buildroot}%{_docdir}/cmake -mindepth 1 -not -name "CMake.qch" -delete
rmdir %{buildroot}%{_docdir}/cmake || true
%else
find %{buildroot}%{_datadir}/cmake -type f -print0 | xargs -0 chmod 644
@@ -216,7 +171,6 @@ install -m644 %{SOURCE1} -D %{buildroot}%{_rpmconfigdir}/macros.d/macros.cmake
# RPM auto provides
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
# fix: W: files-duplicate (%%license covers already)
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
@@ -236,12 +190,6 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
-E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM)"
%endif
%if %{with qhelp}
%files -n cmake-doc-qhelp
%license Copyright.txt
%{_docdir}/cmake/CMake.qch
%endif
%if %{with gui}
%files -n cmake-gui
%license Copyright.txt
@@ -258,7 +206,6 @@ rm %{buildroot}%{_docdir}/cmake/Copyright.txt
%license Copyright.txt
%{_mandir}/man7/*
%{_mandir}/man1/*
%else
%files

View File

@@ -1,8 +1,8 @@
Index: cmake-3.27.7/Modules/FindPythonInterp.cmake
Index: cmake-3.10.1/Modules/FindPythonInterp.cmake
===================================================================
--- cmake-3.27.7.orig/Modules/FindPythonInterp.cmake
+++ cmake-3.27.7/Modules/FindPythonInterp.cmake
@@ -105,8 +105,9 @@ if(DEFINED PYTHONLIBS_VERSION_STRING)
--- cmake-3.10.1.orig/Modules/FindPythonInterp.cmake
+++ cmake-3.10.1/Modules/FindPythonInterp.cmake
@@ -83,8 +83,9 @@ if(DEFINED PYTHONLIBS_VERSION_STRING)
list(GET _PYTHONLIBS_VERSION 1 _PYTHONLIBS_VERSION_MINOR)
list(APPEND _Python_VERSIONS ${_PYTHONLIBS_VERSION_MAJOR}.${_PYTHONLIBS_VERSION_MINOR})
endif()