From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20EFD13933E for ; Mon, 12 Jul 2021 20:47:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6A43E0DE1; Mon, 12 Jul 2021 20:47:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48CCFE0DE1 for ; Mon, 12 Jul 2021 20:47:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5027D342CB1 for ; Mon, 12 Jul 2021 20:47:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B09B27EE for ; Mon, 12 Jul 2021 20:47:13 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1626122759.75d40c70188a7ada863876894569a4eecacca863.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/curseofwar/files/, games-strategy/curseofwar/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild games-strategy/curseofwar/files/curseofwar-1.2.0-fix-gcc-error-compilation.patch X-VCS-Directories: games-strategy/curseofwar/ games-strategy/curseofwar/files/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: 75d40c70188a7ada863876894569a4eecacca863 X-VCS-Branch: master Date: Mon, 12 Jul 2021 20:47:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb45d932-f4ea-436c-9354-fc8654808078 X-Archives-Hash: 37d09e9f76ff120d233925553a8f4948 commit: 75d40c70188a7ada863876894569a4eecacca863 Author: Azamat H. Hackimov gmail com> AuthorDate: Mon Jul 12 20:37:38 2021 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Mon Jul 12 20:45:59 2021 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=75d40c70 games-strategy/curseofwar: remove old Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Azamat H. Hackimov gmail.com> .../curseofwar/curseofwar-1.2.0-r1.ebuild | 59 ---------------------- ...urseofwar-1.2.0-fix-gcc-error-compilation.patch | 30 ----------- 2 files changed, 89 deletions(-) diff --git a/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild b/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild deleted file mode 100644 index 86934a4..0000000 --- a/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="A fast-paced action strategy game implemented using ncurses user interface." -HOMEPAGE="https://github.com/a-nikolaev/curseofwar/wiki" -SRC_URI="https://github.com/a-nikolaev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ncurses sdl" -REQUIRED_USE="|| ( ncurses sdl )" - -DEPEND="ncurses? ( sys-libs/ncurses:0 ) - sdl? ( media-libs/libsdl )" -RDEPEND="${DEPEND}" - -src_prepare() { - default - sed -i -e "s:%VERSION%:${PV}:g" ${PN}{,-sdl}.6 - sed -i -e "s:/usr/local/share/:/usr/share/:g" path.c - sed -i -e "s:TARGET_LINK_LIBRARIES( curseofwar \${COMMON_LIBS} ncurses ):TARGET_LINK_LIBRARIES( curseofwar \${COMMON_LIBS} ncurses tinfo ):g" CMakeLists.txt - epatch "${FILESDIR}/${P}-fix-gcc-error-compilation.patch" - cmake-utils_src_prepare -} - -src_configure() { - mycmakeargs=( - -DCW_NCURSE_FRONTEND=$(usex ncurses) - -DCW_SDL_FRONTEND=$(usex sdl) - -DCW_SDL_MULTIPLAYER=$(usex sdl) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - doicon pixmaps/${PN}-32x32.xpm - if use ncurses ; then - dobin "${BUILD_DIR}/${PN}" - make_desktop_entry ${PN} "Curse of War" ${PN}-32x32 "Game;StrategyGame" "Terminal=true" - doman ${PN}.6 - fi - if use sdl ; then - dobin "${BUILD_DIR}/${PN}-sdl" - make_desktop_entry ${PN}-sdl "Curse of War (SDL)" ${PN}-32x32 - doman ${PN}-sdl.6 - insinto "/usr/share/${PN}" - doins -r images - fi - dodoc CHANGELOG README -} diff --git a/games-strategy/curseofwar/files/curseofwar-1.2.0-fix-gcc-error-compilation.patch b/games-strategy/curseofwar/files/curseofwar-1.2.0-fix-gcc-error-compilation.patch deleted file mode 100644 index d2593c7..0000000 --- a/games-strategy/curseofwar/files/curseofwar-1.2.0-fix-gcc-error-compilation.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5d4865e03f96b73af602c6fb11a618195dc6d00c Mon Sep 17 00:00:00 2001 -From: "Azamat H. Hackimov" -Date: Wed, 30 Oct 2013 23:19:29 +0600 -Subject: [PATCH] =?UTF-8?q?Fixed=20GCC=20error=20compilation=20Fixed=20"ex?= - =?UTF-8?q?pected=20primary-expression=20before=20=C2=AB.=C2=BB=20token"?= - =?UTF-8?q?=20error.?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - ---- - output-sdl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/output-sdl.c b/output-sdl.c -index 7f67c5c..54f652b 100644 ---- a/output-sdl.c -+++ b/output-sdl.c -@@ -380,7 +380,7 @@ void output_sdl (SDL_Surface *tileset, SDL_Surface *typeface, SDL_Surface *uisur - /* line */ - int line_width=555; - struct SDL_Rect src_line_rect = {0, 0, line_width, 1}; -- struct SDL_Rect dst_line_rect = {.x=TILE_WIDTH + 75*TYPE_WIDTH/2 - line_width/2, .y=screen_y + (TYPE_HEIGHT*5/2), .w=line_width, .h=1}; -+ struct SDL_Rect dst_line_rect = {TILE_WIDTH + 75*TYPE_WIDTH/2 - line_width/2, screen_y + (TYPE_HEIGHT*5/2), line_width, 1}; - SDL_BlitSurface(uisurf, &src_line_rect, screen, &dst_line_rect); - - } --- -1.8.1.5 -