aboutsummaryrefslogtreecommitdiff
path: root/ports/magnum
AgeCommit message (Collapse)Author
2021-09-09Bulk convert control files. (#19986)Billy O'Neal
``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2021-09-02[corrade/magnum/-plugins] Fix build, minor cleanup and minor warning fix in ↵Jonathan Hale
vcpkg CMake scripts (#19435) * [magnum/-plugins] Remove obsolete patches that no longer apply Signed-off-by: Squareys <squareys@googlemail.com> * [corrade] Make feature to flag translation consistent to fix warning Consistent with magnum & magnum-plugins Signed-off-by: Squareys <squareys@googlemail.com> * Fix warning message for dlls without matching pdbs always displayed Signed-off-by: Squareys <squareys@googlemail.com> * Fix the baseline version * Revert the changes in vcpkg_copy_pdbs.cmake Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-04-29[magnum,-plugins] Fix deprecated use of vcpkg_check_features (#17016)Jonathan Hale
Signed-off-by: Squareys <squareys@googlemail.com>
2021-02-18[magnum,-plugins] Fix deployment of plugin types and incorrect removal of ↵Jonathan Hale
plugin lib dir on unix (#16245) * [magnum] Correctly deploy shaderconverter and sceneconverter plugins Signed-off-by: Squareys <squareys@googlemail.com> * [magnum,-plugins] Only remove plugin lib dirs for Windows platforms Signed-off-by: Squareys <squareys@googlemail.com> * [magnum,-plugins] Clean up deletion of plugin libs and clarify in comment Signed-off-by: Squareys <squareys@googlemail.com> * Update versions Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-01-26[magnum,magnum-plugins] Add vulkan and shaderconverter features (#15163)Jonathan Hale
* [magnum,magnum-plugins] Add vulkan and shaderconverter features Signed-off-by: Squareys <squareys@googlemail.com> * [magnum,-plugins] Add warning for features unavailable in non-head version Signed-off-by: Squareys <squareys@googlemail.com> * update version record Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-12-01[magnum] fixes installing all dependecies by default (#11225)Francisco Facioni
2020-11-05[magnum] Removing quotes around tools list where vcpkg_copy_tools is ↵Phoebe
involked (#14383)
2020-07-14[corrade,magnum,*-plugins,*-extras,*-integration] Update to v2020.06 (#12211)Jonathan Hale
* [magnum] Improve maintainability of feature to cmake flag conversion * [magnum] Ignore features not supported on current platform Allows `vcpkg install magnum[*]` on any platform. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Add cglcontext and windowlesscglapplication features * docs: Update valid VCPKG_CMAKE_SYSTEM_NAME values Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Replace deprecated basisu with archive download Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Add meshoptimizersceneconverter feature Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Also use vcpkg_check_features Analog to magnum port. Signed-off-by: Squareys <squareys@googlemail.com> * [corrade,magnum,*-plugins,*-extras,*-integration] Update to v2020.06 Signed-off-by: Squareys <squareys@googlemail.com> * [meshoptimizer] Add initial port Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Replace meshoptimizer download with feature dependency Signed-off-by: Squareys <squareys@googlemail.com> * [corrade,magnum-*] Fix license installation command Signed-off-by: Squareys <squareys@googlemail.com> * [meshoptimizer] Use vcpkg_fixup_cmake_targets Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-05-19[cmake] Update to 3.17.2 (#10767)Jack·Boos·Yu
* [cmake] Update to 3.17.1 * update cmake directory name * [cpuid] Fix install headers. * [stormlib] Fix install headers * [murmurhash] Fix install headers * [metrohash] Fix install headers * update baseline * update baseline * [otl] update hash * update baseline * [gts] Do not use ninja to avoid empty implib issue * update baseline * [dmlc] Re-trigger ci test * [replxx] Re-trigger ci test * update baseline * [osg] Re-trigger ci test * [replxx] Fix build failure * Set cmake min version to 3.17.1 * update baseline * [libnice] Re-trigger ci test * [mlpack] Re-trigger ci test * update to 3.17.2 * update cmake hash * update baseline * update baseline * update baseline * update baseline * Update scripts/ci.baseline.txt Co-authored-by: Billy O'Neal <billy.oneal@gmail.com> * update baseline * update baseline * [magnum] Set magnum:arm64-windows to skip in baseline * [nanogui] Set nanogui:arm64-windows to fail in baseline * [nettle] Set nettle:x64-windows to fail, waiting for fix this issue in another PR * re-trigger CI test * update baseline * Install unixODBC in Linux * [nanodbc] Re-trigger CI test * update baseline * Remove space * update baseline
2020-03-27[magnum/magnum-plugins] Fix patches for --head builds (#10158)Jonathan Hale
* [magnum] Update patches for --head builds Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Remove obsolete patch Since basisu port has been updated, we can now use it without patching the magnum-plugins code for compatibility. Signed-off-by: Squareys <squareys@googlemail.com> * [corrade] Remove obsolete warning and flag Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Rename patches to reflect order of application Signed-off-by: Squareys <squareys@googlemail.com> * [corrade/magnum/magnum-plugins] Update port versions Signed-off-by: Squareys <squareys@googlemail.com>
2019-10-25Update magnum ports to new version (#8742)Jonathan Hale
* [corrade/magnum-*] Remove obsolete patches Signed-off-by: Squareys <squareys@googlemail.com> * [corrade/magnum-*] Update to 2019.10 Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Add new features Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-integration] Add new features Signed-off-by: Squareys <squareys@googlemail.com>
2019-10-07[vcpkg] fatal_error when patch fails to apply (#8087)Stefano Sinigardi
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-08-27magnum: Fix KHR/khrplatform.h not found on vcpkg in VS (#7926)Jonathan Hale
Signed-off-by: Squareys <squareys@googlemail.com>
2019-07-09[magnum] Enable egl and glx for magnum (#7026)tarcila
2019-06-30Adding EglContext / CglContext / GlxContext (#7060)StephaneBPRO
Adding the Egl/Cgl/Clx Context plugin to manage crossplatform OpenGL context (MacOs / Linux)
2019-06-15[WIP] Add a Homepage URL entry for vcpkg ports (#2933)pravic
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-10[vcpkg] Add optional 'Homepage' field to CONTROL (#6844)Phil Christensen
* [control file] Add optional 'Homepage' tag This allows a 'Homepage' tag to be added to a port in order to support changes such as PR #2933. It currently does not do anything with it. * [docs] Add Homepage to the control file documentation * move urls from descriptions to homepage field.
2019-03-19[magnum] Update patches (#5730)Jonathan Hale
Signed-off-by: Squareys <squareys@googlemail.com>
2019-02-11[corrade,magnum,-integration,-extras,-plugins] Update Magnum to v2019.01 (#5312)Jonathan Hale
* [corrade] Update to v2019.01 Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Update to v2019.01, remove shapes and glutapplication features These features were deprecated in earlier versions and now removed. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-(extras,plugins,integration)] Update to v2019.01, add imgui feat. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Improve dependencies to corrade Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Add faad2audioimporter - faad2 is currently not in vcpkg, hence commented out - The commented out empty line is required to have vcpkg parse the file without issues Signed-off-by: Squareys <squareys@googlemail.com>
2018-10-25[corrade/magnum/-extras/-integration/-plugins] Update to 2018.10 (#4556)Jonathan Hale
Signed-off-by: Squareys <squareys@googlemail.com>
2018-07-04Corrade and Magnum on Linux (#3611)lecopivo
* Corrade and Magnum on Linux Removed ".exe" extension for executables on Linux. Removed default feature magnum[windowlesswglapplication] which works only on Windows. * Switched to CMAKE_EXECUTABLE_SUFFIX * [corrade] Remove use of CMAKE_EXECUTABLE_SUFFIX * [magnum] Avoid usages of CMAKE_EXECUTABLE_SUFFIX
2018-05-02[magnum,-plugins,-integration,-extras] Update to v2018.04Squareys
Signed-off-by: Squareys <squareys@googlemail.com>
2018-05-02[magnum,-plugins] Also install headers for dynamically built pluginsSquareys
While before there was no use for linking the plugins directly or using them as libraries in some other way when built dynamically, there now are intra-dependencies between plugins which to be detected, require the headers to be installed. Additionally, the folders lib/magnum and debug/lib/magnum-d are no longer empty, as we put the plugin deploy scripts there. Removing them is therefore superfluous. (Prepares upcoming release/head build) Signed-off-by: Squareys <squareys@googlemail.com>
2018-04-18[magnum] Properly deploy plugins (#3191)Jonathan Hale
* [magnum] Properly deploy magnum plugins Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Add tinygltfimporter feature Signed-off-by: Squareys <squareys@googlemail.com> * [magnum][magnum-plugins] Add features: trade and any* Prepares upcoming move of those sublibraries and allows building --head immediately. For current release this only adds some unused cmake flags that will be ignored. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Add gl feature, cleanup dependencies, mark upcoming features And sort features alphabetically. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Prepare renaming of static flag for --head installs Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Add two missing feature dependencies Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Enable magnum[any*] features by default Signed-off-by: Squareys <squareys@googlemail.com>
2018-02-16[corrade,magnum,-plugins,-extras,-integration] Update to latest and support ↵Jonathan Hale
feature packages (#2687) [corrade,magnum,-plugins,-extras,-integration] Update to latest and support feature packages
2018-01-10Update magnum, magnum-plugins and corrade to latestJoel Clay
2017-12-19[magnum] Remove --traceRobert Schumacher
2017-09-09vcpkg_configure_cmake (and _meson) now embed debug symbols within static ↵Alexander Karatarakis
libs (/Z7)
2017-06-22[magnum][magnum-plugins] Fixed plugins location, static plugins buildsigman
Static libray linkage should work now, including plugins.
2017-06-15[corrade][magnum][magnum-plugins] Updated to upstream, enabled more features ↵sigman
in [magnum] Removed plugin location defines. Fixed tools search path in FindCorrade, FindMagnum cmake modules.
2017-06-13[magnum] Emit plugin binary path to the headersigman78
Drop-in solution for the msbuild users.
2017-06-13[magnum] Patch SDL2 includes, msbuild compatibilitysigman78
Concerning SDL2 includes and how do they work. It is seems what the common practice is to append 'SDL2' include path to the compiler options and then do plain #include "SDL.h". While it works in cmake based projects it won't pass in msbuild ones. This patch changes #include to 'global' style <SDL2/SDL.h> and solves the problem.
2017-06-09[corrade][magnum-plugins][magnum] Use vcpkg_from_github()Robert Schumacher
2017-06-09[Magnum][Corrade] Cleanup and Audio supportsigman
Enabled audio support in magnum by default via openal-soft dependency.
2017-06-08[Magnum] Fix static library buildsigman
Fixes cmake scripts to build a static version of the libraries.
2017-06-07Magnum OpengGL 3d library portsigman
Added ports to support Magnum C++ OpenGL engine http://mosra.cz/blog/magnum.php and its direct dependencies