Skip to content

Commit c748cb4

Browse files
SunBlackCopilot ReviewCopilot
authored
[gl2ps] Update to 1.4.3 (#54137)
Co-authored-by: Copilot Review <review@example.invalid> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5c2df61 commit c748cb4

6 files changed

Lines changed: 24 additions & 45 deletions

File tree

‎ports/gl2ps/portfile.cmake‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
vcpkg_download_distfile(ARCHIVE
22
URLS "https://geuz.org/gl2ps/src/gl2ps-${VERSION}.tgz"
33
FILENAME "gl2ps-${VERSION}.tgz"
4-
SHA512 46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620
4+
SHA512 1dae715f7e157f686a3a47865711d59c1ae7a0fb736d3ec065f8a08e6adea5418d59b81d41295fad58762b20da8aed22cdefddcc54ac0a54c697f32f101ea10c
55
)
66
vcpkg_extract_source_archive(
77
SOURCE_PATH
88
ARCHIVE "${ARCHIVE}"
99
PATCHES
10-
separate-static-dynamic-build.patch
10+
static-no-dll-exports.patch
1111
)
1212

1313
vcpkg_cmake_configure(
1414
SOURCE_PATH "${SOURCE_PATH}"
1515
OPTIONS
16-
-DCMAKE_POLICY_DEFAULT_CMP0057=NEW
16+
-DGL2PS_DOC=share/doc
1717
-DVCPKG_LOCK_FIND_PACKAGE_GLUT=OFF
1818
-DVCPKG_LOCK_FIND_PACKAGE_LATEX=OFF
1919
-DVCPKG_LOCK_FIND_PACKAGE_OpenGL=ON

‎ports/gl2ps/separate-static-dynamic-build.patch‎

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index 44516b3..c915233 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -143,7 +143,7 @@ if(OPENGL_FOUND)
6+
set_target_properties(gl2ps PROPERTIES
7+
VERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}.${GL2PS_PATCH_VERSION}
8+
SOVERSION ${GL2PS_MAJOR_VERSION})
9+
- if(WIN32 OR CYGWIN)
10+
+ if((WIN32 OR CYGWIN) AND BUILD_SHARED_LIBS)
11+
set_target_properties(gl2ps PROPERTIES
12+
COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS")
13+
endif()

‎ports/gl2ps/vcpkg.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "gl2ps",
3-
"version": "1.4.2",
4-
"port-version": 5,
3+
"version": "1.4.3",
54
"description": "OpenGL to PostScript Printing Library",
65
"homepage": "https://gitlab.onelab.info/gl2ps/gl2ps",
76
"supports": "!android",

‎versions/baseline.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3469,8 +3469,8 @@
34693469
"port-version": 1
34703470
},
34713471
"gl2ps": {
3472-
"baseline": "1.4.2",
3473-
"port-version": 5
3472+
"baseline": "1.4.3",
3473+
"port-version": 0
34743474
},
34753475
"gl3w": {
34763476
"baseline": "2018-05-31",

‎versions/g-/gl2ps.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "b1e8ebcc158c873c1b729cf1b3bb995229285e5f",
5+
"version": "1.4.3",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "51e4c4e828efb0b32efd657df71929bb9ba521d5",
510
"version": "1.4.2",

0 commit comments

Comments
 (0)