Skip to content

Commit

Permalink
[glib] Update to 2.80.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WangWeiLin-MV committed Sep 19, 2024
1 parent a39a744 commit 409452d
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 14 deletions.
11 changes: 8 additions & 3 deletions ports/glib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ string(REGEX MATCH "^([0-9]*[.][0-9]*)" GLIB_MAJOR_MINOR "${VERSION}")
vcpkg_download_distfile(GLIB_ARCHIVE
URLS "https://download.gnome.org/sources/glib/${GLIB_MAJOR_MINOR}/glib-${VERSION}.tar.xz"
FILENAME "glib-${VERSION}.tar.xz"
SHA512 6f3a06e10e7373a2dbf0688512de4126472fb73cbec488b7983b5ffecff09c64d7e1ca462f892e8f215d3d277d103ca802bad7ef0bd0f91edf26fc6ce67187b6
SHA512 1514d62aeb4c4a1a1048ae0f84f7db7f0dbf355772b2dadf6a34ec547045b163a5e28331b096e7616fe3c9c19bed98025a0202b05073f5d7ee901d0efaffe143
)

vcpkg_extract_source_archive(SOURCE_PATH
Expand Down Expand Up @@ -39,17 +39,19 @@ if(VCPKG_HOST_IS_WINDOWS)
vcpkg_list(APPEND ADDITIONAL_BINARIES "sh = ['${CMAKE_COMMAND}', '-E', 'false']")
endif()

x_vcpkg_get_python_packages(PYTHON_VERSION "3" PACKAGES packaging)

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
LANGUAGES C CXX OBJC OBJCXX
ADDITIONAL_BINARIES
${ADDITIONAL_BINARIES}
OPTIONS
${OPTIONS}
-Dgtk_doc=false
-Ddocumentation=false
-Dinstalled_tests=false
-Dlibelf=disabled
-Dman=false
-Dman-pages=disabled
-Dtests=false
-Dxattr=false
)
Expand All @@ -72,6 +74,9 @@ endforeach()
set(GLIB_TOOLS
gapplication
gdbus
gi-compile-repository
gi-decompile-typelib
gi-inspect-typelib
gio
gio-querymodules
glib-compile-resources
Expand Down
7 changes: 5 additions & 2 deletions ports/glib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "glib",
"version": "2.78.4",
"port-version": 3,
"version": "2.80.0",
"description": "Portable, general-purpose utility library.",
"homepage": "https://developer.gnome.org/glib/",
"license": "LGPL-2.1-or-later",
Expand All @@ -12,6 +11,10 @@
"libffi",
"libiconv",
"pcre2",
{
"name": "vcpkg-get-python-packages",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
2 changes: 2 additions & 0 deletions ports/gtk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ else()
set(GIR_TOOL_DIR ${CURRENT_HOST_INSTALLED_DIR})
endif()

x_vcpkg_get_python_packages(PYTHON_VERSION "3" PACKAGES packaging)

vcpkg_configure_meson(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
Expand Down
6 changes: 5 additions & 1 deletion ports/gtk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gtk",
"version": "4.14.0",
"port-version": 1,
"port-version": 2,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": "LGPL-2.0-only",
Expand Down Expand Up @@ -51,6 +51,10 @@
"name": "sassc",
"host": true
},
{
"name": "vcpkg-get-python-packages",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
2 changes: 2 additions & 0 deletions ports/gtk3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ else()
list(APPEND OPTIONS -Dintrospection=false)
endif()

x_vcpkg_get_python_packages(PYTHON_VERSION "3" PACKAGES packaging)

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
Expand Down
6 changes: 5 additions & 1 deletion ports/gtk3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gtk3",
"version": "3.24.38",
"port-version": 1,
"port-version": 2,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": null,
Expand Down Expand Up @@ -47,6 +47,10 @@
},
"libepoxy",
"pango",
{
"name": "vcpkg-get-python-packages",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
2 changes: 2 additions & 0 deletions ports/libsecret/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ vcpkg_from_gitlab(
HEAD_REF master
)

x_vcpkg_get_python_packages(PYTHON_VERSION "3" PACKAGES packaging)

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
Expand Down
5 changes: 5 additions & 0 deletions ports/libsecret/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "libsecret",
"version": "0.21.4",
"port-version": 1,
"description": "libsecret is a GObject-based library for accessing the Secret Service API of the freedesktop.org project, a cross-desktop effort to access passwords, tokens and other types of secrets. libsecret provides a convenient wrapper for these methods so consumers do not have to call the low-level DBus methods.",
"homepage": "https://gitlab.gnome.org/GNOME/libsecret/",
"license": "LGPL-2.1-or-later",
Expand All @@ -12,6 +13,10 @@
"host": true
},
"libgcrypt",
{
"name": "vcpkg-get-python-packages",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
2 changes: 2 additions & 0 deletions ports/libsoup/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ vcpkg_from_gitlab(
HEAD_REF main
)

x_vcpkg_get_python_packages(PYTHON_VERSION "3" PACKAGES packaging)

vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
Expand Down
6 changes: 5 additions & 1 deletion ports/libsoup/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libsoup",
"version": "3.4.4",
"port-version": 1,
"port-version": 2,
"description": "HTTP Library for GLib",
"homepage": "https://libsoup.org",
"license": "LGPL-2.0-or-later",
Expand All @@ -16,6 +16,10 @@
"libpsl",
"nghttp2",
"sqlite3",
{
"name": "vcpkg-get-python-packages",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
Expand Down
12 changes: 6 additions & 6 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3125,8 +3125,8 @@
"port-version": 2
},
"glib": {
"baseline": "2.78.4",
"port-version": 3
"baseline": "2.80.0",
"port-version": 0
},
"glib-networking": {
"baseline": "2.78.0",
Expand Down Expand Up @@ -3286,11 +3286,11 @@
},
"gtk": {
"baseline": "4.14.0",
"port-version": 1
"port-version": 2
},
"gtk3": {
"baseline": "3.24.38",
"port-version": 1
"port-version": 2
},
"gtkmm": {
"baseline": "4.14.0",
Expand Down Expand Up @@ -5026,7 +5026,7 @@
},
"libsecret": {
"baseline": "0.21.4",
"port-version": 0
"port-version": 1
},
"libsercomm": {
"baseline": "1.3.2",
Expand Down Expand Up @@ -5082,7 +5082,7 @@
},
"libsoup": {
"baseline": "3.4.4",
"port-version": 1
"port-version": 2
},
"libspatialindex": {
"baseline": "1.9.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/glib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "eb168152d4f997dd869938d2e7d059fe6c33ab6c",
"version": "2.80.0",
"port-version": 0
},
{
"git-tree": "ca77eedd8dca92c9e6c021316e81b9c7f648b58a",
"version": "2.78.4",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gtk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4a495067527b8d3a9fb57ca5c5b9071acb023860",
"version": "4.14.0",
"port-version": 2
},
{
"git-tree": "4a2c53b5715720e68051e3d26bfa56a83b6c8de0",
"version": "4.14.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gtk3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3f7e1dbca7234f124c7b719d56a2b8bbef896ced",
"version": "3.24.38",
"port-version": 2
},
{
"git-tree": "1362bb3978886e043fd12c089f2c1337a4f1adf8",
"version": "3.24.38",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libsecret.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "494e68f4aa79bfe1dd961bf6a87e5ebc08413f22",
"version": "0.21.4",
"port-version": 1
},
{
"git-tree": "fe57a1ceea0f28f2945dab68cca4e29358ca5e71",
"version": "0.21.4",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libsoup.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "84e6217a94836c052bbedc51d44736757fc8516c",
"version": "3.4.4",
"port-version": 2
},
{
"git-tree": "cbe5884e8d78060a81c7d6b52ff1f69f059550d2",
"version": "3.4.4",
Expand Down

0 comments on commit 409452d

Please sign in to comment.