Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2024 17:18:18 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c4dc051cb6a - main - graphics/glfw: add option PREEDIT with patches to support running applications such as Minecraft with games/lwjgl3
Message-ID:  <202404201718.43KHIIC9099123@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c4dc051cb6a2a3119c7ccf0e1ba155a7914761b

commit 1c4dc051cb6a2a3119c7ccf0e1ba155a7914761b
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-04-20 16:57:22 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-04-20 17:17:28 +0000

    graphics/glfw: add option PREEDIT with patches to support running applications such as Minecraft with games/lwjgl3
    
    The patches are still experimental and not committed.
    Upstream pool request: https://github.com/glfw/glfw/pull/2130
    
    PR:                     278014
    Approved by:            eduardo (maintainer), arrowd (mentor, implicit)
    Differential Revision:  https://reviews.freebsd.org/D44490
    MFH:                    2024Q2
---
 graphics/glfw/Makefile | 20 +++++++++++++++++++-
 graphics/glfw/distinfo | 30 +++++++++++++++++++++++++++++-
 2 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 871d6429eb71..39b600a824c8 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -23,14 +23,32 @@ PLIST_SUB=	MAJVER=${DISTVERSION:R} \
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=		DOCS EXAMPLES
+OPTIONS_DEFINE=		DOCS EXAMPLES PREEDIT
 OPTIONS_DEFAULT=	X11
 OPTIONS_MULTI=		PLATFORM
 OPTIONS_MULTI_PLATFORM=	WAYLAND X11
 PLATFORM_DESC=		Window creation platform
+PREEDIT_DESC=		Add patches for run Minecraft (https://github.com/glfw/glfw/pull/2130)
 
 EXAMPLES_CMAKE_BOOL=	GLFW_BUILD_EXAMPLES GLFW_BUILD_TESTS
 
+# Patches to support running applications such as Minecraft with games/lwjgl3
+PREEDIT_PATCH_SITES=	https://github.com/glfw/glfw/commit/
+PREEDIT_PATCHFILES=	bf945f1213728a98f7647380616f9cff9f6b3611.patch:-p1 \
+			0d7379403edd2f3a3476ce76fba4ac8c6d8410b7.patch:-p1 \
+			55cdeb59029d51be4b622d3b66a9735e4cf07a3b.patch:-p1 \
+			5f2118a2fa052f4361c6129378d5e8d0c923b118.patch:-p1 \
+			4da43dd83e1d16055107f91d9c34df3b114ab6f4.patch:-p1 \
+			11fd72171161e77f8c85a4ce51370ae8b813532d.patch:-p1 \
+			d8d0e52de8fb7c4f9879c2ff3599e0ba13ce8bc6.patch:-p1 \
+			d793a873a0fa740fa832917f99de35d5e09e7987.patch:-p1 \
+			d1f1b2a88de2a6d1701558c732164f5e070030a5.patch:-p1 \
+			cef608cf56c2fb88ff3eded4240f7a609610abad.patch:-p1 \
+			a66cc4d8805fc2857edf75812ba702e39e2873d7.patch:-p1 \
+			c4ba4cd58ea4e3eb6686a34596998de65330f71c.patch:-p1 \
+			0729aacc8cc6ff888f593108fdf70ce3fc2800b2.patch:-p1 \
+			6be88608b1ddbc42d5c59448dc15852f9de7ec26.patch:-p1
+
 WAYLAND_BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 			libxkbcommon>0:x11/libxkbcommon \
 			wayland-protocols>=0:graphics/wayland-protocols
diff --git a/graphics/glfw/distinfo b/graphics/glfw/distinfo
index 4f0ac8f18c37..55cb9772c2de 100644
--- a/graphics/glfw/distinfo
+++ b/graphics/glfw/distinfo
@@ -1,3 +1,31 @@
-TIMESTAMP = 1708762289
+TIMESTAMP = 1713614986
 SHA256 (glfw-3.4.zip) = b5ec004b2712fd08e8861dc271428f048775200a2df719ccf575143ba749a3e9
 SIZE (glfw-3.4.zip) = 1653725
+SHA256 (bf945f1213728a98f7647380616f9cff9f6b3611.patch) = 273bd89d27848a38e6edef63c6717f3f62f975677464494be48f7167f3a6d405
+SIZE (bf945f1213728a98f7647380616f9cff9f6b3611.patch) = 11477
+SHA256 (0d7379403edd2f3a3476ce76fba4ac8c6d8410b7.patch) = 5519518cf5d6a92291b9c59b59ca9309ec777fbcb24d3ab8d756c81d978d1a58
+SIZE (0d7379403edd2f3a3476ce76fba4ac8c6d8410b7.patch) = 21873
+SHA256 (55cdeb59029d51be4b622d3b66a9735e4cf07a3b.patch) = 9be87f6b0a2176852b0014f44530d2399be8c6fc8e7ec1eaff8b757441e21fa3
+SIZE (55cdeb59029d51be4b622d3b66a9735e4cf07a3b.patch) = 52420
+SHA256 (5f2118a2fa052f4361c6129378d5e8d0c923b118.patch) = 5e7542ed36d540a4c87114ed501b125bb344f707c9531eae7005bedb73a5e36e
+SIZE (5f2118a2fa052f4361c6129378d5e8d0c923b118.patch) = 6895
+SHA256 (4da43dd83e1d16055107f91d9c34df3b114ab6f4.patch) = e692fe5d9c27769a4ab26f705318b3574fe5e5fb93b2df7a03e24d9103f386b8
+SIZE (4da43dd83e1d16055107f91d9c34df3b114ab6f4.patch) = 25613
+SHA256 (11fd72171161e77f8c85a4ce51370ae8b813532d.patch) = a78e652e14bc34cc67111ce47db57a9a7a417ab8110a4a243b25f9e889239f0e
+SIZE (11fd72171161e77f8c85a4ce51370ae8b813532d.patch) = 12210
+SHA256 (d8d0e52de8fb7c4f9879c2ff3599e0ba13ce8bc6.patch) = 693ea77398759cd8288a6abb775cd1f2580b57e6555b353127e7337958e751bb
+SIZE (d8d0e52de8fb7c4f9879c2ff3599e0ba13ce8bc6.patch) = 36345
+SHA256 (d793a873a0fa740fa832917f99de35d5e09e7987.patch) = a4388b5cc7cd49234dc47740f16cabaa1e4aa4c444320f300d67fefaf3b6584a
+SIZE (d793a873a0fa740fa832917f99de35d5e09e7987.patch) = 62027
+SHA256 (d1f1b2a88de2a6d1701558c732164f5e070030a5.patch) = 0d800710f748bbcb5de484a9b80a5a35169d60a8ef0b7132ad4fa3b4d2bd637e
+SIZE (d1f1b2a88de2a6d1701558c732164f5e070030a5.patch) = 30054
+SHA256 (cef608cf56c2fb88ff3eded4240f7a609610abad.patch) = 49e96169f1f95c05e99a525bf897c3bf7f767095a648e165b52f3dd22e39195f
+SIZE (cef608cf56c2fb88ff3eded4240f7a609610abad.patch) = 4272
+SHA256 (a66cc4d8805fc2857edf75812ba702e39e2873d7.patch) = 6e70b50d4b1b07fe1f72fbddd9725008c666cc101a321765fb161f90481a9f0c
+SIZE (a66cc4d8805fc2857edf75812ba702e39e2873d7.patch) = 14045
+SHA256 (c4ba4cd58ea4e3eb6686a34596998de65330f71c.patch) = 6e0baccb3954252eeddfbd4d7d8152e8b8a585abb1a303f2c25e621fb8387b0d
+SIZE (c4ba4cd58ea4e3eb6686a34596998de65330f71c.patch) = 1172
+SHA256 (0729aacc8cc6ff888f593108fdf70ce3fc2800b2.patch) = 4d61b4e78db57e40bce64ef7dcf5df58729603429bba7a8d11e2c7132b0068cc
+SIZE (0729aacc8cc6ff888f593108fdf70ce3fc2800b2.patch) = 1379
+SHA256 (6be88608b1ddbc42d5c59448dc15852f9de7ec26.patch) = da2c8a4a6cd8d9ae263e01e1f0db54ab48fddbec02b67dc4651211ffd7db9470
+SIZE (6be88608b1ddbc42d5c59448dc15852f9de7ec26.patch) = 35843



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201718.43KHIIC9099123>