Skip to content

Commit c2fc358

Browse files
authored
Merge pull request #6974 from BOINC/vko_update_custom_vcpkg_ports
[gdk-pibxuf] update custom vcpkg port
2 parents 82a2cb2 + 3f145fd commit c2fc358

3 files changed

Lines changed: 17 additions & 13 deletions

File tree

3rdParty/vcpkg_ports/ports/gdk-pixbuf/add_optional_svg_support.patch

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
2-
index e1df5900f..d7018da6e 100644
2+
index ba6747e11..2c7fa8bce 100644
33
--- a/gdk-pixbuf/gdk-pixbuf-io.c
44
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
5-
@@ -592,7 +592,10 @@ gdk_pixbuf_init_modules (const char *path,
5+
@@ -594,7 +594,10 @@ gdk_pixbuf_init_modules (const char *path,
66
g_free (filename);
77
return ret;
88
}
@@ -14,21 +14,22 @@ index e1df5900f..d7018da6e 100644
1414
static void
1515
gdk_pixbuf_io_init_builtin (void)
1616
{
17-
@@ -659,6 +662,10 @@ gdk_pixbuf_io_init_builtin (void)
17+
@@ -661,6 +664,10 @@ gdk_pixbuf_io_init_builtin (void)
1818
/* Except the gdip-png loader which normally isn't built at all even */
1919
load_one_builtin_module (png);
2020
#endif
2121
+#ifdef INCLUDE_svg
2222
+ if (_gdk_pixbuf__svg_fill_info && _gdk_pixbuf__svg_fill_vtable)
2323
+ load_one_builtin_module (svg);
2424
+#endif
25-
26-
#undef load_one_builtin_module
27-
}
28-
@@ -777,6 +784,15 @@ gdk_pixbuf_load_module_unlocked (GdkPixbufModule *image_module,
25+
#ifdef INCLUDE_glycin
26+
load_one_builtin_module (avif);
27+
load_one_builtin_module (bmp);
28+
@@ -871,7 +878,15 @@ gdk_pixbuf_load_module_unlocked (GdkPixbufModule *image_module,
2929
#ifdef INCLUDE_qtif
3030
try_module (qtif,qtif);
3131
#endif
32+
-
3233
+#ifdef INCLUDE_svg
3334
+if (fill_info == NULL &&
3435
+ strcmp (image_module->module_name, "svg") == 0) {
@@ -38,9 +39,9 @@ index e1df5900f..d7018da6e 100644
3839
+ }
3940
+ }
4041
+#endif
41-
4242
#undef try_module
4343

44+
if (fill_vtable) {
4445
diff --git a/meson.build b/meson.build
4546
index 3eb3fcc15..b11331239 100644
4647
--- a/meson.build

3rdParty/vcpkg_ports/ports/gdk-pixbuf/portfile.cmake

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vcpkg_download_distfile(ARCHIVE
44
"https://download.gnome.org/sources/${PORT}/${VERSION_MAJOR_MINOR}/${PORT}-${VERSION}.tar.xz"
55
"https://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/sources/${PORT}/${VERSION_MAJOR_MINOR}/${PORT}-${VERSION}.tar.xz"
66
FILENAME "GNOME-${PORT}-${VERSION}.tar.xz"
7-
SHA512 ae9fcc9b4e8fd10a4c9bf34c3a755205dae7bbfe13fbc93ec4e63323dad10cc862df6a9e2e2e63c84ffa01c5e120a3be06ac9fad2a7c5e58d3dc6ba14d1766e8
7+
SHA512 45ad815dda5d7b86fafe4a14300a676130f1c404299989616e41fa84e872516304bc6c3ebee9e1153bce01245333b1f8dfedee4bcde27a323e27d7e70fcb597f
88
)
99

1010
vcpkg_extract_source_archive(
@@ -61,17 +61,21 @@ if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_WINDOWS)
6161
list(APPEND OPTIONS -Drelocatable=true)
6262
endif()
6363

64+
if(VCPKG_TARGET_IS_ANDROID AND VCPKG_DETECTED_CMAKE_SYSTEM_VERSION VERSION_LESS "31")
65+
list(APPEND OPTIONS -Dandroid=disabled)
66+
endif()
67+
6468
if(VCPKG_TARGET_IS_WINDOWS)
6569
#list(APPEND OPTIONS -Dnative_windows_loaders=true) # Use Windows system components to handle BMP, EMF, GIF, ICO, JPEG, TIFF and WMF images, overriding jpeg and tiff. To build this into gdk-pixbuf, pass in windows" with the other loaders to build in or use "all" with the builtin_loaders option
6670
endif()
6771
vcpkg_configure_meson(
6872
SOURCE_PATH "${SOURCE_PATH}"
6973
OPTIONS
7074
-Dman=false # Whether to generate man pages (requires xlstproc)
71-
-Dgtk_doc=false # Whether to generate the API reference (requires GTK-Doc)
72-
-Ddocs=false
75+
-Ddocumentation=false # Whether to generate the API reference (requires GTK-Doc)
7376
-Dtests=false
7477
-Dinstalled_tests=false
78+
-Dglycin=disabled
7579
-Dgio_sniffing=false # Perform file type detection using GIO (Unused on MacOS and Windows)
7680
-Dbuiltin_loaders=all # since it is unclear where loadable plugins should be located;
7781
# Comma-separated list of loaders to build into gdk-pixbuf, or "none", or "all" to build all buildable loaders into gdk-pixbuf

3rdParty/vcpkg_ports/ports/gdk-pixbuf/vcpkg.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "gdk-pixbuf",
3-
"version": "2.42.12",
4-
"port-version": 6,
3+
"version": "2.44.6",
54
"description": "Image loading library.",
65
"homepage": "https://gitlab.gnome.org/GNOME/gdk-pixbuf",
76
"license": "LGPL-2.1-or-later",

0 commit comments

Comments
 (0)