From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 28 20:38:59 2019 Received: (at submit) by debbugs.gnu.org; 29 Mar 2019 00:38:59 +0000 Received: from localhost ([127.0.0.1]:34903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9fXv-00087A-Fq for submit@debbugs.gnu.org; Thu, 28 Mar 2019 20:38:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9fXt-00086u-N6 for submit@debbugs.gnu.org; Thu, 28 Mar 2019 20:38:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:36146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9fXo-00083D-Dz for submit@debbugs.gnu.org; Thu, 28 Mar 2019 20:38:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9fXj-00064i-0T for guix-patches@gnu.org; Thu, 28 Mar 2019 20:38:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9fLb-00019w-7S for guix-patches@gnu.org; Thu, 28 Mar 2019 20:26:16 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49663) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9fLa-00012b-PP for guix-patches@gnu.org; Thu, 28 Mar 2019 20:26:15 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 9975EE0003 for ; Fri, 29 Mar 2019 00:26:07 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add openclonk Date: Fri, 29 Mar 2019 01:26:07 +0100 Message-ID: <87ef6qwmow.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.196 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain Hello, The following patch adds OpenClonk game. Caveat: due to bad interaction with Wayland, I cannot run this game, but nkcx on IRC successfully ran it. So I guess the package itself is fine. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-openclonk.patch Content-Description: OpenClonk package >From 5778fc0c37bcf544dbf91ae90fdabf1d3d263ce4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 29 Mar 2019 01:22:35 +0100 Subject: [PATCH] gnu: Add openclonk. * gnu/packages/games.scm (openclonk): New variable. --- gnu/packages/games.scm | 74 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 23dbbca4f7..4221d5870d 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6551,3 +6551,77 @@ a fortress beyond the forbidden swamp.") (define-public edgar (deprecated-package "edgar" the-legend-of-edgar)) + +(define-public openclonk + (package + (name "openclonk") + (version "8.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.openclonk.org/builds/release/" version "/" + "openclonk-" version "-src.tar.bz2")) + (sha256 + (base32 + "0imkqjp8lww5p0cnqf4k4mb2v682mnsas63qmiz17rspakr7fxik")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;require Gmock/Gtest + #:configure-flags '("-DAudio_TK=OpenAL") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'add-libiberty + ;; Build fails upon linking executables without this. + (lambda _ + (substitute* "thirdparty/backward-cpp/BackwardConfig.cmake" + (("set\\(LIBBFD_LIBRARIES (.*?)\\)" _ libraries) + (string-append "set(LIBBFD_LIBRARIES " libraries " iberty)"))) + #t)) + (add-after 'add-libiberty 'lax-freealut-requirement + ;; We provide freealut 1.1.0, but pkg-config somehow + ;; detects it as 1.0.1. Force minimal version. + (lambda _ + (substitute* "cmake/FindAudio.cmake" + (("freealut>=1.1.0") "freealut>=1.0.1")) + #t)) + (add-after 'lax-freealut-requirement 'fix-directories + ;; Prefer "$out/share/openclonk" over + ;; "$out/share/games/openclonk". Also install "openclonk" + ;; binary in "bin/", not "games/". + (lambda _ + (substitute* "CMakeLists.txt" + (("share/games/openclonk") "share/openclonk") + (("TARGETS openclonk DESTINATION games") + "TARGETS openclonk DESTINATION bin")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("freealut" ,freealut) + ("freetype" ,freetype) + ("glew" ,glew) + ("libiberty" ,libiberty) + ("libjpeg" ,libjpeg-turbo) + ("libogg" ,libogg) + ("libpng" ,libpng) + ("libvorbis" ,libvorbis) + ("libxrandr" ,libxrandr) + ("mesa" ,mesa) + ("miniupnpc" ,miniupnpc) + ("openal" ,openal) + ("qtbase" ,qtbase) + ("readline" ,readline) + ("sdl" ,sdl2) + ("tinyxml" ,tinyxml) + ("zlib" ,zlib))) + (home-page "https://www.openclonk.org/") + (synopsis + "Multiplayer action game where you control small and nimble humanoids") + (description "OpenClonk is a multiplayer-action-tactics-skill game. It is +often referred to as a mixture of The Settlers and Worms. In a simple 2D +antfarm-style landscape, the player controls his crew of Clonks, small but +robust humanoid beings. The game encourages free play but the normal goal is +to either exploit valuable resources from the earth by building a mine or +fight each other on an arena-like map.") + ;; Software as a whole is licensed under ISC, artwork under CC-by. + (license (list license:isc license:cc-by3.0)))) -- 2.21.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 28 23:18:43 2019 Received: (at 35037) by debbugs.gnu.org; 29 Mar 2019 03:18:43 +0000 Received: from localhost ([127.0.0.1]:34925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9i2V-0003vY-4q for submit@debbugs.gnu.org; Thu, 28 Mar 2019 23:18:43 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9i2S-0003vP-Rm for 35037@debbugs.gnu.org; Thu, 28 Mar 2019 23:18:41 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1553829504; cv=none; d=zoho.com; s=zohoarc; b=jIMZAyl0dI5++Pr9btcej9gN+5JMhBbQ+ggUjO2iOz//yW8EMMojE3mN+xAO4pUaoq6Q+M9ttjpsgw420mh2mjyjbusdLvfsamliQ8apH05dc2m/5NXryydvWwjYMdfwo3l+bw40Bl4OJHdr//mG1LN1GvzCs6hCA10C+7ck4NA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1553829504; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=mk5oKA8xlcxEbSg86qfOvYK04BtbgiN0FCJ/BckTyC4=; b=SnN32Vk/bz6pHUzRXmkTwz3KiPpnLWaWJ1qT53Uahlxx83G3J8PLa9kmWlNxOv4mnOgWiHsybjdKn8RnRKFaIDvrQcblpCGOG3atFPRyjr9u9V0XOUKaMZ4a6e7nLFe1FOrTLWMUlDgxYmRUb9dSac30fghh/AbMgThVrnl/UXs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1553829504; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=327; bh=mk5oKA8xlcxEbSg86qfOvYK04BtbgiN0FCJ/BckTyC4=; b=aPpESoGUQmzlaHV588sZJVHFVxL/WvO7UyPV+8asSdsOP/KQDN2bhmulygCd1NOV Pzpg9Mvr6XtH4PgbmHmolbA7JODXM4qNOPhZyEuddYAGzp/cJfrw0vQh3NziOtcinj7 AKka/oH0DG5C05mhDpykTumylmqdCeH6osjPUrok= Received: from localhost (p54AD4D02.dip0.t-ipconnect.de [84.173.77.2]) by mx.zohomail.com with SMTPS id 1553829501678102.83461234718004; Thu, 28 Mar 2019 20:18:21 -0700 (PDT) References: <87ef6qwmow.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Nicolas Goaziou Subject: Re: [bug#35037] [PATCH] Add openclonk In-reply-to: <87ef6qwmow.fsf@nicolasgoaziou.fr> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 29 Mar 2019 04:18:17 +0100 Message-ID: <87ftr61i86.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35037 Cc: 35037@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Nicolas, > The following patch adds OpenClonk game. This looks good. I was going to push it when I noticed that the tests are disabled even though we do have a googletest package. I=E2=80=99m now building it again with tests enabled and I=E2=80=99ll try t= o push it later today. Thanks! --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 29 00:36:07 2019 Received: (at 35037-done) by debbugs.gnu.org; 29 Mar 2019 04:36:07 +0000 Received: from localhost ([127.0.0.1]:34970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9jFP-0006MQ-8D for submit@debbugs.gnu.org; Fri, 29 Mar 2019 00:36:07 -0400 Received: from sender.zoho.com ([135.84.80.194]:21285 helo=sender-of-o51.zoho.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9jFM-0006MG-SA for 35037-done@debbugs.gnu.org; Fri, 29 Mar 2019 00:36:05 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1553834133; cv=none; d=zoho.com; s=zohoarc; b=a2rE7O2V6bZailSq9MfLkL/CZ/Sm28WPluXSRxAWnNup4uXry7PLvxbU3UrOlW4gJisjJ9sBMY+keM9H9JUlzGsvM/IKxoCwxeBPzQ05xGA0X9a/KtBwOjICT0AOfUpUaNmI6sNVwemgyRtNlTa+tTux72OCo9Q1uM3VCLOv4lQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1553834133; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=qKd6Uv7Ngq9sKB+dl24p8pPFNOJz5qg6Sk/YW3E6XW0=; b=HdDPKUw8fZbwL0oILDCKnTe0b7V+EqcYiNv5AvRTL9XNN69Wq4Gy/PIi/p+p0KKAjIEY54gJoq1zkLfQLKWggv7zp4re9YbuTMEyu59oH5YJxb8VFql/O2GjfGkzBejviULP3HeJRKSdDBXhoWhphQuBBKtHjoMDSDox7b9Ttp0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1553834133; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=478; bh=qKd6Uv7Ngq9sKB+dl24p8pPFNOJz5qg6Sk/YW3E6XW0=; b=EIdZJGMpms+sJZmSYRgjDfJvKyre+TDZrZLELceJWVQXXVDN1zWlikC2sPZqQIOB tTzne5m9cPX+1cS9M/yq+luAdW8+pW2IuYX93VPidMZVW1iOySuM2C9QmIYLZnoi7ww B/xuM820ndV3vzo4oYsUs4H7jm3XnpEUhQDp2NeM= Received: from localhost (p54AD4D02.dip0.t-ipconnect.de [84.173.77.2]) by mx.zohomail.com with SMTPS id 1553834131446564.6035146114235; Thu, 28 Mar 2019 21:35:31 -0700 (PDT) References: <87ef6qwmow.fsf@nicolasgoaziou.fr> <87ftr61i86.fsf@elephly.net> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Nicolas Goaziou Subject: Re: [bug#35037] [PATCH] Add openclonk In-reply-to: <87ftr61i86.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 29 Mar 2019 05:35:27 +0100 Message-ID: <87ef6q1enk.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35037-done Cc: 35037-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus writes: > Hi Nicolas, > >> The following patch adds OpenClonk game. > > This looks good. I was going to push it when I noticed that the tests > are disabled even though we do have a googletest package. > > I=E2=80=99m now building it again with tests enabled and I=E2=80=99ll try= to push it > later today. I enabled the tests and pushed it to the =E2=80=9Cmaster=E2=80=9D branch wi= th commit 4e43e3175e. -- Ricardo From unknown Sat Jun 14 21:30:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Apr 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator