Commit Graph

156 Commits

Author SHA1 Message Date
Alexander Neumann
163065a352
Update meson to 0.60.2 (#21542)
* update meson to 0.60.1

* add port vcpkg-tool-meson for consistency deprecate usage of tool-meson

* [skip actions] make every port using meson depend on vcpkg-tool-meson
(except pkgconf for now.)

* fix subtle bugs in vcpkg_find_acquire_program
make the port install meson if the system does not provide it.

* make pkgconf depend on meson

* restore old vcpkg_find_acquire_program behavior for versioning

* Update ports/gstreamer/vcpkg.json

remove duplicated dependency

* remove invalid option in glib

* [skip actions] fix ci failures?

* remove invalid option in gstreamer

* try without cmake

* get more logs from meson configure.

* update glib to 2.70.1

* fix typo

* fix pc file of flac

* update meson to 0.60.2

* try the patch from the other pr.

* patch meson .....

* version stuff

* fix port version

* fix gstreamer version

* remove version

* format-manifest

* version stuff

* format manifest again

* revert version stuff

* remove outdated gtk options

* version stuff

* pango version stuff

* correct baseline lost in merge

* Fix fontconfig version db

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-02 15:48:34 -08:00
LilyWangLL
2e81d0f104
[casclib] Add option CASC_UNICODE (#21784)
* [casclib] Add option CASC_UNICODE

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-01 19:22:53 -08:00
autoantwort
78ab7763bd
[curlpp] no absolute paths (#21712) 2021-11-29 17:22:25 -08:00
autoantwort
247c420905
[crossguid] no absolute paths (#21711) 2021-11-29 17:03:24 -08:00
autoantwort
f9acdf90c5
[cartographer] no absolute paths (#21709) 2021-11-29 16:52:34 -08:00
JonLiu1993
18c9639021
[Catch2] Update catch2 HEAD_REF from master to devel (#21660)
* [Catch2] Fix install from head

* update version

* change catch2 HEAD_REF

* update version
2021-11-26 01:07:46 -08:00
chausner
8329d995cf
[cxxopts] Update to 3.0.0 (#21607)
* Update cxxopts to 3.0.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-11-23 12:16:04 -08:00
Kai Pastor
d320e1a2d6
[curl] Update to 7.80, fix exported config (#21554)
* Update to 7.80

* Add 'lib' prefix to exported config for windows

* Update versions

* Export static dependencies as -l<name>

* Update versions
2021-11-22 15:44:48 -08:00
chausner
95dad17807
[casclib] Update to 2021-11-16 (#21472)
* Update casclib to 2021-11-16

* Update CI baseline

* Add patch for shared Windows builds

* Update CI baseline

* Fix find_package

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-11-17 12:27:02 -08:00
winsoft666
d602829265
[cpp-ipc] Update to 1.0.1 (#21481)
* [cpp-ipc] Update 1.0.1

* [cpp-ipc] Update version and ci.baseline

* [cpp-ipc] Remove cpp-ipc from ci.baseline.txt
2021-11-17 12:16:38 -08:00
autoantwort
999a8be171
[ctp] use supports expression (#21439) 2021-11-16 16:32:29 -08:00
chausner
16ec112a10
[cwalk] Update to 1.2.6 (#21400)
* Update cwalk to 1.2.6

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-11-15 14:32:32 -08:00
chausner
77bcaa9b6c
[cgltf] Update to 1.11 (#21401)
* Update cgltf to 1.11

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-11-15 14:32:12 -08:00
autoantwort
d76f619d6b
[cppunit] no absolute paths (#21178) 2021-11-04 10:34:14 -07:00
chausner
508383cdd4
[clblast] Update to 1.5.2 (#20915)
* Update clblast to 1.5.2

* Update CI baseline

* Disable static builds

* Update git-tree hash

* Remove entries from ci.baseline.txt.

* update version

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-11-03 21:44:42 -07:00
Billy O'Neal
0556cfd01a
[cminpack] Install to the correct location. (#21047) 2021-10-28 18:10:49 -07:00
Jack·Boos·Yu
843e0ba0d8
[cityhash] Add feature sse for non-x86-Windows (#20999)
* [cityhash] Add feature sse for non-x86-Windows

* version

* Add missing dependencies.

* version
2021-10-27 23:10:49 -07:00
autoantwort
e7e328cf9d
[many ports] call vcpkg_fixup_pkgconfig() (#20953)
* [many ports] call vcpkg_fixup_pkgconfig()

The ports generate pc files, but don't call vcpkg_fixup_pkgconfig() so that there are absolute paths in the pc files

* Update port-version for armadillo and polyclipping.

* Update version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-27 15:19:28 -07:00
NancyLi1013
8a4e2e3079
[cli11] Update branch name for HEAD_REF (#20995)
* [cli11] Update HEAD_REF as main

* Update version files
2021-10-26 23:58:24 -07:00
JonLiu1993
018ba5ae0b
[crossguid] update to latest commit (#20922)
* [crossguid] update to latest commit

* [crossguid] update to latest commit

* update version

* add

* update version
2021-10-26 23:03:22 -07:00
Angus Comrie
a4548b2ca6
[cminpack] add new port (#20772)
* initial port commit

* version info added

* removed exmples from compilation

* git-tree update

* fixed reviewer comments

* git tree hash update
2021-10-26 22:56:35 -07:00
chausner
4f06d9d0b9
[capnproto] Update to 0.9.1 (#20436)
* Update capnproto to 0.9.1

* Update CI baseline

* Fix indentation

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-26 22:25:12 -07:00
autoantwort
d8b9fa9a53
many ports: Fix pkgconfig files location (#20943)
* many ports: Fix pkgconfig files location

* Use rename in botan rather than install plus delete.

* Delete the duplicate share/pkgconfig files in cppad *after* vcpkg_fixup_pkgconfig.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-26 16:03:33 -07:00
chausner
330ddf6a07
[cpp-httplib] Update to 0.9.7 (#20882)
* Update cpp-httplib to 0.9.7

* Update CI baseline

* add double quotes

* update version

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-10-21 23:50:39 -07:00
Dennis
b457967f9e
[cpp-jwt] new port (#20634)
* Add cpp-jwt

* Update ports/cpp-jwt/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* overwrite cpp-jwt version

* Update cpp-jwt which no longer requires to remove include/jwt/test

* Use version-date in cpp-jwt port

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-10-20 14:45:31 -07:00
Yuriy O'Donnell
426f78dfbd
[cli11] update to 2.1.2 (#20847) 2021-10-20 14:43:30 -07:00
Ryan Mast
96680fe97e
[cli11] update to 2.1.1 (#20796)
* [cli11] update to 2.1.1

* Update CI baseline
2021-10-18 14:31:29 -07:00
Dominik Wernberger
8583a74e38
[compoundfilereader] new port (#20800)
* Add compoundfilereader

* Add versions file

* Adjust SHA

* Integrate suggestion

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Integrate suggestion

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Adjust versions

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-10-18 14:26:19 -07:00
chausner
22d7c8b375
[Many ports] Remove/fix unused patch files (#20620)
* Remove/fix unused patch files

* Bump port versions

* Update git-tree hash

* Fix corrupt patch

* Update git-tree hash

* Apply suggestions from code review

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-10-18 14:25:31 -07:00
Ryan Mast
3422caf654
[cpr] update repository location (#20801)
* [cpr] update repository location

* [cpr] replace deprecated vcpkg cmake functions with new ones

* [cpr] increment port-version

* Update CI baseline
2021-10-18 14:21:39 -07:00
Luca Schlecker
7267222f4e
[crow] update to 0.3.3 (v0.3+3) (#20766)
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-10-15 19:28:24 -07:00
Alvin
f1e18c43d7
Add a patch for co v2.0.2 (#20657)
* add a patch for co v2.0.2

* update port version

* update version

* version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-10-13 14:41:13 -07:00
Simone Gasparini
9451badf3e
[CCTag] Update to v1.0.1 (#20603)
* [cctag] fix find cuda

* [cctag] upgrade to 1.0.1

* [cctag] migrating to new vcpkg_cmake_* functions

* [cctag] update baseline and version
2021-10-13 14:05:51 -07:00
NancyLi1013
9deacd9e5b
[corrade] Fix build error on vs2019 (#20655) 2021-10-11 20:43:05 -07:00
Billy O'Neal
ff5afbab34
[geogram, ccfits, chartdir] Build fixes discovered by CI on 2021-10-01 (#20518)
* REGRESSION: chartdir:x64-linux. If expected, add chartdir:x64-linux=fail to .\scripts\ci.baseline.txt.

-- Note: chartdir only supports dynamic library linkage. Building dynamic library.
-- Downloading http://www.advsofteng.net/chartdir_cpp_linux_64.tar.gz -> chartdir_cpp_linux_64-7.0.0.tar.gz...
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] popen(curl --fail -L "https://vcpkgassetcache.blob.core.windows.net/assets/e7e71b64b3a756b6df174758c392ab4c9310b4d265e521dccbd009eeefd46e021a74572e7212de5564725df20ddf189e1599e88a116b426f1256f7d34b0131aa?sp=racwl&st=2021-06-29T20:09:46Z&se=2021-10-02T04:09:46Z&spr=https&sv=2020-08-04&sr=c&sig=g3shlIpD0R923OUzfIsrTwjX0vc6OzNXGEDO3URXmYc%3D" --create-dirs --output /mnt/vcpkg-ci/downloads/chartdir_cpp_linux_64-7.0.0.tar.gz.1003174.part 2>&1)
[DEBUG] cmd_execute_and_stream_data() returned 5632 after    31162 us
[DEBUG] popen(curl --fail -L http://www.advsofteng.net/chartdir_cpp_linux_64.tar.gz --create-dirs --output /mnt/vcpkg-ci/downloads/chartdir_cpp_linux_64-7.0.0.tar.gz.1003174.part 2>&1)
[DEBUG] cmd_execute_and_stream_data() returned 0 after  8512565 us
Error: Failed to download from mirror set:
https://vcpkgassetcache.blob.core.windows.net/assets/e7e71b64b3a756b6df174758c392ab4c9310b4d265e521dccbd009eeefd46e021a74572e7212de5564725df20ddf189e1599e88a116b426f1256f7d34b0131aa?*** SECRET ***:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

File does not have the expected hash:
             url : [ http://www.advsofteng.net/chartdir_cpp_linux_64.tar.gz ]
       File path : [ /mnt/vcpkg-ci/downloads/chartdir_cpp_linux_64-7.0.0.tar.gz.1003174.part ]
   Expected hash : [ e7e71b64b3a756b6df174758c392ab4c9310b4d265e521dccbd009eeefd46e021a74572e7212de5564725df20ddf189e1599e88a116b426f1256f7d34b0131aa ]
     Actual hash : [ ea2e05f28dd9647fed49feaf130d8034065067463965f144b3fae4eae482579b1ecf528dc86d1b3602887d5ca0c3b1569404489b0f4cb2300b798fed940cd467 ]

Updated SHAs and added quotes. These are the changes made by upstream:

```
diff --git a/new_sha/ChartDirector/cppdemo/surfacetexture/surfacetexture.cpp b/old_sha/ChartDirector/cppdemo/surfacetexture/surfacetexture.cpp
index 79f15be..302eb78 100644
--- a/new_sha/ChartDirector/cppdemo/surfacetexture/surfacetexture.cpp
+++ b/old_sha/ChartDirector/cppdemo/surfacetexture/surfacetexture.cpp
@@ -108,7 +108,9 @@ void createChart(int chartIndex, const char *filename)
     const int dataZ_size = dataX_size * dataY_size;
     double dataZ[dataZ_size];
     for(int yIndex = 0; yIndex < dataY_size; ++yIndex) {
+        double y = dataY[yIndex];
         for(int xIndex = 0; xIndex < dataX_size; ++xIndex) {
+            double x = dataX[xIndex];
             dataZ[yIndex * dataX_size + xIndex] = dataX[xIndex] * dataY[yIndex];
         }
     }
@@ -176,7 +178,7 @@ void createChart(int chartIndex, const char *filename)
         // Use a DrawArea to load the image
         DrawArea* d = new DrawArea();
         d->load("maptexture.png");
-        d->resize(c->getPlotRegionWidth(), c->getPlotRegionDepth());
+        d->resize(240, 210);

         // Set the DrawArea as a resource
         c->setResource("texture", d);
diff --git a/new_sha/ChartDirector/lib/libchartdir.so.7.0.0 b/old_sha/ChartDirector/lib/libchartdir.so.7.0.0
index b1ea97f..bfb1d4b 100644
Binary files a/new_sha/ChartDirector/lib/libchartdir.so.7.0.0 and b/old_sha/ChartDirector/lib/libchartdir.so.7.0.0 differ
diff --git a/new_sha/ChartDirector/qtdemo/helloworld/qchartviewer.cpp b/old_sha/ChartDirector/qtdemo/helloworld/qchartviewer.cpp
index 5736d60..423120f 100644
--- a/new_sha/ChartDirector/qtdemo/helloworld/qchartviewer.cpp
+++ b/old_sha/ChartDirector/qtdemo/helloworld/qchartviewer.cpp
@@ -107,9 +107,9 @@ private:
     QCursor *hZoomOutCursor;
     QCursor *hNoZoomCursor;

-    QCursor &getZoomCursor(QCursor **cache, double scale, int flags)
+    QCursor &getZoomCursor(QCursor *cache, double scale, int flags)
     {
-        if (0 == *cache)
+        if (0 == cache)
         {
             DrawArea d;
             d.setSize(32, 32, Chart::Transparent);
@@ -127,9 +127,9 @@ private:
             MemBlock m = d.outPNG();
             QImage img = QImage::fromData((const uchar*)m.data, m.len);
             img.setDevicePixelRatio(scale);
-            *cache = new QCursor(QPixmap::fromImage(img), 15, 15);
+            cache = new QCursor(QPixmap::fromImage(img), 15, 15);
         }
-        return **cache;
+        return *cache;
     }

 public:
@@ -145,15 +145,15 @@ public:
     }
     QCursor &getZoomInCursor(double scale)
     {
-        return getZoomCursor(&hZoomInCursor, scale, 3);
+        return getZoomCursor(hZoomInCursor, scale, 3);
     }
     QCursor &getZoomOutCursor(double scale)
     {
-        return getZoomCursor(&hZoomOutCursor, scale, 1);
+        return getZoomCursor(hZoomOutCursor, scale, 1);
     }
     QCursor &getNoZoomCursor(double scale)
     {
-        return getZoomCursor(&hNoZoomCursor, scale, 0);
+        return getZoomCursor(hNoZoomCursor, scale, 0);
     }
 } cursorManager;

diff --git a/new_sha/ChartDirector/qtdemo/qtdemo/democharts.cpp b/old_sha/ChartDirector/qtdemo/qtdemo/democharts.cpp
index a3b7962..d706853 100644
--- a/new_sha/ChartDirector/qtdemo/qtdemo/democharts.cpp
+++ b/old_sha/ChartDirector/qtdemo/qtdemo/democharts.cpp
@@ -10954,7 +10954,9 @@ void surfacetexture(QChartViewer *viewer, int chartIndex)
     const int dataZ_size = dataX_size * dataY_size;
     double dataZ[dataZ_size];
     for(int yIndex = 0; yIndex < dataY_size; ++yIndex) {
+        double y = dataY[yIndex];
         for(int xIndex = 0; xIndex < dataX_size; ++xIndex) {
+            double x = dataX[xIndex];
             dataZ[yIndex * dataX_size + xIndex] = dataX[xIndex] * dataY[yIndex];
         }
     }
@@ -11022,7 +11024,7 @@ void surfacetexture(QChartViewer *viewer, int chartIndex)
         // Use a DrawArea to load the image
         DrawArea* d = new DrawArea();
         d->load("@/images/maptexture.png");
-        d->resize(c->getPlotRegionWidth(), c->getPlotRegionDepth());
+        d->resize(240, 210);

         // Set the DrawArea as a resource
         c->setResource("texture", d);
@@ -12304,6 +12306,11 @@ void treemapcolors(QChartViewer *viewer, int /* chartIndex */)

 void treemaplayout(QChartViewer *viewer, int chartIndex)
 {
+    // Labels for the tree map
+    const char* energy_types[] = {"Coal", "Oil", "Gas", "Nuclear", "Hydro", "Solar", "Wind",
+        "Biomass", "Geothermal", "Wave"};
+    const int energy_types_size = (int)(sizeof(energy_types)/sizeof(*energy_types));
+
     // Random data for the tree map
     RanSeries* r = new RanSeries(3);
     DoubleArray data = r->getSeries(20, 20, 400);
@@ -14163,10 +14170,7 @@ void circularbarmeter2(QChartViewer *viewer, int chartIndex)
     m->setCap(0, Chart::Transparent);

     // In this example, the circular bar has 20 segments
-    int segmentCount = 20;
-
-    // The angular step
-    double angleStep = 360.0 / segmentCount;
+    int angleStep = 360 / 20;

     // The gap between segments is 4.5 degrees
     double angleGap = 4.5;
@@ -14205,39 +14209,28 @@ void circularbarmeter2(QChartViewer *viewer, int chartIndex)
             stepColorScale_size));
     }

-    //
-    // Now we draw the segments of the bar meter
-    //
-
-    // The segment that contains the value
-    int currentSegment = (int)(angle / angleStep);
-
-    // Segments after the current segment is colored with the blank color
-    for(int i = currentSegment + 1; i < segmentCount; ++i) {
-        m->addRingSector(radius, radius - 20, i * angleStep, (i + 1) * angleStep - angleGap,
-            blankColor);
+    // Draw the blank part of the circular bar
+    if (angle < 360) {
+        // Iterate the segments in the blank part of the circular bar
+        for(int startAngle = (int)(angle / angleStep) * angleStep; startAngle < 360; startAngle +=
+            angleStep) {
+            // The first segment may be partially filled
+            double partialAngle = (startAngle >= angle ? 0 : (angle - startAngle) * (1 - angleGap /
+                angleStep));
+            m->addRingSector(radius, radius - 20, startAngle + partialAngle, startAngle + angleStep
+                 - angleGap, blankColor);
         }
-
-    // Segments before the current segment is colored with the fill color
-    for(int i = 0; i < currentSegment; ++i) {
-        m->addRingSector(radius, radius - 20, i * angleStep, (i + 1) * angleStep - angleGap,
-            fillColor);
     }

-    // Segment that contains the angle will be partially filled and partially blank. We need to
-    // adjust the angle to compensated for the angle gap.
-    double adjustedAngle = currentSegment * angleStep + (angle - currentSegment * angleStep) * (1 -
-        angleGap / angleStep);
-
-    // The blank part of the segment
-    if ((currentSegment + 1) * angleStep > angle) {
-        m->addRingSector(radius, radius - 20, adjustedAngle, (currentSegment + 1) * angleStep -
-            angleGap, blankColor);
+    // Draw the fill part of the circular bar
+    if (angle > 0) {
+        // Iterate the segments in the fill part of the circular bar
+        for(int startAngle = 0; startAngle < angle; startAngle += angleStep) {
+            // The last segment may be partially filled
+            double angleSpan = (angleStep - angleGap) * (angle >= startAngle + angleStep ? 1 : (
+                angle - startAngle) / angleStep);
+            m->addRingSector(radius, radius - 20, startAngle, startAngle + angleSpan, fillColor);
         }
-
-    // The filled part of the segment.
-    if (angle > currentSegment * angleStep) {
-        m->addRingSector(radius, radius - 20, currentSegment * angleStep, adjustedAngle, fillColor);
     }

     // Add a label at the center to display the value
diff --git a/new_sha/ChartDirector/qtdemo/qtdemo/financedemo.cpp b/old_sha/ChartDirector/qtdemo/qtdemo/financedemo.cpp
index 7b8c1f5..b029776 100644
--- a/new_sha/ChartDirector/qtdemo/qtdemo/financedemo.cpp
+++ b/old_sha/ChartDirector/qtdemo/qtdemo/financedemo.cpp
@@ -315,13 +315,6 @@ void FinanceDemo::onLineEditChanged()
     int new_avgPeriod2 = m_MovAvg2->text().toInt();

     QString tickerKey = m_TickerSymbol->text();
-    if (tickerKey.isEmpty())
-    {
-        // Default tickerKey
-        tickerKey = "ASE";
-        m_TickerSymbol->setText(tickerKey);
-    }
-
     QString compareKey = m_CompareWith->text();

     bool needReloadData = (m_tickerKey != tickerKey) || (m_compareKey != compareKey);
@@ -367,16 +360,12 @@ void FinanceDemo::loadData(const QString& ticker, const QString& compare)
     if (m_compareKey != compare)
     {
         m_compareKey = compare;
-        if (m_compareKey.isEmpty())
-            m_dailyPrice.compareData.clear();
-        else
-        {
+
         // Simulator to generate realistic random OHLC values
         FinanceSimulator db2(compare.toUtf8().data(), Chart::chartTime(2010, 1, 1),
             Chart::chartTime(2020, 12, 31), 86400);
         m_dailyPrice.compareData = arrayToVector(db2.getCloseData());
     }
-    }

     // In this example, we will compute the weekly and monthly prices on demand. We just
     // need to clear the old data here.
diff --git a/new_sha/ChartDirector/qtdemo/qtdemo/qchartviewer.cpp b/old_sha/ChartDirector/qtdemo/qtdemo/qchartviewer.cpp
index 5736d60..423120f 100644
--- a/new_sha/ChartDirector/qtdemo/qtdemo/qchartviewer.cpp
+++ b/old_sha/ChartDirector/qtdemo/qtdemo/qchartviewer.cpp
@@ -107,9 +107,9 @@ private:
     QCursor *hZoomOutCursor;
     QCursor *hNoZoomCursor;

-    QCursor &getZoomCursor(QCursor **cache, double scale, int flags)
+    QCursor &getZoomCursor(QCursor *cache, double scale, int flags)
     {
-        if (0 == *cache)
+        if (0 == cache)
         {
             DrawArea d;
             d.setSize(32, 32, Chart::Transparent);
@@ -127,9 +127,9 @@ private:
             MemBlock m = d.outPNG();
             QImage img = QImage::fromData((const uchar*)m.data, m.len);
             img.setDevicePixelRatio(scale);
-            *cache = new QCursor(QPixmap::fromImage(img), 15, 15);
+            cache = new QCursor(QPixmap::fromImage(img), 15, 15);
         }
-        return **cache;
+        return *cache;
     }

 public:
@@ -145,15 +145,15 @@ public:
     }
     QCursor &getZoomInCursor(double scale)
     {
-        return getZoomCursor(&hZoomInCursor, scale, 3);
+        return getZoomCursor(hZoomInCursor, scale, 3);
     }
     QCursor &getZoomOutCursor(double scale)
     {
-        return getZoomCursor(&hZoomOutCursor, scale, 1);
+        return getZoomCursor(hZoomOutCursor, scale, 1);
     }
     QCursor &getNoZoomCursor(double scale)
     {
-        return getZoomCursor(&hNoZoomCursor, scale, 0);
+        return getZoomCursor(hNoZoomCursor, scale, 0);
     }
 } cursorManager;

```

* REGRESSION: ccfits:arm64-windows. If expected, add ccfits:arm64-windows=fail to .\scripts\ci.baseline.txt.

REGRESSION: ccfits:x64-linux. If expected, add ccfits:x64-linux=fail to .\scripts\ci.baseline.txt.
REGRESSION: ccfits:x64-osx. If expected, add ccfits:x64-osx=fail to .\scripts\ci.baseline.txt.
REGRESSION: ccfits:x64-windows-static-md. If expected, add ccfits:x64-windows-static-md=fail to .\scripts\ci.baseline.txt.
REGRESSION: ccfits:x64-windows-static. If expected, add ccfits:x64-windows-static=fail to .\scripts\ci.baseline.txt.
REGRESSION: ccfits:x64-windows. If expected, add ccfits:x64-windows=fail to .\scripts\ci.baseline.txt.
REGRESSION: ccfits:x86-windows. If expected, add ccfits:x86-windows=fail to .\scripts\ci.baseline.txt.

>[DEBUG] popen(curl --fail -L https://heasarc.gsfc.nasa.gov/fitsio/ccfits/CCfits-2.5.tar.gz --create-dirs --output /Users/bion/vcpkg/downloads/CCfits-2.5.tar.gz.15183.part 2>&1)
>[DEBUG] cmd_execute_and_stream_data() returned 5632 after   415053 us
>Error: Failed to download from mirror set:
>https://heasarc.gsfc.nasa.gov/fitsio/ccfits/CCfits-2.5.tar.gz:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
>curl: (22) The requested URL returned error: 404 Not Found

Fixed link and modernized portfile.

* REGRESSION: geogram:x64-linux. If expected, add geogram:x64-linux=fail to .\scripts\ci.baseline.txt.
REGRESSION: geogram:x64-osx. If expected, add geogram:x64-osx=fail to .\scripts\ci.baseline.txt.
REGRESSION: geogram:x64-windows-static-md. If expected, add geogram:x64-windows-static-md=fail to .\scripts\ci.baseline.txt.
REGRESSION: geogram:x64-windows-static. If expected, add geogram:x64-windows-static=fail to .\scripts\ci.baseline.txt.
REGRESSION: geogram:x64-windows. If expected, add geogram:x64-windows=fail to .\scripts\ci.baseline.txt.
REGRESSION: geogram:x86-windows. If expected, add geogram:x86-windows=fail to .\scripts\ci.baseline.txt.

Upstream is gone:

https://gforge.inria.fr/frs/download.php/file/38314/geogram_1.7.5.tar.gz:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL: no alternative certificate subject name matches target host name 'gforge.inria.fr'
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

[DEBUG] /agent/_work/1/s/buildtrees/_vcpkg/src/vcpkg-tool-2021-09-10/src/vcpkg/base/downloads.cpp(626)
[DEBUG] Exiting after 583.7 ms us (582562 us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:83 (message):

      Failed to download file with error: 1
      If you use a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
         will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
         Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
         Change `http=address:port;https=address:port` to `address`, and fill the port number.

      3. You proxy's remote server is out of service.

      In future vcpkg releases, if you are using Windows, you no longer need to set
      HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
      Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
      and (https://github.com/microsoft/vcpkg-tool/pull/77)

      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:274 (z_vcpkg_download_distfile_show_proxy_and_fail)
  ports/geogram/portfile.cmake:4 (vcpkg_download_distfile)
  scripts/ports.cmake:141 (include)

Skipped in ci.baseline.txt.
2021-10-05 22:14:35 -07:00
Alvin
8678672d59
update co to v2.0.2 (#20500)
* update co to v2.0.2

* fix gitree in co.json

* add install-dll.patch for co

* update version

* fix CRT linkage

* update version

* minimal patch

* update version
2021-10-05 18:42:39 -07:00
Carlos O'Ryan
29b85ae797
[crc32c] update to latest release (1.1.2) (#20534)
* [crc32c] update to latest release (1.1.2)

* Use version rather than version-string.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-05 16:34:40 -07:00
chausner
64d79c9a9e
[cppzmq] Update to 4.8.1 (#20490)
* Update cppzmq to 4.8.1

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-05 16:14:20 -07:00
chausner
d9f00e925a
[cli11] Update to 2.1.0 (#20304)
* Update cli11 to 2.1.0

* Update CI baseline

* Change version-semver to version for cli11

* Update git-tree version

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-09-29 08:46:03 -07:00
chausner
30e34df2a8
[cppmicroservices] Update to 3.6.0 (#20375)
* Update cppmicroservices to 3.6.0

* Update CI baseline

* delete Remove double quotes

* update version

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-09-27 21:06:58 -07:00
chausner
50c0b41fe4
[clue] Update to 1.0.0 (#20329)
* Update clue to 1.0.0

* Update CI baseline

* Address PR feedback

* Update git-tree hash

* Update ports/clue/portfile.cmake

* Small changes for copyright

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-09-27 19:50:26 -07:00
pastdue
69521af149
[curl] Update to 7.79.1 (#20291)
* [curl] Update to 7.79.1

* Run x-add-version curl
2021-09-23 17:51:23 -07:00
misirlou-tg
456894a8a8
[cjson] Updating to 1.7.15 (#20279)
* Update cjson to 1.7.15

Also removing deprecated cmake functions, quoting paths

* Run x-add-version

* Update ports/cjson/portfile.cmake

* Run x-add-version after latest commit

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2021-09-23 17:50:47 -07:00
chausner
3b383400db
[New port] Add cpp-TimSort 2.1.0 (#20275)
* Add new port cpp-timesort 2.1.0

* Update CI baseline

* Resolve conversation

* update version

* add dquotes

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2021-09-23 17:48:42 -07:00
Carlos O'Ryan
b29f8ef37e
[protobuf] upgrade to latest release (v3.18.0) (#20208)
* [protobuf] upgrade to latest release (v3.18.0)

This requires patching OpenCV as it uses a function removed in the
latest version of protobuf (FWIW, upstream OpenCV has a similar patch).

* The arcus port also needs a patch

* The caffe2 port also needs a patch

* The brpc port also needs a patch
2021-09-22 13:09:55 -07:00
gastineau
50f702b1fe
[calceph] Add new port (#19759)
* initial port of calceph

* apply correct format on vcpkg.json

* add quotes in portfile

* Update version database

* add url to the documentation

* Update version database

* update vcpkg.json

* update version

* delete error version

* remove useless on operating system

* update database version

* Apply suggestions from code review

applied suggested changes about versions

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update port number

* update database version

* format vcpkg.json

* update version

* update portfile.cmake error

* update version

* update portfile.cmake error

* update portfile.cmake error

* fix clflags in debug mode

* update database version

* add the debug flags

* update version database

* add space to avoid single quote for cflags in Makefile.vc

* update version database

* Update version database.

Co-authored-by: Gastineau <Mickael.Gastineau@obspm.fr>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-20 10:53:19 -07:00
JonLiu1993
d6150f960c
[clickhouse-cpp] update to 1.5.0 (#18330)
* [clickhouse-cpp] update to 1.2.2

* update version

* [clickhouse-cpp] update to 1.5.0

* update version

* fix error c4996

* update version

* merge baseline.json

* update baseline.json

* add Add patch description

* update version

* Add patch comment

* update version
2021-09-17 07:53:30 -07:00
Cheney Wang
660295dc22
[cppad/cpuid] Update to latest version (#20187)
* [cppad/cpuid] Update to latest version

* Add quotes to SOURCE_PATH

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-09-16 10:45:05 -07:00
pastdue
5d734efcef
[curl] Update to 7.79.0 (#20175)
* [curl] Update to 7.79.0

* Run x-add-version curl
2021-09-15 21:21:41 -07:00
JonLiu1993
790418c903
[cmark] update to 0.30.1 (#18938)
* [cmark] update to 0.30.0

* update version

* update portfile.cmake

* update version

* add patch

* update version

* fix-uwp-APPX0703

* update version

* [cmark] update to 0.30.1

* update version

* update portfile.cmake

* update version

* update version

* Add feature tools

* version stuff

* Add feature tools and remove the old unnecessary patch

* version

* delete outdate option

* update version

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-09-15 14:12:57 -07:00