mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
drop cmake-gui
This commit is contained in:
committed by
Adrien Destugues
parent
5783507269
commit
5f6e5f0ed2
@@ -7,7 +7,7 @@ of your choice."
|
||||
HOMEPAGE="https://cmake.org/"
|
||||
COPYRIGHT="2002-2023 Kitware, Inc., Insight Consortium"
|
||||
LICENSE="CMake"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://cmake.org/files/v${portVersion%.*}/cmake-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="72b7570e5c8593de6ac4ab433b73eab18c5fb328880460c86ce32608141ad5c1"
|
||||
PATCHES="cmake-$portVersion.patchset"
|
||||
@@ -37,37 +37,12 @@ REQUIRES="
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SUMMARY_gui="$SUMMARY (gui)"
|
||||
DESCRIPTION_gui="$DESCRIPTION (gui)"
|
||||
|
||||
PROVIDES_gui="
|
||||
cmake${secondaryArchSuffix}_gui = $portVersion
|
||||
cmd:cmake_gui = $portVersionCompat
|
||||
"
|
||||
REQUIRES_gui="
|
||||
haiku$secondaryArchSuffix
|
||||
cmake$secondaryArchSuffix == $portVersion base
|
||||
lib:libcppdap$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libjsoncpp$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:librhash$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
lib:libuv$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libcppdap$secondaryArchSuffix
|
||||
devel:libjsoncpp$secondaryArchSuffix >= 25
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:librhash$secondaryArchSuffix
|
||||
devel:libuv$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
@@ -86,8 +61,7 @@ defineDebugInfoPackage cmake$secondaryArchSuffix \
|
||||
$prefix/bin/ccmake \
|
||||
$prefix/bin/cmake \
|
||||
$prefix/bin/cpack \
|
||||
$prefix/bin/ctest \
|
||||
"$(getPackagePrefix gui)/bin"/cmake-gui
|
||||
$prefix/bin/ctest
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -105,7 +79,6 @@ BUILD()
|
||||
--system-jsoncpp \
|
||||
--system-librhash \
|
||||
--system-libuv \
|
||||
--qt-gui \
|
||||
--parallel=${jobArgs#-j}
|
||||
|
||||
make $jobArgs
|
||||
@@ -114,222 +87,12 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# No way to tell this to configure...
|
||||
rm -rf $dataDir/{applications,emacs,icons,mime,vim}
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local APP_NAME="CMake-GUI"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
local APP_SIGNATURE="application/x-vnd.cmake-gui"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
-e "s|@APP_NAME@|$APP_NAME|" \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
$portDir/additional-files/cmake.rdef.in > cmake.rdef
|
||||
|
||||
addResourcesToBinaries cmake.rdef $prefix/bin/cmake-gui
|
||||
|
||||
addAppDeskbarSymlink $prefix/bin/cmake-gui CMake-GUI
|
||||
|
||||
# GUI
|
||||
packageEntries "gui" \
|
||||
$prefix/bin/cmake-gui \
|
||||
$dataDir/deskbar
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
#x86_64
|
||||
#72% tests passed, 183 tests failed out of 664
|
||||
# 6 - kwsys.testSystemTools (Failed)
|
||||
# 26 - FindPackageTest (Failed)
|
||||
# 58 - ExportImport (Failed)
|
||||
# 66 - StagingPrefix (Failed)
|
||||
# 81 - Module.ExternalData (Failed)
|
||||
# 142 - InstallMode-COPY (Failed)
|
||||
# 143 - InstallMode-REL_SYMLINK (Failed)
|
||||
# 144 - InstallMode-REL_SYMLINK_OR_COPY (Failed)
|
||||
# 145 - InstallMode-ABS_SYMLINK (Failed)
|
||||
# 146 - InstallMode-ABS_SYMLINK_OR_COPY (Failed)
|
||||
# 147 - InstallMode-SYMLINK (Failed)
|
||||
# 148 - InstallMode-SYMLINK_OR_COPY (Failed)
|
||||
# 249 - CTestTestTimeout (Failed)
|
||||
# 280 - CMakeLib.testUVProcessChain (Failed)
|
||||
# 318 - RunCMake.CMP0019 (Failed)
|
||||
# 319 - RunCMake.CMP0022 (Failed)
|
||||
# 320 - RunCMake.CMP0026 (Failed)
|
||||
# 322 - RunCMake.CMP0037 (Failed)
|
||||
# 323 - RunCMake.CMP0038 (Failed)
|
||||
# 324 - RunCMake.CMP0039 (Failed)
|
||||
# 325 - RunCMake.CMP0040 (Failed)
|
||||
# 326 - RunCMake.CMP0041 (Failed)
|
||||
# 327 - RunCMake.CMP0043 (Failed)
|
||||
# 328 - RunCMake.CMP0045 (Failed)
|
||||
# 329 - RunCMake.CMP0046 (Failed)
|
||||
# 330 - RunCMake.CMP0049 (Failed)
|
||||
# 331 - RunCMake.CMP0050 (Failed)
|
||||
# 332 - RunCMake.CMP0051 (Failed)
|
||||
# 333 - RunCMake.CMP0053 (Failed)
|
||||
# 334 - RunCMake.CMP0054 (Failed)
|
||||
# 335 - RunCMake.CMP0055 (Failed)
|
||||
# 336 - RunCMake.CMP0057 (Failed)
|
||||
# 337 - RunCMake.CMP0059 (Failed)
|
||||
# 338 - RunCMake.CMP0060 (Failed)
|
||||
# 339 - RunCMake.CMP0064 (Failed)
|
||||
# 340 - RunCMake.CMP0069 (Failed)
|
||||
# 341 - RunCMake.CMP0081 (Failed)
|
||||
# 342 - RunCMake.CMP0102 (Failed)
|
||||
# 343 - RunCMake.CMP0106 (Failed)
|
||||
# 344 - RunCMake.CMP0111 (Failed)
|
||||
# 345 - RunCMake.CMP0115 (Failed)
|
||||
# 346 - RunCMake.CMP0118 (Failed)
|
||||
# 347 - RunCMake.CMP0119 (Failed)
|
||||
# 348 - RunCMake.CMP0121 (Failed)
|
||||
# 351 - RunCMake.CMP0135 (Failed)
|
||||
# 352 - RunCMake.CMP0139 (Failed)
|
||||
# 353 - RunCMake.CMP0152 (Failed)
|
||||
# 354 - RunCMake.CMP0153 (Failed)
|
||||
# 355 - RunCMake.CMP0065 (Failed)
|
||||
# 356 - RunCMake.Make (Failed)
|
||||
# 357 - RunCMake.CTest (Failed)
|
||||
# 359 - RunCMake.ABI (Failed)
|
||||
# 361 - RunCMake.AutogenQt5 (Failed)
|
||||
# 362 - RunCMake.BuildDepends (Timeout)
|
||||
# 364 - RunCMake.CMakeDependentOption (Failed)
|
||||
# 368 - RunCMake.CompilerChange (Failed)
|
||||
# 369 - RunCMake.CompilerNotFound (Failed)
|
||||
# 371 - RunCMake.Configure (Failed)
|
||||
# 372 - RunCMake.DisallowedCommands (Failed)
|
||||
# 376 - RunCMake.ExternalData (Failed)
|
||||
# 378 - RunCMake.FPHSA (Failed)
|
||||
# 379 - RunCMake.FileAPI (Failed)
|
||||
# 380 - RunCMake.FindBoost (Failed)
|
||||
# 382 - RunCMake.FindOpenGL (Failed)
|
||||
# 387 - RunCMake.GenEx-LINK_LANGUAGE (Failed)
|
||||
# 388 - RunCMake.GenEx-LINK_LANG_AND_ID (Failed)
|
||||
# 391 - RunCMake.GenEx-LINK_LIBRARY (Failed)
|
||||
# 392 - RunCMake.GenEx-LINK_GROUP (Failed)
|
||||
# 393 - RunCMake.GenEx-TARGET_FILE (Failed)
|
||||
# 395 - RunCMake.GenEx-GENEX_EVAL (Failed)
|
||||
# 396 - RunCMake.GenEx-TARGET_PROPERTY (Failed)
|
||||
# 399 - RunCMake.GenEx-PATH_EQUAL (Failed)
|
||||
# 401 - RunCMake.GeneratorExpression (Failed)
|
||||
# 403 - RunCMake.GeneratorInstance (Failed)
|
||||
# 404 - RunCMake.GeneratorPlatform (Failed)
|
||||
# 405 - RunCMake.GeneratorToolset (Failed)
|
||||
# 406 - RunCMake.GetPrerequisites (Failed)
|
||||
# 407 - RunCMake.GNUInstallDirs (Failed)
|
||||
# 410 - RunCMake.Languages (Failed)
|
||||
# 411 - RunCMake.LinkItemValidation (Failed)
|
||||
# 413 - RunCMake.ObjectLibrary (Failed)
|
||||
# 416 - RunCMake.RuntimePath (Failed)
|
||||
# 418 - RunCMake.Swift (Failed)
|
||||
# 420 - RunCMake.TargetObjects (Failed)
|
||||
# 421 - RunCMake.TargetProperties (Failed)
|
||||
# 422 - RunCMake.ToolchainFile (Failed)
|
||||
# 423 - RunCMake.find_dependency (Failed)
|
||||
# 424 - RunCMake.CompileDefinitions (Failed)
|
||||
# 426 - RunCMake.CompileFeatures (Failed)
|
||||
# 428 - RunCMake.PolicyScope (Failed)
|
||||
# 430 - RunCMake.WriteCompilerDetectionHeader (Failed)
|
||||
# 433 - RunCMake.VisibilityPreset (Failed)
|
||||
# 434 - RunCMake.CompatibleInterface (Failed)
|
||||
# 435 - RunCMake.Syntax (Failed)
|
||||
# 437 - RunCMake.MaxRecursionDepth (Failed)
|
||||
# 438 - RunCMake.add_custom_command (Failed)
|
||||
# 439 - RunCMake.add_custom_target (Failed)
|
||||
# 441 - RunCMake.add_executable (Failed)
|
||||
# 442 - RunCMake.add_library (Failed)
|
||||
# 443 - RunCMake.add_subdirectory (Failed)
|
||||
# 444 - RunCMake.add_test (Failed)
|
||||
# 445 - RunCMake.build_command (Failed)
|
||||
# 446 - RunCMake.execute_process (Failed)
|
||||
# 447 - RunCMake.export (Failed)
|
||||
# 448 - RunCMake.cmake_host_system_information (Failed)
|
||||
# 449 - RunCMake.cmake_language (Failed)
|
||||
# 450 - RunCMake.cmake_minimum_required (Failed)
|
||||
# 451 - RunCMake.cmake_parse_arguments (Failed)
|
||||
# 467 - RunCMake.define_property (Failed)
|
||||
# 468 - RunCMake.file (Failed)
|
||||
# 469 - RunCMake.file-CHMOD (Failed)
|
||||
# 470 - RunCMake.file-DOWNLOAD (Failed)
|
||||
# 471 - RunCMake.file-RPATH (Failed)
|
||||
# 472 - RunCMake.find_file (Failed)
|
||||
# 473 - RunCMake.find_library (Failed)
|
||||
# 474 - RunCMake.find_package (Failed)
|
||||
# 475 - RunCMake.find_path (Failed)
|
||||
# 476 - RunCMake.find_program (Failed)
|
||||
# 477 - RunCMake.foreach (Failed)
|
||||
# 480 - RunCMake.get_filename_component (Failed)
|
||||
# 481 - RunCMake.get_property (Failed)
|
||||
# 482 - RunCMake.if (Failed)
|
||||
# 483 - RunCMake.include (Failed)
|
||||
# 484 - RunCMake.include_directories (Failed)
|
||||
# 486 - RunCMake.list (Failed)
|
||||
# 487 - RunCMake.load_cache (Failed)
|
||||
# 488 - RunCMake.math (Failed)
|
||||
# 489 - RunCMake.message (Failed)
|
||||
# 490 - RunCMake.option (Failed)
|
||||
# 492 - RunCMake.project (Failed)
|
||||
# 493 - RunCMake.project_injected (Failed)
|
||||
# 497 - RunCMake.separate_arguments (Failed)
|
||||
# 498 - RunCMake.set_property (Failed)
|
||||
# 499 - RunCMake.string (Failed)
|
||||
# 501 - RunCMake.BundleUtilities (Failed)
|
||||
# 502 - RunCMake.try_compile (Failed)
|
||||
# 503 - RunCMake.try_run (Failed)
|
||||
# 504 - RunCMake.set (Failed)
|
||||
# 505 - RunCMake.variable_watch (Failed)
|
||||
# 506 - RunCMake.while (Failed)
|
||||
# 509 - RunCMake.alias_targets (Failed)
|
||||
# 510 - RunCMake.InterfaceLibrary (Failed)
|
||||
# 511 - RunCMake.no_install_prefix (Failed)
|
||||
# 512 - RunCMake.configure_file (Failed)
|
||||
# 513 - RunCMake.CTestTimeout (Failed)
|
||||
# 516 - RunCMake.CXXModules (Failed)
|
||||
# 519 - RunCMake.File_Archive (Failed)
|
||||
# 520 - RunCMake.File_Configure (Failed)
|
||||
# 521 - RunCMake.File_Generate (Failed)
|
||||
# 522 - RunCMake.ExportWithoutLanguage (Failed)
|
||||
# 524 - RunCMake.target_link_libraries (Failed)
|
||||
# 528 - RunCMake.target_link_libraries-LINK_LIBRARY (Failed)
|
||||
# 529 - RunCMake.target_link_libraries-LINK_GROUP (Failed)
|
||||
# 534 - RunCMake.target_compile_features (Failed)
|
||||
# 535 - RunCMake.target_compile_options (Failed)
|
||||
# 537 - RunCMake.target_sources (Failed)
|
||||
# 539 - RunCMake.CheckSourceCompiles (Failed)
|
||||
# 540 - RunCMake.CheckSourceRuns (Failed)
|
||||
# 541 - RunCMake.CheckModules (Failed)
|
||||
# 542 - RunCMake.CheckIPOSupported (Failed)
|
||||
# 543 - RunCMake.CommandLine (Failed)
|
||||
# 545 - RunCMake.install (Failed)
|
||||
# 546 - RunCMake.file-GET_RUNTIME_DEPENDENCIES (Failed)
|
||||
# 548 - RunCMake.CPackConfig (Failed)
|
||||
# 550 - RunCMake.ExternalProject (Failed)
|
||||
# 553 - RunCMake.CTestCommandLine (Failed)
|
||||
# 556 - RunCMake.IfacePaths_INCDIRS (Failed)
|
||||
# 568 - RunCMake.CPack_7Z (Failed)
|
||||
# 569 - RunCMake.CPack_TBZ2 (Failed)
|
||||
# 570 - RunCMake.CPack_TGZ (Failed)
|
||||
# 571 - RunCMake.CPack_TXZ (Failed)
|
||||
# 572 - RunCMake.CPack_TZ (Failed)
|
||||
# 573 - RunCMake.CPack_ZIP (Failed)
|
||||
# 574 - RunCMake.CPack_STGZ (Failed)
|
||||
# 575 - RunCMake.CPack_External (Failed)
|
||||
# 580 - RunCMake.UnityBuild (Failed)
|
||||
# 581 - RunCMake.CMakePresets (Failed)
|
||||
# 582 - RunCMake.CMakePresetsBuild (Failed)
|
||||
# 583 - RunCMake.CMakePresetsTest (Failed)
|
||||
# 584 - RunCMake.CMakePresetsPackage (Failed)
|
||||
# 585 - RunCMake.CMakePresetsWorkflow (Failed)
|
||||
# 586 - RunCMake.VerifyHeaderSets (Failed)
|
||||
# 587 - RunCMake.set_tests_properties (Failed)
|
||||
cp bin/ctest Bootstrap.cmk/
|
||||
make test VERBOSE=1 ARGS="$jobArgs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user