From nobody Tue Jan 24 18:20:01 2023 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 4P1ZyB1kQbz3b8mD; Tue, 24 Jan 2023 18:20:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1ZyB19CYz3kmk; Tue, 24 Jan 2023 18:20:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674584402; 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=7FlRVWnTRaG7nDO5k+YMoyu0ZAo6qIs3O5PMzh5+z1Q=; b=OmnNZjqWTzrissPh8EcyOKxdKfgsVjZ7gw8Euu8XsrFXxD0ETsvne7TI/4BFkjKDYXOHf0 H5AP2kzEcccGFYHuVByXHLC3EVFK8nOn+qb2mrQ9t0J/sIdaWZHx5+ItNVFVYxoZDVL2P9 WnxHhzJa2jrO0v9pERNHR8Q6GN902aYg1ySpgTyW0s103UGUoleiyB2MqJUw9u01Trx6CO yE5sTS5C4d0CzEFuk2MoQ3J9z4iTDZMmC36wr65FtTQQbClMu1jqpWa09fwlwFw8VwJpzv X162vKDcqYo53Aad9SzAk1ec13siXKi1cJJ1BpO/Rfr+Y7gjMgKk/amFBv5HPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674584402; 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=7FlRVWnTRaG7nDO5k+YMoyu0ZAo6qIs3O5PMzh5+z1Q=; b=mbz7ArNb7apMLOO7G5/UzxaxeXaFG04YjvffKRYshftiVEnmkoOa7RnU2hUZA9mTSCjfx0 Whc4+BgBde4CGfmSBjVuIM1RhdKfbPcIrwCmNLej+IDpeGMX2Eqou9yII+BlP2lnymeNNB j5TtD5pRHZyyAnPBIp1hnDOr+ZVsQpWqoqieV/T5IO8bstb77xiKdVUDnioDMJNORXBOlZ 5aQsBd+QxfLC0TYU7vm1itrQasfRuHdSnp7I+gJR7iBNoo8m4qsxeSZzv0ihHnUJQ4vcvC dugLXWymYZ+h0VUD8PNHB5b4pu+9DuEiMBbc0SRxMgv7iZIc+dhJmqTA3Y4UlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674584402; a=rsa-sha256; cv=none; b=g97vGaIFFfiq5iISnC9YbbaaU0F/yAREiylqwf64bkW76iqR2lSYj0dLQcBNvmgbi4ONZ5 NHcqEPNfkyhauD3hL52GImzjKgfDol13cM/ADkwZ98HTMkXCPRIzqJ+GPj9EF61M9XaLdS tQY6aXlA+l8h1L2ADy/1h6V3qSJZM0ZzYWCZBict7IxHwRM0miFNBnmqBL1jWOzWbZZLxl daCY9xZ4RG3rJowO+PmbUr0t19xhqoIX3nNKmzkWuWPjjqinG0QFAXloycpbMbZyIjIvsh 6uGeykiHmWiiLc1YoiUgEejCSCYUlkb7PH7+lLXfyJ7iNKjM3c26RZj+eBXMvQ== 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 4P1Zy96z0dzK1X; Tue, 24 Jan 2023 18:20:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30OIK1cb041359; Tue, 24 Jan 2023 18:20:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OIK1mL041355; Tue, 24 Jan 2023 18:20:01 GMT (envelope-from git) Date: Tue, 24 Jan 2023 18:20:01 GMT Message-Id: <202301241820.30OIK1mL041355@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: db9cfcf3e8f1 - main - games/chromono: add port: Circular color puzzle 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: 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: db9cfcf3e8f1f073ab8d25615a9e7c27d0611ff2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=db9cfcf3e8f1f073ab8d25615a9e7c27d0611ff2 commit db9cfcf3e8f1f073ab8d25615a9e7c27d0611ff2 Author: Dmitry Marakasov AuthorDate: 2023-01-24 17:40:52 +0000 Commit: Dmitry Marakasov CommitDate: 2023-01-24 18:19:56 +0000 games/chromono: add port: Circular color puzzle All those half-colored spheres could really need some help. And with that, we obviously mean your help, otherwise this would probably not be a game, but a movie or something. Grab those fully-colored spheres and share the color (and the correct one at that) to bring the world order back to normal. Sounds easy? It is. Up until the third level or so. Then it gets tricky. But you'll figure it out, I'm sure. --- games/Makefile | 1 + games/chromono/Makefile | 19 +++++++++++++++++++ games/chromono/distinfo | 3 +++ games/chromono/files/patch-CMakeLists.txt | 29 +++++++++++++++++++++++++++++ games/chromono/pkg-descr | 7 +++++++ games/chromono/pkg-plist | 3 +++ 6 files changed, 62 insertions(+) diff --git a/games/Makefile b/games/Makefile index 3daced2914ac..a43b7b6710f8 100644 --- a/games/Makefile +++ b/games/Makefile @@ -152,6 +152,7 @@ SUBDIR += chocolate-doom SUBDIR += chroma SUBDIR += chromium-bsu + SUBDIR += chromono SUBDIR += circuslinux SUBDIR += cmatrix SUBDIR += cockatrice diff --git a/games/chromono/Makefile b/games/chromono/Makefile new file mode 100644 index 000000000000..7b23b56b0f58 --- /dev/null +++ b/games/chromono/Makefile @@ -0,0 +1,19 @@ +PORTNAME= chromono +PORTVERSION= 1.1.1 +CATEGORIES= games +MASTER_SITES= https://thp.io/2013/chromono/ + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Circular color puzzle +WWW= https://thp.io/2013/chromono/ + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libvorbisfile.so:audio/libvorbis + +USES= compiler:c++11-lang cmake gl pkgconfig sdl python:build +USE_SDL= sdl2 +USE_GL= gl glu opengl + +.include diff --git a/games/chromono/distinfo b/games/chromono/distinfo new file mode 100644 index 000000000000..21f223c3f57a --- /dev/null +++ b/games/chromono/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674579923 +SHA256 (chromono-1.1.1.tar.gz) = 3ed741e4bdc8ae7fa0019bd9643241856e5b49f6364048c6b3913f5948693afc +SIZE (chromono-1.1.1.tar.gz) = 628083 diff --git a/games/chromono/files/patch-CMakeLists.txt b/games/chromono/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..10f63dd41feb --- /dev/null +++ b/games/chromono/files/patch-CMakeLists.txt @@ -0,0 +1,29 @@ +--- CMakeLists.txt.orig 2021-08-18 06:43:26 UTC ++++ CMakeLists.txt +@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13) + + project(chromono) + +-add_definitions(-Wall -Werror) ++add_definitions(-Wall) + + set(CMAKE_CXX_STANDARD 11) + +@@ -33,6 +33,8 @@ find_package(OpenGL REQUIRED) + list(APPEND LIBRARIES ${OPENGL_LIBRARIES}) + include_directories(${OPENGL_INCLUDE_DIRS}) + ++find_package(PythonInterp) ++ + file(GLOB CORE_SOURCES "${chromono_SOURCE_DIR}/src/*.cpp") + file(GLOB RENDERER_SOURCES "${chromono_SOURCE_DIR}/src/renderer/*.cpp") + file(GLOB CIRCLE1D_SOURCES "${chromono_SOURCE_DIR}/src/circle1d/*.cpp") +@@ -55,7 +57,7 @@ set(RESOURCE_PACKER "${chromono_SOURCE_DIR}/packer.py" + + add_custom_command( + OUTPUT ${RE_SOURCES} resources.h +- COMMAND python3 ${RESOURCE_PACKER} ${RESOURCES} ${RE_SOURCES} ++ COMMAND ${PYTHON_EXECUTABLE} ${RESOURCE_PACKER} ${RESOURCES} ${RE_SOURCES} + DEPENDS ${RESOURCES} ${RESOURCE_PACKER} + ) + diff --git a/games/chromono/pkg-descr b/games/chromono/pkg-descr new file mode 100644 index 000000000000..06862a32eeeb --- /dev/null +++ b/games/chromono/pkg-descr @@ -0,0 +1,7 @@ +All those half-colored spheres could really need some help. And +with that, we obviously mean your help, otherwise this would probably +not be a game, but a movie or something. Grab those fully-colored +spheres and share the color (and the correct one at that) to bring +the world order back to normal. Sounds easy? It is. Up until the +third level or so. Then it gets tricky. But you'll figure it out, +I'm sure. diff --git a/games/chromono/pkg-plist b/games/chromono/pkg-plist new file mode 100644 index 000000000000..80565a641cab --- /dev/null +++ b/games/chromono/pkg-plist @@ -0,0 +1,3 @@ +bin/chromono +share/applications/chromono.desktop +share/pixmaps/chromono.png