From nobody Mon Jul 22 23:17:59 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WSbmR60N8z5QPJM; Mon, 22 Jul 2024 23:17:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSbmR55nBz4rwP; Mon, 22 Jul 2024 23:17:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721690279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sowEtH3aqOjHubppomrDV1mna5o0sWLQXI1LcOO1Gq8=; b=NC4X9j8E29x90vecBXOd01l3mf7iTopY7vnmcp72RDTvZsfTAKXQ+X2fp9IA8po4sm73re Mrdb2T59Gqx8VttkXlB2AY5shMcYg4Bz64AigEk06MkPqCKe93waPWMGtWs7rw9og3dHJ6 nPNAt9cPb41elDayVi3Qxkv42PmR47U6FRoCv+pYHnnerKasnZ8YLyuzrk7Yf7up7VYfuz OsDuRPkBXtZPBFEvQpbKWMkrxxPYTyT9dI/o5wAwgBR1sfzOJKpG6mDAUjKGObeX2MAFES a1UztPFUpYViyYFwjsRvug5r5mlRkqn1y+Emr0s2+kDNs0/EQ2y1wD4k5rduZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721690279; a=rsa-sha256; cv=none; b=TdEaX6JYYfori9QWZhGcq+PsynAH9tvE8vqUaZEcc4IM0PxfXCeVoxtYYpOCy5xxqwsddS pvrNvwvyHpJAEQ1Mz7vaTcNPN3ksMpAAoDE8LFLCjkJsGdX2gM2ckIrVlWFYE7oMoL21+8 8pA80SqGeg+f5o1Zxvj8EiAy8F2cnNV2gLygnNLBYSzlpIYZ0wxbmE7KbTpvyNrtpkglOJ Xz04l15Q71BXWmqFmXVbZlMPVxGK0t6ERzisfCFSkT7dau+zIqOdr6Vc8UmzIrs5jxfd/D SIcSull6KiPl/zRDkjwjoKFNO4WAT/b9GKRolWL4XwvckGrpetJYspHlb3n7CQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721690279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sowEtH3aqOjHubppomrDV1mna5o0sWLQXI1LcOO1Gq8=; b=EmwZz2q+31/RUWZ/vjp8aL+BHW9cmhtqJ3jEoQPnghu4MugMnJaUbT0ScqWLh1lsWZy5sk vdOYwe2g0CsAd7Lta3Ty6kd7AH+GdTI/GiwcrEdbruNyp5IylzbG4aRPfjEoKVynlzLXfA MjcNw5WqxUP4raZmqQDaJFyLHJUS11nZkjFh38GXTSe9h4ebN0LfYwQvvf1+BU8lxyuOhd BS6qlRqw/ufdJOEgJ9Eamob+AaNw1O80EVZYU3G4dCQWcfM0/AWsWiahZJa9ZtwgPd3hoF 0jkZ+f24Z8tkwxEY4iBv67ioqT5GNl+OgqvQe893f33yasqueIuQ7TXhDRkMwg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WSbmR4ZxDz148q; Mon, 22 Jul 2024 23:17:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46MNHxts082272; Mon, 22 Jul 2024 23:17:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46MNHxO5082269; Mon, 22 Jul 2024 23:17:59 GMT (envelope-from git) Date: Mon, 22 Jul 2024 23:17:59 GMT Message-Id: <202407222317.46MNHxO5082269@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: a49cde69ae5e - main - devel/sfml251: add port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a49cde69ae5e9cadac7489e72405de8acf1224bc Auto-Submitted: auto-generated The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=a49cde69ae5e9cadac7489e72405de8acf1224bc commit a49cde69ae5e9cadac7489e72405de8acf1224bc Author: Dmitry Marakasov AuthorDate: 2024-06-10 14:36:12 +0000 Commit: Dmitry Marakasov CommitDate: 2024-07-22 23:13:29 +0000 devel/sfml251: add port Preserve older SFML version still needed for games/emptyepsilon before devel/sfml update. --- devel/Makefile | 1 + devel/sfml/Makefile | 2 + devel/sfml251/Makefile | 73 +++++++++++ devel/sfml251/distinfo | 3 + .../patch-src_SFML_Window_Unix_WindowImplX11.cpp | 15 +++ devel/sfml251/pkg-descr | 7 ++ devel/sfml251/pkg-plist | 133 +++++++++++++++++++++ 7 files changed, 234 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7159a4cb0be1..fe023cb22441 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7866,6 +7866,7 @@ SUBDIR += serdisplib SUBDIR += sfml SUBDIR += sfml1 + SUBDIR += sfml251 SUBDIR += sfsexp SUBDIR += sgb SUBDIR += shadered diff --git a/devel/sfml/Makefile b/devel/sfml/Makefile index b9d8a264b67f..b476069572bc 100644 --- a/devel/sfml/Makefile +++ b/devel/sfml/Makefile @@ -20,6 +20,8 @@ CMAKE_ARGS= -DSFML_INSTALL_PKGCONFIG_FILES=ON \ -DSFML_USE_SYSTEM_DEPS=ON USE_LDCONFIG= yes +CONFLICTS= sfml251 + DATADIR= ${PREFIX}/share/SFML PORTDATA= * PORTDOCS= * diff --git a/devel/sfml251/Makefile b/devel/sfml251/Makefile new file mode 100644 index 000000000000..0ecfd9007ced --- /dev/null +++ b/devel/sfml251/Makefile @@ -0,0 +1,73 @@ +PORTNAME= sfml +PORTVERSION= 2.5.1 +PORTREVISION= 4 +CATEGORIES= devel +PKGNAMESUFFIX= 251 + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Simple and Fast Multimedia Library +WWW= https://www.sfml-dev.org/ + +LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/license.md + +USE_GITHUB= yes +GH_ACCOUNT= SFML +GH_PROJECT= SFML + +USES= cmake compiler:c++11-lang +USE_CXXSTD= c++14 +CMAKE_ARGS= -DSFML_INSTALL_PKGCONFIG_FILES=ON \ + -DSFML_USE_SYSTEM_DEPS=ON +USE_LDCONFIG= yes + +CONFLICTS= sfml + +DATADIR= ${PREFIX}/share/SFML +PORTDATA= * +PORTDOCS= * +PORTEXAMPLES= * + +OPTIONS_DEFINE= DOCS EXAMPLES DOXYGEN +OPTIONS_GROUP= MODULES +OPTIONS_GROUP_MODULES= WINDOW GRAPHICS AUDIO NETWORK +OPTIONS_DEFAULT=${OPTIONS_GROUP_MODULES} +OPTIONS_SUB= yes + +MODULES_DESC= SFML modules + +WINDOW_DESC= SFML Window module +WINDOW_CMAKE_BOOL= SFML_BUILD_WINDOW +WINDOW_USES= gl xorg +WINDOW_USE= XORG=x11,xrandr GL=gl + +GRAPHICS_DESC= SFML Graphics module +GRAPHICS_CMAKE_BOOL= SFML_BUILD_GRAPHICS +GRAPHICS_LIB_DEPENDS= libfreetype.so:print/freetype2 +GRAPHICS_IMPLIES= WINDOW + +AUDIO_DESC= SFML Audio module +AUDIO_CMAKE_BOOL= SFML_BUILD_AUDIO +AUDIO_USES= openal:al +AUDIO_LIB_DEPENDS= libFLAC.so:audio/flac \ + libogg.so:audio/libogg \ + libvorbis.so:audio/libvorbis + +NETWORK_DESC= SFML Network module +NETWORK_CMAKE_BOOL= SFML_BUILD_NETWORK + +DOXYGEN_CMAKE_BOOL= SFML_BUILD_DOC +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen +DOXYGEN_IMPLIES= DOCS + +EXAMPLES_CMAKE_BOOL= SFML_BUILD_EXAMPLES + +post-install: + @${RM} ${STAGEDIR}${PREFIX}/*.pc + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/changelog.md ${WRKSRC}/readme.md \ + ${STAGEDIR}${DOCSDIR} + +.include diff --git a/devel/sfml251/distinfo b/devel/sfml251/distinfo new file mode 100644 index 000000000000..cb5877ad1ea7 --- /dev/null +++ b/devel/sfml251/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1539702187 +SHA256 (SFML-SFML-2.5.1_GH0.tar.gz) = 438c91a917cc8aa19e82c6f59f8714da353c488584a007d401efac8368e1c785 +SIZE (SFML-SFML-2.5.1_GH0.tar.gz) = 22868556 diff --git a/devel/sfml251/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp b/devel/sfml251/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp new file mode 100644 index 000000000000..a7e1715f1b19 --- /dev/null +++ b/devel/sfml251/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp @@ -0,0 +1,15 @@ +src/SFML/Window/Unix/WindowImplX11.cpp:1278:36: error: reinterpret_cast from 'nullptr_t' to 'void *' is not allowed + reinterpret_cast(NULL)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +--- src/SFML/Window/Unix/WindowImplX11.cpp.orig 2017-02-08 11:29:16 UTC ++++ src/SFML/Window/Unix/WindowImplX11.cpp +@@ -1275,7 +1275,7 @@ void WindowImplX11::initialize() + m_window, + XNInputStyle, + XIMPreeditNothing | XIMStatusNothing, +- reinterpret_cast(NULL)); ++ static_cast(NULL)); + } + else + { diff --git a/devel/sfml251/pkg-descr b/devel/sfml251/pkg-descr new file mode 100644 index 000000000000..1ff9a8306396 --- /dev/null +++ b/devel/sfml251/pkg-descr @@ -0,0 +1,7 @@ +SFML is a portable and easy to use multimedia API written in C++. +You can see it as a modern, object-oriented alternative to SDL. + +SFML is composed of several packages to perfectly suit your needs. +You can use SFML as a minimal windowing system to interface with +OpenGL, or as a fully-featured multimedia library for building games +or interactive programs. diff --git a/devel/sfml251/pkg-plist b/devel/sfml251/pkg-plist new file mode 100644 index 000000000000..bc6ef20291e2 --- /dev/null +++ b/devel/sfml251/pkg-plist @@ -0,0 +1,133 @@ +include/SFML/Audio.hpp +include/SFML/Audio/AlResource.hpp +include/SFML/Audio/Export.hpp +include/SFML/Audio/InputSoundFile.hpp +include/SFML/Audio/Listener.hpp +include/SFML/Audio/Music.hpp +include/SFML/Audio/OutputSoundFile.hpp +include/SFML/Audio/Sound.hpp +include/SFML/Audio/SoundBuffer.hpp +include/SFML/Audio/SoundBufferRecorder.hpp +include/SFML/Audio/SoundFileFactory.hpp +include/SFML/Audio/SoundFileFactory.inl +include/SFML/Audio/SoundFileReader.hpp +include/SFML/Audio/SoundFileWriter.hpp +include/SFML/Audio/SoundRecorder.hpp +include/SFML/Audio/SoundSource.hpp +include/SFML/Audio/SoundStream.hpp +include/SFML/Config.hpp +include/SFML/GpuPreference.hpp +include/SFML/Graphics.hpp +include/SFML/Graphics/BlendMode.hpp +include/SFML/Graphics/CircleShape.hpp +include/SFML/Graphics/Color.hpp +include/SFML/Graphics/ConvexShape.hpp +include/SFML/Graphics/Drawable.hpp +include/SFML/Graphics/Export.hpp +include/SFML/Graphics/Font.hpp +include/SFML/Graphics/Glsl.hpp +include/SFML/Graphics/Glsl.inl +include/SFML/Graphics/Glyph.hpp +include/SFML/Graphics/Image.hpp +include/SFML/Graphics/PrimitiveType.hpp +include/SFML/Graphics/Rect.hpp +include/SFML/Graphics/Rect.inl +include/SFML/Graphics/RectangleShape.hpp +include/SFML/Graphics/RenderStates.hpp +include/SFML/Graphics/RenderTarget.hpp +include/SFML/Graphics/RenderTexture.hpp +include/SFML/Graphics/RenderWindow.hpp +include/SFML/Graphics/Shader.hpp +include/SFML/Graphics/Shape.hpp +include/SFML/Graphics/Sprite.hpp +include/SFML/Graphics/Text.hpp +include/SFML/Graphics/Texture.hpp +include/SFML/Graphics/Transform.hpp +include/SFML/Graphics/Transformable.hpp +include/SFML/Graphics/Vertex.hpp +include/SFML/Graphics/VertexArray.hpp +include/SFML/Graphics/VertexBuffer.hpp +include/SFML/Graphics/View.hpp +include/SFML/Main.hpp +include/SFML/Network.hpp +include/SFML/Network/Export.hpp +include/SFML/Network/Ftp.hpp +include/SFML/Network/Http.hpp +include/SFML/Network/IpAddress.hpp +include/SFML/Network/Packet.hpp +include/SFML/Network/Socket.hpp +include/SFML/Network/SocketHandle.hpp +include/SFML/Network/SocketSelector.hpp +include/SFML/Network/TcpListener.hpp +include/SFML/Network/TcpSocket.hpp +include/SFML/Network/UdpSocket.hpp +include/SFML/OpenGL.hpp +include/SFML/System.hpp +include/SFML/System/Clock.hpp +include/SFML/System/Err.hpp +include/SFML/System/Export.hpp +include/SFML/System/FileInputStream.hpp +include/SFML/System/InputStream.hpp +include/SFML/System/Lock.hpp +include/SFML/System/MemoryInputStream.hpp +include/SFML/System/Mutex.hpp +include/SFML/System/NativeActivity.hpp +include/SFML/System/NonCopyable.hpp +include/SFML/System/Sleep.hpp +include/SFML/System/String.hpp +include/SFML/System/String.inl +include/SFML/System/Thread.hpp +include/SFML/System/Thread.inl +include/SFML/System/ThreadLocal.hpp +include/SFML/System/ThreadLocalPtr.hpp +include/SFML/System/ThreadLocalPtr.inl +include/SFML/System/Time.hpp +include/SFML/System/Utf.hpp +include/SFML/System/Utf.inl +include/SFML/System/Vector2.hpp +include/SFML/System/Vector2.inl +include/SFML/System/Vector3.hpp +include/SFML/System/Vector3.inl +include/SFML/Window.hpp +include/SFML/Window/Clipboard.hpp +include/SFML/Window/Context.hpp +include/SFML/Window/ContextSettings.hpp +include/SFML/Window/Cursor.hpp +include/SFML/Window/Event.hpp +include/SFML/Window/Export.hpp +include/SFML/Window/GlResource.hpp +include/SFML/Window/Joystick.hpp +include/SFML/Window/Keyboard.hpp +include/SFML/Window/Mouse.hpp +include/SFML/Window/Sensor.hpp +include/SFML/Window/Touch.hpp +include/SFML/Window/VideoMode.hpp +include/SFML/Window/Window.hpp +include/SFML/Window/WindowHandle.hpp +include/SFML/Window/WindowStyle.hpp +lib/cmake/SFML/SFMLConfig.cmake +lib/cmake/SFML/SFMLConfigDependencies.cmake +lib/cmake/SFML/SFMLConfigVersion.cmake +lib/cmake/SFML/SFMLSharedTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/SFML/SFMLSharedTargets.cmake +%%AUDIO%%lib/libsfml-audio.so +%%AUDIO%%lib/libsfml-audio.so.2.5 +%%AUDIO%%lib/libsfml-audio.so.2.5.1 +%%GRAPHICS%%lib/libsfml-graphics.so +%%GRAPHICS%%lib/libsfml-graphics.so.2.5 +%%GRAPHICS%%lib/libsfml-graphics.so.2.5.1 +%%NETWORK%%lib/libsfml-network.so +%%NETWORK%%lib/libsfml-network.so.2.5 +%%NETWORK%%lib/libsfml-network.so.2.5.1 +lib/libsfml-system.so +lib/libsfml-system.so.2.5 +lib/libsfml-system.so.2.5.1 +%%WINDOW%%lib/libsfml-window.so +%%WINDOW%%lib/libsfml-window.so.2.5 +%%WINDOW%%lib/libsfml-window.so.2.5.1 +libdata/pkgconfig/sfml-all.pc +%%AUDIO%%libdata/pkgconfig/sfml-audio.pc +%%GRAPHICS%%libdata/pkgconfig/sfml-graphics.pc +%%NETWORK%%libdata/pkgconfig/sfml-network.pc +libdata/pkgconfig/sfml-system.pc +%%WINDOW%%libdata/pkgconfig/sfml-window.pc