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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02FF2158099 for ; Fri, 24 Nov 2023 13:54:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FEEF2BC07C; Fri, 24 Nov 2023 13:54:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B79B22BC058 for ; Fri, 24 Nov 2023 13:54:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B76613406F2 for ; Fri, 24 Nov 2023 13:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20A81FC3 for ; Fri, 24 Nov 2023 13:54:26 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1700834043.0c2c6b0a8fc4b07454c6fd034b0993da6aa87149.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/dfarc/files/, games-util/dfarc/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/dfarc/dfarc-3.14-r1.ebuild games-util/dfarc/files/dfarc-3.14-wxString.patch X-VCS-Directories: games-util/dfarc/files/ games-util/dfarc/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0c2c6b0a8fc4b07454c6fd034b0993da6aa87149 X-VCS-Branch: master Date: Fri, 24 Nov 2023 13:54:26 +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: adcb0dcb-2ae9-4fa4-84d7-ebb2f947bd76 X-Archives-Hash: 3d2338156024265bc2b545de0f791249 commit: 0c2c6b0a8fc4b07454c6fd034b0993da6aa87149 Author: Pacho Ramos gentoo org> AuthorDate: Fri Nov 24 13:28:47 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Nov 24 13:54:03 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2c6b0a games-util/dfarc: Port to wxGTK 3.2 Signed-off-by: Pacho Ramos gentoo.org> games-util/dfarc/dfarc-3.14-r1.ebuild | 43 ++++++++++++++++++++++++ games-util/dfarc/files/dfarc-3.14-wxString.patch | 12 +++++++ 2 files changed, 55 insertions(+) diff --git a/games-util/dfarc/dfarc-3.14-r1.ebuild b/games-util/dfarc/dfarc-3.14-r1.ebuild new file mode 100644 index 000000000000..1f6a12e39977 --- /dev/null +++ b/games-util/dfarc/dfarc-3.14-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.2-gtk3" +inherit wxwidgets xdg + +DESCRIPTION="Frontend and .dmod installer for GNU FreeDink" +HOMEPAGE="http://www.gnu.org/software/freedink/" +SRC_URI="mirror://gnu/freedink/${P}.tar.gz" + +LICENSE="GPL-3 BZIP2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=" + app-arch/bzip2 + x11-misc/xdg-utils + x11-libs/wxGTK:${WX_GTK_VER}[X] +" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( dev-util/intltool )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.12-nowindres.patch + # From OpenSuSE + "${FILESDIR}"/${P}-wxString.patch +) + +src_configure() { + setup-wxwidgets + econf \ + $(use_enable nls) \ + --disable-desktopfiles \ + --with-wx-config="${WX_CONFIG}" +} + +src_install() { + default + dodoc TRANSLATIONS.txt +} diff --git a/games-util/dfarc/files/dfarc-3.14-wxString.patch b/games-util/dfarc/files/dfarc-3.14-wxString.patch new file mode 100644 index 000000000000..9eb7bd3ddffe --- /dev/null +++ b/games-util/dfarc/files/dfarc-3.14-wxString.patch @@ -0,0 +1,12 @@ +diff -Nur dfarc-3.14/src/Tar.cpp new/src/Tar.cpp +--- dfarc-3.14/src/Tar.cpp 2018-06-05 23:18:34.000000000 +0200 ++++ new/src/Tar.cpp 2019-02-02 02:41:40.128841786 +0100 +@@ -610,7 +610,7 @@ + if (lLastCharacter != '\\' && lLastCharacter != '/') + { + // Open the file. +- std::ostream* lStreamOut = ostream_open_unicode(lCurrentFilePath); ++ std::ostream* lStreamOut = ostream_open_unicode(lCurrentFilePath.mb_str()); + if (!lStreamOut->good()) + { + wxLogError(_("Error: Improperly archived file '%s'. Skipping."), lCurrentFilePath);