Skip to content

Commit

Permalink
[atk/gdk-pixbuf/gtk/gtk3/harfbuzz/pango] Fix dependency gobject-instr…
Browse files Browse the repository at this point in the history
…ospection of feature instrospection (#33792)

* [atk/gdk-pixbuf/gtk/gtk3/harfbuzz/pango] Fix dependency gobject-instrospection of feature instrospection

* update version
  • Loading branch information
LilyWangLL committed Sep 18, 2023
1 parent 896155d commit 500700a
Show file tree
Hide file tree
Showing 18 changed files with 45 additions and 72 deletions.
3 changes: 0 additions & 3 deletions ports/atk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ vcpkg_from_gitlab(
)

if("introspection" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Feature introspection currently only supports dynamic build.")
endif()
list(APPEND OPTIONS_DEBUG -Dintrospection=false)
list(APPEND OPTIONS_RELEASE -Dintrospection=true)
else()
Expand Down
11 changes: 2 additions & 9 deletions ports/atk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "atk",
"version": "2.38.0",
"port-version": 7,
"port-version": 8,
"description": "GNOME Accessibility Toolkit",
"homepage": "https://developer.gnome.org/atk/",
"license": "LGPL-2.0-or-later",
Expand Down Expand Up @@ -30,14 +30,7 @@
"introspection": {
"description": "build with introspection",
"dependencies": [
{
"name": "gobject-introspection",
"host": true
},
{
"name": "gobject-introspection",
"platform": "windows & x86"
}
"gobject-introspection"
]
}
}
Expand Down
3 changes: 0 additions & 3 deletions ports/gdk-pixbuf/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ vcpkg_from_gitlab(
)

if("introspection" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Feature introspection currently only supports dynamic build.")
endif()
list(APPEND OPTIONS_DEBUG -Dintrospection=disabled)
list(APPEND OPTIONS_RELEASE -Dintrospection=enabled)
else()
Expand Down
11 changes: 2 additions & 9 deletions ports/gdk-pixbuf/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gdk-pixbuf",
"version": "2.42.10",
"port-version": 1,
"port-version": 2,
"description": "Image loading library.",
"homepage": "https://gitlab.gnome.org/GNOME/gdk-pixbuf",
"license": "LGPL-2.1-or-later",
Expand All @@ -28,14 +28,7 @@
"introspection": {
"description": "build with introspection",
"dependencies": [
{
"name": "gobject-introspection",
"host": true
},
{
"name": "gobject-introspection",
"platform": "windows & x86"
}
"gobject-introspection"
]
}
}
Expand Down
3 changes: 0 additions & 3 deletions ports/gtk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ list(APPEND OPTIONS -Dwin32-backend=${win32}) #Enable the Windows gdk backend (o
list(APPEND OPTIONS -Dmacos-backend=${osx}) #Enable the macOS gdk backend (only when building on macOS)

if("introspection" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Feature introspection currently only supports dynamic build.")
endif()
list(APPEND OPTIONS_DEBUG -Dintrospection=disabled)
list(APPEND OPTIONS_RELEASE -Dintrospection=enabled)
else()
Expand Down
9 changes: 1 addition & 8 deletions ports/gtk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "gtk",
"version": "4.10.5",
"port-version": 1,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": "LGPL-2.0-only",
Expand Down Expand Up @@ -73,14 +74,6 @@
"introspection"
]
},
{
"name": "gobject-introspection",
"host": true
},
{
"name": "gobject-introspection",
"platform": "windows & x86"
},
{
"name": "graphene",
"default-features": false,
Expand Down
9 changes: 1 addition & 8 deletions ports/gtk3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "gtk3",
"version": "3.24.38",
"port-version": 1,
"description": "Portable library for creating graphical user interfaces.",
"homepage": "https://www.gtk.org/",
"license": null,
Expand Down Expand Up @@ -78,14 +79,6 @@
"introspection"
]
},
{
"name": "gobject-introspection",
"host": true
},
{
"name": "gobject-introspection",
"platform": "windows & x86"
},
{
"name": "pango",
"default-features": false,
Expand Down
3 changes: 0 additions & 3 deletions ports/harfbuzz/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ list(APPEND FEATURE_OPTIONS -Dfreetype=enabled) #Enable freetype interop helpers
#endif()

if("introspection" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Feature introspection currently only supports dynamic build.")
endif()
list(APPEND OPTIONS_DEBUG -Dgobject=enabled -Dintrospection=disabled)
list(APPEND OPTIONS_RELEASE -Dgobject=enabled -Dintrospection=enabled)
else()
Expand Down
10 changes: 2 additions & 8 deletions ports/harfbuzz/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "harfbuzz",
"version": "8.2.0",
"port-version": 1,
"description": "HarfBuzz OpenType text shaping engine",
"homepage": "https://github.com/harfbuzz/harfbuzz",
"license": "MIT-Modern-Variant",
Expand Down Expand Up @@ -50,14 +51,7 @@
"description": "build with introspection",
"dependencies": [
"glib",
{
"name": "gobject-introspection",
"host": true
},
{
"name": "gobject-introspection",
"platform": "windows & x86"
}
"gobject-introspection"
]
}
}
Expand Down
3 changes: 0 additions & 3 deletions ports/pango/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ vcpkg_from_gitlab(
vcpkg_replace_string("${SOURCE_PATH}/meson.build" "-Werror=array-bounds" "")

if("introspection" IN_LIST FEATURES)
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
message(FATAL_ERROR "Feature introspection currently only supports dynamic build.")
endif()
list(APPEND OPTIONS_DEBUG -Dintrospection=disabled)
list(APPEND OPTIONS_RELEASE -Dintrospection=enabled)
else()
Expand Down
10 changes: 1 addition & 9 deletions ports/pango/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pango",
"version": "1.50.14",
"port-version": 3,
"port-version": 4,
"description": "Text and font handling library.",
"homepage": "https://ftp.gnome.org/pub/GNOME/sources/pango/",
"license": "LGPL-2.0-or-later",
Expand Down Expand Up @@ -39,14 +39,6 @@
"introspection": {
"description": "build with introspection",
"dependencies": [
{
"name": "gobject-introspection",
"host": true
},
{
"name": "gobject-introspection",
"platform": "windows & x86"
},
{
"name": "harfbuzz",
"features": [
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/atk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c97f8dd9d133fb3e75abf33040b3ec61e032734d",
"version": "2.38.0",
"port-version": 8
},
{
"git-tree": "d21ac2c541d67128cafda7c4b190e217cb943174",
"version": "2.38.0",
Expand Down
12 changes: 6 additions & 6 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
},
"atk": {
"baseline": "2.38.0",
"port-version": 7
"port-version": 8
},
"atkmm": {
"baseline": "2.36.1",
Expand Down Expand Up @@ -2810,7 +2810,7 @@
},
"gdk-pixbuf": {
"baseline": "2.42.10",
"port-version": 1
"port-version": 2
},
"gemmlowp": {
"baseline": "2021-09-28",
Expand Down Expand Up @@ -3070,11 +3070,11 @@
},
"gtk": {
"baseline": "4.10.5",
"port-version": 0
"port-version": 1
},
"gtk3": {
"baseline": "3.24.38",
"port-version": 0
"port-version": 1
},
"gtkmm": {
"baseline": "4.10.0",
Expand Down Expand Up @@ -3154,7 +3154,7 @@
},
"harfbuzz": {
"baseline": "8.2.0",
"port-version": 0
"port-version": 1
},
"hash-library": {
"baseline": "8",
Expand Down Expand Up @@ -6258,7 +6258,7 @@
},
"pango": {
"baseline": "1.50.14",
"port-version": 3
"port-version": 4
},
"pangolin": {
"baseline": "0.8",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gdk-pixbuf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3dc0bb4b0113c8043f2ed716694303d1bdc08d88",
"version": "2.42.10",
"port-version": 2
},
{
"git-tree": "ca75f73ba67cdacfd245b67e6dca8c45fb97ee93",
"version": "2.42.10",
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": "814624705f6cc11a3468d9c3418bc20521b6b207",
"version": "4.10.5",
"port-version": 1
},
{
"git-tree": "1d2910bafafe5342d557621dfb784fab156ae169",
"version": "4.10.5",
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": "1362bb3978886e043fd12c089f2c1337a4f1adf8",
"version": "3.24.38",
"port-version": 1
},
{
"git-tree": "63636acf7b77eead112fc9faa84680d1df97acd3",
"version": "3.24.38",
Expand Down
5 changes: 5 additions & 0 deletions versions/h-/harfbuzz.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "053b71e591f5599aa5e887fbf6531c7baa58b23d",
"version": "8.2.0",
"port-version": 1
},
{
"git-tree": "d804324af44593c0877fdf035cda178123d9c87f",
"version": "8.2.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/pango.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e2a88ce998fab5ed3f3a2edf817f32734c78187b",
"version": "1.50.14",
"port-version": 4
},
{
"git-tree": "4c3bbb58011a3e259be06531c08854dfd7bbabee",
"version": "1.50.14",
Expand Down

0 comments on commit 500700a

Please sign in to comment.